:root {
    --primary: #14B8A6;
    --primary-dark: #0D9488;
    --bg: #0F172A;
    --card: #1E293B;
    --border: #334155;
    --text: #F9FAFB;
    --text-sec: #98A2B3;
    --text-muted: #667085;
    --nav-bg: rgba(15, 23, 42, 0.8);
    --glass: rgba(30, 41, 59, 0.7);
    --gradient: linear-gradient(135deg, #14B8A6 0%, #0F8F93 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography & Buttons */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3);
}

/* Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px border var(--border);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.logo i {
    color: var(--primary);
    transform: rotate(-15deg);
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: var(--text-sec);
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    gap: 40px;
    overflow: hidden; /* Prevent overflow of the showcase */
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-sec);
    margin: 24px 0 40px;
    max-width: 500px;
}

.waitlist-inline {
    display: flex;
    gap: 12px;
    background: var(--card);
    padding: 8px;
    border-radius: 50px;
    border: 1px solid var(--border);
    max-width: 450px;
}

.waitlist-inline input {
    flex: 1;
    background: transparent;
    border: none;
    padding-left: 20px;
    color: white;
    outline: none;
    font-size: 1rem;
}

/* Features */
.features-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

.feature-card {
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.9);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--icon-bg, #134E4A);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-sec);
}

.feature-card.teaser {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(30, 41, 59, 0.2) 100%);
    border-style: dashed;
    opacity: 0.8;
}

.feature-card.teaser:hover {
    opacity: 1;
    border-style: solid;
}

/* Hero Visual & Showcase Integration */
.hero-visual {
    position: relative;
    width: 100%;
    min-width: 0; /* Critical for flex/grid children to overflow */
}

.showcase-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0 60px;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}

.showcase-grid.active {
    cursor: grabbing;
}

.showcase-grid::-webkit-scrollbar {
    display: none;
}

.showcase-item {
    flex: 0 0 280px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 12px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    text-align: left;
}

.showcase-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.app-screenshot {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.showcase-caption h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 4px;
}

.showcase-caption p {
    font-size: 0.9rem;
    color: var(--text-sec);
    line-height: 1.4;
}

/* Waitlist Section */
.waitlist-section {
    padding: 100px 0;
}

.footer-waitlist {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
}

.footer-waitlist h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.footer-waitlist p {
    font-size: 1.1rem;
    color: var(--text-sec);
    margin-bottom: 40px;
}

.waitlist-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 12px;
}

.input-group input {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 20px;
    color: white;
    outline: none;
    font-size: 1rem;
}

.form-help {
    margin-top: 16px;
    font-size: 0.85rem !important;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.socials {
    display: flex;
    gap: 24px;
    font-size: 1.25rem;
}

.socials a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.socials a:hover {
    color: var(--primary);
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 991px) {
    .gradient-text { font-size: 3rem; }
    .hero { 
        grid-template-columns: 1fr; 
        text-align: center; 
        padding-top: 120px;
    }
    .hero-content p { margin: 24px auto 40px; }
    .waitlist-inline { margin: 0 auto; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-visual { 
        margin-top: 40px;
        padding-left: 24px; /* Give some breathing room for mobile scroll */
    }
}
