:root {
    --bg: #08080F;
    --bg-soft: #0D0D1A;
    --bg-card: #12121F;
    --bg-elevated: rgba(18, 18, 31, 0.8);
    --text: #EDEDF5;
    --muted: #7A7A9A;
    --muted-2: #55557A;

    --primary: #6C5CE7;
    --primary-light: #8B7CF7;
    --primary-dark: #4A3DB5;

    --coral: #FF6B6B;
    --coral-light: #FF8E8E;
    --coral-dark: #E85555;

    --success: #10B981;
    --warning: #FBBF24;

    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(108, 92, 231, 0.3);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-primary: 0 12px 40px rgba(108, 92, 231, 0.35);
    --shadow-coral: 0 12px 40px rgba(255, 107, 107, 0.3);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 999px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 0.2s var(--ease);
    --t: 0.4s var(--ease);
    --t-slow: 0.7s var(--ease);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html, body { overflow-x: hidden; max-width: 100%; }

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

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

::selection { background: rgba(108, 92, 231, 0.35); color: white; }

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}

.icon { width: 24px; height: 24px; display: inline-block; flex-shrink: 0; stroke: currentColor; fill: none; vertical-align: middle; }
.icon-sm { width: 18px; height: 18px; }
.icon-check-accent { width: 20px; height: 20px; color: var(--primary-light); stroke-width: 2.2; }
.icon-coral { color: var(--coral); }

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

.eyebrow {
    display: inline-block;
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.section-title p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, 92%);
    z-index: 1000;
    background: rgba(8, 8, 15, 0.75);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    padding: 10px 20px;
    transition: var(--t);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    background: rgba(8, 8, 15, 0.9);
    border-color: var(--border-strong);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    text-decoration: none;
}

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

.navbar .nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.navbar .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 14.5px;
    transition: var(--t-fast);
    position: relative;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--coral-light));
    transition: var(--t-fast);
    border-radius: 2px;
}

.navbar .nav-links a:hover { color: var(--text); }
.navbar .nav-links a:hover::after { width: 100%; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--t);
    box-shadow: var(--shadow-primary);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(108, 92, 231, 0.4);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--t);
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--t);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(108, 92, 231, 0.45);
}

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

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary-light {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
}

.btn-secondary-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

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

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 70%);
}

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

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    left: -150px;
    top: -100px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.5), transparent 70%);
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    right: -100px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.4), transparent 70%);
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(108, 92, 231, 0.25), transparent 70%);
    animation-delay: -14s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
    100% { transform: translate(0, 0) scale(1); }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
}

.hero-left { max-width: 600px; position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-full);
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid var(--border-accent);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 26px;
    color: var(--primary-light);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0); }
    50% { box-shadow: 0 0 20px 0 rgba(108, 92, 231, 0.15); }
}

.hero h1 {
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.07;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: -0.04em;
}

.hero p {
    font-size: 19px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.metric { text-align: center; }

.metric-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--coral-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 4px;
}

.metric-value small {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.8;
}

.metric-label {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--border-strong);
}

/* Phone Container */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.phone-container {
    perspective: 1000px;
}

