/* ============================================================
   Apploy.ru — Main Stylesheet
   ============================================================ */

/* ========== CSS Variables ========== */
/* ============================================================
   Apploy.ru — Main Stylesheet
   Amber Color Palette for Light & Dark Themes
   ============================================================ */

/* ========== Light Theme (Default) ========== */
:root {
    /* Primary — Amber */
    --primary: #f59e0b;      /* amber-500 */
    --primary-dark: #d97706; /* amber-600 */
    --primary-light: #fbbf24; /* amber-400 */
    --primary-bg: rgba(245, 158, 11, 0.08);
    --primary-bg-hover: rgba(245, 158, 11, 0.14);

    /* Accent — Warm accent for secondary elements */
    --accent: #f97316;       /* orange-500 */
    --accent-light: #fb923c; /* orange-400 */

    /* Status colors */
    --success: #22c55e;
    /* --warning: #f59e0b; */
    --warning: #f87e13;
    --danger: #ef4444;

    /* Light theme backgrounds */
    --bg: #ffffff;
    --bg-secondary: #fef9e8; /* Warm light background with amber tint */
    --bg-tertiary: #fef3c7;  /* amber-50 */
    --bg-contrast: #538fe2;
    --surface: #ffffff;
    --surface-hover: #fffbeb; /* amber-50 */
    --surface-border: #fde68a; /* amber-200 */

    /* Light theme text */
    --text: #1e293b;         /* slate-800 */
    --text-secondary: #475569; /* slate-600 */
    --text-tertiary: #94a3b8;  /* slate-400 */
    --text-inverse: #ffffff;

     /* Light theme price text */
    --billdiy: #576B77;                
    --billdiy-inverse: #C0C0C0;
    --gittanium: #2f4f4f;
    --gittanium-inverse: #42bebe;
    --deplonium : #D4AF37; 
    --deplonium-accent : #b8860b;
    --deplonium-inverse: #FFD966;

    /* Borders */
    --border: #fde68a;       /* amber-200 */
    --border-light: #fef3c7; /* amber-100 */

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Border radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.2s ease;
    --transition-slow: 0.4s ease;

    /* Layout */
    --header-height: 72px;
    --container-max: 1200px;
}

/* ========== Dark Theme ========== */
@media (prefers-color-scheme: dark) {
    :root {
        /* Primary — Amber (brighter for dark mode) */
        --primary: #fbbf24;      /* amber-400 */
        --primary-dark: #f59e0b; /* amber-500 */
        --primary-light: #fcd34d; /* amber-300 */
        --primary-bg: rgba(251, 191, 36, 0.12);
        --primary-bg-hover: rgba(251, 191, 36, 0.2);

        /* Accent */
        --accent: #fb923c;       /* orange-400 */
        --accent-light: #fdba74; /* orange-300 */

        /* Status colors (adjusted for dark mode) */
        --success: #4ade80;
        --warning: #fbbf24;
        --danger: #f87171;

        /* Dark theme backgrounds */
        --bg: #0a0c10;           /* deep dark background */
        --bg-secondary: #111317; /* card background */
        --bg-tertiary: #1a1c22;  /* hover states */
        --surface: #111317;
        --surface-hover: #1e2129;
        --surface-border: #2d2f38;
        --bg-contrast: #3769ae;

        /* Dark theme text */
        --text: #f9fafb;         /* gray-50 */
        --text-secondary: #d1d5db; /* gray-300 */
        --text-tertiary: #6b7280;  /* gray-500 */
        --text-inverse: #0a0c10;

        /* Dark theme price text */
        --billdiy: #C0C0C0;
        --billdiy-inverse: #576B77;
        --gittanium: #42bebe;
        --gittanium-inverse: #2f4f4f;
        --deplonium: #FFD966;
        --deplonium-accent : #ffd966;
        --deplonium-inverse : #D4AF37; 

        /* Borders */
        --border: #2d2f38;
        --border-light: #1f2128;

        /* Shadows (darker, softer for dark mode) */
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
        --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    }
}

