/* === VIRALIX DARK MODE FIRST CSS (v2 - LINEAR.APP KEYFİYYƏTİNDƏ) === */

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* === YENİ RƏNG SİSTEMİ (DESIGN TOKENS) === */
:root {
    /* DARK MODE FIRST - Linear.app Inspirasiyası */
    --bg-primary: #000000;      /* Pure Black - OLED Optimized */
    --bg-secondary: #0A0A0A;    /* Near Black - Hero/Sidebar */
    --bg-surface: #141414;      /* Dark Surface - Cards */
    --bg-hover: #1E1E1E;        /* Hover States */
    --bg-modal: #0F0F0F;        /* Modal Backgrounds */
    
    /* Mövcud Accent Palitra (Saxlanır) */
    --accent-primary: #8A4FFF;   /* Purple - Brand Primary */
    --accent-secondary: #4DA1FF; /* Blue - Secondary Actions */
    --accent-accent: #FF4DA1;    /* Pink - Accent/Success */
    --accent-success: #34D399;   /* Green - Success States */
    --accent-meta: #0062E0;      /* Meta Blue */
    
    /* Text Colors (WCAG AAA: 15.2:1 Contrast) */
    --text-primary: #E4E6EB;     /* Primary Text */
    --text-secondary: #A9B1D6;   /* Secondary/Muted Text */
    --text-tertiary: #6B7280;    /* Tertiary Text */
    
    /* Border Colors */
    --border-primary: rgba(229, 231, 235, 0.08);  /* Subtle Borders */
    --border-secondary: rgba(229, 231, 235, 0.15); /* Active Borders */
    --border-focus: rgba(139, 92, 246, 0.3);      /* Focus Ring */
    
    /* Shadow System */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;   /* 12px */
    --font-size-sm: 0.875rem;  /* 14px */
    --font-size-base: 1rem;    /* 16px */
    --font-size-lg: 1.125rem;  /* 18px */
    --font-size-xl: 1.25rem;   /* 20px */
    --font-size-2xl: 1.5rem;   /* 24px */
    --font-size-3xl: 1.875rem; /* 30px */
    --font-size-4xl: 2.25rem;  /* 36px */
    
    /* 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 */
    
    /* Border Radius */
    --radius-sm: 0.375rem;  /* 6px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-2xl: 1.5rem;   /* 24px */
    
    /* Transitions (Yavaş animasiyalar) */
    --transition-fast: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* === CRITICAL: HIDDEN CLASS - MUST BE FIRST === */
.hidden {
    display: none !important;
}

/* === TƏMƏL RESET VƏ LAYOUT === */
*, *::before, *::after { 
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga' 1, 'calt' 1;
}

/* === BACKGROUND EFFECTS (OLED Optimized) === */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

/* Subtle Grid Pattern */
.background-effects::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(139, 92, 246, 0.03) 1px, transparent 0);
    background-size: 25px 25px;
    opacity: 0.8;
    z-index: -2;
}

/* Floating Blur Orbs */
.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.12;
    animation: float 60s infinite ease-in-out;
}

/* Floating Orbs - Təmiz və Gözəl Animasiya */
.floating-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 400px;
    overflow: hidden;
    z-index: 1;
}

.floating-orb {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.3), rgba(0, 212, 255, 0.3));
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
    animation: floatOrb 12s infinite ease-in-out;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-orb:hover {
    transform: scale(1.3);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.8);
    filter: brightness(1.5);
}

.floating-orb:nth-child(2) {
    background: linear-gradient(45deg, rgba(255, 0, 128, 0.3), rgba(0, 212, 255, 0.3));
    box-shadow: 0 0 25px rgba(255, 0, 128, 0.4);
    animation-duration: 15s;
    animation-delay: -3s;
}

.floating-orb:nth-child(3) {
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.3), rgba(138, 79, 255, 0.3));
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    animation-duration: 18s;
    animation-delay: -6s;
}

/* Subtle Hexagons - Incə Hologram Effect */
.subtle-hexagons {
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 300px;
    overflow: hidden;
    z-index: 1;
    opacity: 0.6;
}

.subtle-hexagon {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(0, 255, 136, 0.3);
    transform: rotate(45deg);
    animation: hexagonPulse 8s infinite ease-in-out;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subtle-hexagon:hover {
    border-color: rgba(0, 255, 136, 0.8);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
    transform: rotate(45deg) scale(1.2);
}

.subtle-hexagon:nth-child(2) {
    border-color: rgba(255, 0, 128, 0.3);
    animation-delay: -2s;
}

.subtle-hexagon:nth-child(2):hover {
    border-color: rgba(255, 0, 128, 0.8);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.6);
}

.subtle-hexagon:nth-child(3) {
    border-color: rgba(0, 212, 255, 0.3);
    animation-delay: -4s;
}

.subtle-hexagon:nth-child(3):hover {
    border-color: rgba(0, 212, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

/* === CANLI DİGİTAL/FUTURİSTİK BACKGROUND ANİMASİYALARI === */

/* Matrix Digital Rain - Matrix yağışı effekti (Canlı rənglər) */
.matrix-stream {
    position: absolute;
    width: 4px;
    height: 30px;
    background: linear-gradient(to bottom, 
        rgba(139, 92, 246, 1) 0%, 
        rgba(77, 161, 255, 1) 30%, 
        rgba(255, 77, 161, 1) 60%, 
        rgba(52, 211, 153, 1) 100%);
    border-radius: 2px;
    animation: matrixRain 10s infinite linear;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
    opacity: 0.8;
}

/* RGB Color Cycling Orbs - RGB neon kürələr */
.rgb-orb {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: rgbOrb 15s infinite ease-in-out;
    opacity: 0.7;
    mix-blend-mode: screen;
}

.rgb-orb:nth-child(1) {
    background: radial-gradient(circle, 
        rgba(255, 0, 100, 0.8) 0%, 
        rgba(255, 50, 150, 0.6) 40%, 
        transparent 70%);
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.rgb-orb:nth-child(2) {
    background: radial-gradient(circle, 
        rgba(0, 255, 200, 0.8) 0%, 
        rgba(100, 255, 200, 0.6) 40%, 
        transparent 70%);
    top: 60%;
    left: 75%;
    animation-delay: -5s;
}

.rgb-orb:nth-child(3) {
    background: radial-gradient(circle, 
        rgba(255, 255, 0, 0.8) 0%, 
        rgba(255, 255, 100, 0.6) 40%, 
        transparent 70%);
    top: 80%;
    left: 25%;
    animation-delay: -10s;
}

/* Neon Grid Lines - Neon şəbəkə xətləri */
.neon-grid-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 255, 0.8) 20%, 
        rgba(139, 92, 246, 0.9) 50%, 
        rgba(0, 255, 255, 0.8) 80%, 
        transparent 100%);
    height: 2px;
    width: 400px;
    animation: neonGridMove 12s infinite linear;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.6));
    opacity: 0.6;
}

