:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --primary-color: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary-color: #a855f7;
    --accent-color: #00f2ff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

ul {
    list-style: none;
}

/* Header & Nav */
header {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.header-icon {
    width: 32px;
    height: 32px;
}

.footer-icon {
    width: 40px;
    height: 40px;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

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

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: white;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    background: radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.15), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: inline-block;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

h1 span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.image-wrapper img {
    width: 100%;
    display: block;
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
}

/* Features */
.features {
    padding: 8rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: rgba(255, 255, 255, 0.6);
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 24px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.6);
}

/* Process Section */
.process-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.05), transparent);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(99, 102, 241, 0.2);
    margin-bottom: 1rem;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.process-step p {
    color: rgba(255, 255, 255, 0.6);
}

/* Deep Dive Features */
.features-deep {
    padding: 8rem 0;
}

.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 8rem;
}

.feature-detail.reverse {
    direction: rtl;
}

.feature-detail.reverse .detail-text {
    direction: ltr;
}

.detail-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.detail-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.detail-image img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

/* Mini Cards */
.features-grid-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mini-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    border-radius: 16px;
    transition: var(--transition);
}

.mini-card:hover {
    border-color: var(--primary-color);
}

.mini-card h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.mini-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Demo Section */
.demo-section {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.demo-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.demo-image img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.demo-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.demo-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.check-list li {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* Pricing */
.pricing {
    padding: 8rem 0;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.05), transparent);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.discount {
    background: #22c55e;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 4rem auto 0;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 32px;
    position: relative;
    text-align: center;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    background: rgba(99, 102, 241, 0.02);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price {
    margin: 2rem 0;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.period {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-card ul {
    text-align: left;
    margin-bottom: 2.5rem;
}

.pricing-card li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card .btn {
    width: 100%;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Mega Features Grid */
.features-mega {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.01);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.mega-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: 24px;
    transition: var(--transition);
    text-align: left;
}

.mega-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.mega-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.mega-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Footer */
footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--card-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 0.8rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */

/* Menu Toggle Button (Mobile) */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .feature-detail {
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }

    .menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-left: 1px solid var(--card-border);
    }

    .nav-links.active {
        right: 0;
    }

    nav .btn {
        display: none; /* Hide top CTA on mobile */
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        margin-top: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-detail, .feature-detail.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        text-align: center;
        gap: 2rem;
    }

    .feature-detail .detail-text {
        order: 1;
    }

    .feature-detail .detail-image {
        order: 2;
    }

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

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

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-info .logo {
        justify-content: center;
    }

    /* Animation for burger menu */
    .menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: #0f0f14;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    width: 90%;
    max-width: 450px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    animation: modalAppear 0.3s ease-out;
}

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

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #666;
    font-size: 32px;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover { color: #fff; }

.order-summary {
    background: rgba(255,255,255,0.03);
    padding: 24px;
    border-radius: 16px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}

#plan-name { color: #888; font-size: 0.9rem; margin-bottom: 5px; }
.price-display {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 10px; color: #aaa; font-size: 0.9rem; }
.form-group input {
    width: 100%;
    padding: 14px;
    background: #050507;
    border: 1px solid #222;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus { border-color: #6366f1; }

.promo-section { margin-bottom: 30px; }
.promo-section label { display: block; margin-bottom: 10px; color: #888; font-size: 0.85rem; }
.promo-input-group { display: flex; gap: 10px; }
.promo-input-group input {
    flex: 1;
    padding: 12px;
    background: #050507;
    border: 1px solid #222;
    border-radius: 10px;
    color: white;
    text-transform: uppercase;
}

.promo-input-group button {
    padding: 0 20px;
    background: #222;
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.promo-input-group button:hover { background: #333; }

.payment-methods { display: flex; flex-direction: column; gap: 12px; }
.btn-payment {
    padding: 16px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-payment.stripe { background: #635bff; color: white; }
.btn-payment.paypal { background: #ffc439; color: #003087; }
.btn-payment:hover { transform: translateY(-2px); filter: brightness(1.1); }

.security-note { text-align: center; font-size: 0.8rem; color: #555; margin-top: 20px; }
#promo-message { margin-top: 8px; font-size: 0.85rem; text-align: center; }
.promo-success { color: #22c55e; }
.promo-error { color: #ef4444; }