/* ========== Optional: Manual Theme Toggle Support ========== */
/* Add this class to body for manual dark mode control */
body.dark-theme {
    --primary: #fbbf24;
    --primary-dark: #f59e0b;
    --primary-light: #fcd34d;
    --primary-bg: rgba(251, 191, 36, 0.12);
    --primary-bg-hover: rgba(251, 191, 36, 0.2);
    --accent: #fb923c;
    --accent-light: #fdba74;
    --success: #4ade80;
    --warning: #fbbf24;
    --danger: #f87171;
    --bg: #0a0c10;
    --bg-secondary: #111317;
    --bg-tertiary: #1a1c22;
    --surface: #111317;
    --surface-hover: #1e2129;
    --surface-border: #2d2f38;
    --text: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #6b7280;
    --text-inverse: #0a0c10;
    --billdiy: #C0C0C0;
    --billdiy-inverse: #576B77;
    --gittanium: #42bebe;
    --gittanium-inverse: #2f4f4f;
    --deplonium: #FFD966;
    --deplonium-accent : #ffd966;
    --deplonium-inverse : #D4AF37; 
    --border: #2d2f38;
    --border-light: #1f2128;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

/* Light theme override (if needed) */
body.light-theme {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --primary-light: #fbbf24;
    --primary-bg: rgba(245, 158, 11, 0.08);
    --primary-bg-hover: rgba(245, 158, 11, 0.14);
    --accent: #f97316;
    --accent-light: #fb923c;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg: #ffffff;
    --bg-secondary: #fef9e8;
    --bg-tertiary: #fef3c7;
    --surface: #ffffff;
    --surface-hover: #fffbeb;
    --surface-border: #fde68a;
    --text: #1e293b;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --text-inverse: #ffffff;
    --billdiy: #576B77;                
    --billdiy-inverse: #C0C0C0;
    --gittanium: #2f4f4f;
    --gittanium-inverse: #42bebe;
    --deplonium : #D4AF37; 
    --deplonium-accent : #b8860b;
    --deplonium-inverse: #FFD966;
    --border: #fde68a;
    --border-light: #fef3c7;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* ========== Dark Theme ========== */
[data-theme="dark"] {
    --bg: #0c1222;
    --bg-secondary: #111827;
    --bg-tertiary: #1e293b;
    --surface: #1e293b;
    --surface-hover: #263344;
    --surface-border: #334155;

    --text: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #6b7280;
    --text-inverse: #0a0c10;

    --billdiy: #C0C0C0;
    --billdiy-inverse: #576B77;
    --gittanium: #42bebe;
    --gittanium-inverse: #2f4f4f;
    --deplonium: #FFD966;
    --deplonium-accent : #ffd966;
    --deplonium-inverse : #D4AF37;

    --border: #334155;
    --border-light: #1e293b;

    --primary-bg: rgba(14, 165, 233, 0.12);
    --primary-bg-hover: rgba(14, 165, 233, 0.2);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px 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%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========== Container ========== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Section Helpers ========== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.features-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-contrast);
    color: var(--text-inverse);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.features-description {
    font-size: 1.1rem;
    color: var(--text-inverse);
    max-width: 560px;
    margin: 0 auto;
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(12, 18, 34, 0.85);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo:hover {
    color: var(--text);
}

.nav-logo i {
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 0.925rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: var(--primary-bg);
}

.nav-link i {
    font-size: 0.7rem;
    transition: transform var(--transition);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .nav-link i,
.dropdown.open .nav-link i {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.dropdown-item:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
}

/* Nav Auth */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--text-secondary);
    transition: background var(--transition), color var(--transition);
}

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

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--radius);
    transition: background var(--transition);
}

