/* =============================================
   DRI COPILOT — Premium Minimalist Landing
   Editorial typography · Soft motion · Deep polish
   ============================================= */

/* ---------- Design tokens ---------- */
:root {
    color-scheme: light;

    /* Brand */
    --orange-primary: #FF7A1A;
    --orange-light: #FF9A4C;
    --orange-dark: #E45C0E;
    --orange-accent: #D94E2A;
    --orange-soft: rgba(255, 122, 26, 0.08);
    --orange-softer: rgba(255, 122, 26, 0.04);
    --orange-border: rgba(255, 122, 26, 0.18);

    /* Semantic */
    --green: #1DB954;
    --red: #FF3B30;
    --yellow: #FFCC02;
    --blue: #007AFF;
    --purple: #AF52DE;
    --telegram: #229ED9;
    --telegram-light: #37AEE2;

    /* Neutrals */
    --white: #FFFFFF;
    --surface-page: #FFFFFF;
    --surface-primary: #FFFFFF;
    --surface-elevated: #FFFFFF;
    --bg-page: #FBFBFC;
    --bg-subtle: #F5F5F7;
    --bg-softer: #FAFAFB;
    --text-primary: #0A0A0F;
    --text-secondary: #51525C;
    --text-tertiary: #8E8E99;
    --text-muted: #B8B8C4;
    --border: #E7E7EB;
    --border-light: #F0F0F3;
    --border-lighter: #F6F6F8;
    --frame-surface: #0A0A0F;
    --frame-text: #FFFFFF;
    --phone-frame-surface: #0A0A0F;
    --phone-frame-soft: rgba(255, 255, 255, 0.1);

    /* Buttons */
    --button-primary-bg: #0A0A0F;
    --button-primary-text: #FFFFFF;
    --button-primary-hover: #1C1C24;
    --store-btn-bg: #0A0A0F;
    --store-btn-text: #FFFFFF;
    --store-btn-hover: #1C1C24;

    /* Nav */
    --navbar-bg: rgba(255, 255, 255, 0);
    --navbar-scrolled-bg: rgba(255, 255, 255, 0.72);
    --navbar-scrolled-border: rgba(231, 231, 235, 0.8);

    /* Glow */
    --phone-glow: radial-gradient(circle, rgba(255, 122, 26, 0.14) 0%, transparent 65%);
    --download-glow: radial-gradient(ellipse at 85% 30%, rgba(255, 122, 26, 0.22) 0%, transparent 55%);
    --icon-yellow-contrast: #A47500;

    /* Pattern */
    --grid-color: rgba(10, 10, 15, 0.04);
    --noise-opacity: 0.35;

    /* Shadows — refined, color-tinted */
    --shadow-xs: 0 1px 2px rgba(10, 10, 15, 0.04);
    --shadow-sm: 0 1px 3px rgba(10, 10, 15, 0.05), 0 1px 2px rgba(10, 10, 15, 0.03);
    --shadow-md: 0 4px 12px rgba(10, 10, 15, 0.05), 0 2px 4px rgba(10, 10, 15, 0.04);
    --shadow-lg: 0 12px 28px rgba(10, 10, 15, 0.06), 0 4px 10px rgba(10, 10, 15, 0.04);
    --shadow-xl: 0 32px 64px -12px rgba(10, 10, 15, 0.12);
    --shadow-glow: 0 20px 60px -20px rgba(255, 122, 26, 0.35);
    --shadow-card: 0 1px 2px rgba(10, 10, 15, 0.04), 0 8px 24px -8px rgba(10, 10, 15, 0.06);

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

    /* Radii */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 22px;
    --radius-2xl: 28px;
    --radius-3xl: 36px;
    --radius-full: 999px;

    /* Layout */
    --container: 1180px;
    --container-narrow: 980px;
    --section-gap: 160px;

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

:root[data-theme='dark'] {
    color-scheme: dark;

    --surface-page: #07070A;
    --surface-primary: #101016;
    --surface-elevated: #15151C;
    --bg-page: #07070A;
    --bg-subtle: #0E0E14;
    --bg-softer: #0A0A11;
    --text-primary: #FAFAFC;
    --text-secondary: #B8B8C4;
    --text-tertiary: #8A8A96;
    --text-muted: #5E5E6B;
    --border: #1F1F29;
    --border-light: #191923;
    --border-lighter: #13131B;
    --frame-surface: #050508;
    --frame-text: #FFFFFF;
    --phone-frame-surface: #1F1F29;
    --phone-frame-soft: #2B2B35;

    --orange-soft: rgba(255, 122, 26, 0.12);
    --orange-softer: rgba(255, 122, 26, 0.06);
    --orange-border: rgba(255, 122, 26, 0.22);

    --button-primary-bg: #FAFAFC;
    --button-primary-text: #0A0A0F;
    --button-primary-hover: #FFFFFF;
    --store-btn-bg: #FAFAFC;
    --store-btn-text: #0A0A0F;
    --store-btn-hover: #FFFFFF;

    --navbar-bg: rgba(7, 7, 10, 0);
    --navbar-scrolled-bg: rgba(7, 7, 10, 0.72);
    --navbar-scrolled-border: rgba(31, 31, 41, 0.8);

    --phone-glow: radial-gradient(circle, rgba(255, 122, 26, 0.22) 0%, transparent 65%);
    --download-glow: radial-gradient(ellipse at 85% 30%, rgba(255, 122, 26, 0.3) 0%, transparent 55%);
    --icon-yellow-contrast: #FFD46B;

    --grid-color: rgba(255, 255, 255, 0.03);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.45);
    --shadow-xl: 0 32px 64px -12px rgba(0, 0, 0, 0.6);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'ss01', 'ss02', 'cv11';
}

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

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

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