.iphone {
    position: relative;
    width: 320px;
    height: 650px;
    background: linear-gradient(145deg, #1a1a2e, #0a0a1a);
    border-radius: 46px;
    padding: 12px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 0 2px rgba(108, 92, 231, 0.2),
        0 0 0 6px #0a0a1a,
        0 0 100px rgba(108, 92, 231, 0.15);
    overflow: hidden;
    animation: phoneFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.dynamic-island {
    position: absolute;
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: var(--radius-full);
    z-index: 30;
}

.status-bar {
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px 0;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.status-icons { font-size: 11px; letter-spacing: 1px; }

.tg-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

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

.tg-title { display: flex; flex-direction: column; color: white; }
.tg-title strong { font-size: 15px; }
.tg-title span { font-size: 12px; opacity: 0.55; }

.tg-body {
    position: relative;
    height: 460px;
    background: #0e1621;
    overflow: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.screen {
    position: absolute;
    inset: 0;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.7s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.screen.active { opacity: 1; }

.bubble {
    padding: 10px 14px;
    border-radius: 16px;
    max-width: 85%;
    font-size: 13px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease);
    line-height: 1.45;
}

.bubble.visible { opacity: 1; transform: translateY(0); }
.bubble.bot { background: #1f2c3a; color: white; align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble.client { background: linear-gradient(135deg, var(--primary), var(--coral)); color: white; align-self: flex-end; border-bottom-right-radius: 6px; }
.bubble.menu { background: #253858; color: white; cursor: pointer; align-self: flex-start; transition: var(--t-fast); }
.bubble.menu:hover { background: #35528a; }

.promo-video-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.promo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================== SHOWCASE ======================== */
.showcase {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

.showcase-phone-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Ambient glow under phone */
.showcase-ambient {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    transition: opacity 0.8s var(--ease), background 0.8s var(--ease);
    pointer-events: none;
    z-index: 0;
}

.ambient-0 { background: radial-gradient(circle, rgba(108, 92, 231, 0.6), transparent 70%); }
.ambient-1 { background: radial-gradient(circle, rgba(139, 124, 247, 0.5), transparent 70%); }
.ambient-2 { background: radial-gradient(circle, rgba(16, 185, 129, 0.5), transparent 70%); }
.ambient-3 { background: radial-gradient(circle, rgba(255, 107, 107, 0.5), transparent 70%); }

.showcase-phone { display: flex; justify-content: center; position: relative; z-index: 1; }

.showcase-iphone {
    position: relative;
    width: 320px;
    height: 660px;
    border-radius: 27px;
    overflow: visible;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(108, 92, 231, 0.15);
    transition: box-shadow 0.6s var(--ease);
    transform-style: preserve-3d;
    background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.5) 60%, rgba(255,255,255,0.05));
}

.showcase-iphone::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 31px;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.20) 0%,
        rgba(255,255,255,0.06) 25%,
        rgba(0,0,0,0.15) 50%,
        rgba(0,0,0,0.35) 65%,
        rgba(255,255,255,0.08) 80%,
        rgba(255,255,255,0.15) 100%
    );
    z-index: -1;
    pointer-events: none;
}

.showcase-iphone.scene-0::before {
    background: linear-gradient(135deg, rgba(108,92,231,0.25), rgba(108,92,231,0.1) 30%, rgba(0,0,0,0.3) 55%, rgba(108,92,231,0.08) 80%, rgba(255,255,255,0.1));
}
.showcase-iphone.scene-1::before {
    background: linear-gradient(135deg, rgba(139,124,247,0.25), rgba(139,124,247,0.1) 30%, rgba(0,0,0,0.3) 55%, rgba(139,124,247,0.08) 80%, rgba(255,255,255,0.1));
}
.showcase-iphone.scene-2::before {
    background: linear-gradient(135deg, rgba(16,185,129,0.25), rgba(16,185,129,0.1) 30%, rgba(0,0,0,0.3) 55%, rgba(16,185,129,0.08) 80%, rgba(255,255,255,0.1));
}
.showcase-iphone.scene-3::before {
    background: linear-gradient(135deg, rgba(255,107,107,0.25), rgba(255,107,107,0.1) 30%, rgba(0,0,0,0.3) 55%, rgba(255,107,107,0.08) 80%, rgba(255,255,255,0.1));
}

.showcase-iphone.scene-0 { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(108, 92, 231, 0.3), 0 0 60px rgba(108, 92, 231, 0.12); }
.showcase-iphone.scene-1 { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 124, 247, 0.3), 0 0 60px rgba(139, 124, 247, 0.12); }
.showcase-iphone.scene-2 { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 185, 129, 0.3), 0 0 60px rgba(16, 185, 129, 0.12); }
.showcase-iphone.scene-3 { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 107, 107, 0.3), 0 0 60px rgba(255, 107, 107, 0.12); }

/* Inner body: holds the screen content with clipping */
.showcase-iphone-body {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 2px rgba(0, 0, 0, 0.5),
        inset 0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 -4px 12px rgba(0, 0, 0, 0.2);
}

.showcase-screen {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
    z-index: 1;
}

.showcase-screen.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.showcase-screen.leaving {
    opacity: 0;
    transform: scale(1.08);
    z-index: 3;
}

.showcase-screen img { width: 100%; height: 100%; display: block; }

/* Screen overlay: status bar + notch + glare */
.screen-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.screen-statusbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 100%);
    z-index: 2;
}

.screen-wifi {
    width: 18px;
    height: 12px;
    color: white;
    opacity: 0.85;
}