.nav-toggle:hover {
    background: var(--primary-bg);
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 0.925rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-sm {
    padding: 7px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-inverse);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

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

.btn-secondary:hover {
    background: var(--primary-bg-hover);
    color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(14, 165, 233, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
    z-index: -1;
}

[data-theme="dark"] .hero-bg {
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(14, 165, 233, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--warning);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Hero Orbit Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orbit {
    position: relative;
    width: 420px;
    height: 420px;
}

/* ========== Orbit Logo Styles ========== */
.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.logo-wrapper {
    position: relative;
    width: 108px;  /* Было 120px, уменьшили на 10% */
    height: 108px; /* Было 120px, уменьшили на 10% */
    border-radius: 18px; /* Было 20px, уменьшили пропорционально */
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 2.7px; /* Было 3px, уменьшили на 10% */
    animation: logo-glow 3s ease-in-out infinite;
}

.orbit-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px; /* Было 18px, уменьшили пропорционально */
    display: block;
    background: var(--surface);
    transition: transform 0.3s ease;
}

.logo-wrapper:hover .orbit-logo {
    transform: scale(1.02);
}

/* Градиентная обводка с анимацией свечения */
@keyframes logo-glow {
    0%, 100% {
        box-shadow: 
            0 0 0 0 rgba(14, 165, 233, 0.4),
            0 0 0 0 rgba(6, 182, 212, 0.2);
    }
    50% {
        box-shadow: 
            0 0 18px 4.5px rgba(14, 165, 233, 0.6),  /* Уменьшили с 20px/5px */
            0 0 27px 9px rgba(6, 182, 212, 0.3);     /* Уменьшили с 30px/10px */
    }
}

/* Альтернативный вариант: градиентная обводка без анимации */
.logo-wrapper-static {
    position: relative;
    width: 108px;
    height: 108px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 2.7px;
}

/* Вариант с пульсирующей обводкой */
.logo-wrapper-pulse {
    position: relative;
    width: 108px;
    height: 108px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 2.7px;
    animation: logo-pulse 2s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

/* Вариант с вращающейся градиентной обводкой */
.logo-wrapper-rotate {
    position: relative;
    width: 108px;
    height: 108px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-light));
    padding: 2.7px;
    animation: rotate-border 4s linear infinite;
    background-size: 200% 200%;
}

@keyframes rotate-border {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Дополнительный эффект: внутреннее свечение */
.logo-wrapper::before {
    content: '';
    position: absolute;
    inset: -1.8px; /* Было -2px, уменьшили на 10% */
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px; /* Было 22px, уменьшили пропорционально */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo-wrapper:hover::before {
    opacity: 0.5;
}

/* Адаптация для темной темы */
[data-theme="dark"] .logo-wrapper {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

[data-theme="dark"] .orbit-logo {
    background: var(--surface);
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px dashed var(--border);
    animation: orbit-rotate 30s linear infinite;
}

.orbit-ring-1 {
    width: 260px;
    height: 260px;
    margin-left: -130px;
    margin-top: -130px;
}

.orbit-ring-2 {
    width: 380px;
    height: 380px;
    margin-left: -190px;
    margin-top: -190px;
    animation-duration: 45s;
    animation-direction: reverse;
}

.orbit-item {
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    top: 50%;
    left: 50%;
    transform: rotate(var(--angle)) translateX(calc(var(--ring-radius, 130px))) rotate(calc(-1 * var(--angle)));
    animation: orbit-counter-rotate 30s linear infinite;
}

.orbit-ring-1 .orbit-item {
    --ring-radius: 130px;
}

.orbit-ring-2 .orbit-item {
    --ring-radius: 190px;
    animation-duration: 45s;
    animation-direction: reverse;
}

@keyframes orbit-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbit-counter-rotate {
    from { transform: rotate(var(--angle)) translateX(var(--ring-radius)) rotate(calc(-1 * var(--angle))); }
    to { transform: rotate(calc(var(--angle) + 360deg)) translateX(var(--ring-radius)) rotate(calc(-1 * (var(--angle) + 360deg))); }
}

/* Скрываем темный логотип по умолчанию */
.nav-logo .logo-dark {
    display: none;
}

.nav-logo .logo-light {
    display: block;
}

/* В темной теме показываем темный логотип, скрываем светлый */
[data-theme="dark"] .nav-logo .logo-light {
    display: none;
}

[data-theme="dark"] .nav-logo .logo-dark {
    display: block;
}

/* ========== Features ==========
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
} */

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: background var(--transition), color var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--text-inverse);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-description {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.65;
} 

/* ========== Features Section with Animated Gradient Background ========== */
.features {
    position: relative;
    padding: 100px 0;
    background: var(--bg-secondary);
    overflow: hidden;
    isolation: isolate;
}

/* Base subtle background glow */
.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 30% 40%,
        rgba(245, 158, 11, 0.25) 0%,
        rgba(251, 191, 36, 0.15) 20%,
        rgba(249, 115, 22, 0.08) 40%,
        transparent 70%
    );
    z-index: 0;
    pointer-events: none;
}

/* Main animated blob - BRIGHT and CONTRAST */
.features::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -30%;
    width: 160%;
    height: 180%;
    background: radial-gradient(
        ellipse at 35% 45%,
        rgba(245, 158, 11, 0.45) 0%,
        rgba(251, 191, 36, 0.35) 15%,
        rgba(249, 115, 22, 0.25) 30%,
        rgba(245, 158, 11, 0.15) 45%,
        rgba(251, 191, 36, 0.08) 60%,
        transparent 75%
    );
    z-index: 0;
    pointer-events: none;
    animation: slowDrift 24s ease-in-out infinite;
    filter: blur(8px);
}

