/* ═══════════════════════════════════════════════════════════
   ONEGUARD VPN — СБЕР-СТИЛЬ v6.0
   Зелёный, чистый, анимированный
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Onest:wght@400;500;600;700;800&display=swap');

:root {
    /* Сберовские цвета */
    --green-100: #E8F5E9;
    --green-200: #C8E6C9;
    --green-300: #A5D6A7;
    --green-400: #66BB6A;
    --green-500: #21A038;
    --green-600: #1E8E33;
    --green-700: #1B7D2E;
    --green-800: #166B27;
    --green-900: #0D4A1A;
    
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    --gradient-main: linear-gradient(135deg, #21A038 0%, #1E8E33 50%, #166B27 100%);
    --gradient-light: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    --gradient-hero: linear-gradient(180deg, #FFFFFF 0%, #E8F5E9 100%);
    
    --shadow-sm: 0 2px 8px rgba(33, 160, 56, 0.08);
    --shadow-md: 0 4px 20px rgba(33, 160, 56, 0.12);
    --shadow-lg: 0 8px 40px rgba(33, 160, 56, 0.16);
    --shadow-xl: 0 16px 60px rgba(33, 160, 56, 0.2);
    --shadow-green: 0 8px 32px rgba(33, 160, 56, 0.35);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Onest', 'Manrope', 'SF Pro Display', 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

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

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

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

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--green-100);
    padding: 14px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 800;
    font-size: 22px;
    transition: transform 0.3s ease;
}

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

.logo img {
    height: 42px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.logo span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    color: var(--gray-700);
    text-decoration: none;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--green-600);
    background: var(--green-100);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--green-500);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 30px;
}

nav a.btn {
    padding: 12px 20px;
    font-weight: 700;
}

nav a.btn::after {
    display: none;
}

nav a.btn:hover {
    color: var(--white);
    background: var(--gradient-main);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    border: none;
    background: transparent;
    color: inherit;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: background 0.3s ease;
}

.burger:hover {
    background: var(--green-100);
}

.burger:focus-visible {
    outline: 2px solid rgba(24, 169, 86, 0.45);
    outline-offset: 2px;
}

.burger span {
    width: 24px;
    height: 2.5px;
    background: var(--green-600);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(33, 160, 56, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--green-600);
    border: 2px solid var(--green-500);
}

.btn-secondary:hover {
    background: var(--green-100);
    border-color: var(--green-600);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 17px;
    border-radius: var(--radius-xl);
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */

.hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

/* Декоративные круги */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--green-200) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--green-100) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--green-200);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    color: var(--green-700);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    animation: fadeInScale 0.6s ease-out 0.2s backwards;
}

.hero-badge .dot {
    width: 10px;
    height: 10px;
    background: var(--green-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--green-400);
}

.hero h1 {
    font-size: clamp(38px, 6vw, 62px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--gray-900);
    letter-spacing: -1px;
}

.hero h1 .highlight {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: -28px auto 28px;
    max-width: 860px;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--apple-line);
    color: var(--green-700);
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    padding: 9px 14px;
    backdrop-filter: blur(8px);
}

.hero-trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 0 5px rgba(24, 169, 86, 0.14);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    min-height: 168px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--green-400);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.stat-value {
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 800;
    color: var(--green-600);
    margin-bottom: 4px;
    line-height: 1.25;
    word-break: break-word;
}

.stats-grid .stat-card:nth-child(4) .stat-value {
    font-size: 16px;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════ */

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-light);
    color: var(--green-700);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--green-200);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

.section-title .green {
    color: var(--green-500);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 500px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════ */

.features-section {
    background: var(--gray-50);
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--green-300);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-light);
    border: 1px solid var(--green-200);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-main);
    border-color: transparent;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   STEPS
   ═══════════════════════════════════════════════════════════ */

.steps-section {
    background: var(--white);
}

/* Comparison */
.comparison-section {
    background: linear-gradient(180deg, #ffffff 0%, #f3faf6 100%);
}

.comparison-grid {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.compare-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--apple-line);
    border-radius: 22px;
    padding: 26px;
}

.compare-card-muted {
    background: rgba(255, 255, 255, 0.74);
}

.compare-card-focus {
    border: 1px solid rgba(24, 169, 86, 0.4);
}

.compare-head {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #0f172a;
}

