/* ===== BASE RESET & VARIABLES ===== */
:root {
    --color-bg: #030712; /* Deep slate / black */
    --color-bg-light: #0f172a;
    --color-emerald: #10b981;
    --color-emerald-glow: rgba(16, 185, 129, 0.4);
    --color-purple: #8b5cf6;
    --color-purple-glow: rgba(139, 92, 246, 0.4);
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-glass: rgba(255, 255, 255, 0.03);
    --color-glass-border: rgba(255, 255, 255, 0.05);
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-title: 'Outfit', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs (Glows) */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

.glow-emerald {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--color-emerald-glow);
}

.glow-purple {
    top: 40%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--color-purple-glow);
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    100% { transform: scale(1.1) translate(5%, 5%); opacity: 0.6; }
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Glassmorphism Card */
.glass-card {
    background: var(--color-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-emerald), #059669);
    color: white;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.4);
}

/* ===== NAVBAR ===== */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-glass-border);
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

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

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

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

.hero-text h1 {
    font-family: var(--font-title);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

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

.hero-image {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px var(--color-emerald-glow));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 8rem 0;
    text-align: center;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-emerald);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.glass-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.glass-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 8rem 0;
    text-align: center;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 450px;
}

.pricing-card.highlight {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(3, 7, 18, 0) 100%);
    border-color: rgba(16, 185, 129, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.1);
}

.pricing-card.highlight:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--color-emerald);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-emerald);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.plan-price {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

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

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

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

.plan-features li svg {
    color: var(--color-emerald);
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--color-glass-border);
    padding: 4rem 0;
    text-align: center;
    color: var(--color-text-muted);
}

footer .logo {
    justify-content: center;
    margin-bottom: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text p {
        margin: 0 auto 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.highlight {
        transform: scale(1);
    }
    .pricing-card.highlight:hover {
        transform: translateY(-5px);
    }
}

/* Animation Classes for JS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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