/* OmnisHealth landing page styles.
   Recovered 2026-11-13 from the live WordPress Additional CSS on omnishealth.app.
   Content is unchanged except: (1) the Google Fonts @import below was added,
   because the live site declares Cairo but never loads it, so visitors see a
   fallback font; (2) two WordPress-generated lines at the end were removed. */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

/* ================================
   FONT ENFORCEMENT
   Force Cairo on all text elements to override
   WordPress.com theme defaults that may otherwise win.
   ================================ */

body,
body h1, body h2, body h3, body h4, body h5, body h6,
body p, body span, body div, body a, body label, body li,
body ul, body ol, body button, body input, body textarea,
body select, body article, body section, body nav,
body header, body footer, body main, body aside, body blockquote {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* ================================
   MINIMAL FOOTER (Luffu-style)
   ================================ */

.footer-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-brand-minimal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand-minimal .footer-logo-icon {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-brand-minimal p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.footer-links-minimal {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links-minimal a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links-minimal a:hover {
    color: white;
}

@media (max-width: 640px) {
    .footer-minimal {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-links-minimal {
        gap: 1.25rem;
    }
}

/* ================================
   ANIMATED PRODUCT DEMOS
   Looped CSS animations standing in for real screen recordings.
   Replace .demo-screen content with a real video tag when footage is available.
   ================================ */

.demos {
    padding: 6rem 0;
    background: var(--bg-cream);
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.demo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.demo-screen {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4/5;
    background: var(--bg-cream);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(7, 150, 110, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    overflow: hidden;
    position: relative;
}

.demo-workspace-header {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-shrink: 0;
}

.demo-eyebrow {
    color: var(--primary-dark);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.demo-workspace-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ===== Demo 1: Capture & Extract ===== */

.demo-typing-bubble {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    opacity: 0;
    animation: demo1-bubble-appear 14s infinite ease-in-out;
}

.demo-bubble-author {
    font-size: 0.65rem;
    color: var(--primary-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.3rem;
}

.demo-typing-text {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.4;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    width: 0;
    animation: demo1-type 14s infinite ease-out;
}

@keyframes demo1-bubble-appear {
    0% { opacity: 0; transform: translateY(8px); }
    3%, 95% { opacity: 1; transform: translateY(0); }
    98%, 100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes demo1-type {
    0%, 5% { width: 0; }
    25%, 95% { width: 100%; white-space: normal; }
    98%, 100% { width: 100%; white-space: normal; opacity: 0; }
}

.demo-plan-item {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.7rem 0.85rem;
    opacity: 0;
    transform: translateY(10px);
}

.demo-plan-item-1 {
    animation: demo1-item-1 14s infinite ease-out;
}

.demo-plan-item-2 {
    animation: demo1-item-2 14s infinite ease-out;
}

.demo-plan-item-3 {
    animation: demo1-item-3 14s infinite ease-out;
}

@keyframes demo1-item-1 {
    0%, 35% { opacity: 0; transform: translateY(10px); }
    42%, 95% { opacity: 1; transform: translateY(0); }
    98%, 100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes demo1-item-2 {
    0%, 45% { opacity: 0; transform: translateY(10px); }
    52%, 95% { opacity: 1; transform: translateY(0); }
    98%, 100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes demo1-item-3 {
    0%, 55% { opacity: 0; transform: translateY(10px); }
    62%, 95% { opacity: 1; transform: translateY(0); }
    98%, 100% { opacity: 0; transform: translateY(-8px); }
}

.demo-item-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.demo-item-tag.warn {
    background: #f4ead8;
    color: var(--warm);
}

.demo-item-tag.briefing {
    background: var(--primary-dark);
    color: white;
}

.demo-item-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
}

/* ===== Demo 2: Briefing handoff ===== */

.demo-selectable {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.7rem 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.demo-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--line);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 0.15rem;
    background: white;
    position: relative;
    transition: all 0.3s ease;
}

.demo-selectable-1 { animation: demo2-select-1 12s infinite ease-in-out; }
.demo-selectable-1 .demo-checkbox { animation: demo2-check-1 12s infinite ease-in-out; }

.demo-selectable-2 { animation: demo2-select-2 12s infinite ease-in-out; }
.demo-selectable-2 .demo-checkbox { animation: demo2-check-2 12s infinite ease-in-out; }

.demo-selectable-3 { animation: demo2-select-3 12s infinite ease-in-out; }
.demo-selectable-3 .demo-checkbox { animation: demo2-check-3 12s infinite ease-in-out; }

@keyframes demo2-select-1 {
    0%, 10% { border-color: var(--line); background: white; }
    15%, 75% { border-color: var(--primary); background: var(--primary-light); }
    80%, 100% { border-color: var(--line); background: white; }
}

@keyframes demo2-check-1 {
    0%, 10% { background: white; border-color: var(--line); }
    15%, 75% { background: var(--primary); border-color: var(--primary); }
    80%, 100% { background: white; border-color: var(--line); }
}

@keyframes demo2-select-2 {
    0%, 25% { border-color: var(--line); background: white; }
    30%, 75% { border-color: var(--primary); background: var(--primary-light); }
    80%, 100% { border-color: var(--line); background: white; }
}

@keyframes demo2-check-2 {
    0%, 25% { background: white; border-color: var(--line); }
    30%, 75% { background: var(--primary); border-color: var(--primary); }
    80%, 100% { background: white; border-color: var(--line); }
}

@keyframes demo2-select-3 {
    0%, 40% { border-color: var(--line); background: white; }
    45%, 75% { border-color: var(--primary); background: var(--primary-light); }
    80%, 100% { border-color: var(--line); background: white; }
}

@keyframes demo2-check-3 {
    0%, 40% { background: white; border-color: var(--line); }
    45%, 75% { background: var(--primary); border-color: var(--primary); }
    80%, 100% { background: white; border-color: var(--line); }
}

.demo-briefing-card {
    background: white;
    border: 2px solid var(--primary-dark);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-top: auto;
    opacity: 0;
    transform: translateY(15px);
    animation: demo2-briefing-appear 12s infinite ease-out;
    box-shadow: 0 10px 30px rgba(7, 150, 110, 0.2);
}

@keyframes demo2-briefing-appear {
    0%, 55% { opacity: 0; transform: translateY(15px); }
    65%, 80% { opacity: 1; transform: translateY(0); }
    85%, 100% { opacity: 0; transform: translateY(-10px); }
}

.demo-share-link {
    margin-top: 0.4rem;
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0;
    animation: demo2-share-appear 12s infinite ease-out;
}

@keyframes demo2-share-appear {
    0%, 70% { opacity: 0; }
    75%, 80% { opacity: 1; }
    85%, 100% { opacity: 0; }
}

/* ===== Demo captions ===== */

.demo-caption {
    text-align: center;
    max-width: 380px;
}

.demo-caption h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.demo-caption p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ===== Responsive ===== */

@media (max-width: 1280px) {
    .demos-grid {
        gap: 2rem;
    }

    .demo-screen {
        max-width: 380px;
    }
}

@media (max-width: 968px) {
    .demos-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .demo-block {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .demos {
        padding: 4rem 0;
    }

    .demo-screen {
        padding: 1.25rem;
    }
}

/* ===== Respect reduced motion preference ===== */

@media (prefers-reduced-motion: reduce) {
    .demo-typing-bubble,
    .demo-typing-text,
    .demo-plan-item,
    .demo-selectable,
    .demo-checkbox,
    .demo-briefing-card,
    .demo-share-link {
        animation: none !important;
    }

    .demo-typing-bubble {
        opacity: 1;
        transform: none;
    }

    .demo-typing-text {
        width: 100%;
        white-space: normal;
    }

    .demo-plan-item,
    .demo-briefing-card {
        opacity: 1;
        transform: none;
  }

    .demo-checkbox {
        background: var(--primary);
        border-color: var(--primary);
    }
}

/* ================================
   END ANIMATED PRODUCT DEMOS
   ================================ */


.showcase {
    padding: 6rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    align-items: stretch;
}

.showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.showcase-mockup {
    width: 100%;
    max-width: 280px;
    background: white;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(7, 150, 110, 0.1);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.showcase-mockup:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(7, 150, 110, 0.15);
}

.showcase-screen {
    background: var(--bg-cream);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 420px;
}

.showcase-header {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.showcase-eyebrow {
    color: var(--primary-dark);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.showcase-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.showcase-badge {
    display: inline-flex;
    align-self: flex-start;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.6rem;
    font-weight: 800;
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.showcase-badge.community {
    background: var(--primary-dark);
    color: white;
}

.showcase-badge.anchor {
    background: var(--warm);
    color: white;
}

.showcase-item-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.showcase-item-card strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.showcase-item-card .meta {
    font-size: 0.65rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.showcase-bubble {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
    font-size: 0.75rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.showcase-bubble-author {
    font-size: 0.65rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.showcase-caption {
    text-align: center;
    max-width: 280px;
}

.showcase-caption h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.showcase-caption p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.showcase-member {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.75rem;
}

.showcase-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.showcase-member-info {
    flex: 1;
    min-width: 0;
}

.showcase-member-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.8rem;
}

.showcase-member-role {
    color: var(--text-gray);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

/* ================================
   WAITLIST SECTION
   ================================ */

.waitlist {
    padding: 6rem 0;
    background: var(--bg-cream);
}

.waitlist-container {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.waitlist-form {
    margin-top: 3rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(7, 150, 110, 0.08);
    text-align: left;
}

.waitlist-field {
    margin-bottom: 1.25rem;
}

.waitlist-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.waitlist-field input,
.waitlist-field select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-field input:focus,
.waitlist-field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-focus);
}

.waitlist-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.waitlist-submit:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(7, 150, 110, 0.25);
}

.waitlist-note {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-align: center;
    margin-top: 1.25rem;
    line-height: 1.5;
}

/* Responsive for new sections */
@media (max-width: 1280px) {
    .showcase-grid {
        gap: 1.75rem;
    }

    .showcase-mockup {
        max-width: 260px;
    }

    .showcase-screen {
        min-height: 380px;
        padding: 1.1rem;
    }
}

@media (max-width: 968px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .showcase-item {
        max-width: 320px;
        margin: 0 auto;
    }

    .waitlist-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .showcase {
        padding: 4rem 0;
    }

    .waitlist {
        padding: 4rem 0;
    }

    .waitlist-form {
        padding: 1.75rem 1.25rem;
    }
}

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

:root {
    --primary: #07966e;
    --primary-dark: #007f62;
    --primary-bright: #25c592;
    --primary-light: #e8f7f0;
    --primary-focus: #bcebd9;
    --text-dark: #10211d;
    --text-gray: #5a6d67;
    --text-light: #94a3b8;
    --line: #d9e7e1;
    --bg-cream: #f5fbf8;
    --bg-white: #ffffff;
    --warm: #86612f;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-cream);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 251, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex !important;
    gap: 2.5rem !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.nav-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links a {
    color: var(--text-gray) !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.cta-button,
.nav-links a.cta-button {
    background: var(--primary) !important;
    color: white !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: 100px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: none !important;
    display: inline-block;
    line-height: 1.4;
}

.cta-button:hover,
.nav-links a.cta-button:hover {
    background: var(--primary-dark) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(7, 150, 110, 0.3);
}

/* Hero Section */
.hero {
    margin-top: 100px;
    padding: 6rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(7, 150, 110, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Cairo', sans-serif;
    font-size: 4.25rem;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

.hero-text .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-text .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--primary-focus);
    z-index: -1;
    transform: skewY(-1deg);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.button-primary {
    background: var(--primary);
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    font-size: 1.05rem;
}

.button-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(7, 150, 110, 0.3);
}

.button-secondary {
    color: var(--primary);
    padding: 1rem 2.25rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    font-size: 1.05rem;
    background: white;
}

.button-secondary:hover {
    background: var(--primary-light);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.phone-mockup {
    position: absolute;
    width: 300px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(7, 150, 110, 0.18);
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--line);
    overflow: hidden;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    background: var(--bg-cream);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.workspace-header {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.workspace-eyebrow {
    color: var(--primary-dark);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.workspace-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.workspace-badge {
    display: inline-flex;
    align-self: flex-start;
    background: var(--primary-dark);
    color: white;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 800;
    margin-top: 0.15rem;
}

.chat-bubble {
    background: white;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-size: 0.78rem;
    color: var(--text-dark);
    line-height: 1.4;
    opacity: 0;
    animation: slideIn 0.8s ease forwards;
}

.chat-bubble:nth-child(1) {
    animation-delay: 0.3s;
}

.chat-bubble:nth-child(2) {
    animation-delay: 0.8s;
}

.chat-bubble:nth-child(3) {
    animation-delay: 1.3s;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-author {
    font-size: 0.7rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.chat-label {
    font-size: 0.65rem;
    color: var(--primary-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 0.85rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(7, 150, 110, 0.12);
    z-index: 1;
    border: 1px solid var(--line);
}

.card-1 {
    top: 8%;
    left: 0;
    width: 175px;
    animation: float-card 6s ease-in-out infinite;
}

.card-2 {
    bottom: 12%;
    left: 10px;
    width: 185px;
    animation: float-card 7s ease-in-out infinite 1s;
}

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

.card-badge {
    display: inline-flex;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.card-badge.warn {
    background: #f4ead8;
    color: var(--warm);
}

.card-title {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.card-text {
    font-size: 0.7rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-cream);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.7;
}

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

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    transition: all 0.4s ease;
    border: 1px solid var(--line);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(7, 150, 110, 0.08);
    border-color: var(--primary-focus);
}

.feature-icon {
    display: inline-flex;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-card:hover .feature-icon {
    background: var(--primary-dark);
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '→';
    position: absolute;
    right: -1.5rem;
    top: 40px;
    font-size: 2rem;
    color: var(--primary-light);
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-bright) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(7, 150, 110, 0.25);
}

.step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.step p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

.button-white {
    background: white;
    color: var(--primary);
    padding: 1rem 2.25rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid white;
    font-size: 1.05rem;
}

.button-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.button-outline {
    background: transparent;
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid white;
    font-size: 1.05rem;
}

.button-outline:hover {
    background: white;
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Responsive Design */
/* 13" laptops and smaller desktops: tighten everything, hide floating cards */
@media (max-width: 1280px) {
    .hero-text h1 {
        font-size: 3.25rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-content {
        gap: 3rem;
    }

    .hero-visual {
        height: 460px;
    }

    .phone-mockup {
        width: 270px;
        right: 30px;
    }

    .floating-card {
        display: none;
    }

    .nav-links {
        gap: 1.75rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .cta-content h2 {
        font-size: 2.75rem;
    }
}

/* Narrower laptops: even tighter nav and hero */
@media (max-width: 1100px) {
    .nav-links {
        gap: 1.25rem;
    }

    .hero-text h1 {
        font-size: 2.9rem;
    }

    .phone-mockup {
        width: 250px;
        right: 20px;
    }

    .hero-visual {
        height: 420px;
    }
}

@media (max-width: 968px) {
    /* Override the base `.nav-links { display: flex !important }` so the menu
       actually collapses on phones; the JS toggle uses inline !important to reopen it.
       When reopened it drops down as a vertical panel under the nav bar. */
    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1.25rem !important;
        background: rgba(245, 251, 248, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
        padding: 1.5rem 2rem !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

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

    /* Let the hero image flow under the text instead of being absolutely
       positioned, which overlapped the buttons on narrow screens. */
    .hero-visual {
        height: auto;
        margin: 0 auto;
        max-width: 400px;
    }

    .phone-mockup {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 0 auto;
        width: 260px;
        height: auto;
    }

    .floating-card {
        display: none;
    }

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

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

    .step::after {
        display: none;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-container {
        padding: 1rem 1.25rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-icon,
    .footer-logo-icon {
        height: 42px;
    }

    .hero {
        padding: 3rem 0 4rem;
        margin-top: 80px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-text .highlight::after {
        height: 8px;
        bottom: 4px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .hero-visual {
        height: auto;
    }

    .phone-mockup {
        width: 220px;
        height: auto;
    }

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

    .chat-bubble {
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    .features,
    .how-it-works {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-tag {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

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

    .feature-card {
        padding: 2rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

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

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .button-white,
    .button-outline {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    footer {
        padding: 3rem 0 1.5rem;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .footer-logo-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .phone-mockup {
        width: 200px;
        height: auto;
    }
}
