/* Omnia Health — Design System */
:root {
  --oh-navy: #073B5C;
  --oh-blue: #064B78;
  --oh-blue-deep: #062c47;
  --oh-teal: #009B8E;
  --oh-green: #36B27E;
  --oh-mint: #A8DED2;
  --oh-mint-soft: #d8efe8;
  --oh-ink: #183247;
  --oh-ink-soft: #4a6378;
  --oh-bg: #F4F8FA;
  --oh-bg-warm: #fbfdfe;
  --oh-line: #e3ecf2;
  --oh-white: #ffffff;
  --oh-grad-brand: linear-gradient(135deg, #064B78 0%, #0a6a82 40%, #009B8E 75%, #36B27E 100%);
  --oh-grad-brand-soft: linear-gradient(135deg, #0a4e74 0%, #0d7e8a 50%, #2ba884 100%);
  --oh-grad-light: linear-gradient(135deg, #eef6f5 0%, #e0eef2 100%);
  --oh-shadow-sm: 0 1px 2px rgba(7,59,92,.06), 0 1px 3px rgba(7,59,92,.04);
  --oh-shadow-md: 0 4px 16px -4px rgba(7,59,92,.10), 0 2px 6px rgba(7,59,92,.06);
  --oh-shadow-lg: 0 24px 60px -20px rgba(7,59,92,.22), 0 8px 24px -8px rgba(7,59,92,.10);
  --oh-shadow-glow: 0 30px 80px -20px rgba(0,155,142,.35);
  --oh-radius: 18px;
  --oh-radius-lg: 28px;
  --oh-radius-sm: 12px;
  font-family: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body { margin: 0; padding: 0; background: var(--oh-white); color: var(--oh-ink); font-family: 'Inter', system-ui, sans-serif; }
body { overflow-x: hidden; }

h1, h2, h3, h4 { font-family: 'Sora', 'Inter Tight', system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; color: var(--oh-ink); text-wrap: balance; margin: 0; }
p { margin: 0; line-height: 1.6; color: var(--oh-ink-soft); text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.oh-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.oh-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(0,155,142,.08); color: #007a70; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.oh-eyebrow.dark { background: rgba(168,222,210,.14); color: #a8ded2; }
.oh-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--oh-teal); flex-shrink: 0; }

/* Buttons */
.oh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: all .25s cubic-bezier(.2,.8,.2,1); white-space: nowrap; font-family: inherit; text-decoration: none; }
.oh-btn-primary { background: var(--oh-grad-brand); color: white; box-shadow: 0 8px 24px -8px rgba(0,155,142,.5); }
.oh-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -8px rgba(0,155,142,.6); color: white; }
.oh-btn-secondary { background: white; color: var(--oh-blue); border: 1px solid var(--oh-line); }
.oh-btn-secondary:hover { border-color: var(--oh-teal); color: var(--oh-teal); }
.oh-btn-ghost { background: transparent; color: var(--oh-ink); }
.oh-btn-ghost:hover { background: var(--oh-bg); }
.oh-btn-dark { background: white; color: var(--oh-navy); }
.oh-btn-dark:hover { transform: translateY(-1px); color: var(--oh-navy); }
.oh-btn-outline-light { background: transparent; color: white; border: 1px solid rgba(255,255,255,.3); }
.oh-btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* Cards */
.oh-card { background: white; border: 1px solid var(--oh-line); border-radius: var(--oh-radius); padding: 28px; transition: all .3s ease; }
.oh-card:hover { border-color: rgba(0,155,142,.3); box-shadow: var(--oh-shadow-md); transform: translateY(-2px); }

/* Sections */
.oh-section { padding: 110px 0; position: relative; }
.oh-section-tight { padding: 80px 0; }
.oh-section-dark { background: var(--oh-grad-brand); color: white; position: relative; overflow: hidden; }
.oh-section-dark h1, .oh-section-dark h2, .oh-section-dark h3 { color: white; }
.oh-section-dark p { color: rgba(255,255,255,.78); }
.oh-section-soft { background: var(--oh-bg); }

/* Brand orbital decoration */
.oh-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(168,222,210,.15); pointer-events: none; }
.oh-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .5; }