/* ---------- Utilities ---------- */
.text-gradient {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--orange-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-label::before {
    content: '';
    width: 18px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

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

.section-header .section-label {
    justify-content: center;
}

.section-header .section-label::before {
    content: none;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: background 0.35s var(--ease-out),
                backdrop-filter 0.35s var(--ease-out),
                border-color 0.35s var(--ease-out),
                padding 0.35s var(--ease-out);
    background: var(--navbar-bg);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: var(--navbar-scrolled-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--navbar-scrolled-border);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    transition: transform 0.3s var(--ease-out);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo img {
    height: 30px;
    width: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 122, 26, 0.18);
}

.nav-links {
    display: none;
    gap: 36px;
}

.nav-links a {
    position: relative;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s var(--ease-out);
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--orange-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s var(--ease-out);
}

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

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

.btn {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
    box-shadow: 0 1px 2px rgba(10, 10, 15, 0.08),
                0 4px 12px -2px rgba(10, 10, 15, 0.12);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -6px rgba(255, 122, 26, 0.45),
                0 4px 8px -2px rgba(10, 10, 15, 0.1);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface-primary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}

.theme-toggle i {
    font-size: 17px;
    transition: transform 0.35s var(--ease-out);
}

.theme-toggle:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
    border-color: var(--text-tertiary);
}

.theme-toggle:hover i {
    transform: rotate(-15deg) scale(1.08);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--surface-primary);
}

.language-option {
    min-width: 34px;
    height: 30px;
    border: none;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-tertiary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}

.language-option:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.language-option.active {
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
    box-shadow: var(--shadow-xs);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-primary);
    border: 1px solid var(--border);
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.2s;
}

.mobile-menu-btn:hover {
    background: var(--bg-subtle);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 12px;
    right: 12px;
    background: var(--surface-primary);
    padding: 14px;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
}

.mobile-menu.active {
    display: flex;
    animation: mobileMenuIn 0.35s var(--ease-out);
}

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

.mobile-menu a {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.mobile-menu a:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.btn-mobile {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
}

.theme-toggle-mobile {
    margin-top: 6px;
    width: 100%;
    border-radius: var(--radius-md);
    justify-content: center;
    gap: 8px;
    height: auto;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
}

.mobile-menu .language-switcher {
    width: 100%;
    border-radius: var(--radius-md);
    justify-content: center;
    margin-top: 6px;
    padding: 5px;
}

.mobile-menu .language-option {
    flex: 1;
    max-width: 110px;
    height: 34px;
    border-radius: var(--radius-sm);
}

@media (min-width: 820px) {
    .nav-links { display: flex; }
    .nav-actions { display: flex; }
    .mobile-menu-btn { display: none; }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--surface-page);
    overflow: hidden;
    isolation: isolate;
}

