:root {
    --bg: #05050A; /* Deep cyber dark scheme */
    --bg-surface: rgba(20, 20, 30, 0.6);
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #8b5cf6; /* neon purple */
    --accent: #2dd4bf; /* teal cyan */
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(5, 5, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.icon-gradient {
    color: var(--primary);
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.02);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.w-100 {
    width: 100%;
}

/* Utilities */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    gap: 4rem;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 9999px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

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

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

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Glow behind image */
.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, rgba(5,5,10,0) 70%);
    z-index: -1;
    filter: blur(50px);
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(45, 212, 191, 0.1);
    animation: float 6s ease-in-out infinite;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Features */
.features {
    padding: 6rem 5%;
    max-width: 1280px;
    margin: 0 auto;
}

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

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

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 40px rgba(139, 92, 246, 0.1);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(139, 92, 246, 0.2);
}

.feature-icon i {
    width: 1.75rem;
    height: 1.75rem;
}

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

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

/* Footer / Plans */
.footer-plans {
    background: linear-gradient(to bottom, var(--bg), #080512);
    padding: 6rem 5% 2rem;
    border-top: 1px solid var(--border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 5rem;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, rgba(20,20,30,0.8) 100%);
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.25);
}

/* Desktop override for popular card scale */
@media (min-width: 901px) {
    .pricing-card.popular {
        transform: scale(1.05);
    }
    .pricing-card.popular:hover {
        transform: scale(1.07) translateY(-5px);
    }
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-main);
}

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

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-features li i {
    color: var(--accent);
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

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

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    .hero p {
        margin: 0 auto 2.5rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.75rem;
    }
    .hero-image {
        margin-top: 2rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none; /* simple mobile nav for now */
    }
    .hero h1 {
        font-size: 2.25rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .btn {
        width: 100%;
    }
    .pricing-card {
        padding: 2.5rem 1.5rem;
    }
}