.neon-grid-line:nth-child(1) {
    top: 20%;
    animation-delay: 0s;
}

.neon-grid-line:nth-child(2) {
    top: 40%;
    animation-delay: -4s;
}

.neon-grid-line:nth-child(3) {
    top: 60%;
    animation-delay: -8s;
}

.neon-grid-line:nth-child(4) {
    top: 80%;
    animation-delay: -12s;
}

/* 3D Rotating Hexagons - 3D fırlanan altıbucaqlılar */
.hexagon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.6), 
        rgba(77, 161, 255, 0.8), 
        rgba(255, 77, 161, 0.6));
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: rotate3D 20s infinite linear;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    opacity: 0.5;
}

.hexagon:nth-child(1) {
    top: 25%;
    left: 30%;
    animation-delay: 0s;
}

.hexagon:nth-child(2) {
    top: 70%;
    left: 70%;
    animation-delay: -7s;
}

.hexagon:nth-child(3) {
    top: 45%;
    left: 85%;
    animation-delay: -14s;
}

.matrix-stream:nth-child(1) { left: 10%; animation-delay: 0s; }
.matrix-stream:nth-child(2) { left: 20%; animation-delay: -2s; }
.matrix-stream:nth-child(3) { left: 30%; animation-delay: -4s; }
.matrix-stream:nth-child(4) { left: 40%; animation-delay: -6s; }
.matrix-stream:nth-child(5) { left: 50%; animation-delay: -8s; }
.matrix-stream:nth-child(6) { left: 60%; animation-delay: -10s; }
.matrix-stream:nth-child(7) { left: 70%; animation-delay: -12s; }
.matrix-stream:nth-child(8) { left: 80%; animation-delay: -14s; }
.matrix-stream:nth-child(9) { left: 90%; animation-delay: -16s; }

/* Holographic Grid - Holoqrafik şəbəkə */
.holographic-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridScroll 20s infinite linear;
    opacity: 0.6;
}

/* Digital Glitch Lines - Digital qızaqlar */
.digital-glitch {
    position: absolute;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(139, 92, 246, 0.8) 50%, 
        transparent 100%);
    animation: glitchMove 8s infinite ease-in-out;
    opacity: 0.7;
    filter: drop-shadow(0 0 2px rgba(139, 92, 246, 0.5));
}

.digital-glitch:nth-child(1) {
    top: 25%;
    left: 0;
    animation-delay: 0s;
}

.digital-glitch:nth-child(2) {
    top: 45%;
    right: 0;
    animation-delay: -4s;
}

.digital-glitch:nth-child(3) {
    top: 65%;
    left: 0;
    animation-delay: -8s;
}

/* Cyberpunk Data Nodes - Cyberpunk məlumat qovuqları (Canlı) */
.data-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid rgba(139, 92, 246, 1);
    border-radius: 50%;
    animation: dataPulse 4s infinite ease-in-out;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.8), inset 0 0 8px rgba(255, 255, 255, 0.2);
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(139, 92, 246, 0.6) 50%, 
        transparent 100%);
}

.data-node:nth-child(1) { top: 15%; left: 25%; animation-delay: 0s; }
.data-node:nth-child(2) { top: 35%; left: 75%; animation-delay: -1.5s; }
.data-node:nth-child(3) { top: 55%; left: 15%; animation-delay: -3s; }
.data-node:nth-child(4) { top: 75%; left: 85%; animation-delay: -4.5s; }

/* Holographic Energy Rings - Holoqrafik enerji halqaları */
.energy-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg, 
        rgba(139, 92, 246, 0.8), 
        rgba(77, 161, 255, 0.9), 
        rgba(255, 77, 161, 0.8), 
        rgba(52, 211, 153, 0.9), 
        rgba(139, 92, 246, 0.8)
    );
    animation: energyRing 18s infinite linear;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
    opacity: 0.5;
}

.energy-ring:nth-child(1) {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.energy-ring:nth-child(2) {
    bottom: 15%;
    left: 5%;
    animation-delay: -9s;
}

/* Digital Circuit Traces - Digital circuit izləri */
.circuit-trace {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(0, 255, 200, 0.8) 0%, 
        rgba(139, 92, 246, 0.9) 50%, 
        rgba(0, 255, 200, 0.8) 100%);
    box-shadow: 0 0 5px rgba(0, 255, 200, 0.6);
    animation: circuitPulse 8s infinite ease-in-out;
    opacity: 0.7;
}

.circuit-trace:nth-child(1) {
    width: 250px;
    top: 25%;
    left: 10%;
    animation-delay: 0s;
}

.circuit-trace:nth-child(2) {
    width: 180px;
    top: 45%;
    right: 15%;
    animation-delay: -3s;
}

.circuit-trace:nth-child(3) {
    width: 200px;
    top: 65%;
    left: 20%;
    animation-delay: -6s;
}

/* Glitching Energy Sparks - Qızaqlayan enerji qığılcımları */
.energy-spark {
    position: absolute;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(139, 92, 246, 0.9) 50%, 
        rgba(77, 161, 255, 0.8) 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: sparkGlitch 6s infinite ease-in-out;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    opacity: 0.8;
}

