:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #a855f7;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --card-bg: rgba(30, 41, 59, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-height: 80px;
}

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

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

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

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

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

/* Navbar */
.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    background: #4f46e5;
}

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

.btn-secondary:hover {
    background: var(--glass-border);
}

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

.btn-ghost:hover {
    color: white;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.full-width { width: 100%; }

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

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

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    border-top: 1px solid var(--glass-border);
    padding-top: 32px;
}

.stat {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat strong {
    display: block;
    color: var(--text-main);
    font-size: 1.2rem;
}

.hero-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    padding: 8px;
    background: linear-gradient(135deg, var(--glass-border), transparent);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 16px;
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    z-index: -1;
    opacity: 0.5;
}

/* Features */
.features {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

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

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

.feature-card {
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.3s;
}
/* 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.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: rgba(15, 15, 25, 0.95);
    margin: 10% auto;
    padding: 3rem;
    border: 1px solid var(--glass-border);
    width: 400px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalFade 0.4s ease-out;
}

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

.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--text-dim);
    font-size: 28px;
    cursor: pointer;
}

.modal h2 { margin-bottom: 0.5rem; text-align: center; }
.modal p { color: var(--text-dim); text-align: center; margin-bottom: 2rem; font-size: 0.9rem; }

.input-group { margin-bottom: 1.5rem; }
.input-group label { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--text-dim); }
.input-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    outline: none;
}

.full-width { width: 100%; margin-top: 1rem; }
.modal-footer { margin-top: 2rem; text-align: center; font-size: 0.85rem; color: var(--text-dim); }
.modal-footer a { color: var(--primary); text-decoration: none; }

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

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

.feature-card p {
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: radial-gradient(circle at bottom, var(--bg-dark), var(--bg-darker));
}

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

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

.pricing-card.featured {
    padding: 64px 32px;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

.popular-badge {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 24px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-list {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-list li {
    padding: 12px 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border);
}

/* CTA */
.cta {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-darker), var(--primary));
    margin-top: 100px;
}

.cta h2 { font-size: 3.5rem; margin-bottom: 16px; }
.cta p { font-size: 1.25rem; opacity: 0.8; margin-bottom: 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; }

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

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

.footer-brand p {
    margin-top: 20px;
    color: var(--text-muted);
    max-width: 250px;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Mobile Responsive */
@media (max-width: 992px) {
    h1 { font-size: 3.5rem; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-btns, .hero-stats { justify-content: center; }
    .hero-content p { margin: 0 auto 40px; }
    .feature-grid, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