/* Secondary blob - CONTRAST and MOVEMENT */
.features .features-gradient-blob {
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 140%;
    height: 160%;
    background: radial-gradient(
        ellipse at 70% 65%,
        rgba(251, 191, 36, 0.5) 0%,
        rgba(245, 158, 11, 0.4) 12%,
        rgba(249, 115, 22, 0.3) 25%,
        rgba(251, 191, 36, 0.2) 40%,
        rgba(245, 158, 11, 0.12) 55%,
        transparent 70%
    );
    z-index: 0;
    pointer-events: none;
    animation: slowDriftReverse 26s ease-in-out infinite;
    filter: blur(10px);
}

/* Third blob - BRIGHT CORE with PULSE */
.features .features-gradient-blob-alt {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 100%;
    height: 120%;
    background: radial-gradient(
        circle at 40% 50%,
        rgba(251, 191, 36, 0.55) 0%,
        rgba(245, 158, 11, 0.45) 10%,
        rgba(249, 115, 22, 0.35) 22%,
        rgba(251, 191, 36, 0.25) 38%,
        rgba(245, 158, 11, 0.15) 55%,
        transparent 72%
    );
    z-index: 0;
    pointer-events: none;
    animation: slowDriftPulse 20s ease-in-out infinite;
    filter: blur(12px);
}

/* Fourth blob - ADDITIONAL for richer depth */
.features .features-gradient-blob-extra {
    position: absolute;
    bottom: 10%;
    left: -15%;
    width: 130%;
    height: 130%;
    background: radial-gradient(
        ellipse at 30% 80%,
        rgba(249, 115, 22, 0.4) 0%,
        rgba(251, 191, 36, 0.3) 18%,
        rgba(245, 158, 11, 0.22) 35%,
        rgba(249, 115, 22, 0.12) 52%,
        transparent 70%
    );
    z-index: 0;
    pointer-events: none;
    animation: slowDriftExtra 30s ease-in-out infinite;
    filter: blur(9px);
}

/* Keyframe animations - more dynamic */
@keyframes slowDrift {
    0% {
        transform: translate(-5%, -3%) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(8%, -8%) rotate(3deg) scale(1.05);
    }
    50% {
        transform: translate(3%, 5%) rotate(6deg) scale(1.08);
    }
    75% {
        transform: translate(-6%, 2%) rotate(2deg) scale(1.03);
    }
    100% {
        transform: translate(-5%, -3%) rotate(0deg) scale(1);
    }
}

@keyframes slowDriftReverse {
    0% {
        transform: translate(5%, 3%) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-7%, 6%) rotate(-4deg) scale(1.06);
    }
    50% {
        transform: translate(-2%, -7%) rotate(-7deg) scale(1.1);
    }
    75% {
        transform: translate(4%, -3%) rotate(-3deg) scale(1.04);
    }
    100% {
        transform: translate(5%, 3%) rotate(0deg) scale(1);
    }
}

@keyframes slowDriftPulse {
    0% {
        transform: scale(0.95) translate(0%, 0%) rotate(0deg);
        opacity: 0.7;
    }
    33% {
        transform: scale(1.15) translate(5%, -4%) rotate(3deg);
        opacity: 1;
    }
    66% {
        transform: scale(1.08) translate(-3%, 6%) rotate(-2deg);
        opacity: 0.85;
    }
    100% {
        transform: scale(0.95) translate(0%, 0%) rotate(0deg);
        opacity: 0.7;
    }
}

@keyframes slowDriftExtra {
    0% {
        transform: translate(2%, -1%) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(-6%, 4%) rotate(-3deg) scale(1.07);
    }
    66% {
        transform: translate(4%, -5%) rotate(2deg) scale(1.04);
    }
    100% {
        transform: translate(2%, -1%) rotate(0deg) scale(1);
    }
}

/* Ensure content stays above animated background */
.features .container {
    position: relative;
    z-index: 2;
}

.features .section-header,
.features .features-grid {
    position: relative;
    z-index: 2;
}

/* Feature cards - slightly transparent to show gradient, but readable */
.feature-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background 0.3s ease;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

