:root {
    --primary-dark: #0a0a23;
    --secondary-dark: #1b1b32;
    --accent-purple: #8b5cf6;
    --accent-neon: #d946ef;
    --action-green: #10b981;
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

/* Background Animated Lines */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, var(--secondary-dark), var(--primary-dark));
    overflow: hidden;
}

.line {
    position: absolute;
    width: 2px;
    height: 100vh;
    background: linear-gradient(to bottom, transparent, var(--accent-purple), transparent);
    opacity: 0.3;
    filter: blur(2px);
    animation: flow 8s infinite linear;
}

.line-curved {
    position: absolute;
    stroke: var(--accent-neon);
    fill: none;
    stroke-width: 1;
    opacity: 0.2;
    filter: drop-shadow(0 0 5px var(--accent-neon));
    animation: wave 15s infinite ease-in-out;
}

@keyframes flow {
    0% { transform: translateY(-100%) rotate(45deg); }
    100% { transform: translateY(100%) rotate(45deg); }
}

@keyframes wave {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(50px, -30px); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 35, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--accent-neon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    color: var(--accent-neon);
    -webkit-text-fill-color: var(--accent-neon);
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}

.nav-cta {
    background: var(--action-green);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    background: #0ea171;
}

/* Pulsing Glow for Action Buttons */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-primary {
    animation: pulseGlow 2s infinite;
}

/* Hero Section */
.hero {
    padding: 180px 10% 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    min-height: 100vh;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--accent-neon);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--action-green);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-secondary {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-5px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-purple);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
}

/* Features Grid */
.features {
    padding: 100px 10%;
    background: white;
    color: #000;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #64748b;
}

/* CTA Download */
.download-section {
    padding: 120px 10%;
    text-align: center;
    background: linear-gradient(to bottom, #fff, #f0f9ff);
    color: #000;
}

.download-box {
    background: var(--primary-dark);
    color: white;
    padding: 5rem;
    border-radius: 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.download-box h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    flex: 1;
    transition: 0.3s;
}

.download-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--action-green);
}

.download-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.download-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

footer {
    padding: 4rem 10%;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-dark);
}

footer p {
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* ===========================
   PRICING SECTION
   =========================== */
.pricing-section {
    padding: 100px 10%;
    background: var(--primary-dark);
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1400px;
}

@keyframes goldShimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.pricing-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.35s ease;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-purple);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(217, 70, 239, 0.1));
    border: 2px solid var(--accent-purple);
    transform: scale(1.04);
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.3);
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-8px);
}

.pricing-card.lifetime-card {
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(217,119,6,0.08));
    border: 2px solid rgba(245,158,11,0.5);
    box-shadow: 0 20px 50px rgba(245,158,11,0.2), 0 0 0 1px rgba(245,158,11,0.1);
    position: relative;
    overflow: hidden;
}

.pricing-card.lifetime-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #f59e0b, #fbbf24, #f59e0b, transparent);
    background-size: 200% auto;
    animation: goldShimmer 3s linear infinite;
}

.pricing-card.lifetime-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 30px 60px rgba(245,158,11,0.35), 0 0 0 1px rgba(245,158,11,0.2);
    transform: translateY(-8px);
}

.plan-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-neon));
    color: white;
    padding: 4px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.plan-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.plan-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--action-green);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features-list {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.plan-features-list li {
    font-size: 0.9rem;
    color: #cbd5e1;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.plan-features-list li.dim {
    opacity: 0.4;
}

.plan-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.3px;
}

.plan-btn-primary {
    background: var(--action-green);
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
    animation: pulseGlow 2.5s infinite;
}

.plan-btn-primary:hover {
    background: #0ea171;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
}

.plan-btn-secondary {
    background: rgba(255,255,255,0.07);
    color: white;
    border: 1px solid rgba(255,255,255,0.15);
}

.plan-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

/* ===========================
   REGISTRATION MODAL
   =========================== */
.reg-modal-box {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 28px;
    padding: 2.5rem;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    color: white;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
    animation: slideUpModal 0.35s ease-out;
}

@keyframes slideUpModal {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes bounceIn {
    0%   { transform: scale(0.3); opacity: 0; }
    50%  { transform: scale(1.1); }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1);   opacity: 1; }
}

.reg-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.reg-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.reg-field label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reg-field input,
.reg-field select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.reg-field input:focus,
.reg-field select:focus {
    border-color: var(--action-green);
    background: rgba(16, 185, 129, 0.08);
}

.reg-field select option {
    background: #1e293b;
    color: white;
}

/* Processing spinner */
.reg-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid var(--action-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

.progress-step {
    font-size: 0.9rem;
    color: #94a3b8;
    padding: 0.5rem 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .pricing-card.featured {
        transform: scale(1);
        order: -1;
    }
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    .reg-form-grid {
        grid-template-columns: 1fr;
    }
    .reg-modal-box {
        padding: 1.5rem;
        border-radius: 20px;
    }
}
