:root {
    /* App Color Palette — Library Fireplace Theme */
    --primary: #9C8575;
    --primary-dark: #7A6859;
    --primary-light: #B8A99A;
    --accent: #D4836B;
    --accent-light: rgba(212, 131, 107, 0.15);

    /* Backgrounds & Surfaces */
    --background: #F7F4F0;
    --surface: #FFFFFF;
    --surface-elevated: #FFFFFF;

    /* Text */
    --text-primary: #2D2926;
    --text-secondary: #786E65;
    --text-tertiary: #A89F97;

    /* Status Colors */
    --reading: #7EBD8F;
    --reading-light: rgba(126, 189, 143, 0.15);
    --want: #E8C468;
    --want-light: rgba(232, 196, 104, 0.15);
    --finished: #A893C4;
    --finished-light: rgba(168, 147, 196, 0.15);
    --error: #E57373;

    /* Borders */
    --border: #E8E3DD;
    --border-focus: #9C8575;

    /* Shadows (matching app) */
    --shadow-sm: 0 1px 3px rgba(45, 41, 38, 0.06);
    --shadow-md: 0 2px 8px rgba(45, 41, 38, 0.10);
    --shadow-lg: 0 4px 16px rgba(45, 41, 38, 0.12);
    --shadow-xl: 0 8px 32px rgba(45, 41, 38, 0.16);
    --shadow-button: 0 3px 6px rgba(156, 133, 117, 0.20);

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    /* Radii (matching app tokens) */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== */
/* Navigation           */
/* ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 244, 240, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(247, 244, 240, 0.95);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.nav-brand span {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.4rem;
    background: var(--text-primary);
    color: var(--background);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.2px;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-button);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== */
/* Hero Section         */
/* ==================== */
.hero {
    padding: 11rem 2rem 7rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--background);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--reading);
    top: 50%;
    left: 60%;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.4rem 1rem 0.4rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--reading);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-heading em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--background);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary svg {
    opacity: 0.7;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ==================== */
/* Sections (shared)    */
/* ==================== */
.section {
    padding: 7rem 2rem;
}

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

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.15;
}