/* Animations */
@keyframes float-up { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse-soft { 0%,100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { to { transform: translateX(-50%); } }

.oh-reveal { opacity: 0; animation: fadeUp .8s ease forwards; }
.oh-reveal-delay-1 { animation-delay: .1s; }
.oh-reveal-delay-2 { animation-delay: .2s; }
.oh-reveal-delay-3 { animation-delay: .3s; }
.oh-reveal-delay-4 { animation-delay: .4s; }

.oh-float { animation: float-up 5s ease-in-out infinite; }
.oh-float-delay { animation-delay: 1.5s; }

/* Header */
.oh-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--oh-line); }
.oh-header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.oh-nav { display: flex; gap: 36px; align-items: center; }
.oh-nav a { font-size: 14.5px; font-weight: 500; color: var(--oh-ink); transition: color .2s; cursor: pointer; }
.oh-nav a:hover, .oh-nav a.active { color: var(--oh-teal); }
.oh-nav-actions { display: flex; gap: 10px; align-items: center; }

/* Footer */
.oh-footer { background: var(--oh-navy); color: rgba(255,255,255,.7); padding: 80px 0 32px; position: relative; overflow: hidden; }
.oh-footer h4 { color: white; font-size: 14px; margin-bottom: 16px; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.oh-footer a { display: block; padding: 6px 0; font-size: 14.5px; transition: color .2s; color: rgba(255,255,255,.7); }
.oh-footer a:hover { color: var(--oh-mint); }
.oh-footer .oh-btn { display: inline-flex; padding: 12px 22px; }
.oh-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 48px; margin-bottom: 56px; }
.oh-footer-brand { grid-column: span 2; max-width: 360px; }
.oh-footer-brand p { margin-top: 16px; color: rgba(255,255,255,.65); font-size: 14.5px; }
.oh-footer-bottom { border-top: 1px solid rgba(255,255,255,.10); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: rgba(255,255,255,.5); }

/* Logo */
.oh-logo { height: 36px; width: auto; display: block; }
.oh-logo-icon { width: 38px; height: 38px; }

/* Dashboard mockup card */
.dash-card { background: white; border-radius: 14px; box-shadow: var(--oh-shadow-lg); padding: 18px; border: 1px solid rgba(255,255,255,.6); }

/* Feature icons */
.feat-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,155,142,.10), rgba(54,178,126,.10)); color: var(--oh-teal); margin-bottom: 18px; flex-shrink: 0; }
.feat-icon svg { width: 22px; height: 22px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--oh-line); }
.faq-q { padding: 22px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.faq-q h3 { font-size: 18px; font-weight: 600; font-family: 'Sora', sans-serif; margin: 0; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--oh-bg); display: grid; place-items: center; transition: transform .3s, background .3s; flex-shrink: 0; }
.faq-item.open .faq-icon { background: var(--oh-teal); color: white; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

/* Workflow */
.wf-step { background: white; border: 1px solid var(--oh-line); border-radius: 16px; padding: 22px 20px; min-width: 200px; flex-shrink: 0; transition: all .3s; position: relative; }
.wf-step:hover { border-color: var(--oh-teal); transform: translateY(-4px); box-shadow: var(--oh-shadow-md); }
.wf-step .step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--oh-grad-brand); color: white; font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-bottom: 12px; }

/* Pricing */
.price-card { border: 1px solid var(--oh-line); border-radius: 24px; padding: 36px; background: white; transition: all .3s; position: relative; overflow: hidden; }
.price-card.featured { border-color: transparent; background: linear-gradient(180deg, #053751 0%, #064B78 50%, #0a6a7c 100%); color: white; box-shadow: var(--oh-shadow-lg); }
.price-card.featured h3, .price-card.featured .price { color: white; }
.price-card.featured p, .price-card.featured li { color: rgba(255,255,255,.85); }
.price-card .price { font-family: 'Sora', sans-serif; font-size: 48px; font-weight: 700; color: var(--oh-navy); letter-spacing: -0.03em; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0; }
.price-card li { padding: 10px 0; display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--oh-ink-soft); }
.price-card .check { color: var(--oh-teal); flex-shrink: 0; margin-top: 2px; }
.price-card.featured .check { color: var(--oh-mint); }

.badge-pop { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--oh-mint); color: var(--oh-navy); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* Form */
.oh-input { width: 100%; padding: 14px 16px; border: 1px solid var(--oh-line); border-radius: 12px; font-family: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; background: white; color: var(--oh-ink); }
.oh-input:focus { outline: none; border-color: var(--oh-teal); box-shadow: 0 0 0 4px rgba(0,155,142,.10); }
.oh-label { display: block; font-size: 13px; font-weight: 600; color: var(--oh-ink); margin-bottom: 6px; }

/* Mobile menu */
.oh-mobile-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--oh-bg); border: 1px solid var(--oh-line); cursor: pointer; place-items: center; }
/* position:absolute rispetto all'header sticky — evita il bug backdrop-filter/fixed in Chrome */
.oh-mobile-menu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 72px); background: white; padding: 24px; z-index: 40; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; box-shadow: 0 8px 32px -8px rgba(7,59,92,.14); }
.oh-mobile-menu a { padding: 16px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--oh-line); display: block; color: var(--oh-ink); }
/* il tasto primario nel menu mobile deve restare bianco */
.oh-mobile-menu .oh-btn-primary { color: white; border-bottom: none; padding: 14px 22px; }
.oh-mobile-menu-hidden { display: none; }