/* Grid pattern + soft orange glow background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
    z-index: -1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--orange-soft), transparent 60%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 150px 28px 90px;
    display: flex;
    align-items: center;
    gap: 96px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 10px;
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 32px;
    box-shadow: var(--shadow-xs);
    transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.hero-badge:hover {
    transform: translateY(-1px);
    border-color: var(--orange-border);
}

.badge-dot {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
}

.badge-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--orange-primary);
    opacity: 0.4;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(2); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.02;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.045em;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -0.005em;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--store-btn-bg);
    color: var(--store-btn-text);
    padding: 12px 22px;
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.store-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
}

.store-btn > * {
    position: relative;
    z-index: 1;
}

.store-btn i {
    font-size: 26px;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(255, 122, 26, 0.5),
                0 4px 8px rgba(10, 10, 15, 0.1);
}

.store-btn:hover::before {
    opacity: 1;
}

.store-text {
    display: flex;
    flex-direction: column;
}

.store-text span {
    font-size: 0.62rem;
    opacity: 0.72;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.store-text strong {
    font-size: 0.98rem;
    font-family: var(--font-heading);
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Hero Metrics */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--border-light);
}

.metric strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.025em;
}

.metric span {
    font-size: 0.74rem;
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: 0.01em;
}

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

/* Hero Visual */
.hero-visual {
    flex: 0 0 340px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 290px;
    height: 600px;
    background: var(--phone-frame-surface);
    border-radius: 48px;
    padding: 10px;
    position: relative;
    z-index: 2;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.04) inset,
        0 60px 100px -40px rgba(10, 10, 15, 0.45),
        0 30px 60px -30px rgba(255, 122, 26, 0.25);
    overflow: hidden;
    animation: phoneFloat 7s ease-in-out infinite;
}

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

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 104px;
    height: 28px;
    background: var(--phone-frame-surface);
    border-radius: 0 0 18px 18px;
    z-index: 5;
}

.phone-mockup video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 38px;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    background: var(--phone-glow);
    z-index: 0;
    pointer-events: none;
    filter: blur(10px);
}

/* ===== TRUST BAR ===== */
.trust-bar {
    padding: 44px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: var(--surface-primary);
    position: relative;
}

.trust-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-tertiary);
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    transition: color 0.25s var(--ease-out);
}

.trust-item:hover {
    color: var(--text-primary);
}

.trust-item i {
    font-size: 18px;
    color: var(--orange-primary);
    opacity: 0.9;
}

/* ===== NARRATIVE VIDEO FEATURES ===== */
.narrative-section {
    padding-top: var(--section-gap);
}

.narrative-block {
    padding: 80px 0;
    position: relative;
}

.narrative-block:first-child {
    padding-top: 0;
}

.narrative-grid {
    display: flex;
    align-items: center;
    gap: 96px;
}

.narrative-reversed .narrative-grid {
    flex-direction: row-reverse;
}

/* Small Phone Mockup */
.narrative-phone {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
}

.narrative-phone::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 360px;
    background: var(--phone-glow);
    z-index: 0;
    filter: blur(20px);
    pointer-events: none;
}

.phone-sm {
    width: 246px;
    height: 512px;
    background: var(--phone-frame-surface);
    border-radius: 42px;
    padding: 8px;
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.04) inset,
        0 50px 80px -30px rgba(10, 10, 15, 0.4),
        0 20px 50px -20px rgba(255, 122, 26, 0.2);
    overflow: hidden;
    transition: transform 0.6s var(--ease-out);
}

.phone-sm:hover {
    transform: translateY(-6px) rotate(-0.5deg);
}

.phone-sm-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 24px;
    background: var(--phone-frame-surface);
    border-radius: 0 0 16px 16px;
    z-index: 5;
}

.phone-sm video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
}

/* Narrative Content */
.narrative-content {
    flex: 1;
    min-width: 0;
}

.narrative-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.06em;
    background: linear-gradient(180deg, var(--border) 0%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px var(--border);
}

.narrative-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

.narrative-desc {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 500px;
    letter-spacing: -0.005em;
}

.narrative-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    background: var(--surface-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    max-width: 500px;
    transition: all 0.35s var(--ease-out);
}