.screen-time {
    font-size: 13px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.screen-battery {
    width: 22px;
    height: 10px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 2px;
    padding: 1px;
    position: relative;
}

.screen-battery::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 2px;
    width: 2px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 0 1px 1px 0;
}

.screen-battery span {
    display: block;
    height: 100%;
    background: rgba(255,255,255,0.7);
    border-radius: 1px;
}

.screen-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 26px;
    background: #000;
    border-radius: 0 0 14px 14px;
    z-index: 3;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.06);
}

.screen-glare {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.12) 0%,
        transparent 30%,
        transparent 70%,
        rgba(255,255,255,0.04) 100%
    );
    transition: opacity 0.4s var(--ease);
}

.showcase-screen:hover .screen-glare {
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.18) 0%,
        rgba(255,255,255,0.04) 25%,
        transparent 50%,
        transparent 75%,
        rgba(255,255,255,0.06) 100%
    );
}

/* Mouse-following glare overlay on whole phone */
.showcase-mouse-glare {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s var(--ease);
    border-radius: 24px;
}

/* Floating metrics */
.showcase-metrics {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.metrics-group {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.metrics-group.active { opacity: 1; }

.metric-float {
    position: absolute;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: rgba(18, 18, 31, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    min-width: 150px;
}

.metrics-group.active .metric-float {
    opacity: 1;
    transform: scale(1);
}

.metrics-group.active .metric-float:nth-child(1) { transition-delay: 0s; }
.metrics-group.active .metric-float:nth-child(2) { transition-delay: 0.12s; }
.metrics-group.active .metric-float:nth-child(3) { transition-delay: 0.24s; }

.metric-float-tr {
    top: 20px;
    right: -40px;
    transform-origin: center left;
}

.metric-float-bl {
    bottom: 80px;
    left: -40px;
    transform-origin: center right;
}

.metric-float-br {
    bottom: 10px;
    right: -30px;
    transform-origin: center left;
}

.metric-float-value {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), #8B7CF7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 2px;
}

.metric-float-value small {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
}

.metric-float-coral {
    background: linear-gradient(135deg, var(--coral), var(--coral-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-float-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.3;
}

/* Tilt on hover */
.showcase-phone-wrapper {
    perspective: 800px;
}

.showcase-phone-wrapper .showcase-phone {
    transition: transform 0.15s var(--ease);
    transform-style: preserve-3d;
}

.showcase-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.showcase-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--t);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--muted);
    font-family: inherit;
    box-shadow: var(--shadow-sm);
}

.showcase-tab .icon { color: var(--muted); }

.showcase-tab:hover {
    border-color: var(--border-accent);
    color: var(--text);
    transform: translateY(-2px);
}

.showcase-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.showcase-tab.active .icon { color: white; }

.showcase-scene { display: none; animation: sceneFadeIn 0.5s var(--ease); }
.showcase-scene.active { display: block; }

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

.scene-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(108, 92, 231, 0.12);
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--border-accent);
}

.showcase-scene h3 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.showcase-scene > p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 30px;
    max-width: 520px;
}

.scene-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.scene-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--t);
}

.scene-feature:hover {
    transform: translateX(6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-sm);
}

.scene-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(108, 92, 231, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scene-feature-icon .icon { color: var(--primary-light); width: 22px; height: 22px; }

.scene-feature strong { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 3px; }
.scene-feature span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ======================== FEATURES ======================== */
.features {
    padding: 100px 0;
    position: relative;
}

.features-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 30% 50%, rgba(108, 92, 231, 0.05), transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(255, 107, 107, 0.04), transparent 50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    transition: var(--t);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--t);
}

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

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(108, 92, 231, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: var(--t);
}

.feature-icon .icon { color: var(--primary-light); width: 26px; height: 26px; }
.feature-icon-coral { background: rgba(255, 107, 107, 0.12); }
.feature-icon-coral .icon { color: var(--coral); }

.feature-card:hover .feature-icon { transform: scale(1.08); }

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.feature-card p { color: var(--muted); line-height: 1.6; font-size: 15px; }

/* ======================== DASHBOARD ======================== */
.dashboard {
    padding: 100px 0;
    position: relative;
}

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

.dashboard-content h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    margin: 0 0 18px;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.dashboard-content p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.dashboard-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.dashboard-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    box-shadow: var(--shadow-lg);
}