.energy-spark:nth-child(1) {
    top: 20%;
    left: 60%;
    animation-delay: 0s;
}

.energy-spark:nth-child(2) {
    top: 60%;
    left: 40%;
    animation-delay: -2s;
}

.energy-spark:nth-child(3) {
    top: 80%;
    left: 70%;
    animation-delay: -4s;
}

/* Color Shifting Data Streams - Rəng dəyişən məlumat axınları */
.color-stream {
    position: absolute;
    width: 4px;
    height: 100px;
    background: linear-gradient(180deg, 
        rgba(255, 0, 100, 0.9), 
        rgba(0, 255, 200, 0.9), 
        rgba(255, 255, 0, 0.9), 
        rgba(139, 92, 246, 0.9));
    border-radius: 2px;
    animation: colorStreamFlow 14s infinite linear;
    filter: blur(1px);
    opacity: 0.7;
}

.color-stream:nth-child(1) {
    left: 12%;
    animation-delay: 0s;
}

.color-stream:nth-child(2) {
    left: 42%;
    animation-delay: -7s;
}

.color-stream:nth-child(3) {
    left: 72%;
    animation-delay: -14s;
}

/* Floating RGB Cubes - Üzən RGB kubiklər */
.rgb-cube {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, 
        rgba(255, 0, 100, 0.8), 
        rgba(0, 255, 200, 0.8), 
        rgba(139, 92, 246, 0.8));
    animation: rgbCubeFloat 16s infinite ease-in-out;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    opacity: 0.6;
}

.rgb-cube:nth-child(1) {
    top: 30%;
    left: 5%;
    animation-delay: 0s;
}

.rgb-cube:nth-child(2) {
    top: 50%;
    left: 90%;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
    }
    33% { 
        transform: translate(200px, -100px) rotate(120deg) scale(1.1); 
    }
    66% { 
        transform: translate(-150px, 100px) rotate(240deg) scale(0.9); 
    }
}

/* CANLI DİGİTAL ANİMASİYA KEYFRAMES */
@keyframes matrixRain {
    0% { 
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% { 
        opacity: 0.8;
    }
    90% { 
        opacity: 0.8;
    }
    100% { 
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes rgbOrb {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.7;
        filter: hue-rotate(0deg);
    }
    25% { 
        transform: translate(100px, -50px) scale(1.2) rotate(90deg);
        opacity: 0.9;
        filter: hue-rotate(90deg);
    }
    50% { 
        transform: translate(-50px, 100px) scale(0.8) rotate(180deg);
        opacity: 0.8;
        filter: hue-rotate(180deg);
    }
    75% { 
        transform: translate(50px, -100px) scale(1.1) rotate(270deg);
        opacity: 0.9;
        filter: hue-rotate(270deg);
    }
}

@keyframes neonGridMove {
    0% { 
        transform: translateX(-100%) scaleX(1);
        opacity: 0;
    }
    20% { 
        opacity: 0.6;
    }
    80% { 
        opacity: 0.6;
    }
    100% { 
        transform: translateX(100vw) scaleX(1);
        opacity: 0;
    }
}

@keyframes rotate3D {
    0% { 
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
        opacity: 0.5;
    }
    25% { 
        transform: rotateX(90deg) rotateY(90deg) rotateZ(45deg) scale(1.1);
        opacity: 0.7;
    }
    50% { 
        transform: rotateX(180deg) rotateY(180deg) rotateZ(90deg) scale(0.9);
        opacity: 0.8;
    }
    75% { 
        transform: rotateX(270deg) rotateY(270deg) rotateZ(135deg) scale(1.1);
        opacity: 0.7;
    }
    100% { 
        transform: rotateX(360deg) rotateY(360deg) rotateZ(180deg) scale(1);
        opacity: 0.5;
    }
}

@keyframes energyRing {
    0% { 
        transform: scale(0.8) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
    100% { 
        transform: scale(0.8) rotate(360deg);
        opacity: 0.3;
    }
}

@keyframes circuitPulse {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(0, 255, 200, 0.6);
        opacity: 0.5;
    }
    50% { 
        box-shadow: 0 0 15px rgba(0, 255, 200, 1), 0 0 25px rgba(139, 92, 246, 0.8);
        opacity: 1;
    }
}

@keyframes sparkGlitch {
    0%, 100% { 
        transform: translateX(0) scaleY(1);
        opacity: 0.6;
        filter: hue-rotate(0deg);
    }
    20% { 
        transform: translateX(5px) scaleY(1.5);
        opacity: 1;
        filter: hue-rotate(90deg);
    }
    40% { 
        transform: translateX(-3px) scaleY(0.8);
        opacity: 0.8;
        filter: hue-rotate(180deg);
    }
    60% { 
        transform: translateX(7px) scaleY(1.2);
        opacity: 1;
        filter: hue-rotate(270deg);
    }
    80% { 
        transform: translateX(-2px) scaleY(1.4);
        opacity: 0.9;
        filter: hue-rotate(360deg);
    }
}

@keyframes colorStreamFlow {
    0% { 
        transform: translateY(-100vh);
        opacity: 0;
        filter: hue-rotate(0deg) brightness(1);
    }
    25% { 
        opacity: 0.7;
        filter: hue-rotate(90deg) brightness(1.2);
    }
    50% { 
        opacity: 0.9;
        filter: hue-rotate(180deg) brightness(1.4);
    }
    75% { 
        opacity: 0.7;
        filter: hue-rotate(270deg) brightness(1.2);
    }
    100% { 
        transform: translateY(100vh);
        opacity: 0;
        filter: hue-rotate(360deg) brightness(1);
    }
}

@keyframes rgbCubeFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotateX(0deg) rotateY(0deg);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-50px) translateX(30px) rotateX(90deg) rotateY(90deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-100px) translateX(0px) rotateX(180deg) rotateY(180deg);
        opacity: 1;
    }
    75% { 
        transform: translateY(-50px) translateX(-30px) rotateX(270deg) rotateY(270deg);
        opacity: 0.8;
    }
}