.narrative-highlight:hover {
    border-color: var(--orange-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.narrative-highlight i {
    font-size: 22px;
    color: var(--orange-primary);
    flex-shrink: 0;
    margin-top: 2px;
    padding: 8px;
    background: var(--orange-soft);
    border-radius: var(--radius-sm);
    font-size: 16px;
}

.narrative-highlight span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Narrative Tags */
.narrative-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 500px;
}

.n-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s var(--ease-out);
}

.n-tag:hover {
    border-color: var(--orange-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.n-tag i {
    font-size: 16px;
    color: var(--orange-primary);
}

/* ===== EXTRAS GRID ===== */
.extras-section {
    padding: 0 0 var(--section-gap);
    background: var(--surface-page);
}

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

.extra-card {
    position: relative;
    background: var(--surface-primary);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

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

.extra-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 24px;
    transition: transform 0.4s var(--ease-spring);
}

.extra-card:hover .extra-icon {
    transform: scale(1.08) rotate(-4deg);
}

.icon-orange { background: var(--orange-soft); color: var(--orange-primary); }
.icon-red { background: rgba(255, 59, 48, 0.08); color: var(--red); }
.icon-green { background: rgba(29, 185, 84, 0.08); color: var(--green); }
.icon-purple { background: rgba(175, 82, 222, 0.08); color: var(--purple); }
.icon-blue { background: rgba(0, 122, 255, 0.08); color: var(--blue); }
.icon-yellow { background: rgba(255, 204, 2, 0.1); color: var(--icon-yellow-contrast); }

.extra-card h3 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}

.extra-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ===== SHOWCASE ===== */
.showcase-section {
    padding: var(--section-gap) 0;
    background: var(--bg-subtle);
    position: relative;
}

.showcase-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 80%);
    pointer-events: none;
}

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

.showcase-grid {
    display: flex;
    gap: 96px;
    align-items: center;
}

.showcase-content {
    flex: 1;
    min-width: 0;
}

.showcase-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

.showcase-desc {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 480px;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: -0.005em;
}

.check-list i {
    color: var(--orange-primary);
    font-size: 20px;
    flex-shrink: 0;
}

/* Status Card */
.showcase-visual {
    flex: 0 0 400px;
}

.status-card {
    background: var(--surface-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.5s var(--ease-out);
}

.status-card:hover {
    transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-4px);
}

.status-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 26px;
    background: var(--frame-surface);
    color: var(--frame-text);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.status-card-header i {
    font-size: 20px;
    color: var(--orange-primary);
}

.status-card-body {
    padding: 4px 0;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 26px;
    border-bottom: 1px solid var(--border-lighter);
    transition: background 0.2s var(--ease-out);
}

.status-row:hover {
    background: var(--bg-softer);
}

.status-row:last-child {
    border-bottom: none;
}

.status-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.status-value {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.status-value i { font-size: 14px; }
.status-ok {
    color: var(--green);
    background: rgba(29, 185, 84, 0.08);
}
.status-warn {
    color: var(--orange-dark);
    background: var(--orange-soft);
}
.status-neutral {
    color: var(--text-tertiary);
    background: var(--bg-subtle);
}

/* ===== HOW IT WORKS ===== */
.how-section {
    padding: var(--section-gap) 0;
    background: var(--surface-page);
}

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

.steps-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--border) 20%,
        var(--border) 80%,
        transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.step-card {
    text-align: center;
    padding: 8px 24px 32px;
    position: relative;
    z-index: 1;
    background: var(--surface-page);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--orange-primary);
    line-height: 1;
    margin: 0 auto 28px;
    letter-spacing: -0.01em;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface-page);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s var(--ease-out);
}

.step-card:hover .step-number {
    border-color: var(--orange-primary);
    background: var(--orange-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 280px;
    margin: 0 auto;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: var(--section-gap) 0;
    background: var(--bg-subtle);
}

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

.testimonial-card {
    position: relative;
    background: var(--surface-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 14px;
    font-family: var(--font-heading);
    font-size: 10rem;
    line-height: 1;
    color: var(--orange-primary);
    opacity: 0.06;
    font-weight: 900;
    pointer-events: none;
}

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

.testimonial-card:hover::before {
    opacity: 0.12;
}

.stars {
    display: flex;
    gap: 2px;
    color: var(--orange-primary);
    font-size: 14px;
    margin-bottom: 20px;
}

.testimonial-card blockquote {
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 28px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.008em;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 4px 12px -4px rgba(255, 122, 26, 0.5);
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.005em;
}

.testimonial-author span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-tertiary);
}