[data-theme="dark"] .feature-card {
    background: rgba(17, 19, 23, 0.92);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.feature-card:hover {
    background: var(--surface);
    backdrop-filter: blur(0px);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Section badge with glow effect */
.features .section-badge {
    position: relative;
    z-index: 2;
    background: rgba(245, 158, 11, 0.25);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Features badge with glow effect */
.features .section-badge {
    position: relative;
    z-index: 2;
    background: rgba(245, 158, 11, 0.65);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Dark theme adjustments - BRIGHTER in dark mode */
[data-theme="dark"] .features::after {
    background: radial-gradient(
        ellipse at 35% 45%,
        rgba(251, 191, 36, 0.65) 0%,
        rgba(245, 158, 11, 0.55) 15%,
        rgba(249, 115, 22, 0.45) 30%,
        rgba(251, 191, 36, 0.35) 45%,
        rgba(245, 158, 11, 0.2) 60%,
        transparent 75%
    );
}

[data-theme="dark"] .features .features-gradient-blob {
    background: radial-gradient(
        ellipse at 70% 65%,
        rgba(251, 191, 36, 0.7) 0%,
        rgba(245, 158, 11, 0.6) 12%,
        rgba(249, 115, 22, 0.5) 25%,
        rgba(251, 191, 36, 0.35) 40%,
        rgba(245, 158, 11, 0.2) 55%,
        transparent 70%
    );
}

[data-theme="dark"] .features .features-gradient-blob-alt {
    background: radial-gradient(
        circle at 40% 50%,
        rgba(251, 191, 36, 0.75) 0%,
        rgba(245, 158, 11, 0.65) 10%,
        rgba(249, 115, 22, 0.55) 22%,
        rgba(251, 191, 36, 0.4) 38%,
        rgba(245, 158, 11, 0.25) 55%,
        transparent 72%
    );
}

[data-theme="dark"] .features .features-gradient-blob-extra {
    background: radial-gradient(
        ellipse at 30% 80%,
        rgba(249, 115, 22, 0.6) 0%,
        rgba(251, 191, 36, 0.5) 18%,
        rgba(245, 158, 11, 0.4) 35%,
        rgba(249, 115, 22, 0.25) 52%,
        transparent 70%
    );
}

[data-theme="dark"] .features .section-badge {
    background: rgba(251, 191, 36, 0.3);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
}

/* ========== Pricing ========== */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--primary);
    color: var(--text-inverse);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.plan-header {
    margin-bottom: 20px;
}

.plan-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.plan-description {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 1rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.plan-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.plan-badge.free {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.plan-limits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.plan-limits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.925rem;
    color: var(--text-secondary);
}

.plan-limits li i {
    width: 18px;
    text-align: center;
    color: var(--primary);
    font-size: 0.85rem;
}

.plan-limits li strong {
    color: var(--text);
    font-weight: 600;
}

/* ========== FAQ ========== */
.faq {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-list {
    /* max-width: 760px; */
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    transition: transform var(--transition), color var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== Contact ========== */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.contact-item a,
.contact-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 11px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.925rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

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

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

/* ========== Footer ========== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-logo:hover {
    color: var(--text);
}

.footer-logo i {
    color: var(--primary);
    font-size: 1.4rem;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 1.1rem;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-tertiary);
}

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

/* ========== Auth Pages ========== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--bg-secondary);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 20px;
}

.auth-logo i {
    color: var(--primary);
    font-size: 1.6rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 0.925rem;
    color: var(--text-secondary);
}

.auth-button {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.auth-button.primary {
    background: var(--primary);
    color: var(--text-inverse);
}

.auth-button.primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.auth-button.social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    margin-bottom: 10px;
}

.auth-button.social:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

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

/* ========== Breadcrumbs ========== */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

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

.breadcrumbs .separator {
    color: var(--text-tertiary);
    font-size: 0.7rem;
}

.breadcrumbs .current {
    color: var(--text);
    font-weight: 600;
}

/* ========== Cookie Banner ========== */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    transition: bottom 0.4s ease;
}

.cookie-banner.visible {
    bottom: 0;
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* ========== Animations ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.75rem;
    }

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

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

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

    .hero-visual {
        display: none;
    }

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

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

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 24px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 2px;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius);
    }

    .nav-auth {
        display: none;
    }

    .nav-menu.active ~ .nav-auth {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        display: none;
        background: transparent;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 24px;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

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

    .pricing-card.popular {
        transform: none;
        order: -1;
    }

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

    .contact-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 28px 20px;
    }

    .pricing-card {
        padding: 28px 20px;
    }
}

/* ========== Utility ========== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
