/* === Houseprint — warm, homey palette built around the app's sage-teal icon === */
:root {
    --bg: #f7f3ec;              /* warm cream, mama's kitchen */
    --bg-alt: #efeae0;          /* deeper cream for panels */
    --card: #ffffff;
    --border: rgba(31, 45, 42, 0.08);
    --text: #1f2d2a;            /* deep teal-black */
    --text-muted: #6e7a73;
    --text-light: #9a9a8f;

    --sage: #5ba48a;            /* primary — from the app icon */
    --sage-dark: #3e7c68;
    --sage-soft: #e3efe9;

    --coral: #e07856;           /* warm mama accent */
    --coral-soft: #fbe8de;

    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --shadow: 0 2px 10px rgba(31, 45, 42, 0.05);
    --shadow-card: 0 1px 3px rgba(31, 45, 42, 0.04), 0 8px 28px rgba(31, 45, 42, 0.06);
    --shadow-lg: 0 12px 40px rgba(31, 45, 42, 0.10);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: clip;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.text-accent { color: var(--sage-dark); }
.text-coral { color: var(--coral); }

/* === Nav === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(247, 243, 236, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1120px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav-back {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px;
    color: var(--text-muted); transition: all 0.2s;
    margin-right: 4px;
}
.nav-back:hover { background: var(--sage-soft); color: var(--sage-dark); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.nav-icon { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
    font-size: 0.85rem; font-weight: 600;
    padding: 9px 20px; border-radius: 999px;
    background: var(--sage); color: #fff;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--sage-dark); box-shadow: 0 6px 18px rgba(91, 164, 138, 0.35); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; background: transparent; border: 0; cursor: pointer; }
.mobile-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 1px; }

@media (max-width: 860px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
}

/* === Hero === */
.hero {
    padding: 148px 0 72px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; top: -160px; right: -180px;
    width: 540px; height: 540px; border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 164, 138, 0.18), transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: ""; position: absolute; bottom: -120px; left: -140px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 120, 86, 0.12), transparent 70%);
    pointer-events: none;
}
.hero-content {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
    align-items: center; position: relative; z-index: 1;
}
.hero-badge {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 6px 14px; border-radius: 999px;
    background: var(--coral-soft); color: var(--coral);
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(2.2rem, 4.8vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}
.hero h1 .text-accent { color: var(--sage-dark); }
.hero-subtitle {
    font-size: 1.1rem; color: var(--text-muted);
    line-height: 1.65; margin-bottom: 32px;
    max-width: 52ch;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-actions img { height: 52px; width: auto; transition: transform 0.2s; }
.hero-actions a:hover img { transform: translateY(-2px); }

.coming-soon-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px;
    background: var(--card); color: var(--text);
    border: 1.5px solid var(--sage);
    font-size: 0.95rem; font-weight: 600;
    box-shadow: var(--shadow);
}
.coming-soon-pill svg { color: var(--sage-dark); }
.coming-soon-pill.light {
    background: rgba(255, 255, 255, 0.95); color: var(--sage-dark);
    border-color: transparent;
}
.coming-soon-pill.light svg { color: var(--sage-dark); }

.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-number { font-size: 1.4rem; font-weight: 800; color: var(--sage-dark); letter-spacing: -0.01em; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); }

/* Hero visual — big app icon, matches portfolio style */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-app-icon {
    width: 320px; height: 320px; border-radius: 72px;
    box-shadow:
        0 30px 60px rgba(91, 164, 138, 0.25),
        0 12px 28px rgba(31, 45, 42, 0.15);
    transition: transform 0.5s ease;
}
.hero-app-icon:hover { transform: translateY(-6px) scale(1.02); }

@media (max-width: 860px) {
    .hero { padding: 128px 0 56px; }
    .hero-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .hero-app-icon { width: 220px; height: 220px; border-radius: 50px; }
}

/* === Section shared === */
section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 5px 14px; border-radius: 999px;
    background: var(--sage-soft); color: var(--sage-dark);
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
    margin-bottom: 14px;
}
.section-header p {
    font-size: 1.05rem; color: var(--text-muted);
    max-width: 58ch; margin: 0 auto; line-height: 1.65;
}

/* === Story (the Mama narrative) === */
.story { padding: 64px 0; background: var(--bg-alt); }
.story-content { max-width: 720px; margin: 0 auto; text-align: center; }
.story-quote {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 600; letter-spacing: -0.01em;
    line-height: 1.4; color: var(--text);
    margin-bottom: 28px;
    font-style: italic;
}
.story-quote::before {
    content: "\201C"; color: var(--coral); font-style: normal; margin-right: 2px;
}
.story-quote::after {
    content: "\201D"; color: var(--coral); font-style: normal; margin-left: 2px;
}
.story-content p {
    font-size: 1.05rem; color: var(--text-muted);
    line-height: 1.75; margin-bottom: 18px;
}
.story-content p:last-child { margin-bottom: 0; }
.story-content strong { color: var(--text); font-weight: 600; }

/* === How it works === */
.how-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    counter-reset: step;
}
.how-step {
    background: var(--card); padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    position: relative;
}
.how-step::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute; top: 18px; right: 22px;
    font-size: 0.95rem; font-weight: 700; color: var(--sage);
    opacity: 0.35; letter-spacing: 0.02em;
}
.how-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--sage-soft); color: var(--sage-dark);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.how-step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.how-step p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 860px) {
    .how-grid { grid-template-columns: 1fr; }
}

/* === Screenshots showcase === */
.screens { padding: 96px 0 72px; overflow: hidden; }
.screenshots-wrapper {
    display: flex; align-items: center; gap: 16px;
    max-width: 1200px; margin: 0 auto; padding: 0 16px;
}
.screenshots-scroll {
    flex: 1; min-width: 0;
    display: flex; gap: 20px; overflow-x: auto;
    padding: 8px 0 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }
.screenshot-item {
    flex-shrink: 0;
    width: 240px;
    scroll-snap-align: start;
}
.screenshot-item img {
    width: 100%;
    border-radius: 30px;
    background: #0c0f0e;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04) inset,
        0 18px 38px rgba(31, 45, 42, 0.18),
        0 4px 10px rgba(31, 45, 42, 0.08);
    border: 1px solid rgba(31, 45, 42, 0.12);
    transition: transform 0.3s ease;
}
.screenshot-item img:hover { transform: scale(1.03); }
.screenshot-caption {
    text-align: center; margin-top: 12px;
    font-size: 0.88rem; font-weight: 600; color: var(--text-muted);
    letter-spacing: -0.005em;
}
.scroll-btn {
    flex-shrink: 0;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--card); border: 1px solid var(--border);
    color: var(--text-muted); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
    box-shadow: var(--shadow);
}
.scroll-btn:hover { background: var(--sage); color: #fff; border-color: transparent; }
@media (max-width: 860px) {
    .screens { padding: 72px 0 56px; }
    .screenshot-item { width: 200px; }
    .screenshot-item img { border-radius: 26px; }
    .screenshots-wrapper { gap: 8px; padding: 0 8px; }
    .scroll-btn { width: 36px; height: 36px; }
}
@media (max-width: 560px) {
    .screenshot-item { width: 180px; }
}

/* === Features === */
.features { background: var(--bg-alt); }
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card {
    background: var(--card); padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--sage-soft); color: var(--sage-dark);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.feature-icon.coral { background: var(--coral-soft); color: var(--coral); }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 860px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* === Insurance callout === */
.insurance {
    padding: 80px 0;
}
.insurance-card {
    background: linear-gradient(135deg, #1f2d2a 0%, #2f4b44 100%);
    color: #fff;
    border-radius: 24px;
    padding: 56px; max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    position: relative; overflow: hidden;
}
.insurance-card::after {
    content: ""; position: absolute; top: -30%; right: -10%;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 120, 86, 0.25), transparent 70%);
    pointer-events: none;
}
.insurance-content { position: relative; z-index: 1; }
.insurance-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 5px 14px; border-radius: 999px;
    background: rgba(224, 120, 86, 0.2); color: #f5c1ad;
    margin-bottom: 18px;
}
.insurance-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
    margin-bottom: 18px;
}
.insurance-card p {
    font-size: 1rem; color: rgba(255,255,255,0.78); line-height: 1.7;
    margin-bottom: 14px;
}
.insurance-card strong { color: #fff; font-weight: 600; }
.insurance-visual {
    position: relative; z-index: 1;
    background: #fff; color: var(--text); padding: 24px;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.insurance-visual .pdf-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px;
}
.pdf-title { font-size: 0.95rem; font-weight: 700; }
.pdf-date { font-size: 0.75rem; color: var(--text-muted); }
.pdf-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.82rem; border-bottom: 1px dashed var(--border); }
.pdf-row:last-of-type { border-bottom: 0; }
.pdf-row span:last-child { color: var(--sage-dark); font-weight: 600; }
.pdf-total { display: flex; justify-content: space-between; padding-top: 14px; margin-top: 4px; border-top: 2px solid var(--text); font-size: 0.9rem; font-weight: 700; }
@media (max-width: 860px) {
    .insurance-card { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* === Privacy === */
.privacy { background: var(--bg-alt); }
.privacy-content { text-align: center; max-width: 720px; margin: 0 auto; }
.privacy-icon {
    width: 72px; height: 72px; border-radius: 20px;
    background: var(--sage-soft); color: var(--sage-dark);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
}
.privacy-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.privacy-content p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }
.privacy-list {
    margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.privacy-pill {
    padding: 14px 18px; border-radius: 12px;
    background: #fff; border: 1px solid var(--border);
    font-size: 0.9rem; font-weight: 600; color: var(--text);
}
@media (max-width: 640px) {
    .privacy-list { grid-template-columns: 1fr; }
}

/* === Pricing === */
.pricing-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    align-items: stretch;
}
.price-card {
    background: var(--card); padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    display: flex; flex-direction: column;
}
.price-card.featured {
    border-top: 3px solid var(--coral);
    transform: translateY(-4px);
}
.price-badge {
    display: inline-block; align-self: flex-start;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    padding: 4px 10px; border-radius: 999px;
    background: var(--coral-soft); color: var(--coral);
    margin-bottom: 10px;
}
.price-tier { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.price-amount { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.price-amount small { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.price-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }
.price-list { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.price-list li { font-size: 0.88rem; color: var(--text); display: flex; gap: 8px; align-items: flex-start; }
.price-list li::before {
    content: ""; flex-shrink: 0;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--sage-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e7c68' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px; background-position: center; background-repeat: no-repeat;
    margin-top: 2px;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } .price-card.featured { transform: none; } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }

/* === CTA / Download === */
.cta { padding: 80px 0 96px; text-align: center; }
.cta-card {
    text-align: center;
    padding: 64px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, #5ba48a 0%, #3e7c68 100%);
    color: #fff;
    position: relative; overflow: hidden;
}
.cta-card::after {
    content: ""; position: absolute; top: -50%; right: -10%;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-icon {
    width: 88px; height: 88px; border-radius: 22px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}
.cta-card h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.cta-card p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; }
.cta-card img.cta-icon { display: block; }
.cta-card a { display: inline-block; }

/* === Footer === */
.footer {
    padding: 36px 0; background: var(--bg-alt);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.footer-icon { width: 32px; height: 32px; border-radius: 8px; box-shadow: var(--shadow); }
.footer-copy { font-size: 0.85rem; }