/* Skeptik Keyframes (əvvəlki animasiyalar üçün) */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.2;
    }
}

@keyframes gradientFlow {
    0% { 
        transform: translateX(-100%);
        opacity: 0;
    }
    25%, 75% { 
        opacity: 0.7;
    }
    100% { 
        transform: translateX(100vw);
        opacity: 0;
    }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(100vh) translateX(0px) scale(1);
        opacity: 0;
    }
    10% { 
        opacity: 0.5;
    }
    90% { 
        opacity: 0.5;
    }
    50% { 
        transform: translateY(0px) translateX(50px) scale(1.2);
    }
}

@keyframes floatOrb {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1);
        opacity: 0.4;
    }
    25% { 
        transform: translate(100px, -50px) scale(1.1);
        opacity: 0.6;
    }
    50% { 
        transform: translate(150px, 50px) scale(0.9);
        opacity: 0.8;
    }
    75% { 
        transform: translate(50px, 100px) scale(1.05);
        opacity: 0.5;
    }
}

@keyframes hexagonPulse {
    0%, 100% { 
        transform: rotate(45deg) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: rotate(45deg) scale(1.1);
        opacity: 0.7;
    }
}

@keyframes backgroundGlow {
    0%, 100% { 
        opacity: 0.05;
    }
    50% { 
        opacity: 0.15;
    }
}

/* === CONTAINER SYSTEM === */
.app-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* === GLASSMORPHISM V2 (Linear.app inspired) === */
.glass-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base) ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.glass-card:hover {
    background: rgba(30, 30, 30, 0.9);
    border-color: var(--border-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

/* === HEADER (STICKY + BLUR) === */
.app-header {
    position: sticky;
    top: var(--space-6);
    z-index: 100;
    margin: var(--space-6) auto var(--space-8);
    padding: var(--space-4) var(--space-6);
    max-width: 1100px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    animation: slideDown var(--transition-slow) ease-out;
}

.app-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: var(--space-6);
}

/* === LOGO === */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 700;
    font-size: var(--font-size-2xl);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast) ease;
}

.logo-image {
    height: 40px;
    width: 40px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast) ease;
}

.logo:hover .logo-image {
    transform: rotate(-5deg) scale(1.05);
}

.logo:hover {
    color: var(--accent-primary);
}

/* === NAVIGATION === */
.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-sm);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast) ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--accent-secondary);
    background: rgba(77, 161, 255, 0.15);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-secondary);
    border-radius: 1px;
}

/* === HEADER CONTROLS === */
.header-controls {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.control-element {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: var(--font-size-sm);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast) ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-element:hover {
    color: var(--text-primary);
    border-color: var(--border-secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.theme-toggle, .auth-button-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: var(--font-size-lg);
}

/* === MAIN CONTENT === */
.main-content-single {
    padding: var(--space-8) 0;
}

/* === HERO SECTION (OLED Optimized) === */
.landing-hero {
    text-align: center;
    padding: var(--space-16) var(--space-8);
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    animation: fadeInUp var(--transition-slow) ease-out;
    position: relative;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.landing-hero h1 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, var(--accent-primary), var(--text-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.landing-hero .subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-12);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

/* === BUTTONS SYSTEM V2 === */

/* Primary Button - Linear.app Style */
.cta-primary {
    padding: var(--space-4) var(--space-8);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-weight: 600;
    font-size: var(--font-size-lg);
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 1200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.cta-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: var(--shadow-sm);
}

/* Secondary Button - Glass Effect */
.cta-secondary {
    padding: var(--space-4) var(--space-6);
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--font-size-base);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    text-decoration: none;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(77, 161, 255, 0.1));
    opacity: 0;
    transition: opacity 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: inherit;
}

.cta-secondary:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-secondary:hover::before {
    opacity: 1;
}

/* === SECTIONS === */
.home-section {
    margin-top: var(--space-20);
    animation: fadeInUp var(--transition-slow) ease-out 0.2s both;
}

.section-title {
    text-align: center;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--space-12);
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

/* === FEATURES GRID === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-base) ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(77, 161, 255, 0.03));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-6);
    display: block;
    position: relative;
    z-index: 1;
}

.icon-step1 { color: var(--accent-primary); }
.icon-step2 { color: var(--accent-secondary); }
.icon-step3 { color: var(--accent-success); }

.feature-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* === MODAL SYSTEM V2 === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn var(--transition-base) ease-out;
}

.modal {
    background: var(--bg-modal);
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    width: min(420px, 95%);
    box-shadow: var(--shadow-2xl);
    position: relative;
    animation: scaleIn var(--transition-base) ease-out;
}

.close-modal {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    font-size: var(--font-size-xl);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast) ease;
}

.close-modal:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* === AUTH COMPONENTS === */
.auth-modal-container {
    width: min(420px, 95%);
    padding: var(--space-10);
}

.auth-logo {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-xl);
}

.auth-box h1 {
    text-align: center;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.auth-box .subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    font-size: var(--font-size-base);
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.social-btn {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    background: rgba(20, 20, 20, 0.8);
    color: var(--text-primary);
    font-weight: 500;
    font-size: var(--font-size-base);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    transition: all var(--transition-fast) ease;
    backdrop-filter: blur(10px);
}

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

.social-btn i {
    font-size: var(--font-size-lg);
}

.social-btn.meta i {
    color: var(--accent-meta);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-tertiary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-6);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-primary);
}

.auth-divider span {
    padding: 0 var(--space-4);
}

/* === INPUT GROUPS === */
.input-group {
    position: relative;
    margin-bottom: var(--space-5);
}

.input-group i {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    font-size: var(--font-size-sm);
    pointer-events: none;
}

.input-group input {
    padding: var(--space-4) var(--space-4) var(--space-4) var(--space-12);
    width: 100%;
    box-sizing: border-box;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast) ease;
}

