/* ============================================
   MODERN DESIGN SYSTEM - RED DOT CONTENT
   ============================================ */

:root {
    /* Color Palette */
    --color-black: #0A0A0A;
    --color-white: #FFFFFF;
    --color-gray-50: #FAFAFA;
    --color-gray-100: #F5F5F5;
    --color-gray-200: #E8E8E8;
    --color-gray-300: #D4D4D4;
    --color-gray-400: #A3A3A3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    
    /* Brand Colors */
    --color-primary: #DC143C;
    --color-primary-dark: #B8122E;
    --color-primary-light: #FF1744;
    --color-accent: #FFD700;
    --color-accent-dark: #FFC700;
    
    /* Semantic Colors */
    --color-text: #0A0A0A;
    --color-text-light: #525252;
    --color-text-muted: #737373;
    --color-background: #FFFFFF;
    --color-surface: #FAFAFA;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    --text-7xl: 4.5rem;      /* 72px */
    
    /* Spacing Scale */
    --space-1: 0.25rem;      /* 4px */
    --space-2: 0.5rem;       /* 8px */
    --space-3: 0.75rem;      /* 12px */
    --space-4: 1rem;         /* 16px */
    --space-5: 1.25rem;      /* 20px */
    --space-6: 1.5rem;       /* 24px */
    --space-8: 2rem;         /* 32px */
    --space-10: 2.5rem;      /* 40px */
    --space-12: 3rem;        /* 48px */
    --space-16: 4rem;        /* 64px */
    --space-20: 5rem;        /* 80px */
    --space-24: 6rem;        /* 96px */
    --space-32: 8rem;        /* 128px */
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Easing Functions */
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-base: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--color-background);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-8);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: var(--text-xl); font-weight: 600; }

p {
    margin-bottom: var(--space-4);
    color: var(--color-text-light);
    line-height: 1.7;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    padding: var(--space-4) 0;
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Apply backdrop-filter only on supported browsers for performance */
@supports (backdrop-filter: blur(20px)) {
    .navbar {
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
    }
}

@supports not (backdrop-filter: blur(20px)) {
    .navbar {
        background-color: rgba(255, 255, 255, 0.95);
    }
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: var(--space-3) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: var(--transition-base);
}

.logo-image:hover {
    opacity: 0.8;
}

.navbar.scrolled .logo-image {
    height: 50px;
}

/* Legacy logo text styles (kept for backwards compatibility) */
.logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.logo-text::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.logo-accent {
    font-weight: 400;
    color: var(--color-text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-8);
    align-items: center;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: var(--text-sm);
    position: relative;
    padding: var(--space-2) 0;
    transition: var(--transition-base);
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-black);
    transition: var(--transition-base);
    border-radius: var(--radius-full);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    padding: var(--space-32) 0 var(--space-12);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    opacity: 1;
    background-color: var(--color-black);
    /* Performance optimization */
    will-change: transform;
    content-visibility: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(8rem, 20vw, 18rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    text-stroke: 1px rgba(255, 255, 255, 0.05);
    font-family: var(--font-display);
    letter-spacing: -0.05em;
    z-index: 1;
    user-select: none;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #FF0000;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: #FF0000;
    margin-bottom: var(--space-6);
    animation: slideDown 0.8s var(--ease-out) 0.2s both;
}

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

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: #FF0000;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    margin-bottom: var(--space-6);
    font-weight: 800;
    line-height: 1.15;
    animation: slideUp 0.8s var(--ease-out) 0.4s both;
    max-width: 900px;
    background-color: rgba(255, 255, 255, 0);
    padding: var(--space-6);
    border-radius: var(--radius-base);
    display: inline-block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .hero-title {
        line-height: 1.2;
        padding: var(--space-4);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-line {
    display: inline;
    color: var(--color-black);
    text-shadow: none;
    font-weight: 700;
}

.title-line:first-child::after {
    content: ' ';
    white-space: pre;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.highlight {
    position: relative;
    color: #FF0000;
    background-image: linear-gradient(180deg, transparent 65%, #FFEB00 65%, #FFEB00 85%, transparent 85%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-bottom: 0.1em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

@media (max-width: 768px) {
    .highlight {
        background-image: linear-gradient(180deg, transparent 68%, #FFEB00 68%, #FFEB00 88%, transparent 88%);
    }
}

@media (max-width: 480px) {
    .highlight {
        background-image: linear-gradient(180deg, transparent 70%, #FFEB00 70%, #FFEB00 90%, transparent 90%);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-light);
    margin-bottom: var(--space-8);
    font-weight: 400;
    line-height: 1.7;
    max-width: 600px;
    animation: slideUp 0.8s var(--ease-out) 0.6s both;
    text-shadow: none;
    background-color: rgba(255, 255, 255, 0);
    padding: var(--space-4);
    border-radius: var(--radius-base);
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
    animation: slideUp 0.8s var(--ease-out) 0.8s both;
}

.hero-credentials {
    display: flex;
    gap: var(--space-6);
    align-items: center;
    animation: slideUp 0.8s var(--ease-out) 1s both;
    background-color: rgba(255, 255, 255, 0.95);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-base);
    display: inline-flex;
    margin-bottom: var(--space-20);
}

.credential-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.credential-number {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-black);
    font-family: var(--font-display);
    text-shadow: none;
}

.credential-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    text-shadow: none;
}

.credential-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-gray-300);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-black);
    font-size: var(--text-sm);
    font-weight: 500;
    animation: fadeIn 1s ease-out 1.2s both;
    z-index: 10;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

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

.scroll-indicator {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-black) 0%, transparent 100%);
    animation: scrollDown 2s ease-in-out infinite;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(20px); opacity: 1; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slower), height var(--transition-slower);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span, .btn svg {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: #FF0000;
    color: var(--color-white);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
    background: #CC0000;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-black);
    border-color: var(--color-black);
}

.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
    transform: translateY(-2px);
}

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

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: var(--space-32) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.label-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, transparent 100%);
}

