:root {
    --bg-body: #0F172A;
    /* Slate 900 */
    --bg-surface: #1E293B;
    /* Slate 800 */
    --primary: #10B981;
    /* Emerald Green */
    --primary-glow: rgba(16, 185, 129, 0.5);
    --secondary: #94A3B8;
    /* Slate 400 */
    --text-main: #F8FAFC;
    /* Slate 50 */
    --accent: #34D399;
    /* Mint Green */
    --accent-glow: rgba(52, 211, 153, 0.5);
    --border: #334155;
    --success: #10B981;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--secondary);
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.7);
}

.btn-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    /* Emerald Green */
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-primary.btn-large,
.btn-success.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    text-align: left;
}

/* Glowing Background Grid */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
}

/* Radial Glow */
.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    /* Match user mockup if needed, but horizontal usually better. Keeping existing structure but button color changed */
    gap: 1rem;
    align-items: flex-start;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.hero-img {
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

/* Features - Full Dark Mode */
.features {
    background: var(--bg-body);
    position: relative;
    border-top: 1px solid var(--border);
}

.features h2 {
    color: var(--text-main);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.feature-showcase {
    display: flex;
    align-items: center;
    gap: 5rem;
    padding: 6rem 0;
}

.feature-showcase.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-text p {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1.05rem;
}

.feature-list i {
    color: #10B981;
    /* Keep the Green Tech accent */
    background: rgba(16, 185, 129, 0.1);
    padding: 8px;
    border-radius: 6px;
}

.feature-img {
    flex: 1;
    position: relative;
}

.feature-img img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    /* Subtle Green Border */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.1);
    /* Subtle Green Glow */
    transition: all 0.5s ease;
}

.feature-img:hover img {
    border-color: #10B981;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.3);
    transform: scale(1.02);
}

/* Subtle accent line on features */
.feature-text::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #10B981;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

/* Pricing */
.pricing-section {
    padding: 6rem 0;
    background: #0B1120;
    /* Darker bg for contrast */
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pricing-section h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.pricing-subtitle {
    color: var(--secondary);
    margin-bottom: 4rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: left;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(160deg, var(--bg-surface), rgba(59, 130, 246, 0.1));
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
}

.card-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.period {
    color: var(--secondary);
    font-size: 1rem;
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
    color: var(--secondary);
    align-items: center;
}

.features-list i {
    color: var(--primary);
}

.features-list li.disabled {
    opacity: 0.5;
}

.features-list li.disabled i {
    color: var(--secondary);
}

/* Download CTA */
.download-cta {
    padding: 6rem 0;
    text-align: center;
    background: radial-gradient(circle at center, #1e293b 0%, var(--bg-body) 100%);
}

.download-cta h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.download-cta p {
    color: var(--secondary);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Install Guide - Dark Version */
.install-guide {
    background: var(--bg-surface) !important;
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.install-guide h2 {
    color: white !important;
}

.install-guide p {
    color: var(--secondary) !important;
}

.install-guide .icon {
    background: rgba(59, 130, 246, 0.1) !important;
    color: var(--primary) !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.step h3 {
    color: var(--text-main) !important;
}

/* Footer */
footer {
    padding: 3rem 0;
    background: #020617;
    border-top: 1px solid var(--border);
    color: var(--secondary);
    text-align: center;
}

/* Mobile & Responsive */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-img {
        max-width: 100%;
        transform: none;
    }

    .hero-img:hover {
        transform: none;
    }

    .feature-showcase,
    .feature-showcase.reverse {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .feature-list li {
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: white;
        cursor: pointer;
    }
}

.menu-toggle {
    display: none;
}

/* Hidden on desktop */