.input-group input::placeholder {
    color: var(--text-tertiary);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-link-small {
    display: block;
    text-align: right;
    font-size: var(--font-size-sm);
    color: var(--accent-secondary);
    text-decoration: none;
    margin-bottom: var(--space-5);
    margin-top: -var(--space-3);
}

.form-link-small:hover {
    text-decoration: underline;
}

.cta-primary.auth-submit {
    width: 100%;
    font-size: var(--font-size-lg);
    padding: var(--space-4);
}

.auth-box .form-link {
    text-align: center;
    margin-top: var(--space-6);
    font-size: var(--font-size-base);
}

.auth-box .form-link a {
    color: var(--accent-secondary);
    text-decoration: none;
}

.auth-box .form-link a:hover {
    text-decoration: underline;
}

.auth-error-message {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
    text-align: center;
}

/* === FOOTER === */
.app-footer {
    padding: var(--space-8) 0;
    margin-top: var(--space-20);
    background: rgba(15, 15, 15, 0.9);
    border-top: 1px solid var(--border-primary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    animation: fadeIn var(--transition-slow) ease;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-6);
}

.footer-controls {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.footer-controls i {
    font-size: var(--font-size-base);
    opacity: 0.7;
}

.lang-select-footer {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: var(--space-2);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-family);
    transition: color var(--transition-fast) ease;
}

.lang-select-footer:hover {
    color: var(--text-primary);
}

/* === INPUT SECTION (GENERATOR) === */
.input-section {
    padding: var(--space-12);
    margin-bottom: var(--space-16);
    animation: slideUp var(--transition-slow) ease-out;
    text-align: center;
}

.input-section h2 {
    margin-top: 0;
    font-size: var(--font-size-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    font-weight: 700;
}

.input-section h2 i {
    color: var(--accent-secondary);
}

.input-section .subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
    font-size: var(--font-size-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.input-wrapper {
    margin-bottom: var(--space-8);
    position: relative;
    display: flex;
    align-items: center;
}

#urlInput {
    width: 100%;
    box-sizing: border-box;
    background: var(--bg-surface);
    color: var(--text-primary);
    padding: var(--space-5) var(--space-16) var(--space-5) var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-primary);
    font-size: var(--font-size-lg);
    transition: all var(--transition-fast) ease;
}

#urlInput::placeholder {
    color: var(--text-tertiary);
}

#urlInput:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background: rgba(30, 30, 30, 0.9);
}

.image-upload-trigger {
    position: absolute;
    right: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: var(--font-size-lg);
    cursor: pointer;
    padding: var(--space-2);
    transition: color var(--transition-fast) ease;
    border-radius: var(--radius-lg);
}

.image-upload-trigger:hover {
    color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
}

/* === IMAGE PREVIEW === */
.image-preview {
    position: relative;
    display: inline-block;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface);
    margin-top: var(--space-4);
}

.image-preview img {
    max-width: 150px;
    max-height: 150px;
    display: block;
}

.remove-image-btn {
    position: absolute;
    top: -var(--space-2);
    right: -var(--space-2);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid var(--bg-surface);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: var(--font-size-sm);
    line-height: 24px;
    padding: 0;
    transition: background var(--transition-fast) ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-image-btn:hover {
    background: rgba(239, 68, 68, 0.8);
}

/* === RESULTS SECTION === */
.results-section {
    animation: fadeIn var(--transition-slow) ease-in-out;
}

.status-container {
    text-align: center;
    margin-bottom: var(--space-8);
    padding: var(--space-6);
}

.status-container p {
    color: var(--text-secondary);
    font-weight: 500;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-primary);
    border-top: 4px solid var(--accent-primary);
    border-radius: 50%;
    margin: var(--space-6) auto;
    animation: spin 1s linear infinite;
}

.error-container {
    text-align: center;
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(239, 68, 68, 0.2);
    animation: fadeIn var(--transition-fast) ease;
    font-weight: 500;
}

.error-container i {
    margin-right: var(--space-3);
}

.results-container {
    animation: fadeIn var(--transition-base) ease 0.2s both;
}

.results-container h2 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-10);
    animation: slideUp var(--transition-base) ease-out;
}

.results-container h2 i {
    color: var(--accent-success);
}

/* === RESULT CARDS === */
.result-card {
    margin-bottom: var(--space-10);
    transition: all var(--transition-base) ease;
    padding: var(--space-8);
    animation: slideUp var(--transition-base) ease-out both;
}

.result-card:nth-child(odd) {
    animation-delay: 0.1s;
}

.result-card:nth-child(even) {
    animation-delay: 0.2s;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.result-card h3 {
    margin-top: 0;
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-6);
    font-size: var(--font-size-xl);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    border-bottom: 1px solid var(--border-primary);
    font-weight: 600;
}

.result-card h3 i {
    width: 28px;
    text-align: center;
}

/* Icon Colors */
.strategy-card h3 i {
    color: var(--accent-accent);
}

.persona-card h3 i {
    color: var(--accent-primary);
}

.results-overview .result-card:first-child h3 i {
    color: var(--accent-primary);
}

.budget-card h3 i {
    color: var(--accent-success);
}

.result-card:not(.strategy-card):not(.persona-card):not(.budget-card) h3 i {
    color: var(--accent-secondary);
}

.content-variants-header i {
    color: var(--accent-primary);
}

/* === TARGETING DETAILS === */
.targeting-detail.persona-card-item {
    background: rgba(139, 92, 246, 0.05);
    border-left: 3px solid var(--accent-primary);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.targeting-layer-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: var(--space-4);
    border-top: 1px dashed var(--border-primary);
    padding-top: var(--space-4);
}

