/* ========================================
   Manifest IT - Animated Website Styles
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-secondary: #a855f7;
    --color-accent: #ec4899;
    
    /* Neutrals */
    --color-bg: #0a0a0f;
    --color-bg-light: #12121a;
    --color-surface: #1a1a25;
    --color-surface-light: #252535;
    
    /* Text */
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-accent: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --section-padding-mobile: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Padding */
.section-padding {
    padding: var(--section-padding) 0;
}

/* ========================================
   Reduced Motion Notice
   ======================================== */
.reduced-motion-notice {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: 12px 24px;
    text-align: center;
    font-size: 14px;
    color: var(--color-text-muted);
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--color-surface-light);
}

.reduced-motion-notice.visible {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.75rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-surface);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    background: var(--gradient-primary);
    color: white !important;
    margin-left: 8px;
}

.nav-cta::before {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    top: -200px;
    right: -100px;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-secondary);
    bottom: -100px;
    left: -100px;
    animation: float-orb 15s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float-orb 25s ease-in-out infinite;
    opacity: 0.2;
}

@keyframes float-orb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(0, 50px) scale(0.9);
    }
    75% {
        transform: translate(-50px, -25px) scale(1.05);
    }
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.03;
    pointer-events: none;
}

.grid-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, var(--color-text) 50%, transparent 100%);
}

.grid-line:nth-child(1) { left: 10%; }
.grid-line:nth-child(2) { left: 30%; }
.grid-line:nth-child(3) { left: 50%; }
.grid-line:nth-child(4) { left: 70%; }
.grid-line:nth-child(5) { left: 90%; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-accent {
    position: relative;
    display: inline-block;
}

.animate-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: auto;
}

.underline-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-surface-light);
}

.btn-secondary:hover {
    background: var(--color-surface-light);
    border-color: var(--color-primary);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

.stat-label {
    width: 100%;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 80%;
    pointer-events: none;
    z-index: 2;
}

.floating-card {
    position: absolute;
    padding: 16px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation: float-card 6s ease-in-out infinite;
}

.card-2 {
    top: 40%;
    right: 5%;
    animation: float-card 8s ease-in-out infinite reverse;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation: float-card 7s ease-in-out infinite;
    animation-delay: -2s;
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
    perspective: 1000px;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: var(--color-surface);
    border-radius: 12px;
    border: 2px solid var(--color-surface-light);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-header {
    display: flex;
    gap: 6px;
    padding: 12px;
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-surface-light);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-surface-light);
}

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-content {
    padding: 16px;
}

.mockup-line {
    height: 12px;
    background: var(--color-surface-light);
    border-radius: 6px;
    margin-bottom: 10px;
    width: 100%;
}

.mockup-line.short {
    width: 60%;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.mockup-cell {
    height: 60px;
    background: var(--color-surface-light);
    border-radius: 8px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-text-muted);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    margin-bottom: 64px;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-icon {
    font-size: 6rem;
    animation: float-icon 6s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.image-frame {
    position: absolute;
    inset: -10px;
    border: 2px dashed var(--color-primary);
    border-radius: 28px;
    opacity: 0.3;
    animation: rotate-frame 20s linear infinite;
}

@keyframes rotate-frame {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--color-surface);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: float-element 8s ease-in-out infinite;
}

.float-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 40px;
    left: -30px;
    animation-delay: -4s;
}

@keyframes float-element {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.about-text {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-surface);
    border-radius: 16px;
    border: 1px solid var(--color-surface-light);
    transition: var(--transition-base);
}

.feature-item:hover {
    transform: translateX(8px);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-content h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ========================================
   Services Section
   ======================================== */
.services {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 24px;
    transition: var(--transition-base);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-card.featured {
    border-color: var(--color-primary);
    transform: scale(1.02);
}

.service-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-card > p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.service-list {
    list-style: none;
    margin-bottom: 24px;
}

.service-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   Portfolio Section - LUXURY UPDATED
   ======================================== */
.portfolio {
    background: var(--color-bg-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 320px;
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.4s ease;
}

.portfolio-item:hover {
    box-shadow: var(--shadow-glow);
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 1;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

/* Shine effect on hover */
.portfolio-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
    z-index: 2;
}

.portfolio-item:hover .portfolio-shine {
    transform: translateX(100%);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        transparent 0%, 
        rgba(10, 10, 15, 0.7) 50%,
        rgba(10, 10, 15, 0.95) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 12px;
}

.portfolio-content h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: white;
}

.portfolio-content p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
}

/* Portfolio Tags */
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    color: var(--color-bg);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
}