/* ===== TELEGRAM CTAs ===== */
.telegram-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    background: rgba(34, 158, 217, 0.08);
    border: 1px solid rgba(34, 158, 217, 0.22);
    color: var(--telegram);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

.telegram-pill i:first-child {
    font-size: 1.15rem;
}

.telegram-pill:hover {
    background: rgba(34, 158, 217, 0.14);
    border-color: rgba(34, 158, 217, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(34, 158, 217, 0.35);
}

.telegram-pill-arrow {
    font-size: 0.9rem;
    transition: transform 0.3s var(--ease-out);
}

.telegram-pill:hover .telegram-pill-arrow {
    transform: translateX(4px);
}

.telegram-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 60px auto 0;
    padding: 15px 24px;
    border-radius: var(--radius-full);
    background: var(--surface-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.telegram-inline i:first-child {
    color: var(--telegram);
    font-size: 1.22rem;
}

.telegram-inline i:last-child {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-out);
}

.telegram-inline:hover {
    border-color: var(--telegram);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(34, 158, 217, 0.3);
}

.telegram-inline:hover i:last-child {
    transform: translateX(3px);
    color: var(--telegram);
}

.how-section .steps-grid + .telegram-inline {
    display: flex;
    max-width: max-content;
}

.footer-social-telegram:hover {
    color: var(--telegram) !important;
}

/* ===== COMMUNITY / TELEGRAM ===== */
.community-section {
    padding: var(--section-gap) 0;
    background: var(--surface-page);
}

.community-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 72px;
    padding: 84px;
    border-radius: var(--radius-3xl);
    border: 1px solid var(--border-light);
    background:
        radial-gradient(ellipse at 0% 100%, rgba(34, 158, 217, 0.08), transparent 60%),
        radial-gradient(ellipse at 100% 0%, rgba(34, 158, 217, 0.06), transparent 60%),
        var(--surface-primary);
    overflow: hidden;
    isolation: isolate;
    box-shadow: var(--shadow-lg);
}

:root[data-theme='dark'] .community-card {
    background:
        radial-gradient(ellipse at 0% 100%, rgba(34, 158, 217, 0.15), transparent 60%),
        radial-gradient(ellipse at 100% 0%, rgba(34, 158, 217, 0.12), transparent 60%),
        var(--surface-primary);
}

.community-glow {
    position: absolute;
    top: -40%;
    right: -15%;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 158, 217, 0.22), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
}

.community-content,
.community-visual {
    position: relative;
    z-index: 1;
}

.community-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: rgba(34, 158, 217, 0.1);
    color: var(--telegram);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 22px;
    border: 1px solid rgba(34, 158, 217, 0.22);
}

.community-badge i {
    font-size: 0.95rem;
}

.community-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.95rem, 3.4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 18px;
}

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

.community-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.community-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.community-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.25s var(--ease-out);
}

.community-features li:hover {
    transform: translateX(3px);
}

.community-feature-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: rgba(34, 158, 217, 0.1);
    color: var(--telegram);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.18rem;
    border: 1px solid rgba(34, 158, 217, 0.15);
}

.community-features strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}

.community-features span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 15px 24px;
    background: linear-gradient(135deg, var(--telegram), var(--telegram-light));
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-family: var(--font-body);
    transition: all 0.35s var(--ease-out);
    box-shadow: 0 12px 32px -8px rgba(34, 158, 217, 0.45);
    position: relative;
    overflow: hidden;
}

.telegram-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s var(--ease-out);
}

.telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px -10px rgba(34, 158, 217, 0.6);
}

.telegram-btn:hover::before {
    left: 100%;
}

.telegram-btn > i:first-child {
    font-size: 1.85rem;
}

