/* ========================================
   HAIVEN — Warm Editorial Design
   ======================================== */

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

:root {
    --primary: #1B8B7B;
    --primary-deep: #0d6356;
    --primary-glow: #24b5a0;
    --cream: #F5F1E8;
    --cream-dark: #ebe6da;
    --sage: #D4F3F0;
    --sage-muted: #b8e4df;
    --dark: #1a2e2e;
    --text: #3d5c5c;
    --text-light: #7a9494;
    --white: #ffffff;
    --border: rgba(27, 139, 123, 0.1);
    --shadow-sm: 0 2px 8px rgba(26, 46, 46, 0.05);
    --shadow-md: 0 12px 40px rgba(26, 46, 46, 0.08);
    --shadow-lg: 0 24px 60px rgba(26, 46, 46, 0.12);
    --radius: 16px;
    --radius-pill: 100px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2 {
    font-family: 'Fraunces', serif;
    color: var(--dark);
    letter-spacing: -0.02em;
}

h3 {
    color: var(--dark);
    letter-spacing: -0.01em;
}

em {
    font-family: 'Fraunces', serif;
    font-style: italic;
}

/* ---- Animations ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

/* ========================================
   HEADER — frosted glass, fixed
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 241, 232, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1rem 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}

.logo svg {
    width: 34px;
    height: 34px;
}

/* ========================================
   HERO — split layout with floating cards
   ======================================== */
.hero {
    background: var(--cream);
    padding: 9rem 2.5rem 5rem;
    position: relative;
    overflow: hidden;
}

/* Large soft gradient orb */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(27, 139, 123, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--white);
    color: var(--primary);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    display: block;
    animation: pulse 2.5s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 1.5rem;
}

.hero-title em {
    color: var(--primary);
    font-weight: 500;
}

.hero-hook {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-hook em {
    font-style: normal;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.75;
    max-width: 480px;
}

/* ---- Email forms ---- */
.email-form[hidden] { display: none; }

.email-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.email-form input {
    padding: 0.85rem 1.25rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.92rem;
    font-family: 'DM Sans', sans-serif;
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    background: var(--white);
    color: var(--dark);
    transition: all 0.2s ease;
}

.email-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(27, 139, 123, 0.08);
}

.email-form input::placeholder {
    color: var(--text-light);
}

.btn {
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 0.92rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(27, 139, 123, 0.25);
}