.section-title {
    color: var(--color-text);
    margin-bottom: var(--space-6);
    font-weight: 800;
}

.title-word {
    display: inline-block;
    margin-right: 0.3em;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: var(--text-lg);
    color: var(--color-text-light);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-surface) 100%);
}

/* Story Section */
.about-story {
    margin-bottom: var(--space-20);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-16);
    box-shadow: var(--shadow-md);
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.story-lead {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    font-family: var(--font-display);
}

.story-paragraph {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.8;
    margin: 0;
}

.story-highlight {
    font-size: var(--text-lg);
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.6;
    margin: var(--space-4) 0 0 0;
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-base);
}

.story-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.story-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-black) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.story-image .image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent 30%
    );
    animation: rotate 10s linear infinite;
}

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

.founders-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: var(--radius-lg);
}

/* Values Section */
.about-values-section {
    margin-bottom: var(--space-20);
}

.values-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--space-12);
    font-family: var(--font-display);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.value-item {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-gray-200);
    transition: all var(--transition-base);
    text-align: center;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.value-icon {
    color: var(--color-primary);
    margin: 0 auto var(--space-4);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--color-accent);
}

.value-item h4 {
    color: var(--color-text);
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    font-weight: 600;
    font-family: var(--font-display);
}

.value-item p {
    font-size: var(--text-base);
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.about-cta {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-900) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-16);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(220, 20, 60, 0.1),
        transparent 30%
    );
    animation: rotate 15s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-12);
}

.cta-content h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-8);
    font-family: var(--font-display);
    line-height: 1.3;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-12);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-item .stat-number {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-display);
    margin-bottom: var(--space-2);
    display: block;
}

.stat-item .stat-number::after {
    content: '+';
    color: var(--color-primary);
}

.stat-item .stat-label {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* ============================================
   AUDIENCES SECTION - MODERN TAB DESIGN
   ============================================ */

.audiences {
    background: var(--color-black);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    padding: var(--space-24) 0;
}

/* Animated Background */
.audiences-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.bg-gradient-1 {
    position: absolute;
    top: -50%;
    left: -25%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.bg-gradient-2 {
    position: absolute;
    bottom: -50%;
    right: -25%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

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

.audiences .container {
    position: relative;
    z-index: 1;
}

.audiences .section-label {
    color: var(--color-gray-400);
}

.audiences .section-label .label-line {
    background: var(--color-primary);
}

.audiences .section-title {
    color: var(--color-white);
    margin-bottom: var(--space-6);
}

.audiences .section-title .highlight {
    color: var(--color-primary);
}

.audiences-intro {
    max-width: 700px;
    margin: 0 auto var(--space-16);
    text-align: center;
    color: var(--color-gray-400);
    font-size: var(--text-lg);
}

/* Tab Navigation */
.audiences-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-16);
    flex-wrap: wrap;
}

.audience-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-gray-400);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.audience-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.audience-tab:hover {
    border-color: rgba(220, 20, 60, 0.3);
    transform: translateY(-2px);
}