.portfolio-btn svg {
    width: 16px;
    height: 16px;
}

.portfolio-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   Lightbox Modal
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10, 10, 15, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(20px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    margin-top: 24px;
    text-align: center;
}

.lightbox-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.lightbox-info p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 50%;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 50%;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10;
}

.lightbox-nav:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background: var(--color-surface);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.lightbox-counter span:first-child {
    color: white;
    font-weight: 600;
}

/* ========================================
   Service Modal
   ======================================== */
.service-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10, 10, 15, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(20px);
    padding: 24px;
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
}

.service-modal-content {
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-modal.active .service-modal-content {
    transform: scale(1) translateY(0);
}

.service-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 50%;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10;
}

.service-modal-close:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: rotate(90deg);
}

.service-modal-close svg {
    width: 20px;
    height: 20px;
}

.service-modal-header {
    padding: 48px 48px 32px;
    text-align: center;
    border-bottom: 1px solid var(--color-surface-light);
}

.service-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--color-primary);
}

.service-modal-icon svg {
    width: 100%;
    height: 100%;
}

.service-modal-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 12px;
}

.service-modal-header p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

.service-modal-body {
    padding: 32px 48px;
}

.service-modal-description {
    margin-bottom: 32px;
}

.service-modal-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.service-modal-features {
    margin-bottom: 32px;
}

.service-modal-features h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.service-modal-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-modal-features li {
    position: relative;
    padding-left: 28px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.service-modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
    font-weight: 700;
}

.service-modal-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: var(--color-bg);
    border-radius: 16px;
    border: 1px solid var(--color-surface-light);
}

.price-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.price-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-modal-footer {
    padding: 24px 48px 48px;
    display: flex;
    justify-content: center;
}

.service-modal-footer .btn {
    padding: 16px 32px;
    font-size: 1rem;
}

@media (max-width: 640px) {
    .service-modal {
        padding: 16px;
    }
    
    .service-modal-header,
    .service-modal-body,
    .service-modal-footer {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .service-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .service-modal-features ul {
        grid-template-columns: 1fr;
    }
    
    .price-value {
        font-size: 2rem;
    }
}

/* ========================================
   Quote Request Modal
   ======================================== */
.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(10, 10, 15, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(20px);
    padding: 24px;
}

.quote-modal.active {
    opacity: 1;
    visibility: visible;
}

.quote-modal-content {
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-modal.active .quote-modal-content {
    transform: scale(1) translateY(0);
}

.quote-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 50%;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10;
}

.quote-modal-close:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: rotate(90deg);
}

.quote-modal-close svg {
    width: 20px;
    height: 20px;
}

.quote-modal-header {
    padding: 40px 40px 24px;
    text-align: center;
    border-bottom: 1px solid var(--color-surface-light);
}

.quote-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
}

.quote-modal-header h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.quote-modal-header p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.quote-form {
    padding: 32px 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.quote-form .form-group {
    margin-bottom: 24px;
}

.quote-form .form-group:last-of-type {
    margin-bottom: 32px;
}

.quote-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-surface-light);
    border-radius: 10px;
    color: var(--color-text);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition-base);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: var(--color-text-dim);
}

.quote-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.quote-form select option {
    background: var(--color-bg);
    color: var(--color-text);
}

.quote-form textarea {
    resize: vertical;
    min-height: 100px;
}

.quote-success {
    display: none;
    text-align: center;
    padding: 48px 40px;
}

.quote-success.show {
    display: block;
    animation: fade-in 0.5s ease;
}

.quote-success .success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.quote-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.quote-success p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

@media (max-width: 640px) {
    .quote-modal {
        padding: 16px;
    }
    
    .quote-form {
        padding: 24px;
    }
    
    .quote-modal-header {
        padding: 32px 24px 20px;
    }
    
    .quote-modal-header h2 {
        font-size: 1.375rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ========================================
   Process Section
   ======================================== */
.process {
    position: relative;
}

.process-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-surface-light);
}

.process-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: var(--gradient-primary);
    transform-origin: top;
    transform: scaleY(0);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 2px solid var(--color-surface-light);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.process-step.active .step-number {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    color: white;
}

.step-content {
    padding-top: 16px;
}

.step-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--color-text-muted);
    max-width: 500px;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    background: var(--color-bg-light);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonials-track {
    position: relative;
    min-height: 300px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    padding: 48px;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 24px;
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-card.prev {
    transform: translateX(-50px);
}

.testimonial-stars {
    font-size: 1.5rem;
    color: #fbbf24;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 32px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 50%;
    color: var(--color-text);
    transition: var(--transition-base);
}

.testimonial-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.testimonial-btn svg {
    width: 20px;
    height: 20px;
}

.testimonial-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-surface-light);
    transition: var(--transition-base);
}

.dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 16px;
    transition: var(--transition-base);
}

.contact-method:hover {
    border-color: var(--color-primary);
    transform: translateX(8px);
}

.method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    flex-shrink: 0;
}

.method-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.method-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.method-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.method-content a,
.method-content span:last-child {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 24px;
    padding: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-surface-light);
    color: var(--color-text);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-dim);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.form-group select option {
    background: var(--color-surface);
    color: var(--color-text);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.form-group input:focus ~ .input-line,
.form-group select:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    transform: scaleX(1);
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px;
}

.form-success.show {
    display: block;
    animation: fade-in 0.5s ease;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--color-text-muted);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-surface-light);
}

.footer-top {
    padding: 80px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border-radius: 10px;
    color: var(--color-text-muted);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-newsletter h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-newsletter p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-light);
    border-radius: 10px;
    color: var(--color-text);
    font-size: 0.9375rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.newsletter-form button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: white;
    transition: var(--transition-base);
}

.newsletter-form button:hover {
    transform: translateX(3px);
}

.newsletter-form svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--color-surface-light);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.heart {
    color: var(--color-accent);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
    .section-padding {
        padding: var(--section-padding-mobile) 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
    }
    
    .portfolio-item.large {
        grid-column: span 2;
    }
    
    .portfolio-content h3 {
        font-size: 1.25rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 24px 24px;
        background: var(--color-bg);
        border-left: 1px solid var(--color-surface-light);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }
    
    .portfolio-item.large {
        grid-column: span 1;
    }
    
    .portfolio-item {
        grid-row: span 1;
    }
    
    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(
            180deg, 
            transparent 30%, 
            rgba(10, 10, 15, 0.9) 70%,
            rgba(10, 10, 15, 0.98) 100%
        );
    }
    
    .portfolio-content {
        transform: translateY(0);
    }
    
    .portfolio-tags {
        display: none;
    }
    
    /* Lightbox mobile */
    .lightbox-nav {
        width: 44px;
        height: 44px;
    }
    
    .lightbox-prev {
        left: 12px;
    }
    
    .lightbox-next {
        right: 12px;
    }
    
    .lightbox-close {
        top: 12px;
        right: 12px;
    }
    
    .process-line {
        left: 24px;
    }
    
    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.125rem;
    }
    
    .testimonial-card {
        padding: 32px 24px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-item {
        justify-content: center;
    }
    
    .stat-label {
        text-align: center;
    }
    
    .about-features {
        gap: 12px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
}

/* ========================================
   WhatsApp Chat Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    color: white;
}

.whatsapp-icon svg {
    width: 100%;
    height: 100%;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--color-surface);
    color: var(--color-text);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    border: 1px solid var(--color-surface-light);
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Pulse animation for WhatsApp button */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    animation: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    /* Hide scroll indicator on mobile - overlaps with content */
    .scroll-indicator {
        display: none;
    }
}

/* ========================================
   Animated Logo Styles - Cinematic Version
   ======================================== */

.animated-logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
}

.animated-logo {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* ========================================
   PHASE 1: BACKGROUND APPEARS (0.0s)
   ======================================== */

.logo-background {
    opacity: 0;
    animation: bgAppear 0.6s ease-out forwards;
}

@keyframes bgAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bg-circle {
    animation: bgPulse 8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes bgPulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

/* ========================================
   PHASE 2: SHIELD DRAWS (0.2s delay)
   ======================================== */

.shield-outline {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: shieldDraw 1s ease-out 0.2s forwards;
}

@keyframes shieldDraw {
    to {
        stroke-dashoffset: 0;
    }
}

.shield-fill {
    opacity: 0;
    animation: fillAppear 0.5s ease-out 0.8s forwards;
}

@keyframes fillAppear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.inner-glow {
    opacity: 0;
    animation: glowAppear 0.8s ease-out 1s forwards, glowPulse 4s ease-in-out infinite 1.8s;
}

@keyframes glowAppear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.9;
    }
}

/* ========================================
   PHASE 3: LETTERS "MD" APPEAR (0.8s delay)
   ======================================== */

.logo-letters {
    opacity: 0;
    animation: lettersAppear 0.6s ease-out 0.8s forwards;
}