.section-subheading {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

/* ==================== */
/* Feature Showcases    */
/* ==================== */
.features-section {
    background: var(--background);
    padding-bottom: 3rem;
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-showcase.reverse {
    direction: rtl;
}

.feature-showcase.reverse > * {
    direction: ltr;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--pill-bg-light);
    color: var(--pill-bg);
    padding: 0.35rem 0.9rem 0.35rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.feature-showcase-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.feature-showcase-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.feature-list-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Phone Mockup */
.phone-mockup {
    background: var(--text-primary);
    border-radius: 32px;
    padding: 10px;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.05);
}

.phone-screen {
    background: var(--background);
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

/* Mock UI Elements */
.mock-library,
.mock-campfire,
.mock-matchmaker {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}

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

.mock-greeting {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mock-bell {
    width: 24px;
    height: 24px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.mock-stats-row {
    display: flex;
    gap: 0.4rem;
}

.mock-stat {
    flex: 1;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 0.6rem 0.4rem;
    text-align: center;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.mock-stat-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm);
    background: var(--stat-color, var(--reading));
    opacity: 0.15;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mock-stat-icon svg {
    position: absolute;
    opacity: 1;
    color: var(--stat-color, var(--reading));
}

.mock-stat-num {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.mock-stat-label {
    font-size: 0.5rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.mock-section-title {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0.25rem;
}

.mock-book-card {
    display: flex;
    gap: 0.6rem;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 0.6rem;
    border: 1px solid var(--border);
}

.mock-book-cover {
    width: 40px;
    height: 58px;
    border-radius: 4px;
    flex-shrink: 0;
}

.mock-book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
}

.mock-book-title {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mock-book-author {
    font-size: 0.55rem;
    color: var(--text-tertiary);
    font-style: italic;
}

.mock-progress-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin-top: 0.25rem;
    overflow: hidden;
}

.mock-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
}

.mock-progress-text {
    font-size: 0.5rem;
    color: var(--accent);
    font-weight: 600;
}

/* Mock Campfire */
.mock-campfire-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mock-invite-code {
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-invite-label {
    font-size: 0.5rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mock-invite-value {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.mock-avatars-row {
    display: flex;
    align-items: center;
}

.mock-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    color: white;
    border: 2px solid var(--background);
}

.mock-avatar-more {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.45rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--border);
    border: 2px solid var(--background);
}

.mock-avatar-sm {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.45rem;
    font-weight: 700;
    color: white;
}

.mock-trail {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.mock-trail-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.mock-trail-fill {
    height: 100%;
    border-radius: 3px;
}

.mock-note-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mock-note-card.spoiler {
    opacity: 0.6;
    background: repeating-linear-gradient(
        45deg,
        var(--surface),
        var(--surface) 4px,
        var(--background) 4px,
        var(--background) 8px
    );
}

.mock-note-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mock-note-text {
    font-size: 0.55rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.mock-reactions {
    display: flex;
    gap: 0.35rem;
}

.mock-reaction {
    font-size: 0.5rem;
    background: var(--background);
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

.mock-spoiler-gate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.55rem;
    color: var(--text-tertiary);
    padding: 0.8rem 0;
}

/* Mock Matchmaker */
.mock-matchmaker {
    align-items: center;
    justify-content: center;
}

.mock-match-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.mock-match-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-serif);
}

.mock-match-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mock-match-user {
    font-size: 0.6rem;
    color: var(--text-tertiary);
}

.mock-match-stats {
    display: flex;
    gap: 0.75rem;
    margin: 0.25rem 0;
}

.mock-match-stats span {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mock-match-shared {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.mock-match-badge {
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.6rem;
    font-weight: 700;
}

.mock-match-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.mock-match-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.mock-match-btn.reject {
    background: var(--surface);
    border: 2px solid var(--error);
    color: var(--error);
}

.mock-match-btn.accept {
    background: var(--reading);
    color: white;
    border: none;
}

/* ==================== */
/* More Features Grid   */
/* ==================== */
.more-features-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--background);
    padding: 2rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

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

/* ==================== */
/* How It Works Section */
/* ==================== */
.how-it-works-section {
    background: var(--background);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 280px;
}

.step-connector {
    padding-top: 2.5rem;
    flex-shrink: 0;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--text-primary);
    color: var(--background);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 1.25rem;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

/* ==================== */
/* Themes Section       */
/* ==================== */
.themes-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.theme-card {
    background: var(--theme-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    transition: all 0.25s ease;
}

.theme-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.theme-preview {
    background: var(--theme-surface);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.theme-preview-bar {
    height: 6px;
    border-radius: 3px;
    width: 60%;
}

.theme-preview-dots {
    display: flex;
    gap: 0.4rem;
}

.theme-preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.theme-preview-lines {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.theme-preview-lines div {
    height: 4px;
    border-radius: 2px;
}

.theme-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 0.35rem;
}

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

/* ==================== */
/* About Section        */
/* ==================== */
.about-section {
    background: var(--background);
}

.about-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
}

.about-card .section-label {
    text-align: left;
}

.about-card .section-heading {
    text-align: left;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ==================== */
/* Waitlist Section     */
/* ==================== */
.waitlist-section {
    background: var(--text-primary);
    color: var(--background);
}

.waitlist-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.waitlist-wrapper .section-label {
    text-align: left;
    color: var(--accent);
}

.waitlist-heading {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--background);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.waitlist-description {
    color: var(--text-tertiary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.waitlist-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(8px);
}

.waitlist-card .form-group label {
    color: rgba(247, 244, 240, 0.7);
}

.waitlist-card .form-group input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--background);
}

.waitlist-card .form-group input::placeholder {
    color: rgba(247, 244, 240, 0.3);
}

.waitlist-card .form-group input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(212, 131, 107, 0.15);
}

.waitlist-card .submit-btn {
    background: var(--accent);
    color: white;
}

.waitlist-card .submit-btn:hover {
    background: #c47560;
}

.waitlist-card .privacy-note {
    color: rgba(247, 244, 240, 0.4);
}

.waitlist-card .form-message.success {
    background: rgba(126, 189, 143, 0.2);
    color: var(--reading);
    border-color: rgba(126, 189, 143, 0.3);
}

.waitlist-card .form-message.error {
    background: rgba(229, 115, 115, 0.2);
    color: var(--error);
    border-color: rgba(229, 115, 115, 0.3);
}

/* ==================== */
/* Form Styles (shared) */
/* ==================== */
.signup-form,
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--background);
    transition: all 0.2s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23786E65' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(156, 133, 117, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    margin-top: 0.25rem;
    padding: 0.85rem 1.75rem;
    background: var(--text-primary);
    color: var(--background);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-button);
    letter-spacing: 0.3px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-text {
    display: inline-block;
}

.btn-loader {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: inline-block;
}

.loader {
    width: 18px;
    height: 18px;
    border: 2.5px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-message {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-align: center;
    display: none;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background: var(--reading-light);
    color: #3d7a4d;
    border: 1px solid rgba(126, 189, 143, 0.3);
}

.form-message.error {
    display: block;
    background: rgba(229, 115, 115, 0.1);
    color: #b94a4a;
    border: 1px solid rgba(229, 115, 115, 0.3);
}

.privacy-note {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ==================== */
/* Contact Section      */
/* ==================== */
.contact-section {
    background: var(--background);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.1rem;
}

.contact-info-card a {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

/* ==================== */
/* Footer               */
/* ==================== */
.footer {
    background: var(--text-primary);
    color: rgba(247, 244, 240, 0.7);
    padding: 4rem 2rem 2rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--background);
    margin-bottom: 0.5rem;
}

.footer-logo svg {
    color: var(--accent);
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.5;
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--background);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-links-col a {
    color: rgba(247, 244, 240, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links-col a:hover {
    color: var(--background);
}

.footer .social-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: rgba(247, 244, 240, 0.5);
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer .social-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--background);
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.4;
}

/* ==================== */
/* Scroll Reveal        */
/* ==================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in grids */
.features-grid .feature-card:nth-child(2),
.themes-grid .theme-card:nth-child(2) {
    transition-delay: 0.1s;
}

.features-grid .feature-card:nth-child(3),
.themes-grid .theme-card:nth-child(3) {
    transition-delay: 0.2s;
}

.features-grid .feature-card:nth-child(4) {
    transition-delay: 0.1s;
}

.features-grid .feature-card:nth-child(5) {
    transition-delay: 0.2s;
}

.features-grid .feature-card:nth-child(6) {
    transition-delay: 0.3s;
}

/* ==================== */
/* Responsive Design    */
/* ==================== */
@media (max-width: 1024px) {
    .hero-heading {
        font-size: 3.5rem;
    }

    .feature-showcase {
        gap: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .themes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .themes-grid .theme-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--background);
        padding: 1.5rem 2rem 2rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        gap: 0.75rem;
    }

    .nav-links.open a {
        font-size: 1rem;
        padding: 0.5rem 0;
    }

    .nav-links.open a::after {
        display: none;
    }

    .hero {
        padding: 8rem 1.5rem 4rem;
    }

    .hero-heading {
        font-size: 2.75rem;
        letter-spacing: -1.5px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-number {
        font-size: 1.35rem;
    }

    .section {
        padding: 4.5rem 1.5rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .section-subheading {
        margin-bottom: 2.5rem;
    }

    .feature-showcase,
    .feature-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .feature-showcase-content h3 {
        font-size: 1.65rem;
    }

    .phone-mockup {
        max-width: 240px;
    }

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

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }

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

    .themes-grid .theme-card:last-child {
        max-width: none;
    }

    .about-card {
        padding: 2rem;
    }

    .about-card .section-heading {
        font-size: 1.75rem;
    }

    .waitlist-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .waitlist-heading {
        font-size: 2rem;
    }

    .waitlist-wrapper .section-label,
    .waitlist-heading {
        text-align: center;
    }

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

    .waitlist-card {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-stat-divider {
        width: 36px;
        height: 1px;
    }

    .nav-brand span {
        font-size: 1.15rem;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .feature-showcase-content h3 {
        font-size: 1.5rem;
    }

    .waitlist-card {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

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

    .footer .social-links a {
        width: 32px;
        height: 32px;
    }
}