.audience-tab.active {
    color: var(--color-white);
    border-color: transparent;
}

.audience-tab.active::before {
    opacity: 1;
}

.tab-number,
.tab-title {
    position: relative;
    z-index: 1;
}

.tab-number {
    font-size: var(--text-sm);
    font-weight: 700;
    opacity: 0.7;
}

.tab-indicator {
    display: none;
}

/* Panel Content */
.audiences-content {
    position: relative;
    min-height: 500px;
}

.audience-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

.audience-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.panel-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-16);
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    position: relative;
    overflow: hidden;
}

@supports (backdrop-filter: blur(20px)) {
    .panel-content {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

@supports not (backdrop-filter: blur(20px)) {
    .panel-content {
        background: rgba(255, 255, 255, 0.05);
    }
}

.panel-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05) 0%, rgba(255, 215, 0, 0.03) 100%);
    pointer-events: none;
}

.panel-text {
    position: relative;
    z-index: 1;
}

.panel-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(220, 20, 60, 0.1);
    border: 1px solid rgba(220, 20, 60, 0.3);
    color: var(--color-primary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.panel-badge svg {
    width: 16px;
    height: 16px;
}

.panel-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-white);
    margin-bottom: var(--space-6);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-400) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel-lead {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--color-gray-300);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.panel-lead strong {
    color: var(--color-white);
    font-weight: 600;
}

.panel-description {
    font-size: var(--text-base);
    color: var(--color-gray-400);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.panel-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-gray-300);
    font-size: var(--text-base);
}

.feature-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

/* Visual Card */
.panel-visual {
    position: relative;
    z-index: 1;
}

.visual-card {
    position: relative;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    transform: translate(-50%, -50%) rotate(45deg);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.visual-icon {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    opacity: 0.8;
}

.visual-icon svg {
    filter: drop-shadow(0 10px 30px rgba(220, 20, 60, 0.3));
}

/* Panel Images */
.panel-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
}

/* Ajustes específicos de posicionamento */
.panel-image-agencia {
    object-position: center bottom;
}

.panel-image-labs {
    object-position: center center;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .panel-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        padding: var(--space-10);
    }
    
    .panel-title {
        font-size: var(--text-4xl);
    }
    
    .panel-visual {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .audiences {
        padding: var(--space-16) 0;
    }
    
    .audiences-tabs {
        flex-direction: column;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .audience-tab {
        width: 100%;
        justify-content: center;
    }
    
    .panel-content {
        padding: var(--space-8);
    }
    
    .panel-title {
        font-size: var(--text-3xl);
    }
    
    .panel-lead {
        font-size: var(--text-lg);
    }
    
    .audiences-content {
        min-height: 600px;
    }
    
    .visual-card {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .visual-icon svg {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   DEMO REEL / PORTFOLIO SECTION
   ============================================ */

.demo-reel {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-surface) 100%);
    padding: var(--space-32) 0;
}

.demo-reel-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.demo-reel-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.demo-reel-intro {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: var(--space-6);
    font-family: var(--font-display);
}

.demo-reel-description {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-12);
}

.demo-reel-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-12);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4) var(--space-6);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.demo-reel-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text);
    padding: var(--space-2);
    transition: var(--transition-base);
    text-align: left;
}

.demo-reel-list li:hover {
    color: var(--color-primary);
}

.demo-reel-list li:hover svg {
    transform: scale(1.2);
}

.demo-reel-list li svg {
    flex-shrink: 0;
    color: var(--color-primary);
    stroke-width: 2.5;
    transition: var(--transition-base);
}

.demo-reel-list li span {
    line-height: 1.4;
    font-weight: 500;
}