.btn-primary:hover {
    background: var(--primary-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(27, 139, 123, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.form-error {
    font-size: 0.85rem;
    color: #c0392b;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-error--light { color: #ffb3b3; }

.form-success {
    font-size: 0.92rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.form-success--light { color: var(--white); }

.social-proof {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* ---- Hero visual ---- */
.hero-visual {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    animation: slideInRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* ========================================
   PHONE MOCKUP — shared frame
   ======================================== */
.phone-mockup {
    width: 280px;
    background: var(--white);
    border-radius: 32px;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
    position: relative;
    overflow: hidden;
}

.phone-notch {
    width: 100px;
    height: 22px;
    background: var(--cream);
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
}

.phone-notch::after {
    content: '';
    width: 40px;
    height: 4px;
    background: var(--cream-dark);
    border-radius: 4px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.phone-screen {
    padding: 0.75rem 1rem 1.25rem;
}

/* ---- Phone mockup inner components ---- */
.pm-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin: 0.75rem 0 0.4rem;
}

.pm-label:first-child {
    margin-top: 0;
}

/* Status banner */
.pm-status {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--cream);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
}

.pm-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pm-status-dot--good { background: var(--primary); }
.pm-status-dot--watch { background: #c48a1a; }
.pm-status-dot--alert { background: #c0392b; }

.pm-status-text strong {
    display: block;
    font-size: 0.78rem;
    color: var(--dark);
}

.pm-status-text span {
    font-size: 0.68rem;
    color: var(--text-light);
}

/* AI insight card */
.pm-insight {
    border-left: 3px solid var(--primary);
    background: var(--sage);
    border-radius: 0 10px 10px 0;
    padding: 0.6rem 0.75rem;
    margin-top: 0.6rem;
}

.pm-insight p {
    font-size: 0.72rem;
    color: var(--text);
    line-height: 1.5;
    font-style: italic;
}

/* Stats grid */
.pm-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.pm-stat {
    background: var(--cream);
    border-radius: 10px;
    padding: 0.5rem 0.6rem;
    text-align: center;
}

.pm-stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Fraunces', serif;
}

.pm-stat-value--good { color: var(--primary); }
.pm-stat-value--watch { color: #c48a1a; }

.pm-stat-label {
    display: block;
    font-size: 0.6rem;
    color: var(--text-light);
    margin-top: 0.1rem;
}

/* Night safety */
.pm-night {
    background: var(--cream);
    border-radius: 10px;
    padding: 0.5rem 0.7rem;
}

.pm-night-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--text);
}

.pm-night-icon {
    font-size: 0.8rem;
}

.pm-night-avg {
    margin-left: auto;
    color: var(--text-light);
    font-size: 0.65rem;
}

/* Care circle */
.pm-circle {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pm-circle-person {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cream);
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
}

.pm-circle-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.pm-circle-person strong {
    display: block;
    font-size: 0.72rem;
    color: var(--dark);
}

.pm-circle-person span {
    font-size: 0.62rem;
    color: var(--text-light);
}

/* ========================================
   PATTERNS SECTION — Activity phone mockup
   ======================================== */
.patterns-section {
    background: var(--cream);
    padding: 5rem 2.5rem;
}

.patterns-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.patterns-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    margin-bottom: 0.75rem;
}

.patterns-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 440px;
}

.phone-mockup--patterns {
    justify-self: center;
}

/* Room activity timeline */
.pm-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pm-timeline-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pm-timeline-label {
    font-size: 0.6rem;
    color: var(--text-light);
    width: 52px;
    flex-shrink: 0;
    text-align: right;
}

.pm-timeline-bar {
    flex: 1;
    height: 14px;
    background: var(--cream);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.pm-timeline-seg {
    position: absolute;
    top: 2px;
    height: 10px;
    border-radius: 3px;
}

.pm-timeline-seg--kitchen { background: var(--primary); opacity: 0.7; }
.pm-timeline-seg--bedroom { background: #7a9fc7; opacity: 0.6; }
.pm-timeline-seg--bathroom { background: #c48a1a; opacity: 0.6; }

.pm-timeline-hours {
    display: flex;
    justify-content: space-between;
    padding-left: 56px;
    margin-top: 0.15rem;
}

.pm-timeline-hours span {
    font-size: 0.52rem;
    color: var(--text-light);
}

/* Weekly trend bars */
.pm-trend {
    display: flex;
    align-items: flex-end;
    gap: 0.3rem;
    height: 60px;
    padding-top: 0.25rem;
}

.pm-trend-bar {
    flex: 1;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.6;
    position: relative;
    min-height: 2px;
    transition: opacity 0.2s ease;
}

.pm-trend-bar span {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.52rem;
    color: var(--text-light);
}

.pm-trend-bar--today {
    opacity: 1;
    background: var(--primary);
}

.pm-trend-bar--future {
    background: var(--cream-dark);
    opacity: 0.3;
}

/* ========================================
   TRUST STRIP
   ======================================== */
.trust-strip {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2.5rem;
}

.trust-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
}

.trust-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* ========================================
   FEATURES — bento grid
   ======================================== */
.features {
    background: var(--white);
    padding: 6rem 2.5rem;
}

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

.features-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.features-header-text {
    max-width: 500px;
}

.features-header-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    margin-bottom: 0.75rem;
}

.features-header-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---- Notification cards (features header) ---- */
.features-header-cards {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.notif-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.notif-card:hover {
    transform: translateX(-3px);
}

.notif-card--1 { margin-left: 1.5rem; }
.notif-card--2 { margin-left: 0; }
.notif-card--3 { margin-left: 2.5rem; }

.notif-icon {
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.notif-icon--warm {
    background: #fef3e2;
    color: #c48a1a;
}

.notif-icon--sage {
    background: #e8f5e9;
    color: #4caf50;
}

.notif-card strong {
    display: block;
    font-size: 0.82rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.notif-card span {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.45;
}

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

.bento-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

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

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

.bento-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary);
}

.bento-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 400px;
}

.bento-card p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(27, 139, 123, 0.3);
    transition: border-color 0.2s ease;
}

.bento-card p a:hover {
    border-color: var(--primary);
}

.bento-card--accent {
    background: var(--white);
    border: 1px solid rgba(24, 188, 242, 0.2);
}

.bento-icon--ha {
    background: rgba(24, 188, 242, 0.08);
    border-color: rgba(24, 188, 242, 0.15);
}

/* ========================================
   HOW IT WORKS — vertical timeline
   ======================================== */
.how-it-works {
    background: var(--cream);
    padding: 6rem 2.5rem;
}

.how-container {
    max-width: 700px;
    margin: 0 auto;
}

.how-it-works h2 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    margin-bottom: 0.5rem;
}

.how-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 3.5rem;
}

.timeline {
    position: relative;
    padding-left: 3.5rem;
}

.timeline-line {
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--sage-muted), var(--primary), var(--sage-muted));
}

.timeline-step {
    position: relative;
    padding-bottom: 2.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -3.5rem;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-marker {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 0 6px rgba(27, 139, 123, 0.12);
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta {
    background: var(--dark);
    color: var(--white);
    padding: 5.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Gradient orb */
.final-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(27, 139, 123, 0.3) 0%, transparent 65%);
    pointer-events: none;
}

.cta-content {
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.final-cta h2 em {
    color: var(--primary-glow);
}

.final-cta p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.7;
    line-height: 1.7;
}

.final-cta .email-form {
    justify-content: center;
}

.final-cta .email-form input {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.final-cta .email-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.final-cta .email-form input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

/* ========================================
   OPEN SOURCE STRIP
   ======================================== */
.oss-strip {
    background: var(--cream-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 2.5rem;
}

.oss-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.oss-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.oss-text span {
    font-size: 0.88rem;
    color: var(--text-light);
}

.btn-oss {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    background: var(--white);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.btn-oss:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(27, 139, 123, 0.2);
}

.btn-oss svg {
    flex-shrink: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--cream);
    padding: 2rem 2.5rem;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.footer-logo svg {
    width: 26px;
    height: 26px;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.82rem;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--border);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        justify-content: center;
    }

    .patterns-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .patterns-text p {
        max-width: 100%;
    }

    .phone-mockup--patterns {
        justify-self: center;
    }

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

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

@media (max-width: 768px) {
    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form input {
        width: 100%;
        max-width: 100%;
    }

    .btn { width: 100%; }

    .trust-inner {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

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

    .features-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .notif-card--1,
    .notif-card--2,
    .notif-card--3 {
        margin-left: 0;
    }

    .how-it-works h2,
    .final-cta h2 {
        font-size: 1.75rem;
    }

    .oss-inner {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .hero { padding: 6.5rem 1rem 2.5rem; }
    .header-container { padding: 0 1rem; }
    .features, .how-it-works { padding: 4rem 1rem; }
    .final-cta { padding: 4rem 1rem; }
    .patterns-section { padding: 3.5rem 1rem; }
    .phone-mockup { width: 260px; }
}