.stat {
    padding: 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    transition: var(--t);
    text-align: center;
}

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

.stat-indigo .counter {
    background: linear-gradient(135deg, var(--primary-light), #8B7CF7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-coral .counter {
    background: linear-gradient(135deg, var(--coral), var(--coral-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat span {
    font-size: 36px;
    font-weight: 800;
    display: block;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.stat p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

/* ======================== AUTOMATION ======================== */
.automation {
    padding: 100px 0;
}

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

.automation h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    margin: 0 0 18px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.automation > .container > div:first-child p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.timeline-time {
    font-weight: 700;
    color: var(--primary-light);
    width: 64px;
    font-size: 15px;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.timeline-card {
    flex: 1;
    padding: 18px 22px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--t);
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.timeline-card .icon { color: var(--primary-light); }
.timeline-card-coral .icon { color: var(--coral); }

.timeline-card:hover {
    transform: translateX(6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
}

/* ======================== PRICING ======================== */
.pricing {
    padding: 100px 0;
    position: relative;
}

.pricing-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 0%, rgba(108, 92, 231, 0.06), transparent 50%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1080px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    padding: 38px 30px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    transition: var(--t);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured {
    border-color: rgba(108, 92, 231, 0.3);
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.06), var(--bg-card));
    box-shadow: 0 0 0 1px rgba(108, 92, 231, 0.2), var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    color: var(--muted);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid var(--border-strong);
}

.pricing-badge-coral {
    background: linear-gradient(135deg, var(--coral), var(--coral-dark));
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-coral);
}

.pricing-card h3 {
    font-size: 26px;
    margin-bottom: 6px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pricing-subtitle {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}

.price { margin: 0 0 28px; }

.amount {
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary-light), var(--coral-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.period { color: var(--muted); font-size: 15px; }

.pricing-btn { display: inline-flex; width: 100%; text-align: center; justify-content: center; margin-top: auto; }

.pricing-limit {
    margin: 0 0 26px;
    padding: 12px 16px;
    background: rgba(108, 92, 231, 0.08);
    color: var(--primary-light);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
}

.pricing-card.featured .pricing-limit {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(255, 107, 107, 0.08));
}

/* ======================== AUDIENCE ======================== */
.audience {
    padding: 100px 0;
}

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

.audience-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--t);
    text-align: center;
}

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

.audience-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: var(--radius-md);
    background: rgba(108, 92, 231, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t);
}

.audience-icon .icon { color: var(--primary-light); width: 28px; height: 28px; }
.audience-icon-coral { background: rgba(255, 107, 107, 0.12); }
.audience-icon-coral .icon { color: var(--coral); }

.audience-card:hover .audience-icon { transform: scale(1.08); }

.audience-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.audience-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ======================== REVIEWS ======================== */
.reviews {
    padding: 100px 0;
}

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

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--t);
    display: flex;
    flex-direction: column;
}

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

.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
}

.review-stars .icon { width: 18px; height: 18px; color: var(--warning); }

.review-card > p {
    margin: 0 0 24px;
    line-height: 1.65;
    font-size: 15.5px;
    flex-grow: 1;
    color: var(--muted);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    color: white;
    flex-shrink: 0;
}

.avatar-indigo { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.avatar-coral { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }

.review-author h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.review-author span { color: var(--muted-2); font-size: 13px; }

/* ======================== FAQ ======================== */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-item:hover { border-color: var(--border-accent); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    font-weight: 600;
    font-size: 16.5px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.faq-plus {
    width: 22px;
    height: 22px;
    color: var(--primary-light);
    transition: var(--t);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease), opacity 0.3s;
    opacity: 0;
    padding: 0 24px;
    color: var(--muted);
    line-height: 1.65;
    font-size: 15px;
}

.faq-item.active .faq-answer {
    max-height: 240px;
    opacity: 1;
    padding: 0 24px 22px;
}

.faq-item.active .faq-plus { transform: rotate(45deg); }

/* ======================== CTA ======================== */
.cta {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, #1a1040 0%, #0d0d2b 55%, #2a0a1a 100%);
    border-radius: var(--radius-xl);
    padding: 64px 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-accent);
}

.cta-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.2), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }

.cta-box h2 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.cta-box p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0 auto 32px;
}

