:root {
    --bg-color: #0a0a0a;
    --text-color: #f0f0f0;
    --primary-color: #ff3b30;
    --accent-color: #007aff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
}

html {
    scrollbar-gutter: stable;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-badge {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.65rem;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #d63025;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
}

/* Hero */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
    /* For fixed header */
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Darken the background slightly */
    filter: brightness(0.6) contrast(1.1);
}

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

h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #ddd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    color: #eee;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.badge-coming-soon {
    display: inline-block;
    background: rgba(255, 59, 48, 0.2);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
}

.waitlist-container {
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.waitlist-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.waitlist-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: all 0.3s;
}

.waitlist-input:focus {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.8);
}

.waitlist-subtext {
    font-size: 0.9rem !important;
    color: #aaa !important;
    margin-bottom: 0 !important;
}

@media (max-width: 600px) {
    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-input {
        width: 100%;
    }

    .hero-content {
        padding: 0 1rem;
    }
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Features */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--bg-color), #111);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Features */
.features-section {
    padding: 5rem 0;
    /* Gradient handled in body or separate bg element if needed */
}

/* 
.features-section h2 removed from HTML in this refactor, 
but kept in CSS if user adds it back or global style. 
*/

.feature-block {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    text-align: left;
}

.feature-image {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s;
}

.feature-block.reverse .feature-image {
    transform: perspective(1000px) rotateY(5deg);
}

.feature-image:hover,
.feature-block.reverse .feature-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 59, 48, 0.3));
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-content p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

@media (max-width: 900px) {

    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .feature-image,
    .feature-block.reverse .feature-image {
        transform: none;
    }
}

/* Demo Section */
.demo-section {
    padding: 5rem 0;
}

.demo-content {
    display: flex;
    align-items: center;
    padding: 3rem;
    border-radius: 16px;
    gap: 3rem;
    /* Increased gap */
}

@media (max-width: 768px) {
    .demo-content {
        flex-direction: column;
    }

    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Simple mobile menu hiding for MVP */
    }
}

.demo-text {
    flex: 1;
}

.demo-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.demo-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #ccc;
}

.demo-visual {
    flex: 1;
    width: 100%;
    /* Removed fixed height and background styles */
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.demo-image:hover {
    transform: scale(1.02);
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    color: #666;
    border-top: 1px solid #1a1a1a;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.visible {
    opacity: 1;
    transform: none;
}