/* Variables & Reset */
:root {
    /* Palette - Dark Premium */
    --bg-main: #0b0b0f;
    --bg-secondary: #121216;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;

    /* Accent Colors */
    --accent-primary: #3b82f6;
    /* Royal Blueish */
    --accent-glow: rgba(59, 130, 246, 0.5);
    --accent-secondary: #14b8a6;
    /* Teal */

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 12px;

    /* Spacing */
    --container-width: 1200px;
    --section-spacing: 120px;

    /* Transitions */
    --transition-fast: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

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

.text-muted {
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-celeste {
    background: transparent;
    border: 2px solid #38bdf8;
    /* Celeste */
    color: #fff;
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.btn-celeste:hover {
    background: #38bdf8;
    color: #000;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

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

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-primary);
}

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

.btn-text:hover {
    color: var(--text-primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(11, 11, 15, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo .dot {
    color: var(--accent-primary);
}

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

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 100px;
    /* Added to prevent navbar overlap */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #0b0b0f 100%);
    /* Placeholder for video */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-main) 90%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-video-wrapper {
    margin-top: 60px;
    width: 100%;
    max-width: 1200px;
    /* Increased from 900px to fill more space */
    aspect-ratio: 16/9;
    background: #000;
    /* Dark background to blend with video letterboxing */
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-placeholder-content {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.video-placeholder-content iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
}

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

/* Sections General */
.section {
    padding: var(--section-spacing) 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
}

/* Problem vs Solution */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.problem-card,
.solution-card {
    padding: 40px;
    height: 100%;
}

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

.problem-card h3 {
    color: #ef4444;
}

.solution-card h3 {
    color: var(--accent-secondary);
}

.list-x,
.list-check {
    list-style: none;
    margin-top: 24px;
}

.list-x li,
.list-check li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

/* Features */
.features {
    background: linear-gradient(to bottom, var(--bg-main), var(--bg-secondary));
}

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

.feature-card {
    padding: 40px 30px;
    transition: transform var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* Comparison Table */
.comparison-table {
    overflow: hidden;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    /* First column slightly wider */
    padding: 20px 30px;
    align-items: center;
}

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

.table-header {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
}

.table-row {
    border-bottom: 1px solid var(--glass-border);
}

.table-row:last-child {
    border-bottom: none;
}

.col.highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

/* CTA Final */
.cta-final {
    background: radial-gradient(circle at center, #1e1e2e 0%, var(--bg-main) 70%);
}

.cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.copyright {
    text-align: center;
    color: #52525b;
    font-size: 0.85rem;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        /* Ensure full height on mobile */
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    /* Mobile menu simplified for this demo */
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .table-header {
        display: none;
    }

    .table-row {
        display: flex;
        flex-direction: column;
        padding: 30px;
    }

    .col {
        margin-bottom: 5px;
    }

    .col:first-child {
        font-weight: bold;
        color: var(--text-secondary);
        margin-bottom: 15px;
    }
}