/* ============================================
   DESIGN SYSTEM — LIGHT THEME
   ============================================ */
:root {
    /* Colors — Fresh Light Theme */
    --bg-primary: #FAFBFE;
    --bg-secondary: #F1F3F9;
    --bg-tertiary: #E8ECF4;
    --bg-card: #FFFFFF;

    --accent-primary: #7C3AED;
    --accent-secondary: #F97316;
    --accent-pink: #EC4899;
    --accent-green: #10B981;
    --accent-blue: #3B82F6;

    --text-primary: #1A1A2E;
    --text-secondary: #5A6584;
    --text-muted: #8C96AB;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-accent: 0 12px 40px rgba(124, 58, 237, 0.15);

    --border-light: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(124, 58, 237, 0.25);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

/* ============================================
   GRADIENT TEXT UTILITY
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.preloader-ring {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-tertiary);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 6px;
    color: var(--text-muted);
}

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

/* ============================================
   THREE.JS CANVAS
   ============================================ */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-pink));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ============================================
   NAVIGATION
   ============================================ */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

#main-nav.nav-scrolled {
    background: rgba(250, 251, 254, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.logo-accent {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

#nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    position: relative;
}

#nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width var(--transition-smooth);
    border-radius: 2px;
}

#nav-links a:hover {
    color: var(--text-primary);
}

#nav-links a:hover::after {
    width: 100%;
}

.nav-cta-link {
    background: linear-gradient(135deg, var(--accent-primary), #6D28D9);
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: white !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: var(--transition-smooth) !important;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.nav-cta-link::after {
    display: none !important;
}

.nav-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(124, 58, 237, 0.4);
}

/* Hamburger Menu */
#menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

#menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
    transform-origin: center;
}

#menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

#menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 24px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.tag-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent-primary);
}

.tag-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--accent-primary);
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, var(--text-primary) 0%, rgba(26, 26, 46, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.hero-tagline {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #6D28D9);
    color: white;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.5);
}

.btn-outline {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--border-hover);
    background: rgba(124, 58, 237, 0.05);
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-text {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
    color: var(--accent-primary);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================
   SECTION HEADERS (SHARED)
   ============================================ */
.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 60px;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent-primary);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 100px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    position: relative;
    z-index: 2;
}

.about-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.tool-badge {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.tool-badge:hover {
    border-color: var(--border-hover);
    color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.05);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 5;
}

.stat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 5;
    opacity: 0;
    transform: translateY(24px);
}

.stats-visible .stat-card {
    animation: statCardIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stats-visible .stat-card:nth-child(1) { animation-delay: 0s; }
.stats-visible .stat-card:nth-child(2) { animation-delay: 0.08s; }
.stats-visible .stat-card:nth-child(3) { animation-delay: 0.16s; }
.stats-visible .stat-card:nth-child(4) { animation-delay: 0.24s; }

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

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-accent);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

/* ============================================
   INSTAGRAM REEL EMBEDS
   ============================================ */
.reel-embed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.reel-embed-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
}

.reel-embed-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-accent);
}

.reel-embed-card iframe {
    display: block;
    width: 100%;
    height: 560px;
    border: none;
}

/* ============================================
   FILTER TABS
   ============================================ */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-tab {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 100px;
    border: 1.5px solid var(--border-light);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.filter-tab:hover {
    border-color: var(--border-hover);
    color: var(--accent-primary);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--accent-primary), #6D28D9);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

/* ============================================
   WORK CARDS — REELS
   ============================================ */
.work-grid {
    display: grid;
    gap: 24px;
}

.reel-grid {
    grid-template-columns: repeat(3, 1fr);
}

.work-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.work-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-accent);
}

.work-card.hidden {
    display: none;
}

.card-thumbnail {
    position: relative;
    aspect-ratio: 9/16;
    background: var(--gradient);
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.work-card:hover .card-overlay,
.lf-card:hover .card-overlay {
    opacity: 1;
}

.play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    transition: var(--transition-smooth);
    padding-left: 3px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--accent-primary);
    color: white;
}