.targeting-layer-list li {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.targeting-layer-list li span {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 140px;
    flex-shrink: 0;
}

.targeting-layer-list li b {
    color: var(--accent-secondary);
}

.targeting-justification {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-top: var(--space-2);
    font-style: italic;
}

/* === BUDGET CARD === */
.budget-card {
    text-align: center;
}

.budget-breakdown {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px dashed var(--border-primary);
}

.budget-breakdown span {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    display: block;
    margin-bottom: var(--space-2);
}

.budget-breakdown strong {
    font-size: var(--font-size-3xl);
    color: var(--text-primary);
    font-weight: 700;
}

.reach-visualization {
    margin: var(--space-6) 0;
    padding-top: var(--space-5);
    border-top: 1px dashed var(--border-primary);
}

.reach-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    text-align: left;
}

.reach-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.reach-bar-container {
    width: 100%;
    height: 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.reach-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-success));
    border-radius: 6px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
    position: absolute;
    left: 0;
    top: 0;
}

.budget-results {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-top: var(--space-5);
    text-align: left;
}

.budget-results strong {
    color: var(--accent-success);
    font-weight: 600;
}

.budget-bid {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-top: var(--space-3);
    text-align: left;
}

.budget-bid strong {
    color: var(--text-primary);
    font-weight: 600;
}

.budget-justification {
    margin-top: var(--space-4);
    text-align: left;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-style: italic;
}

/* === CAPTIONS CONTAINER === */
.content-variants-header {
    font-size: var(--font-size-xl);
    margin-top: var(--space-16);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-weight: 600;
}

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

.caption-item {
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    position: relative;
}

.caption-item h4 {
    margin-top: 0;
    margin-bottom: var(--space-4);
    color: var(--accent-primary);
    font-size: var(--font-size-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.caption-item p {
    margin-bottom: var(--space-6);
    flex-grow: 1;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.caption-meta {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-primary);
}

.hashtags {
    opacity: 0.8;
    word-break: break-all;
    font-weight: 500;
    flex-grow: 1;
    margin-right: var(--space-4);
}

.cta {
    display: inline-block;
    background: var(--accent-secondary);
    color: white;
    padding: var(--space-2) var(--space-5);
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition-fast);
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

.cta:hover {
    background: var(--accent-primary);
    transform: translateY(-1px);
}

/* === COPY BUTTON === */
.copy-btn {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--border-primary);
    color: var(--text-tertiary);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: var(--font-size-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast) ease;
    opacity: 0.7;
    backdrop-filter: blur(10px);
}

.caption-item:hover .copy-btn {
    opacity: 1;
}

.copy-btn:hover {
    opacity: 1;
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: scale(1.1);
}

.copy-btn i.fa-check {
    color: var(--accent-success);
}

/* === FOOTER BUTTONS === */
.action-buttons-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-5);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-primary);
}

.action-buttons-footer button {
    font-size: var(--font-size-base);
    padding: var(--space-3) var(--space-6);
}

/* === DASHBOARD COMPONENTS === */
.dashboard-header-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
    animation: slideUp var(--transition-base) ease-out;
}

.dashboard-meta-card {
    padding: var(--space-6);
    text-align: left;
}

.dashboard-meta-card h4 {
    margin-top: 0;
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.dashboard-meta-card p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.cta-primary.small, .cta-secondary.small {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    gap: var(--space-2);
}

.meta-connect-button.small {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    gap: var(--space-2);
}

.auth-status.small {
    margin-top: var(--space-3);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
}

.dashboard-stat-card {
    padding: var(--space-6);
    text-align: center;
}

.dashboard-stat-card h4 {
    margin-top: 0;
    margin-bottom: var(--space-4);
    font-weight: 500;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

/* === CAMPAIGN LIST === */
.campaign-list-section h2 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-8);
}

.campaign-list-section h2 i {
    color: var(--accent-secondary);
}

#campaignListStatus {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    padding: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

#campaignListStatus .spinner.small {
    width: 24px;
    height: 24px;
    border-width: 3px;
    border-left-color: var(--accent-secondary);
    margin: 0;
}

.campaign-card {
    padding: var(--space-6);
    margin-bottom: var(--space-5);
    animation: fadeIn var(--transition-base) ease;
}

.campaign-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-primary);
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-4);
}

.campaign-name {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
}

.campaign-date {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    white-space: nowrap;
    margin-left: var(--space-4);
}

.campaign-prompt {
    font-style: italic;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-5);
    line-height: 1.5;
}

.campaign-stats {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    padding-top: var(--space-4);
    border-top: 1px dashed var(--border-primary);
}

.campaign-stats span {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.campaign-stats span strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--font-size-lg);
    margin-left: var(--space-2);
}

.campaign-actions {
    margin-top: var(--space-5);
    display: flex;
    gap: var(--space-4);
}

/* === ANALYTICS MODAL === */
#analyticsModal .auth-box {
    text-align: left;
}

#analyticsModal h3 {
    margin-top: 0;
    font-size: var(--font-size-xl);
}

#analyticsForm .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    margin-top: var(--space-6);
    margin-bottom: var(--space-6);
}

#analyticsForm label {
    display: block;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-2);
}

.modal-input {
    width: 100%;
    box-sizing: border-box;
    background: var(--bg-surface);
    color: var(--text-primary);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast) ease;
}

.modal-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

#analyticsForm .auth-status {
    text-align: center;
    margin-top: var(--space-4);
    padding: var(--space-3);
}

/* === GENERATOR PAGE STYLES (TABS & VISION) === */

/* Generator Card Container */
.generator-card {
    padding: 0;
    overflow: hidden;
}

/* Tab Header */
.generator-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-primary);
    background: rgba(20, 20, 20, 0.8);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    backdrop-filter: blur(20px);
}

.tab-btn {
    flex: 1;
    padding: var(--space-5) var(--space-6);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    border-bottom: 2px solid transparent;
    position: relative;
}

.tab-btn:first-child { 
    border-radius: var(--radius-xl) 0 0 0;
}

.tab-btn:last-child { 
    border-radius: 0 var(--radius-xl) 0 0;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.05);
}

