/* Mummumon Landing Page - Mobile-first responsive styles */
:root {
    --green-primary: #4CAF50;
    --green-dark: #388E3C;
    --green-light: #E8F5E9;
    --green-bg: #E8F5E8;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-600: #757575;
    --gray-800: #424242;
    --gray-900: #212121;
    --radius: 12px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-800);
    background: var(--gray-100);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--white);
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--green-primary);
    font-weight: 600;
    font-size: 1.125rem;
}

.logo-img {
    display: block;
    height: 40px;
    width: auto;
}

.header-tagline {
    display: none;
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
}

.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.main-nav.is-open {
    display: flex;
}

.main-nav a {
    padding: 0.75rem;
    color: var(--gray-800);
    text-decoration: none;
    border-radius: var(--radius);
}

.main-nav a:hover {
    background: var(--green-bg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.2s, color 0.2s;
}

.btn-primary {
    background: var(--green-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--green-primary);
    border-color: var(--green-primary);
}

.btn-secondary:hover {
    background: var(--green-bg);
}

.btn-register {
    background: var(--green-primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius);
}

.btn-register:hover {
    background: var(--green-dark);
}

/* Hero */
.hero {
    padding: 6rem 1rem 4rem;
    background: var(--gray-100);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    background: var(--gray-200);
    border-radius: 999px;
}

.hero-title {
    margin: 0 0 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

.hero-title .highlight {
    color: var(--green-primary);
}

.hero-desc {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
}

.hero-visual.placeholder {
    min-height: 280px;
    background: var(--green-bg);
    border-radius: var(--radius);
    border: 2px dashed var(--green-primary);
}

/* Steps */
.steps {
    padding: 4rem 1rem;
    background: var(--gray-100);
}

.section-title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--gray-900);
}

.section-subtitle {
    margin: 0 0 2rem;
    font-size: 1rem;
    text-align: center;
    color: var(--gray-600);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.step-card.visible {
    animation: fadeInUp 0.5s ease;
}

.step-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-bg);
    border-radius: var(--radius);
}

.step-icon img {
    width: 28px;
    height: 28px;
}

.step-icon.placeholder-icon {
    background: var(--green-bg);
}

.step-icon.placeholder-icon img {
    display: none;
}

.step-icon.placeholder-icon::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: var(--green-primary);
    opacity: 0.5;
    border-radius: 50%;
}

.step-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
}

.step-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--gray-600);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mission */
.mission {
    padding: 4rem 1rem;
    background: var(--white);
    text-align: center;
}

.mission-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--green-dark);
}

.mission-title {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.mission-quote {
    margin: 0 0 2rem;
    font-size: 1rem;
    font-style: italic;
    color: var(--gray-600);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Companion */
.companion {
    padding: 4rem 1rem;
    background: var(--green-light);
}

.companion-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.companion-image-wrap {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.companion-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.18);
}

.companion-content {
    text-align: center;
}

.companion-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--green-dark);
}

.companion-title {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.companion-text {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.companion-text:last-child {
    margin-bottom: 0;
}

.companion-note {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Waitlist CTA */
.waitlist-cta {
    padding: 4rem 1rem;
    background: var(--gray-100);
}

.waitlist-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    background: var(--green-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.waitlist-title {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--white);
}

/* Ensure subtitles inside green waitlist cards are readable */
.waitlist-card .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.waitlist-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-field-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.waitlist-form input[type="email"] {
    padding: 0.75rem 1rem;
    font-family: var(--font);
    font-size: 1rem;
    border: none;
    border-radius: var(--radius);
}

.waitlist-form input[type="email"]:focus {
    outline: 2px solid var(--green-primary);
    outline-offset: 2px;
}

.waitlist-privacy {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
}

.waitlist-message {
    margin: 0.75rem 0 0;
    font-size: 0.9375rem;
    min-height: 1.25rem;
}

.waitlist-message.success {
    color: #81C784;
}

.waitlist-message.error {
    color: #FFCDD2;
}

/* Waitlist thank-you state */
@keyframes wl-icon-pop {
    0%   { opacity: 0; transform: scale(0.4); }
    65%  { transform: scale(1.15); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes wl-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.waitlist-thankyou {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem 0.5rem;
    text-align: center;
}

.waitlist-thankyou-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.6);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    animation: wl-icon-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.waitlist-thankyou-title {
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    animation: wl-fade-up 0.45s ease both 0.2s;
}

.waitlist-thankyou-sub {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    animation: wl-fade-up 0.45s ease both 0.35s;
}

.waitlist-thankyou-note {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
    animation: wl-fade-up 0.45s ease both 0.5s;
}

/* Footer */
.site-footer {
    padding: 2rem 1rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.logo-footer {
    color: var(--green-dark);
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: var(--gray-600);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--green-primary);
}

.footer-copy {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* Tablet and up */
@media (min-width: 768px) {
    .header-tagline {
        display: block;
    }

    .hamburger {
        display: none;
    }

    .main-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        padding: 0;
        box-shadow: none;
    }

    .main-nav.is-open {
        display: flex;
    }

    .hero {
        padding: 7rem 2rem 5rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-inner {
        flex-direction: row;
        align-items: center;
    }

    .hero-content {
        flex: 1;
    }

    .hero-visual {
        flex: 1;
        max-width: 480px;
    }

    .steps-grid {
        flex-direction: row;
        gap: 2rem;
    }

    .step-card {
        flex: 1;
    }

    .companion-inner {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .companion-content {
        text-align: left;
    }

    .companion-text {
        margin-left: 0;
        margin-right: 0;
    }

    .companion-img {
        width: 200px;
        height: 200px;
    }

    .waitlist-form .form-row {
        flex-direction: row;
    }

    .waitlist-form input[type="email"] {
        flex: 1;
    }

    .site-footer {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 2rem;
    }

    .site-footer .logo {
        order: 1;
    }

    .footer-nav {
        order: 2;
    }

    .footer-copy {
        order: 3;
        width: 100%;
        text-align: center;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .mission-title {
        font-size: 1.75rem;
    }

    .companion-title {
        font-size: 1.75rem;
    }

    .companion-img {
        width: 220px;
        height: 220px;
    }

    .section-title {
        font-size: 2rem;
    }
}