.cta-buttons {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ======================== FOOTER ======================== */
.footer {
    padding: 80px 0 30px;
    background: #050510;
    border-top: 1px solid var(--border);
}

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

.footer-brand p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
    color: var(--muted);
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
}

.footer-logo span {
    background: linear-gradient(135deg, var(--primary-light), var(--coral-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-social { display: flex; gap: 14px; margin-top: 20px; }

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: var(--t-fast);
    text-decoration: none;
    padding: 4px;
}

.footer-social a:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(108, 92, 231, 0.5));
}

.footer h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 700;
}

.footer a {
    display: block;
    color: var(--muted);
    margin-bottom: 10px;
    text-decoration: none;
    transition: var(--t-fast);
    font-size: 14px;
}

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

.footer-bottom {
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted-2);
    font-size: 13px;
}

/* Mobile CTA */
.mobile-cta { display: none; }

/* Cookie consent */
.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1900;
    width: min(920px, calc(100% - 32px));
    padding: 1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(139, 124, 247, 0.55), rgba(255, 107, 107, 0.28));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 50px rgba(108, 92, 231, 0.12);
    opacity: 0;
    transform: translate(-50%, 24px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.cookie-consent[hidden] { display: none; }

.cookie-consent.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.cookie-consent.is-hiding {
    opacity: 0;
    transform: translate(-50%, 18px);
    pointer-events: none;
}

.cookie-consent__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 20px 22px;
    border-radius: calc(var(--radius-lg) - 1px);
    background: rgba(13, 13, 26, 0.9);
    backdrop-filter: saturate(160%) blur(24px);
    -webkit-backdrop-filter: saturate(160%) blur(24px);
}

.cookie-consent__copy { max-width: 590px; }

.cookie-consent__copy h2 {
    margin-bottom: 4px;
    font-size: 17px;
    line-height: 1.3;
}

.cookie-consent__copy p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.cookie-consent__copy a {
    color: var(--primary-light);
    text-underline-offset: 3px;
}

.cookie-consent__copy a:hover { color: var(--coral-light); }

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent__button {
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    color: white;
    font: 600 14px/1 "Inter", sans-serif;
    cursor: pointer;
    transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

.cookie-consent__button:hover { transform: translateY(-2px); }
.cookie-consent__button:active { transform: translateY(0) scale(0.98); }

.cookie-consent__button:focus-visible,
.cookie-consent__copy a:focus-visible {
    outline: 3px solid rgba(139, 124, 247, 0.55);
    outline-offset: 3px;
}

.cookie-consent__button--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: var(--shadow-primary);
}

.cookie-consent__button--secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-strong);
}

.cookie-consent__button--secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--border-accent);
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    pointer-events: none;
    width: min(420px, 92%);
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(18, 18, 31, 0.96);
    backdrop-filter: blur(20px);
    color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-accent);
    font-size: 14.5px;
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s var(--ease);
    pointer-events: auto;
    width: 100%;
}

.toast.show { transform: translateY(0); opacity: 1; }

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--success);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon .icon { width: 16px; height: 16px; }