.telegram-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.telegram-text span {
    font-size: 0.74rem;
    opacity: 0.88;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.telegram-text strong {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.telegram-arrow {
    font-size: 1.1rem;
    margin-left: 4px;
    transition: transform 0.3s var(--ease-out);
}

.telegram-btn:hover .telegram-arrow {
    transform: translate(3px, -3px);
}

.community-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

.community-note i {
    color: var(--telegram);
    font-size: 0.95rem;
}

/* Chat mockup */
.chat-mockup {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    background: var(--surface-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
    transition: transform 0.6s var(--ease-out);
}

.chat-mockup:hover {
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--telegram), var(--telegram-light));
    color: #FFFFFF;
}

.chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.chat-header-info strong {
    display: block;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.chat-header-info span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    opacity: 0.92;
}

.online-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34C759;
    box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.22);
}

.chat-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-subtle);
    min-height: 340px;
}

.chat-bubble {
    position: relative;
    max-width: 82%;
    padding: 12px 16px 20px;
    border-radius: 16px;
    font-size: 0.87rem;
    line-height: 1.5;
    animation: chat-pop 0.55s var(--ease-out) backwards;
    box-shadow: var(--shadow-sm);
}

.chat-bubble p {
    margin: 0;
    color: var(--text-primary);
}

.chat-bubble.chat-bubble-them {
    align-self: flex-start;
    background: var(--surface-primary);
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 5px;
    animation-delay: 0.1s;
}

.chat-bubble.chat-bubble-alt {
    animation-delay: 0.35s;
}

.chat-bubble.chat-bubble-me {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--telegram), var(--telegram-light));
    color: #FFFFFF;
    border-bottom-right-radius: 5px;
    animation-delay: 0.6s;
}

.chat-bubble.chat-bubble-me p {
    color: #FFFFFF;
}

.chat-name {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--telegram);
    margin-bottom: 3px;
    letter-spacing: -0.005em;
}

.chat-name-me {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3px;
    letter-spacing: 0.01em;
}

.chat-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 6px 0;
    padding: 2px 9px;
    border-radius: var(--radius-full);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.chat-tag i {
    font-size: 0.78rem;
}

.chat-tag-bug {
    background: rgba(255, 59, 48, 0.12);
    color: #E53935;
}

.chat-tag-idea {
    background: rgba(255, 204, 2, 0.2);
    color: #A47500;
}

:root[data-theme='dark'] .chat-tag-idea {
    color: #FFD46B;
}

.chat-time {
    position: absolute;
    right: 11px;
    bottom: 5px;
    font-size: 0.66rem;
    color: var(--text-tertiary);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.chat-bubble-me .chat-time {
    color: rgba(255, 255, 255, 0.88);
}

.chat-typing {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 10px 16px;
    background: var(--surface-primary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    border-bottom-left-radius: 5px;
    animation: chat-pop 0.55s var(--ease-out) 0.85s backwards;
}

.typing-name {
    font-size: 0.72rem;
    color: var(--text-tertiary);
}

.typing-dots {
    display: inline-flex;
    gap: 3px;
}

.typing-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--telegram);
    opacity: 0.4;
    animation: typing-pulse 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chat-pop {
    0%   { opacity: 0; transform: translateY(10px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes typing-pulse {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30%           { opacity: 1; transform: translateY(-3px); }
}

/* ===== DOWNLOAD CTA ===== */
.download-section {
    padding: var(--section-gap) 0;
    background: var(--surface-page);
}

.download-card {
    background: var(--frame-surface);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    isolation: isolate;
}

.download-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--download-glow);
    pointer-events: none;
    z-index: 0;
}

.download-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 80% 50%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 80% 50%, #000 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.download-phone {
    flex: 0 0 auto;
    padding: 56px 0 56px 56px;
    position: relative;
    z-index: 1;
    display: none;
}

.phone-sm-light {
    background: var(--phone-frame-soft);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.06) inset,
        0 40px 80px -20px rgba(0, 0, 0, 0.5);
}

.phone-sm-notch-light {
    background: var(--phone-frame-soft) !important;
}

.download-inner {
    position: relative;
    z-index: 1;
    padding: 80px 56px;
    flex: 1;
}

.download-inner .section-label {
    color: var(--orange-light);
}

.download-inner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.95rem, 3.4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.download-inner p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.02rem;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 480px;
}