@media (max-width: 920px) {
  .oh-nav { display: none; }
  .oh-nav-actions .oh-btn-ghost { display: none; }
  .oh-mobile-toggle { display: grid; }
  .oh-section { padding: 72px 0; }
  .oh-footer-brand { grid-column: span 1; }
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
}

/* Marquee */
.marquee { display: flex; gap: 14px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 14px; animation: marquee 30s linear infinite; }

/* Hero */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,155,142,.18), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(54,178,126,.15), transparent 50%),
    linear-gradient(180deg, #f6fbfb 0%, #ffffff 100%);
  z-index: -1;
}

.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; align-items: center; position: relative; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

.tag-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(0,155,142,.10); color: #007a70; font-size: 12.5px; font-weight: 600; }

.brand-arc { position: absolute; border-radius: 50%; background: var(--oh-grad-brand); opacity: .08; pointer-events: none; }

/* Two-col sections */
.two-col { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .two-col .order-2 { order: -1; } }

/* Feature block */
.feature-block { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; margin-bottom: 96px; }
.feature-block:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .feature-block { grid-template-columns: 1fr; margin-bottom: 56px; } }

/* Comparison table */
.compare-table { border: 1px solid var(--oh-line); border-radius: 20px; overflow: hidden; background: white; }
.compare-header { display: grid; grid-template-columns: 1.4fr 1fr 1fr; background: var(--oh-bg); padding: 18px 24px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.compare-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 16px 24px; border-top: 1px solid var(--oh-line); align-items: center; font-size: 14.5px; background: white; }
.compare-row:first-of-type { background: rgba(0,155,142,.04); }
.compare-row span:nth-child(2) { text-align: center; }
.compare-row span:nth-child(3) { text-align: center; color: var(--oh-teal); font-weight: 600; }

/* Plans grid */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 24px; max-width: 920px; margin: 0 auto; }

/* Trust grid */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 18px; }
.trust-item { padding: 24px 20px; border-radius: 16px; background: var(--oh-bg); text-align: center; transition: all .3s; }
.trust-item:hover { transform: translateY(-2px); box-shadow: var(--oh-shadow-md); }
.trust-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--oh-grad-brand); color: white; display: grid; place-items: center; margin: 0 auto 12px; }
.trust-icon svg { width: 22px; height: 22px; }

/* Feature dark cards */
.feat-dark-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 18px; }
.feat-dark-card { padding: 24px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); backdrop-filter: blur(10px); transition: all .3s; }
.feat-dark-card:hover { background: rgba(255,255,255,.08); border-color: rgba(168,222,210,.4); transform: translateY(-3px); }
.feat-dark-icon { width: 44px; height: 44px; border-radius: 11px; background: linear-gradient(135deg, var(--oh-teal), var(--oh-green)); display: grid; place-items: center; color: white; margin-bottom: 14px; }
.feat-dark-icon svg { width: 22px; height: 22px; }

/* Stats card */
.stat-bar { height: 56px; display: flex; align-items: flex-end; gap: 4px; }
.stat-bar-item { flex: 1; border-radius: 3px; }

/* Benefits list */
.benefits-list { display: flex; flex-direction: column; gap: 14px; }
.benefit-item { display: flex; align-items: flex-start; gap: 12px; }
.benefit-check { width: 24px; height: 24px; border-radius: 50%; background: var(--oh-grad-brand); display: grid; place-items: center; color: white; flex-shrink: 0; }
.benefit-check svg { width: 14px; height: 14px; }

/* Comm chips grid */
.comm-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.comm-chip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--oh-bg); border-radius: 10px; font-size: 13.5px; font-weight: 500; }
.comm-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--oh-teal); flex-shrink: 0; }

/* CTA banner */
.cta-banner { background: var(--oh-grad-brand); border-radius: 32px; padding: 70px 56px; position: relative; overflow: hidden; text-align: center; color: white; }
@media (max-width: 700px) { .cta-banner { padding: 48px 24px; } }

/* Demo form */
.demo-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .demo-form-grid { grid-template-columns: 1fr; } }
.demo-form-group { display: flex; flex-direction: column; }