/* Scroll animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s var(--ease);
}

.reveal.active { opacity: 1; transform: translateY(0); }

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

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

@media (max-width: 980px) {
    .hero-layout,
    .dashboard-grid,
    .automation-grid,
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-left { max-width: 100%; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-metrics { justify-content: center; }

    .reviews-grid,
    .audience-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .showcase-phone-wrapper { order: -1; }
    .showcase-scene h3 { font-size: 28px; }
}

@media (max-width: 768px) {
    .container { width: 90%; }

    .cookie-consent {
        bottom: 92px;
        width: calc(100% - 24px);
    }

    .cookie-consent__content {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        padding: 18px;
    }

    .cookie-consent__actions { width: 100%; }
    .cookie-consent__button { flex: 1; }

    .mobile-cta {
        display: inline-flex;
        position: fixed;
        bottom: 18px;
        left: 50%;
        transform: translateX(-50%);
        align-items: center;
        gap: 8px;
        padding: 14px 26px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: white;
        border-radius: var(--radius-full);
        font-weight: 700;
        font-size: 15px;
        box-shadow: 0 14px 40px rgba(108, 92, 231, 0.5);
        z-index: 90;
        white-space: nowrap;
        text-decoration: none;
    }

    body { padding-bottom: 76px; }

    .navbar {
        width: 92%;
        padding: 10px 16px;
        top: 10px;
    }

    .logo { font-size: 19px; }

    .nav-cta span { display: none; }
    .nav-cta { padding: 9px 12px; }

    .burger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 78%;
        max-width: 320px;
        height: 100vh;
        background: rgba(8, 8, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 26px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        z-index: 1000;
        border-left: 1px solid var(--border);
        list-style: none;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active { transform: translateX(0); }
    .nav-links a { font-size: 18px; color: var(--text); }

    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .hero-actions { flex-direction: column; gap: 12px; align-items: center; }

    .btn-primary, .btn-secondary { width: 100%; max-width: 340px; padding: 14px 24px; }

    .hero-metrics {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    .metric-divider { width: 40px; height: 1px; }

    .iphone { width: 270px; height: 560px; }
    .dynamic-island { width: 88px; height: 24px; top: 14px; }
    .tg-body { height: 380px; }

    .section-title { margin-bottom: 40px; }
    .section-title h2 { font-size: 27px; }
    .section-title p { font-size: 15px; }

    .features-grid { grid-template-columns: 1fr; gap: 14px; }
    .feature-card { padding: 26px; }

    .dashboard { padding: 60px 0; }
    .dashboard h2 { font-size: 27px; }
    .stats-card { padding: 18px; gap: 12px; }
    .stat span { font-size: 28px; }
    .stat { padding: 18px; }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        gap: 36px;
    }
    .pricing-card.featured { order: -1; }
    .amount { font-size: 40px; }

    .audience-grid { gap: 14px; }

    .faq-question { font-size: 15px; padding: 18px 20px; }

    .cta-box { padding: 44px 22px; border-radius: var(--radius-lg); }
    .cta-box h2 { font-size: 25px; }
    .cta-box p { font-size: 15px; }

    .footer { padding: 50px 0 24px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .footer-brand p { margin-left: auto; margin-right: auto; }
    .footer-social { justify-content: center; }

    .showcase-iphone { width: 280px; height: 580px; }
    .showcase-tabs { gap: 6px; margin-bottom: 28px; }
    .showcase-tab { padding: 10px 14px; font-size: 13px; }
    .showcase-scene h3 { font-size: 24px; }
    .showcase-scene > p { font-size: 15px; }
    .scene-feature { padding: 14px 16px; }
    .scene-feature strong { font-size: 15px; }
    .scene-feature span { font-size: 13px; }

    .showcase-metrics { display: none; }

    .reviews-grid { gap: 16px; }
}

@media (max-width: 420px) {
    .hero h1 { font-size: 27px; }
    .iphone { width: 250px; height: 520px; }
    .tg-body { height: 340px; }
    .showcase-iphone { width: 250px; height: 520px; }
    .showcase-scene h3 { font-size: 21px; }
    .stats-card { grid-template-columns: 1fr; }
}

/* ======================== LEGAL PAGES ======================== */
.legal {
    padding: 150px 0 40px;
    min-height: 100vh;
}

.legal-paper {
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 52px 56px;
    box-shadow: var(--shadow-md);
}

.legal-paper h1 {
    font-size: clamp(26px, 3.4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
    color: var(--text);
}

.legal-date {
    color: var(--muted-2);
    font-size: 13px;
    margin-bottom: 26px;
}

.legal-paper h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 36px 0 12px;
    letter-spacing: -0.01em;
}

.legal-paper h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin: 24px 0 8px;
}

.legal-paper p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin: 12px 0;
}

.legal-paper strong { color: var(--text); font-weight: 600; }

.legal-paper a {
    color: var(--primary-light);
    text-decoration: none;
}

.legal-paper a:hover { text-decoration: underline; }

.legal-paper ol,
.legal-paper ul {
    margin: 12px 0 12px 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.legal-paper li { margin: 8px 0; }

.legal-divider {
    height: 1px;
    background: var(--border-strong);
    margin: 30px 0;
}

.legal-note {
    margin-top: 32px;
    padding: 14px 18px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.legal-updated {
    color: var(--muted-2);
    font-size: 13px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .legal { padding: 120px 0 24px; }
    .legal-paper { padding: 32px 22px; border-radius: var(--radius-md); }
    .legal-paper h2 { font-size: 18px; }
}