.play-btn-lg {
    width: 72px;
    height: 72px;
    padding-left: 4px;
}

.card-platform {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 100px;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-info {
    padding: 16px 20px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.card-client {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   YOUTUBE EMBED — LONG FORM
   ============================================ */
.yt-embed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    position: relative;
    z-index: 2;
}

.yt-embed-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
}

.yt-embed-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-accent);
}

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

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

/* ============================================
   CLIENTS SECTION — MARQUEE
   ============================================ */
#clients {
    padding-bottom: 80px;
}

.marquee-wrapper {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-primary), transparent);
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.client-item {
    flex-shrink: 0;
    padding: 20px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.client-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

.client-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 2px;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.result-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-accent);
}

.result-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.result-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 8px;
}

.result-label {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.result-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Case Studies */
.case-studies {
    margin-top: 20px;
}

.case-studies-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

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

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.case-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-accent);
    transform: translateY(-4px);
}

.case-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.case-client-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.case-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 100px;
    color: var(--accent-primary);
}

.case-metrics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.case-before,
.case-after {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.case-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.case-value {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.case-value.highlight {
    color: var(--accent-green);
}

.case-arrow {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.case-growth {
    text-align: center;
}

.growth-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    color: var(--accent-green);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-content {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-heading {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-text {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 24px;
    align-items: stretch;
}

.contact-profile-card,
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 28px;
}

.contact-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-photo-wrap {
    position: relative;
    width: 152px;
    height: 152px;
    border-radius: 50%;
    border: 4px solid rgba(124, 58, 237, 0.14);
    overflow: hidden;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #ede9fe, #fee2e2);
}

#contact-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#contact-photo.is-hidden {
    display: none;
}

.contact-photo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 700;
    color: var(--accent-primary);
}

.contact-photo-fallback.is-hidden {
    display: none;
}

.contact-photo-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.social-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

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

.social-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(124, 58, 237, 0.08);
    color: var(--accent-primary);
    flex-shrink: 0;
}

.whatsapp-link .social-icon {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
}

.contact-email {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.contact-form {
    text-align: left;
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    line-height: 1.2;
}

.contact-field {
    display: block;
    margin-bottom: 14px;
}

.contact-field span {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid var(--border-light);
    background: #ffffff;
    border-radius: 12px;
    padding: 13px 14px;
    font: inherit;
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--border-hover);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.contact-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    padding: 32px 0;
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.footer-text {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Mobile Nav */
    #menu-toggle {
        display: flex;
    }

    #nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(250, 251, 254, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right var(--transition-smooth);
        border-left: 1px solid var(--border-light);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
    }

    #nav-links.active {
        right: 0;
    }

    #nav-links a {
        font-size: 18px;
        color: var(--text-primary);
    }

    .nav-cta-link {
        margin-top: 16px;
    }

    /* Sections */
    .hero-name {
        letter-spacing: -1px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .reel-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .reel-embed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .reel-embed-card iframe {
        height: 480px;
    }

    .yt-embed-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
        margin: 0 auto;
    }

    .results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .result-number {
        font-size: 36px;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-metrics {
        flex-direction: column;
        text-align: center;
    }

    .case-arrow {
        transform: rotate(90deg);
    }

    .contact-profile-card,
    .contact-form {
        padding: 22px;
    }

    .contact-form-title {
        font-size: 26px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .social-link {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 36px;
    }

    .reel-embed-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .reel-embed-card iframe {
        height: 520px;
    }

    .contact-photo-wrap {
        width: 130px;
        height: 130px;
    }

    .contact-form-title {
        font-size: 23px;
    }

    .filter-tabs {
        gap: 6px;
    }

    .filter-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ============================================
   GLASSMORPHIC CARD EFFECTS
   ============================================ */
.stat-card,
.reel-embed-card,
.yt-embed-card,
.client-item,
.result-card,
.case-card,
.social-link {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9B59F6;
}

/* Lazy iframe placeholder */
iframe[data-src] {
    background: var(--bg-tertiary);
}
