:root {
    --bg:               #06080f;
    --surface:          rgba(255, 255, 255, 0.04);
    --surface-hover:    rgba(255, 255, 255, 0.07);
    --surface-featured: rgba(59, 130, 246, 0.08);
    --border:           rgba(255, 255, 255, 0.07);
    --border-featured:  rgba(59, 130, 246, 0.35);
    --accent:           #3b82f6;
    --accent-hover:     #2563eb;
    --accent-light:     #60a5fa;
    --accent-glow:      rgba(59, 130, 246, 0.25);
    --text-1:           #f1f5f9;
    --text-2:           #94a3b8;
    --text-3:           #64748b;
    --gold:             #f59e0b;
    --gold-muted:       rgba(245, 158, 11, 0.1);
    --gold-border:      rgba(245, 158, 11, 0.25);
    --font:             'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius:           16px;
    --radius-sm:        8px;
    --max-w:            1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-1);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 15% 5%,  rgba(59, 130, 246, 0.13) 0%, transparent 65%),
        radial-gradient(ellipse 50% 45% at 88% 85%, rgba(29,  78, 216, 0.11) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* ─── NAV ─────────────────────────────────────────────────────────────── */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    background: rgba(6, 8, 15, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

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

/* ─── LOGO ────────────────────────────────────────────────────────────── */

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

.logo span {
    color: var(--accent-light);
}

.logo-sm {
    font-size: 1.05rem;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s;
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px var(--accent-glow);
}

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

.btn-ghost:hover {
    background: var(--surface);
    color: var(--text-1);
    border-color: rgba(255, 255, 255, 0.14);
}

.btn-card {
    background: var(--surface);
    color: var(--text-1);
    border-color: var(--border);
    width: 100%;
}

.btn-card:hover {
    background: var(--surface-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    position: relative;
}

/* ─── HERO ────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.14) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 0.75s ease-out both;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-light);
    letter-spacing: 0.03em;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-light);
    border-radius: 50%;
    animation: pulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.accent-text {
    background: linear-gradient(125deg, var(--accent-light) 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-2);
    line-height: 1.75;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

/* ─── SECTIONS ────────────────────────────────────────────────────────── */

.section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    max-width: var(--max-w);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 0.55rem;
}

.section-header p {
    color: var(--text-2);
    font-size: 1rem;
}

/* ─── PRICING ─────────────────────────────────────────────────────────── */

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

.pricing-card {
    position: relative;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.13);
    transform: translateY(-3px);
}

.pricing-card--featured {
    background: var(--surface-featured);
    border-color: var(--border-featured);
    transform: translateY(-10px);
    box-shadow: 0 0 48px rgba(59, 130, 246, 0.12);
}

.pricing-card--featured:hover {
    transform: translateY(-14px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 64px rgba(59, 130, 246, 0.18);
}

.featured-label {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.28rem 1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.card-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
}

.card-desc {
    font-size: 0.84rem;
    color: var(--text-2);
    line-height: 1.55;
}

.price-block {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.price-old {
    font-size: 0.875rem;
    color: var(--text-3);
    text-decoration: line-through;
}

.price-main {
    display: flex;
    align-items: flex-start;
    gap: 1px;
    line-height: 1;
}

.price-currency {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-2);
    margin-top: 7px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.price-main--custom .price-amount {
    font-size: 2.5rem;
}

.price-plus {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-2);
    margin-top: 12px;
}

.price-label {
    font-size: 0.78rem;
    color: var(--text-3);
    margin-top: 0.1rem;
}

.features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: auto;
}

.features li {
    font-size: 0.865rem;
    color: var(--text-2);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.4;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: 600;
}

/* ─── OFFER BANNER ────────────────────────────────────────────────────── */

.offer-banner {
    position: relative;
    margin-top: 2.5rem;
    padding: 2.25rem 2.5rem;
    background: var(--gold-muted);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
}

.offer-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(245, 158, 11, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.offer-star {
    font-size: 2rem;
    color: var(--gold);
    flex-shrink: 0;
    animation: spin 10s linear infinite;
    position: relative;
}

.offer-content {
    flex: 1;
    position: relative;
}

.offer-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.offer-content p {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.65;
}

.offer-cta {
    flex-shrink: 0;
    position: relative;
}

/* ─── ADD-ONS ─────────────────────────────────────────────────────────── */

.addons-section {
    padding-top: 0;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.85rem;
}

.addon-item {
    padding: 0.9rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-2);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
    cursor: default;
    text-align: center;
}

.addon-item:hover {
    background: var(--surface-hover);
    border-color: rgba(255, 255, 255, 0.13);
    color: var(--text-1);
    transform: translateY(-2px);
}

/* ─── CONTACT ─────────────────────────────────────────────────────────── */

.contact-section {
    padding-top: 0;
    padding-bottom: 4rem;
}

.contact-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 5rem 3rem;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

.contact-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 280px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-card h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    position: relative;
}

.contact-card > p {
    color: var(--text-2);
    font-size: 1rem;
    max-width: 440px;
    line-height: 1.65;
    position: relative;
}

.contact-note {
    font-size: 0.8rem;
    color: var(--text-3);
    position: relative;
}

/* ─── FOOTER ──────────────────────────────────────────────────────────── */

.footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-3);
}

/* ─── ANIMATIONS ──────────────────────────────────────────────────────── */

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

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

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

/* ─── RESPONSIVE ──────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

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

    .pricing-card--featured:hover {
        transform: translateY(-3px);
    }

    .offer-banner {
        flex-direction: column;
        text-align: center;
    }

    .offer-cta {
        width: 100%;
    }

    .footer {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .nav     { padding: 0.75rem 1.25rem; }
    .section { padding: 4rem 1.25rem; }
    .hero    { padding: 4rem 1.25rem; min-height: 88vh; }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
    }

    .contact-card {
        padding: 3rem 1.5rem;
    }

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