/* Solutions hub */
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; }

/* Landing page */
.landing-hook { padding: 18px; background: var(--oh-bg); border-left: 3px solid var(--oh-teal); border-radius: 8px; margin-bottom: 28px; font-size: 16px; font-weight: 600; color: var(--oh-navy); font-family: 'Sora', sans-serif; }
.landing-plan-box { padding: 32px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); backdrop-filter: blur(10px); border-radius: 22px; }

/* Demo & landing responsive grids */
.demo-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 60px; align-items: start; }
.landing-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 56px; align-items: center; position: relative; }
.landing-plan-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 56px; align-items: center; position: relative; }
@media (max-width: 900px) {
  .demo-hero-grid,
  .landing-hero-grid,
  .landing-plan-grid { grid-template-columns: 1fr; }
}

/* Phone mockup */
.phone-mockup { width: 260px; height: 520px; background: linear-gradient(160deg, #073B5C, #064B78); border-radius: 36px; padding: 10px; box-shadow: var(--oh-shadow-lg); position: relative; }
.phone-inner { background: #ECE5DD; border-radius: 26px; height: 100%; padding: 12px; display: flex; flex-direction: column; overflow: hidden; }
.phone-header { background: #075E54; border-radius: 12px 12px 0 0; margin: -12px -12px 12px; padding: 14px 14px 12px; display: flex; align-items: center; gap: 10px; color: white; }
.phone-avatar { width: 36px; height: 36px; border-radius: 50%; background: white; display: grid; place-items: center; overflow: hidden; }
.phone-msg { align-self: flex-start; max-width: 92%; background: white; border-radius: 10px; padding: 9px 11px; box-shadow: 0 1px 1px rgba(0,0,0,.08); font-size: 11px; color: var(--oh-ink); line-height: 1.5; }

/* Dashboard mockup */
.dash-mockup-wrap { position: relative; perspective: 1400px; }
.dash-mockup-inner { transform: rotateY(-6deg) rotateX(4deg); transform-style: preserve-3d; }
.dash-topbar { display: flex; align-items: center; padding: 12px 16px; background: #fafcfd; border-bottom: 1px solid var(--oh-line); gap: 8px; }
.dash-dots { display: flex; gap: 6px; }
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-url { flex: 1; text-align: center; font-size: 11px; color: var(--oh-ink-soft); font-family: monospace; }
.dash-body { display: grid; grid-template-columns: 180px 1fr; min-height: 360px; background: white; }
.dash-sidebar { padding: 14px; background: #f6fafc; border-right: 1px solid var(--oh-line); display: flex; flex-direction: column; gap: 4px; }
.dash-nav-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--oh-ink-soft); }
.dash-nav-item.active { background: white; box-shadow: 0 1px 3px rgba(0,0,0,.06); color: var(--oh-teal); font-weight: 600; }
.dash-main { padding: 18px; }
.dash-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.dash-appt { border-radius: 4px; padding: 5px 6px; font-size: 9px; }
.dash-float { position: absolute; }
.dash-float-top { top: -24px; right: -32px; width: 230px; }
.dash-float-bottom { bottom: -32px; left: -28px; width: 220px; }

/* Section header */
.section-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-header.left { text-align: left; margin: 0 0 48px; max-width: 720px; }
.section-header h2 { font-size: clamp(28px,4vw,46px); line-height: 1.08; margin-bottom: 18px; }

/* Workflow track */
.wf-track { display: flex; gap: 14px; overflow-x: auto; padding: 20px 0 30px; scroll-snap-type: x mandatory; }
.wf-arrow { display: flex; align-items: center; color: var(--oh-mint); flex-shrink: 0; }

/* Specialty chips */
.specialty-chip { padding: 12px 24px; background: white; border-radius: 999px; border: 1px solid var(--oh-line); font-size: 14.5px; font-weight: 600; color: var(--oh-navy); white-space: nowrap; }

/* Problem cards */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.problem-card .feat-icon { background: rgba(214,80,80,.08); color: #c14242; }

/* Form success */
.form-success { text-align: center; padding: 60px 20px; }
.form-success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--oh-grad-brand); display: grid; place-items: center; margin: 0 auto 20px; color: white; }
.form-success-icon svg { width: 32px; height: 32px; }

/* Inline SVG icons */
.oh-icon { display: inline-block; flex-shrink: 0; }

/* Pricing radio */
.plan-radio { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid var(--oh-line); border-radius: 12px; cursor: pointer; flex: 1 1 auto; min-width: 130px; }