.download-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-btn-light {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.store-btn-light::before {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
}

.store-btn-light:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-subtle);
    padding: 72px 0 0;
    border-top: 1px solid var(--border-light);
}

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

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo {
    height: 32px;
    width: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 122, 26, 0.2);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.footer-brand > p {
    color: var(--text-tertiary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface-primary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
    background: var(--button-primary-bg);
    border-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    gap: 72px;
    flex-wrap: wrap;
}

.link-group h4 {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.link-group a {
    display: block;
    color: var(--text-tertiary);
    font-size: 0.88rem;
    margin-bottom: 12px;
    transition: all 0.2s var(--ease-out);
    position: relative;
}

.link-group a:hover {
    color: var(--text-primary);
    transform: translateX(2px);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s var(--ease-out),
                transform 0.85s var(--ease-out);
}

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

/* Hero entrance */
.hero-content {
    animation: heroIn 1s var(--ease-out) both;
}

.hero-visual {
    animation: heroIn 1s var(--ease-out) 0.2s both;
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .phone-mockup {
        animation: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1024px) {
    .hero-visual {
        flex: 0 0 340px;
    }

    .download-phone {
        display: block;
    }

    .download-inner {
        text-align: left;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-gap: 120px;
    }

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

    .showcase-grid {
        flex-direction: column;
        gap: 56px;
    }

    .showcase-visual {
        flex: none;
        width: 100%;
        max-width: 440px;
    }

    .status-card {
        transform: none;
    }

    .narrative-grid {
        flex-direction: column !important;
        gap: 48px;
        text-align: center;
    }

    .narrative-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .narrative-highlight {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
    }

    .narrative-tags {
        justify-content: center;
    }

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

    .download-buttons {
        justify-content: center;
    }

    .download-inner p {
        margin-left: auto;
        margin-right: auto;
    }

    .community-card {
        padding: 64px 56px;
    }

    .chat-mockup {
        transform: none;
    }
}

@media (max-width: 820px) {
    :root {
        --section-gap: 100px;
    }

    .hero-container {
        padding-top: 120px;
        flex-direction: column;
        text-align: center;
        gap: 56px;
    }

    .hero-title {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        flex: none;
        width: 100%;
        justify-content: center;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
        border-radius: 40px;
    }

    .phone-mockup video {
        border-radius: 30px;
    }

    .phone-notch {
        width: 88px;
        height: 24px;
        border-radius: 0 0 16px 16px;
    }

    .phone-glow {
        width: 320px;
        height: 320px;
    }

    .hero-metrics {
        justify-content: center;
    }

    /* Narrative mobile */
    .phone-sm {
        width: 218px;
        height: 452px;
        border-radius: 36px;
    }

    .phone-sm video {
        border-radius: 30px;
    }

    .phone-sm-notch {
        width: 76px;
        height: 22px;
        border-radius: 0 0 14px 14px;
    }

    .narrative-block {
        padding: 64px 0;
    }

    .narrative-number {
        font-size: 3.5rem;
    }

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

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .steps-grid::before {
        display: none;
    }

    .step-card {
        padding: 32px 24px;
    }

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

    .community-card {
        grid-template-columns: 1fr;
        gap: 56px;
        padding: 56px 32px;
    }

    .community-glow {
        top: -20%;
        right: -30%;
        width: 380px;
        height: 380px;
    }

    .chat-mockup {
        margin: 0 auto;
    }

    .community-desc {
        max-width: none;
    }

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

    .check-list li {
        justify-content: center;
    }

    .trust-content {
        justify-content: center;
        gap: 24px;
    }

    .trust-item span {
        display: none;
    }

    .download-inner {
        padding: 56px 28px;
    }

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

    .nav-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .store-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons,
    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 18px;
        padding-top: 28px;
    }

    .metric-divider {
        display: none;
    }

    .metric {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .metric strong {
        margin-bottom: 0;
    }

    .phone-sm {
        width: 196px;
        height: 408px;
        border-radius: 32px;
    }

    .phone-sm video {
        border-radius: 26px;
    }

    .community-card {
        padding: 40px 22px;
        border-radius: var(--radius-2xl);
    }

    .community-features li {
        text-align: left;
    }

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

    .download-card {
        border-radius: var(--radius-2xl);
    }

    .testimonial-card {
        padding: 28px 24px;
    }

    .extra-card {
        padding: 32px 26px;
    }

    .footer-links {
        gap: 36px;
    }
}