.demo-reel-footer {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: var(--space-10);
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-base);
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.demo-reel-video {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    background: var(--color-black);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--color-gray-200);
    transition: var(--transition-base);
}

.video-container:hover {
    box-shadow: 0 25px 70px rgba(220, 20, 60, 0.2);
    transform: translateY(-4px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-badge {
    position: absolute;
    bottom: var(--space-6);
    right: var(--space-6);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-white);
    z-index: 2;
}

@supports (backdrop-filter: blur(10px)) {
    .video-badge {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.video-badge .badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* YouTube Facade Optimization */
.youtube-facade {
    cursor: pointer;
    position: relative;
}

.youtube-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.youtube-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
    transition: all var(--transition-base);
    opacity: 0.9;
}

.youtube-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.youtube-play-button svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.youtube-facade.loaded .youtube-thumbnail,
.youtube-facade.loaded .youtube-play-button {
    display: none;
}

/* Responsive */
@media (max-width: 968px) {
    .demo-reel-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3) var(--space-4);
    }
}

@media (max-width: 768px) {
    .demo-reel {
        padding: var(--space-20) 0;
    }
    
    .demo-reel-intro {
        font-size: var(--text-2xl);
    }
    
    .demo-reel-description {
        font-size: var(--text-base);
    }
    
    .demo-reel-list {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }
    
    .demo-reel-list li {
        font-size: var(--text-sm);
    }
}

/* ============================================
   CLIENTS SECTION
   ============================================ */

.clients {
    background-color: var(--color-white);
    padding: var(--space-24) 0;
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-12);
    align-items: center;
    justify-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    transition: var(--transition-base);
    opacity: 0.6;
    position: relative;
    min-height: 100px;
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all var(--transition-base);
}

.client-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transition: transform var(--transition-base);
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.client-logo:hover img {
    filter: grayscale(0%);
}

.client-logo:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-white) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.testimonial-card {
    background-color: var(--color-white);
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-6);
    left: var(--space-6);
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-gray-100);
    font-family: var(--font-display);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 2;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.testimonial-name {
    font-weight: 700;
    color: var(--color-text);
    font-size: var(--text-lg);
    font-family: var(--font-display);
    line-height: 1.2;
}

.testimonial-role {
    font-size: var(--text-sm);
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.testimonial-text {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-text);
    margin: 0;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
    background-color: var(--color-white);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-3) var(--space-6);
    background-color: transparent;
    border: none;
    color: var(--color-text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    position: relative;
    border-radius: var(--radius-full);
}

.filter-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transition: transform var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-primary);
    background-color: rgba(220, 20, 60, 0.05);
}

.filter-btn.active::before {
    transform: translateX(-50%) scaleX(1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-8);
}

.portfolio-item {
    opacity: 1;
    transition: all var(--transition-base);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16/9;
    background: var(--color-gray-900);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gray-800) 0%, var(--color-black) 100%);
    transition: transform var(--transition-slower);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-8);
    opacity: 0;
    transition: opacity var(--transition-base);
    color: var(--color-white);
}

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

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

.portfolio-title {
    color: var(--color-white);
    margin-bottom: var(--space-2);
    font-size: var(--text-xl);
    font-weight: 600;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

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

.portfolio-category {
    color: var(--color-accent);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: translateY(20px);
    transition: transform var(--transition-base) 0.05s;
}

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

.portfolio-link {
    color: var(--color-white);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: var(--transition-base);
    font-size: var(--text-sm);
    transform: translateY(20px);
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
    transition: transform var(--transition-base) 0.1s;
}

.portfolio-link:hover {
    color: var(--color-accent);
    gap: var(--space-3);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-white) 100%);
    color: var(--color-text);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-info .section-header {
    text-align: left;
}

.contact-description {
    color: var(--color-text-light);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.contact-details {
    margin-bottom: var(--space-8);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    align-items: flex-start;
    padding: var(--space-4);
    border-radius: var(--radius-base);
    transition: var(--transition-base);
}

.contact-item:hover {
    background-color: rgba(220, 20, 60, 0.05);
}

.contact-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item h4 {
    color: var(--color-text);
    margin-bottom: var(--space-1);
    font-size: var(--text-base);
    font-weight: 600;
}

.contact-item p {
    color: var(--color-text-light);
    margin: 0;
    font-size: var(--text-base);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-gray-300);
    border-radius: 50%;
    color: var(--color-text);
    transition: all var(--transition-base);
    background: var(--color-white);
}

