:root {
    --bg-color: #111827;
    --text-primary: #d1d5db; /* softer grey instead of pure white */
    --text-secondary: #9ca3af;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --accent-solid: #6366f1;
    --accent-hover: #4f46e5;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

/* Background Blobs for Glassmorphism Context */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    animation: float 10s infinite ease-in-out alternate;
}
.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(99, 102, 241, 0.15);
}
.blob-2 {
    top: 40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(236, 72, 153, 0.1);
    animation-delay: 2s;
}
.blob-3 {
    bottom: -20%;
    left: 20%;
    width: 700px;
    height: 700px;
    background: rgba(45, 212, 191, 0.1);
    animation-delay: 4s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* Glassmorphism Utilities */
.glass-nav, .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}
.badge {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}
nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}
nav a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn-glow, .btn-primary, .btn-outline, .btn-buy-large, .btn-buy-hero {
    background: #1C1C1C !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.btn-glow:hover, .btn-primary:hover, .btn-outline:hover, .btn-buy-large:hover, .btn-buy-hero:hover {
    background: #2a2a2a !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.btn-glow {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}
.btn-primary {
    display: inline-block;
    background: #1C1C1C;
    color: #ffffff;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: #2a2a2a;
}
.btn-outline {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #1C1C1C;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: #2a2a2a;
}

/* Hero Section */
.hero-section {
    padding: 180px 5% 100px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-label {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-solid);
    margin-bottom: 20px;
    background: rgba(99, 102, 241, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
}
.hero-section h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #a3a3a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Features Section */
.features-section, .autonomous-section, .download-section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    padding: 32px;
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hover-lift:hover {
    transform: translateY(-10px);
}
.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Auto Section */
.auto-content {
    padding: 60px;
    border-radius: 24px;
    text-align: center;
}
.auto-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.auto-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 30px;
}
.tech-stack {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.tech-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #e5e5e5;
}

/* Download Section */
.download-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.download-section p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}
.req-text {
    font-size: 0.85rem !important;
    margin-top: 20px;
    opacity: 0.7;
}

/* Footer */
footer {
    padding: 24px 5%;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.footer-content {
    padding: 20px;
    border-radius: 12px;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
}
.fade-in {
    opacity: 0;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Injected via JS */
.animate {
    animation: fadeUpAnim 0.8s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
}
.animate-in {
    animation: fadeInAnim 1s forwards ease-out;
}

@keyframes fadeUpAnim {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInAnim {
    to { opacity: 1; }
}

/* Mobile Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0 9px;
    z-index: 101;
    align-self: center;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    nav#mainNav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: rgba(17, 24, 39, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--glass-border);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 90px 5% 30px;
        overflow-y: auto;
        z-index: 99;
    }
    nav#mainNav.open {
        transform: translateX(0);
    }
    nav#mainNav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    nav#mainNav ul li {
        width: 100%;
    }
    nav#mainNav ul li a {
        display: block;
        padding: 14px 8px;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--glass-border);
        color: var(--text-primary);
    }
    nav#mainNav ul li a.btn-primary {
        margin-top: 18px;
        text-align: center;
        border: 1px solid var(--accent-solid);
        border-radius: 10px;
    }
    nav#mainNav ul li a.btn-primary:hover {
        background: var(--accent-hover);
        color: #fff;
    }
    .hero-section { padding-top: 120px; }
    .hero-section h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
}

@media (max-width: 768px) {
    .feature-item, .feature-item.reverse {
        flex-direction: column-reverse !important; /* Text on top, image on bottom */
        gap: 20px;
    }
    .feature-item .feature-thumb {
        max-width: 100%;
        width: 100%;
    }
    .feature-item .feature-text {
        width: 100%;
        text-align: center;
    }
}
.feature-thumb {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.feature-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}
#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.1);
}
.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}
.close-btn:hover {
    color: var(--accent-solid);
}

/* Features Grid Layout - 50/50 responsive */
.full-features-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}
.feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-align: left;
}
.feature-item.reverse {
    flex-direction: row-reverse;
}
.feature-item .feature-thumb {
    flex: 1; /* 50% width */
    max-width: 50%;
    height: auto;
    border-radius: 12px;
}
.feature-item .feature-text {
    flex: 1; /* 50% width */
}
.feature-item .feature-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-solid);
}
.feature-item .feature-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .feature-item, .feature-item.reverse {
        flex-direction: column-reverse !important; /* Text on top, image on bottom */
        gap: 20px;
    }
    .feature-item .feature-thumb {
        max-width: 100%;
        width: 100%;
    }
    .feature-item .feature-text {
        width: 100%;
        text-align: center;
    }
}

/* ===== PRICING & BUY SECTION ===== */
.pricing-section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.pricing-card {
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.6);
}

.pricing-badge-top {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.pricing-header h3, .pricing-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 25px auto;
}

.pricing-price-box {
    margin: 25px 0;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.pricing-price-period {
    font-size: 1rem;
    color: #a7f3d0;
    font-weight: 600;
    margin-top: 8px;
}

.platform-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin: 15px 0 30px 0;
}

.platform-notice-icon {
    font-size: 1.1rem;
}

.pro-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    text-align: left;
    max-width: 850px;
    margin: 0 auto 35px auto;
}

.pro-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #f3f4f6;
    font-weight: 500;
}

.pro-feature-icon {
    color: #10b981;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.btn-buy-large {
    display: inline-block;
    width: 100%;
    max-width: 500px;
    padding: 0.8rem 1.8rem;
    background: #1C1C1C !important;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.btn-buy-large:hover {
    transform: translateY(-3px) scale(1.02);
    background: #2a2a2a !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.btn-buy-hero {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    background: #1C1C1C !important;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: all 0.3s ease;
}

.btn-buy-hero:hover {
    background: #2a2a2a !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Steps Grid: How to Buy & Activate */
.activation-steps-wrapper {
    margin-top: 40px;
    text-align: center;
}

.activation-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 25px;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    text-align: left;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.4);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    font-weight: 800;
    font-size: 1.1rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    margin-bottom: 16px;
}

.step-card h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Badges for Hero actions & Platform status */
.btn-disabled-soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    opacity: 0.75;
    transition: all 0.3s ease;
}

.badge-windows-soon {
    background: rgba(234, 179, 8, 0.15);
    color: #fde047;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(234, 179, 8, 0.3);
    font-weight: 700;
    text-transform: uppercase;
}

.badge-macos-active {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-weight: 700;
}