.tab-btn.active {
    color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
    border-bottom-color: var(--accent-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.badge-new-small {
    background: linear-gradient(135deg, var(--accent-accent), var(--accent-secondary));
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: var(--space-2);
    font-weight: 700;
    animation: pulse-badge 2s infinite ease-in-out;
}

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

/* Tab Content */
.tab-content {
    padding: var(--space-10);
    display: none;
    animation: fadeInTab 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

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

.mb-30 { 
    margin-bottom: var(--space-8);
}

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

/* Input Styling Updates */
.input-wrapper.big-input {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.input-wrapper.big-input input {
    padding: var(--space-5) var(--space-6) var(--space-5) var(--space-14);
    font-size: var(--font-size-lg);
    width: 100%;
    border-radius: var(--radius-xl);
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
    transition: all var(--transition-base) ease;
}

.input-wrapper.big-input input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background: rgba(30, 30, 30, 0.9);
}

.input-icon {
    position: absolute;
    left: var(--space-6);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    font-size: var(--font-size-lg);
    pointer-events: none;
    z-index: 1;
}

/* === DROP ZONE STYLES (VIRALIX VISION) === */
.drop-zone {
    border: 2px dashed var(--border-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-16) var(--space-10);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base) ease;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.drop-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.02), rgba(77, 161, 255, 0.02));
    opacity: 0;
    transition: opacity var(--transition-base) ease;
}

.drop-zone:hover::before, .drop-zone.dragover::before {
    opacity: 1;
}

.drop-zone-content {
    position: relative;
    z-index: 1;
}

.drop-icon {
    font-size: 3rem;
    color: var(--text-tertiary);
    margin-bottom: var(--space-6);
    transition: all var(--transition-base) ease;
    display: block;
}

.drop-zone:hover .drop-icon, .drop-zone.dragover .drop-icon {
    color: var(--accent-primary);
    transform: translateY(-5px);
}

.drop-zone h3 {
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.drop-zone p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-2);
}

.browse-link {
    color: var(--accent-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color var(--transition-fast) ease;
}

.browse-link:hover {
    color: var(--accent-secondary);
}

.file-info {
    display: block;
    margin-top: var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    opacity: 0.7;
}

/* Image Preview inside Drop Zone */
#imagePreviewContainer {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border: 1px solid var(--border-primary);
}

#previewImage {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    object-fit: contain;
}

.remove-btn {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: rgba(0, 0, 0, 0.8);
    color: #ff4d4d;
    border: 2px solid #ff4d4d;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast) ease;
    z-index: 6;
    font-size: var(--font-size-sm);
}

.remove-btn:hover {
    background: #ff4d4d;
    color: white;
    transform: scale(1.1);
}

.generator-footer {
    padding: var(--space-6) var(--space-10) var(--space-10);
    border-top: 1px solid var(--border-primary);
    background: rgba(20, 20, 20, 0.5);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

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

.big-glow {
    padding: var(--space-6) var(--space-8);
    font-size: var(--font-size-lg);
    position: relative;
    overflow: hidden;
}

.big-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.big-glow:hover::before {
    left: 100%;
}

/* === RESPONSIVE DESIGN UPDATES === */
@media (max-width: 768px) {
    /* Tab responsive */
    .generator-tabs {
        flex-direction: column;
    }
    
    .tab-btn:first-child, .tab-btn:last-child {
        border-radius: 0;
    }
    
    .tab-btn {
        border-radius: 0;
        border-bottom: 1px solid var(--border-primary);
    }
    
    .tab-btn:last-child {
        border-bottom: none;
    }
    
    .tab-content {
        padding: var(--space-6);
    }
    
    .drop-zone {
        padding: var(--space-10) var(--space-6);
    }
    
    .drop-icon {
        font-size: 2.5rem;
    }
    
    .generator-footer {
        padding: var(--space-6);
    }
}

/* === LIGHT THEME OVERRIDES === */
.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-surface: #ffffff;
    --bg-hover: #f1f5f9;
    --bg-modal: #ffffff;
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    
    --border-primary: rgba(15, 23, 42, 0.08);
    --border-secondary: rgba(15, 23, 42, 0.15);
    --border-focus: rgba(139, 92, 246, 0.3);
}

.light-theme .glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.light-theme .app-header {
    background: rgba(255, 255, 255, 0.9);
}

.light-theme .landing-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}
/* --- DESIGN STUDIO STYLES --- */

.full-width-studio { max-width: 1400px; margin: 0 auto; padding: 20px; }
.studio-container { display: grid; grid-template-columns: 350px 1fr; gap: 30px; min-height: 80vh; }

/* Controls Panel */
.studio-controls { padding: 30px; display: flex; flex-direction: column; gap: 25px; height: fit-content; }
.control-group label { display: block; color: var(--primary); margin-bottom: 10px; font-weight: 600; font-size: 0.9rem; letter-spacing: 1px; }
.studio-controls textarea { width: 100%; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 15px; color: #fff; resize: none; font-family: inherit; }
.studio-controls textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 10px rgba(0, 242, 234, 0.2); }

/* Style Buttons */
.style-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.style-btn, .ratio-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #ccc; padding: 10px; border-radius: 8px; cursor: pointer; transition: 0.3s; font-size: 0.85rem; }
.style-btn:hover, .ratio-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.style-btn.active, .ratio-btn.active { background: rgba(0, 242, 234, 0.15); border-color: var(--primary); color: var(--primary); box-shadow: 0 0 10px rgba(0, 242, 234, 0.2); }

/* Ratio Grid */
.ratio-grid { display: flex; flex-direction: column; gap: 10px; }
.ratio-btn { display: flex; align-items: center; justify-content: center; gap: 10px; }

/* Canvas Area */
.studio-canvas { padding: 30px; display: flex; flex-direction: column; }
.canvas-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }

.canvas-placeholder { 
    flex-grow: 1; 
    background: rgba(0,0,0,0.4); 
    border-radius: 16px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 2px dashed rgba(255,255,255,0.1); 
    position: relative; 
    overflow: hidden;
    min-height: 500px;
}

.placeholder-content { text-align: center; color: var(--text-muted); }
.placeholder-content i { font-size: 4rem; margin-bottom: 20px; opacity: 0.5; }

