:root {
    --bg-color: #FAFAFA;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --accent-color: #1B5E3F;
    --border-color: #E5E5E5;
    --card-bg: #FFFFFF;
    --card-bg-alt: #F8F8F8;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* System Fonts */
    --font-serif: 'Times New Roman', 'Georgia', Times, serif;
    --font-sans: Helvetica, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Grain Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

p {
    color: var(--text-secondary);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 1px solid var(--border-color);
    background: #FFFFFF;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.btn:hover {
    border-color: #D1D1D1;
    box-shadow: var(--shadow-subtle);
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--text-primary);
    color: #FFFFFF;
    border-color: var(--text-primary);
}

.btn-primary:hover {
    background: #333;
    border-color: #333;
}

/* Sticky Nav */
.sticky-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 6px 6px 6px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    width: max-content;
    max-width: 90vw;
}

.sticky-nav.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.nav-logo {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

/* Header */
header {
    padding: 32px 0;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo .logo-icon {
    width: 48px;
    height: 48px;
}

/* Hero */
#hero {
    padding: 100px 0 80px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-headline {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 800px;
    font-weight: 400;
}

.hero-subhead {
    font-size: 19px;
    max-width: 500px;
    margin: 0 auto 48px;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.hero-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 15px;
    background: #FFFFFF;
    outline: none;
    transition: border-color 0.2s;
}

.hero-input:focus {
    border-color: #999;
}

/* Problem Section (Bento) */
#problem {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-title {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: 2.25rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 16px;
    margin: 0 auto;
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 24px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-subtle);
}

.bento-card.alt-bg {
    background: var(--card-bg-alt);
}

/* Layout Logic */
.bento-card.large {
    grid-column: span 2;
}

.bento-card.large .card-content {
    max-width: 80%;
}

.card-icon {
    margin-bottom: 16px;
    width: 40px;
    height: 40px;
    color: var(--text-primary);
    opacity: 0.85;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 8px;
    line-height: 1.2;
}

.card-desc {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

/* Solution Section - Full Height */
#solution {
    padding: 100px 0;
    text-align: center;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.solution-headline {
    font-size: 2.75rem;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-body {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Waitlist Section - Full Height */
#waitlist {
    padding: 60px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.waitlist-form-container {
    max-width: 400px;
    margin: 32px auto 0;
    width: 100%;
}

/* FAQ Section */
#faq {
    padding: 100px 0;
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    padding: 24px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-primary);
}

.faq-question:hover {
    color: #000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0;
}

.faq-answer p {
    padding-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-icon {
    transition: transform 0.3s ease;
    opacity: 0.4;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    opacity: 1;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.875rem;
    color: #999;
}

.footer-links {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

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

/* Responsive */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card.large {
        grid-column: span 2;
    }

    .bento-card.large .card-content {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .hero-headline {
        font-size: 2.75rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        grid-column: span 1 !important;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .sticky-nav {
        width: 90%;
        justify-content: space-between;
    }
}

/* Utility */
.hidden {
    display: none;
}

.success-message {
    color: var(--accent-color);
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}