.compare-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.compare-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(226, 234, 242, 0.75);
}

.compare-list li:last-child {
    border-bottom: none;
}

.compare-list .bad,
.compare-list .good {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.compare-list .good {
    color: #166534;
    background: #dcfce7;
}

.compare-list .bad {
    color: #991b1b;
    background: #fee2e2;
}

.compare-footer {
    margin-top: 16px;
}

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

.steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 2px;
    opacity: 0.3;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-main);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-green);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.step:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(33, 160, 56, 0.5);
}

.step h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.step p {
    font-size: 14px;
    color: var(--gray-600);
}

/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */

.pricing-section {
    background: var(--gradient-hero);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--green-400);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border: 3px solid var(--green-500);
    background: linear-gradient(180deg, var(--green-100) 0%, var(--white) 30%);
    transform: scale(1.05);
    box-shadow: var(--shadow-green);
}

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

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.price {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0 8px;
    line-height: 1;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
}

.price-period {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 28px;
}

.price-period .save {
    color: var(--green-600);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    width: 22px;
    height: 22px;
    background: var(--green-100);
    color: var(--green-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #FEF9C3 0%, #FEF3C7 50%, #FDE68A 100%);
    border: 2px dashed #F59E0B;
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    animation: pulse 3s ease-in-out infinite;
}

.promo-banner::before {
    content: '🎁';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 80px;
    opacity: 0.1;
}

.promo-banner h3 {
    font-size: 22px;
    color: #92400E;
    margin-bottom: 8px;
    position: relative;
}

.promo-banner p {
    font-size: 15px;
    color: #B45309;
    margin: 0;
    position: relative;
}

.promo-code {
    display: inline-block;
    background: var(--white);
    color: #D97706;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 20px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    margin: 0 8px;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
}

/* Payment Methods */
.payment-methods {
    text-align: center;
}

.pm-title {
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.pm-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pm-icon {
    width: 80px;
    height: 50px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: all 0.3s ease;
}

.pm-icon:hover {
    border-color: var(--green-400);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.pm-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */

.faq-section {
    background: var(--white);
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-item.active {
    border-color: var(--green-500);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    color: var(--gray-900);
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

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

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--green-100);
    color: var(--green-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--green-500);
    color: var(--white);
    transform: rotate(45deg);
}

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

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

.faq-answer-inner {
    padding: 0 28px 24px;
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 30px;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo span {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--green-400);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--green-400);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    color: var(--gray-500);
    font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 1160px) {
    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 860px;
    }
}

@media (max-width: 768px) {
    section { padding: 70px 0; }
    
    .hero { padding-top: 100px; }

    body.nav-open {
        overflow: hidden;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 16px 20px;
        padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
        border-bottom: 1px solid var(--green-200);
        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease;
        box-shadow: var(--shadow-lg);
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    nav a {
        width: 100%;
        text-align: center;
        padding: 16px;
        border-radius: var(--radius-md);
    }

    nav a.btn {
        margin-top: 4px;
    }
    
    nav a::after { display: none; }
    
    .burger { display: flex; }
    
    .hero-buttons { flex-direction: column; padding: 0 20px; }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid .stat-card:nth-child(5) {
        grid-column: span 2;
    }
    
    .features-grid,
    .pricing-grid,
    .steps,
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .steps::before { display: none; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col a:hover { padding-left: 0; }
    
    .pm-icon {
        width: 64px;
        height: 42px;
    }

    .hero-trust {
        margin-top: -20px;
        margin-bottom: 20px;
    }

    .hero-trust-item {
        font-size: 12px;
        padding: 8px 12px;
    }

    .hero-subtitle {
        font-size: 17px;
        line-height: 1.55;
    }
}

/* SVG Icon Boxes */
.stat-icon-box {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #21A038, #166B27);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 16px rgba(33, 160, 56, 0.25);
}

.stat-icon-box svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border: 1px solid #A5D6A7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: #21A038;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #21A038, #166B27);
    border-color: transparent;
    transform: scale(1.1) rotate(5deg);
}

.feature-card:hover .feature-icon svg {
    stroke: #fff;
}

/* ═══════════════════════════════════════════════════════════
   APPLE + SBER REFINEMENT LAYER
   ═══════════════════════════════════════════════════════════ */

:root {
    --apple-text: #111827;
    --apple-muted: #667085;
    --apple-line: #E5EAF1;
    --apple-surface: rgba(255, 255, 255, 0.78);
    --apple-hero:
        radial-gradient(1200px 480px at 8% -20%, rgba(24, 169, 86, 0.14), transparent 55%),
        radial-gradient(900px 420px at 94% 12%, rgba(21, 163, 79, 0.12), transparent 50%),
        linear-gradient(180deg, #f8fcfa 0%, #eff9f3 36%, #ffffff 100%);
    --green-500: #18A956;
    --green-600: #148B45;
    --green-700: #106D36;
    --gradient-main: linear-gradient(140deg, #18A956 0%, #158A45 52%, #106D36 100%);
    --shadow-soft: 0 20px 46px rgba(10, 41, 24, 0.1);
}

body {
    color: var(--apple-text);
    background:
        radial-gradient(900px 450px at 5% -10%, rgba(24, 169, 86, 0.08), transparent 56%),
        radial-gradient(840px 460px at 96% 6%, rgba(24, 169, 86, 0.06), transparent 58%),
        #f9fbfd;
}

header {
    background: rgba(250, 253, 251, 0.82);
    border-bottom: 1px solid rgba(229, 234, 241, 0.9);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.hero {
    background: var(--apple-hero);
}

.hero h1,
.section-title {
    letter-spacing: -1.2px;
}

.hero-subtitle,
.section-subtitle,
.feature-card p,
.faq-answer-inner {
    color: var(--apple-muted);
}

.stat-card,
.feature-card,
.pricing-card,
.faq-item {
    background: var(--apple-surface);
    border: 1px solid var(--apple-line);
    box-shadow: 0 10px 30px rgba(14, 36, 27, 0.06);
    backdrop-filter: blur(10px);
}

.feature-card:hover,
.pricing-card:hover,
.faq-item.active {
    box-shadow: var(--shadow-soft);
}

.btn {
    border-radius: 14px;
    font-weight: 700;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    box-shadow: 0 10px 28px rgba(24, 169, 86, 0.32);
}

.btn-secondary {
    border: 1px solid rgba(20, 139, 69, 0.38);
    color: var(--green-700);
    background: rgba(255, 255, 255, 0.95);
}

.pwa-install-container {
    margin-top: 20px;
}

.pwa-install-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(24, 169, 86, 0.12);
    border: 1px solid rgba(24, 169, 86, 0.5);
    padding: 12px 24px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.pwa-install-btn:hover {
    transform: translateY(-2px);
    background: rgba(24, 169, 86, 0.18);
    box-shadow: 0 10px 24px rgba(24, 169, 86, 0.18);
}

.pwa-emoji {
    font-size: 22px;
}

.pwa-text {
    text-align: left;
}

.pwa-title {
    color: var(--green-600);
    font-weight: 800;
    font-size: 14px;
}

.pwa-subtitle {
    color: var(--apple-muted);
    font-size: 12px;
}

.roadmap-section {
    background: linear-gradient(180deg, #f3faf6 0%, #ffffff 100%);
}

.roadmap-head {
    text-align: center;
    margin-bottom: 56px;
}

.roadmap-kicker {
    color: var(--green-500);
    font-weight: 800;
    letter-spacing: 1.8px;
    font-size: 12px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.roadmap-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    margin: 0;
    color: #0f172a;
}

.roadmap-title span {
    color: var(--green-500);
}

.roadmap-subtitle {
    color: var(--apple-muted);
    margin-top: 14px;
    font-size: 18px;
}

.roadmap-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}

.roadmap-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e2eaf2;
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.roadmap-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: #cfe4d8;
}

.roadmap-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    color: #1f2937;
}

.roadmap-card p {
    margin: 0;
    color: var(--apple-muted);
    font-size: 15px;
    line-height: 1.55;
}

.roadmap-card-featured {
    background: linear-gradient(135deg, #e7f8ed 0%, #f6fcf8 100%);
    border: 2px solid #86d2a8;
}

.roadmap-date {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 8px;
}

.roadmap-date-hot {
    color: var(--green-600);
    font-weight: 800;
}

.promo-banner-hot {
    background: linear-gradient(135deg, #db1e30 0%, #b81d2b 100%);
    border: none;
    animation: none;
    margin-bottom: 32px;
}

.promo-banner-hot h3 {
    color: #fff;
    margin: 0;
}

.promo-banner-hot p {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
}

.promo-chip {
    background: #fff;
    color: #db1e30;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 23px;
    font-weight: 800;
}

.pricing-note {
    text-align: center;
    margin: 40px 0;
    padding: 24px;
    background: linear-gradient(135deg, #f0fbf5, #dff6e9);
    border-radius: 16px;
    border: 1px dashed #90dcb3;
}

.pricing-note p {
    margin: 0 0 12px;
    font-size: 15px;
    color: #196d3d;
}

.pricing-note-code {
    display: inline-block;
    background: var(--gradient-main);
    color: #fff;
    padding: 10px 28px;
    border-radius: 10px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: 0 6px 16px rgba(24, 169, 86, 0.3);
}

.old-price {
    font-size: 18px;
    color: #98a2b3;
    text-decoration: line-through;
    margin-top: 12px;
    font-weight: 600;
}

.logo-section {
    padding: 76px 0;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-top: 1px solid #eef2f7;
}

.logo-section-image {
    width: 112px;
    height: 112px;
    margin-bottom: 18px;
    filter: drop-shadow(0 12px 28px rgba(24, 169, 86, 0.2));
}

.logo-section-title {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}

.logo-section-subtitle {
    color: var(--apple-muted);
    font-size: 16px;
    margin: 0;
}

footer {
    background: #121a23;
}

@media (max-width: 768px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
    .pwa-install-btn {
        width: 100%;
        justify-content: center;
    }
    .pwa-text {
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   INTERACTIVE MOTION LAYER
   ═══════════════════════════════════════════════════════════ */

.fx-orb-bg {
    position: relative;
    overflow-x: hidden;
}

.fx-orb-bg::before,
.fx-orb-bg::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.45;
    animation: og-orb-drift 18s ease-in-out infinite;
}

.fx-orb-bg::before {
    width: 360px;
    height: 360px;
    left: -120px;
    top: 8vh;
    background: radial-gradient(circle at 30% 30%, rgba(24, 169, 86, 0.26), rgba(24, 169, 86, 0));
}

.fx-orb-bg::after {
    width: 300px;
    height: 300px;
    right: -90px;
    top: 56vh;
    animation-delay: -8s;
    background: radial-gradient(circle at 35% 35%, rgba(118, 255, 169, 0.25), rgba(33, 160, 56, 0));
}

@keyframes og-orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -18px) scale(1.05); }
    66% { transform: translate(-26px, 22px) scale(0.95); }
}

.reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    transition: opacity 0.75s cubic-bezier(0.2, 0.75, 0.25, 1), transform 0.75s cubic-bezier(0.2, 0.75, 0.25, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

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

.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.26s ease, box-shadow 0.26s ease;
    will-change: transform;
}

.tilt-card:hover {
    box-shadow: 0 18px 38px rgba(14, 36, 27, 0.16);
}

.magnetic {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

.glow-border {
    position: relative;
}

.glow-border::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    z-index: -1;
    background: linear-gradient(120deg, rgba(24, 169, 86, 0.38), rgba(132, 255, 189, 0.26), rgba(24, 169, 86, 0.4));
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.glow-border:hover::after {
    opacity: 1;
}

.pulse-dot {
    position: relative;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 1px solid rgba(24, 169, 86, 0.45);
    animation: og-pulse-ring 1.8s ease-out infinite;
}

@keyframes og-pulse-ring {
    0% { transform: scale(0.85); opacity: 0.8; }
    80% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .fx-orb-bg::before,
    .fx-orb-bg::after,
    .pulse-dot::after {
        animation: none;
    }
    .reveal,
    .tilt-card,
    .magnetic {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* Floating mobile CTA */
.floating-cta {
    position: fixed;
    left: 50%;
    bottom: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(680px, calc(100% - 24px));
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(229, 234, 241, 0.9);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(14px);
    z-index: 1200;
    display: none;
    gap: 8px;
}

.floating-cta a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 14px;
    text-align: center;
}

.floating-cta-main {
    flex: 1;
    color: #fff;
    background: var(--gradient-main);
}

.floating-cta-side {
    min-width: 110px;
    color: var(--green-700);
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

@media (max-width: 880px) {
    body.has-floating-cta {
        padding-bottom: 88px;
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }
    .floating-cta {
        display: flex;
    }
}