@keyframes lettersAppear {
    from {
        opacity: 0;
        transform: translate(200px, 155px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(200px, 155px) scale(1);
    }
}

.letters-md {
    animation: lettersBounce 0.5s ease-out 1s forwards;
}

@keyframes lettersBounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Light sweep effect */
.light-sweep {
    animation: lightSweep 1s ease-out 1.2s forwards;
}

@keyframes lightSweep {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* ========================================
   PHASE 4: LEAVES GROW (1.2s delay)
   ======================================== */

.leaf-cluster {
    opacity: 0;
    transform-origin: center;
    animation: leafGrow 0.5s ease-out forwards;
}

/* Staggered delays for each leaf cluster */
.leaves-left .leaf-cluster:nth-child(1) {
    animation-delay: 1.2s;
}
.leaves-left .leaf-cluster:nth-child(2) {
    animation-delay: 1.35s;
}
.leaves-left .leaf-cluster:nth-child(3) {
    animation-delay: 1.5s;
}
.leaves-right .leaf-cluster:nth-child(1) {
    animation-delay: 1.25s;
}
.leaves-right .leaf-cluster:nth-child(2) {
    animation-delay: 1.4s;
}
.leaves-right .leaf-cluster:nth-child(3) {
    animation-delay: 1.55s;
}

@keyframes leafGrow {
    from {
        opacity: 0;
        transform: scale(0) rotate(-20deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Vines appear after leaves */
.vines {
    opacity: 0;
    animation: vinesAppear 0.4s ease-out 1.8s forwards;
}

@keyframes vinesAppear {
    to {
        opacity: 0.7;
    }
}

/* ========================================
   FINAL: IDLE ANIMATIONS (after 2.0s)
   ======================================== */

/* Gentle leaf sway */
.leaves-left .leaf-cluster {
    animation: leafGrow 0.5s ease-out forwards, leafSwayLeft 5s ease-in-out infinite 2s;
}

.leaves-right .leaf-cluster {
    animation: leafGrow 0.5s ease-out forwards, leafSwayRight 5s ease-in-out infinite 2.1s;
}

@keyframes leafSwayLeft {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(3deg);
    }
}

@keyframes leafSwayRight {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-3deg);
    }
}

/* Subtle gold glow pulse on shield */
.shield-outline {
    animation: shieldDraw 1s ease-out 0.2s forwards, shieldGlowPulse 4s ease-in-out infinite 2s;
}

@keyframes shieldGlowPulse {
    0%, 100% {
        filter: url(#shieldGlow);
    }
    50% {
        filter: url(#shieldGlow) drop-shadow(0 0 8px rgba(201, 169, 97, 0.5));
    }
}

/* ========================================
   HOVER EFFECTS
   ======================================== */

.animated-logo:hover .shield-outline {
    stroke: url(#goldGradientHover);
    filter: url(#shieldGlow) drop-shadow(0 0 12px rgba(201, 169, 97, 0.8));
    transition: all 0.3s ease;
}

.animated-logo:hover .letters-md {
    transform: scale(1.05);
    filter: url(#goldGlow) brightness(1.2);
    transition: all 0.3s ease;
}

.animated-logo:hover .leaf-cluster {
    transform: scale(1.1);
    filter: drop-shadow(0 0 4px rgba(13, 139, 77, 0.5));
    transition: all 0.3s ease;
}

/* ========================================
   LOGO PLACEMENT STYLES
   ======================================== */

/* Footer logo */
.footer-logo svg {
    width: 40px;
    height: 40px;
}

.footer-logo .animated-logo {
    max-width: 40px;
}

/* Navbar logo */
.navbar-logo svg {
    width: 40px;
    height: 40px;
}

.navbar-logo .animated-logo {
    max-width: 40px;
}

/* Hero section logo */
.hero-logo {
    margin-bottom: 32px;
}

.hero-logo .animated-logo {
    max-width: 200px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-logo .animated-logo {
        max-width: 150px;
    }
    
    .animated-logo-container {
        max-width: 200px;
    }
    
    /* Optimize animations for mobile - GPU acceleration */
    .hero-badge,
    .title-line,
    .hero-subtitle,
    .hero-buttons .btn,
    .service-card,
    .portfolio-item,
    .about-content > *,
    .feature-item {
        will-change: transform, opacity;
        transform: translateZ(0); /* Force GPU layer */
    }
    
    /* Reduce motion for heavy elements */
    .floating-card {
        display: none; /* Hide on mobile for performance */
    }
    
    /* Simpler shadows on mobile */
    .portfolio-image,
    .service-card,
    .about-image-wrapper {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}