.social-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.social-link.whatsapp:hover {
    border-color: #25D366;
    color: #25D366;
}

.contact-form {
    background-color: var(--color-white);
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-200);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    color: var(--color-text);
    margin-bottom: var(--space-2);
    font-weight: 500;
    font-size: var(--text-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    background-color: var(--color-surface);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-base);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.1);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   PORTFOLIO MODAL
   ============================================ */

.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
}

.portfolio-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease-out;
}

@supports (backdrop-filter: blur(10px)) {
    .modal-overlay {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

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

.modal-content {
    position: relative;
    z-index: 1;
    background: var(--color-gray-900);
    border-radius: var(--radius-xl);
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 2;
}

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

.modal-body {
    padding: var(--space-12);
}

.modal-video {
    margin-bottom: var(--space-10);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-black);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-info {
    color: var(--color-white);
}

.modal-category {
    display: inline-block;
    background: rgba(220, 20, 60, 0.1);
    border: 1px solid rgba(220, 20, 60, 0.3);
    color: var(--color-primary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.modal-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-white);
    margin-bottom: var(--space-6);
    line-height: 1.2;
}

.modal-description {
    font-size: var(--text-lg);
    color: var(--color-gray-400);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .portfolio-modal {
        padding: 0;
    }
    
    .modal-content {
        max-height: 100vh;
        border-radius: 0;
        height: 100%;
    }
    
    .modal-body {
        padding: var(--space-8);
        padding-top: var(--space-16);
    }
    
    .modal-close {
        top: var(--space-4);
        right: var(--space-4);
        width: 40px;
        height: 40px;
    }
    
    .modal-title {
        font-size: var(--text-2xl);
    }
    
    .modal-description {
        font-size: var(--text-base);
    }
}

/* Update portfolio link to button */
.portfolio-link {
    background: none;
    border: none;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: var(--transition-base);
}

.portfolio-link:hover {
    gap: var(--space-3);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--space-12) 0 var(--space-8);
    border-top: 1px solid var(--color-gray-800);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-gray-800);
}

.footer-bottom p {
    color: var(--color-gray-500);
    margin: 0;
    font-size: var(--text-sm);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        padding: var(--space-12);
    }
    
    .story-image {
        min-height: 400px;
    }
    
    .about-values {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .contact-info .section-header {
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --space-32: 4rem;
        --space-24: 3rem;
        --space-16: 2.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: var(--space-8);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-xl);
        border-bottom: 1px solid var(--color-gray-200);
        gap: var(--space-4);
    }
    
    @supports (backdrop-filter: blur(20px)) {
        .nav-menu {
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: var(--text-lg);
        padding: var(--space-3) 0;
    }
    
    .hero {
        min-height: 90vh;
        padding: var(--space-24) 0 var(--space-16);
    }
    
    .hero-background-text {
        font-size: clamp(6rem, 15vw, 10rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-credentials {
        flex-wrap: wrap;
    }
    
    .credential-divider {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--space-2);
    }
    
    .filter-btn {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    section {
        padding: var(--space-16) 0;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .story-content {
        padding: var(--space-8);
        gap: var(--space-8);
    }
    
    .story-text {
        gap: var(--space-4);
    }
    
    .story-lead {
        font-size: var(--text-xl);
    }
    
    .story-paragraph {
        font-size: var(--text-sm);
    }
    
    .story-highlight {
        font-size: var(--text-base);
        padding: var(--space-4);
    }
    
    .story-image {
        min-height: 300px;
    }
    
    .values-title {
        font-size: var(--text-3xl);
    }
    
    .about-values {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .about-cta {
        padding: var(--space-10);
    }
    
    .cta-content h3 {
        font-size: var(--text-2xl);
    }
    
    .about-stats {
        gap: var(--space-8);
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .stat-item .stat-number {
        font-size: var(--text-4xl);
    }
}

/* ============================================
   UTILITY CLASSES & ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slower);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Performance optimizations */
.hero-video,
.panel-image,
.youtube-thumbnail {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Reduce motion for accessibility and performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

/* Selection styles */
::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

::-moz-selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}
