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

:root {
    --primary: #5865F2;
    --primary-dark: #4752C4;
    --primary-light: #7289DA;
    --accent: #57F287;
    --accent-dark: #3BA55C;
    --accent-glow: rgba(87, 242, 135, 0.3);
    --warning: #FEE75C;
    --bg-darkest: #060610;
    --bg-dark: #0a0a1a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(15, 15, 35, 0.7);
    --text: #ffffff;
    --text-secondary: #b8bcd0;
    --text-muted: #6b6f85;
    --border: rgba(255, 255, 255, 0.06);
    --border-active: rgba(88, 101, 242, 0.4);
    --gradient-hero: linear-gradient(135deg, #5865F2 0%, #9B59B6 50%, #57F287 100%);
    --gradient-btn: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    --gradient-accent: linear-gradient(135deg, #57F287 0%, #3BA55C 100%);
    --gradient-premium: linear-gradient(135deg, #F5A623 0%, #F7DC6F 100%);
    --shadow-glow: 0 0 60px rgba(88, 101, 242, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-darkest);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

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

.bg-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(88, 101, 242, 0.12);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.bg-orb.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(87, 242, 135, 0.08);
    bottom: 10%;
    right: -10%;
    animation-delay: -7s;
}

.bg-orb.orb-3 {
    width: 400px;
    height: 400px;
    background: rgba(155, 89, 182, 0.08);
    top: 40%;
    left: 40%;
    animation-delay: -14s;
}

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

.bg-grid-overlay {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ===== NAV ===== */
nav {
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(24px) saturate(1.2);
    background: rgba(6, 6, 16, 0.75);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

nav.scrolled {
    padding: 10px 0;
    background: rgba(6, 6, 16, 0.95);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-btn);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    -webkit-text-fill-color: white;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-btn);
    color: white;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.5);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::after { opacity: 1; }

.btn-accent {
    background: var(--gradient-accent);
    color: #0a0a1a;
    box-shadow: 0 4px 20px rgba(87, 242, 135, 0.25);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(87, 242, 135, 0.45);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: var(--text);
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.03);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(88, 101, 242, 0.1);
    transform: translateY(-2px);
}

.btn-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-active);
    transform: translateY(-2px);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(87, 242, 135, 0.1);
    border: 1px solid rgba(87, 242, 135, 0.2);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 .gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 44px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 80px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat { text-align: center; }

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

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

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

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

.cta-card {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.12) 0%, rgba(87, 242, 135, 0.06) 100%);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

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

/* ===== FEATURES ===== */
.features { padding: 120px 0; }

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    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: 2px;
    background: var(--gradient-btn);
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.15);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 120px 0; }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

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

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(88, 101, 242, 0.1);
    border: 2px solid rgba(88, 101, 242, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== PRICING ===== */
.pricing { padding: 120px 0; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.price-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(88, 101, 242, 0.08) 0%, var(--bg-card) 100%);
    transform: scale(1.03);
}

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

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-btn);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.price-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.price-sub {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.price-amount {
    font-size: 3.2rem;
    font-weight: 900;
    margin: 24px 0 4px;
    letter-spacing: -2px;
}

.price-amount .currency {
    font-size: 1.3rem;
    vertical-align: super;
    font-weight: 700;
}

.price-amount .period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0;
}

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

.price-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

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

.price-features .check {
    color: var(--accent);
    font-weight: bold;
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border);
    padding: 48px 0;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .features-grid, .pricing-grid, .steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        justify-content: center;
    }

    .price-card.popular { transform: scale(1); }
    .hero-stats { gap: 32px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .footer-content { flex-direction: column; text-align: center; }
}
