/* ==========================================
   CSS Variables - Color Scheme
   ========================================== */
:root {
    /* Background Colors */
    --bg-color: #faf9f6;          /* Warm off-white - main background */
    --white: #ffffff;              /* Pure white - cards, containers */

    /* Typography Colors */
    --near-black: #111111;         /* Headings, primary buttons */
    --text-main: #2c2c2c;          /* Body text - softer than pure black */
    --dark-gray: #444444;          /* Poem text, button hover */
    --text-light: #666666;         /* Subtitles, secondary text, footer */

    /* UI & Accent Colors */
    --border-color: #e6e6e6;       /* Borders, subtle dividers */
    --divider-gray: #cccccc;       /* Poem dividers */
    --placeholder-gray: #f0f0f0;   /* Icon placeholder backgrounds */

    /* Legacy aliases for backward compatibility */
    --deep-forest-green: #111111;
    --warm-off-white: #faf9f6;
    --earthy-gold: #333333;
    --dark-stone: #2c2c2c;
    --mid-gray: #666666;
    --light-gray: #e6e6e6;

    /* Typography */
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-unit: 24px;
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: #F5F3EF; /* Match hero background */
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-light);
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-main);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.contact-btn {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--near-black);
    background-color: transparent;
    color: var(--near-black);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
}

.contact-btn:hover {
    background-color: var(--near-black);
    color: var(--white);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-color: #F5F3EF; /* Original warm off-white */
}

.hero-content {
    max-width: 900px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hero-text {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.5;
    color: #3A4A35; /* Original dark stone */
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.hero-text strong {
    font-weight: 700;
    color: #4A5C43; /* Original deep forest green */
}

.hero-logo {
    margin: 3rem auto;
    width: 200px;
    animation: floatAnimation 3s ease-in-out infinite;
}

.cta-button {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 1rem 3rem;
    border: 2px solid #3A4A35; /* Original dark stone */
    background-color: transparent;
    color: #3A4A35; /* Original dark stone */
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.cta-button:hover {
    background-color: #4A5C43; /* Original deep forest green */
    border-color: #4A5C43;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 92, 67, 0.3);
}

.hero-hint {
    margin-top: 1.5rem;
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: #a8a29e; /* Muted gray - a whisper */
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* ==========================================
   Minimal Waitlist Form
   ========================================== */
.waitlist-form {
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.waitlist-input-group input[type="email"] {
    flex: 1;
    font-family: var(--font-secondary);
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--white);
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.waitlist-input-group input[type="email"]::placeholder {
    color: var(--text-light);
}

.waitlist-input-group input[type="email"]:focus {
    outline: none;
    border-color: var(--text-main);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.waitlist-input-group button {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 1rem 2rem;
    border: none;
    background-color: var(--near-black);
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    white-space: nowrap;
}

.waitlist-input-group button:hover:not(:disabled) {
    background-color: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.waitlist-input-group button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.waitlist-message {
    margin-top: 1rem;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    text-align: center;
    min-height: 24px;
    transition: opacity 0.3s ease;
}

.waitlist-message.success {
    color: #2d7d46;
}

.waitlist-message.error {
    color: #c53030;
}

.waitlist-message.info {
    color: var(--text-light);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: #4A5C43; /* Original deep forest green */
    color: #FFFFFF;
    padding: 2rem 0;
    margin-top: 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D4A76A; /* Original earthy gold */
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
    .logo {
        display: none;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }

    .nav-right {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-text {
        font-size: 1.75rem;
    }

    .hero-logo {
        width: 150px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .waitlist-form {
        max-width: 100%;
        padding: 0 1rem;
    }

    .waitlist-input-group {
        flex-direction: column;
    }

    .waitlist-input-group input[type="email"],
    .waitlist-input-group button {
        width: 100%;
    }
}

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

    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .contact-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 0.85rem 2rem;
        font-size: 0.9rem;
    }

    .waitlist-input-group input[type="email"],
    .waitlist-input-group button {
        padding: 0.85rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* ==========================================
   About Page - Editorial Layout
   ========================================== */

/* Reading Column - Narrow content width for readability */
.reading-column {
    max-width: 680px;
    margin: 0 auto;
}

/* Container - Wider for full-width elements */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Page Header */
.page-header {
    padding: 80px 0 60px;
    text-align: center;
}

.page-header .subtitle {
    font-family: var(--font-secondary);
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.page-header h1 {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: normal;
    color: var(--near-black);
    letter-spacing: -0.03em;
}

/* Poem Container */
.poem-container {
    background: var(--white);
    padding: 60px;
    border: 1px solid var(--border-color);
    margin-bottom: 80px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.poem-stanza {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-style: italic;
    text-align: center;
    color: var(--dark-gray);
    line-height: 2;
}

.poem-divider {
    width: 40px;
    height: 1px;
    background: var(--divider-gray);
    margin: 30px auto;
}

/* Content Sections */
.content-section {
    margin-bottom: 80px;
}

.content-section h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: normal;
    color: var(--near-black);
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.content-section p {
    margin-bottom: var(--spacing-unit);
    font-size: 1.1rem;
    line-height: 1.7;
}

.content-section strong {
    font-weight: 600;
    color: var(--near-black);
}

/* Pull Quote */
.pull-quote {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 40px 0;
    padding-left: 24px;
    border-left: 4px solid var(--near-black);
    color: var(--near-black);
}

.pull-quote cite {
    display: block;
    margin-top: 16px;
    font-size: 0.9rem;
    font-family: var(--font-secondary);
    color: var(--text-light);
    font-style: normal;
}

/* Product Card */
.product-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.product-visual {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: var(--placeholder-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.product-visual img {
    max-width: 80%;
    max-height: 80%;
}

.product-text h3 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--near-black);
}

.product-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background-color: var(--near-black);
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    font-weight: 500;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--dark-gray);
}

/* Responsive - About Page */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .poem-container {
        padding: 30px;
        margin-bottom: 60px;
    }

    .poem-stanza {
        font-size: 1.1rem;
    }

    .product-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .content-section {
        margin-bottom: 60px;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .pull-quote {
        font-size: 1.25rem;
    }
}