#generatedImage { max-width: 100%; max-height: 70vh; border-radius: 8px; box-shadow: 0 0 30px rgba(0,0,0,0.5); animation: fadeIn 0.5s ease; }

@media (max-width: 900px) {
    .studio-container { grid-template-columns: 1fr; }
    .canvas-placeholder { min-height: 300px; }
}
/* --- CONTENT CREATOR RESULT STYLING --- */
.script-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    font-family: 'Inter', sans-serif;
    color: #e0e0e0;
}

.script-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.script-section:last-child { border-bottom: none; }

.script-header {
    color: #00f2ea; /* Neon Mavi */
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.script-body {
    line-height: 1.8;
    font-size: 1rem;
}

.tag-visual {
    color: #ff0050; /* Neon Qırmızı */
    font-weight: 600;
    background: rgba(255, 0, 80, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 5px;
}

.tag-audio {
    color: #4ade80; /* Neon Yaşıl */
    font-weight: 600;
    background: rgba(74, 222, 128, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 5px;
}
/* Content Creator Dizaynı */
.script-box { background: rgba(0,0,0,0.3); border-radius: 12px; padding: 25px; line-height: 1.6; color: #e0e0e0; }
.script-section { margin-bottom: 20px; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 15px; }
.script-header { color: #00f2ea; font-weight: bold; text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.tag-visual { color: #ff0050; background: rgba(255,0,80,0.1); padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: 0.9em; }
.tag-audio { color: #4ade80; background: rgba(74,222,128,0.1); padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: 0.9em; margin-left: 5px; }
/* --- MOBILE RESPONSIVE DIZAYN --- */

/* Default olaraq mobil düyməni gizlət */
.mobile-menu-btn { display: none; }

/* 768px-dən kiçik ekranlar (Telefonlar və Planşetlər) */
@media (max-width: 768px) {
    
    /* 1. Header Düzəlişi */
    .header-content {
        justify-content: space-between;
        position: relative;
    }

    .logo span { display: none; } /* Mobildə adı gizlət, yalnız logo qalsın (yer azdır) */
    
    .mobile-menu-btn {
        display: block;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 1.5rem;
        padding: 8px 12px;
        border-radius: 8px;
        cursor: pointer;
    }

    /* 2. Menyu (Açılan Pəncərə) */
    .main-nav {
        display: none; /* Gizlət */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 18, 0.95); /* Tünd fon */
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .main-nav.active {
        display: flex; /* Açılarkən göstər */
        animation: slideDown 0.3s ease;
    }

    .main-nav .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 1.1rem;
    }

    /* 3. Generator və Studiya */
    .studio-container {
        grid-template-columns: 1fr !important; /* Yan-yana yox, alt-alta */
    }
    
    .input-wrapper, .input-grid {
        grid-template-columns: 1fr !important; /* Inputlar alt-alta */
    }

    .generator-tabs {
        flex-direction: column; /* Tablar alt-alta */
    }
    
    .tab-btn { width: 100%; justify-content: center; }

    /* 4. Dashboard Kartları */
    .dashboard-header-grid, .features-grid {
        grid-template-columns: 1fr !important; /* Kartlar alt-alta */
    }

    /* 5. Şriftlər */
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }
    .subtitle { font-size: 0.9rem !important; }
    
    /* Modal */
    .modal { width: 95% !important; margin: 10px; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- CONTENT CREATOR RESULT STYLE (BUNU STYLE.CSS SONUNA AT) --- */

/* Əsas Qutu */
.script-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    font-family: 'Inter', sans-serif;
    color: #e0e0e0;
    line-height: 1.8;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

/* Ssenari Hissələri (Hook, Value...) */
.script-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.script-section:last-child { border-bottom: none; }

/* Başlıqlar (HOOOK, CTA...) */
.script-header {
    color: #00f2ea; /* Neon Mavi */
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.script-header i { font-size: 1rem; opacity: 0.8; }

/* Etiketlər (Visual / Audio) */
.tag-visual {
    background: rgba(255, 0, 80, 0.15);
    color: #ff0050;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 8px;
    display: inline-block;
    border: 1px solid rgba(255, 0, 80, 0.3);
}

.tag-audio {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-left: 5px;
    display: inline-block;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

/* Mətnin Gövdəsi */
.script-body {
    font-size: 1.05rem;
    color: #ccc;
    margin-bottom: 10px;
    display: block;
}
/* === DESIGN STUDIO: POST TYPE BUTTONS (Product / Lifestyle / Quote və s.) === */

.post-type-group {
    margin-top: var(--space-4);
    margin-bottom: var(--space-4);
}

.post-type-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: var(--space-2);
}

.post-type-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Yuxarıdakı .style-btn feel-i ilə eyni, amma pill düymə */
.post-type-btn {
    border: 1px solid var(--border-primary);
    background: rgba(20, 20, 20, 0.9);
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 9999px;
    cursor: pointer;
    outline: none;
    transition: background 0.2s ease, border-color 0.2s ease,
                transform 0.1s ease, box-shadow 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.post-type-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-secondary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.post-type-btn.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: #f9fafb;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

@media (max-width: 768px) {
    .post-type-buttons {
        gap: 6px;
    }

    .post-type-btn {
        font-size: 0.7rem;
        padding: 5px 9px;
    }
}
/* --- POST TYPE BUTTONS (Design Studio) --- */

.post-type-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-type-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.25s ease;
}

.post-type-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.post-type-btn.active {
    background: rgba(0, 242, 234, 0.18);
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    box-shadow: 0 0 12px rgba(0, 242, 234, 0.25);
}
@media (max-width: 768px) {
    .post-type-grid {
        gap: 8px;
    }

    .post-type-btn {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }
}
/* --- POST TYPE BAR (NEW) --- */

.post-type-bar {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;

    background: rgba(20,20,20,0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;

    position: relative;
    z-index: 10;
}

.post-type-btn {
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s;
}

.post-type-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.post-type-btn.active {
    background: rgba(0, 242, 234, 0.15);
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.3);
}
