/* ===================================================================
   HOS — Hospitality Operating System
   Investor site stylesheet
   =================================================================== */

:root {
  --navy-900: #0B1424;
  --navy-800: #0F1A2E;
  --navy-700: #16233A;
  --navy-600: #1E2F4A;
  --teal-400: #3EC8B6;
  --teal-500: #23A79B;
  --teal-600: #117C82;
  --teal-grad: linear-gradient(135deg, #3EC8B6 0%, #117C82 100%);
  --ink: #16233A;
  --ink-soft: #48576F;
  --ink-faint: #7A8AA0;
  --line: #E4EAF1;
  --bg: #FFFFFF;
  --bg-alt: #F4F8FB;
  --white: #FFFFFF;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --font-head: "Sora", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 20px 50px -25px rgba(15, 26, 46, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(15, 26, 46, 0.25);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand__name { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Logo mark colouring ---------- */
.hos-bar { fill: var(--navy-700); }
.brand--footer .hos-bar,
.section--dark .hos-bar,
.section--deep .hos-bar { fill: var(--white); }

/* ===================================================================
   Buttons
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--teal-grad); color: #fff; box-shadow: 0 12px 30px -12px rgba(17, 124, 130, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(17, 124, 130, .85); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ===================================================================
   Navigation
   =================================================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; flex: none; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-size: 21px; color: var(--ink); letter-spacing: .02em; }
.brand__tag { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); margin-top: 3px; }

.nav__links { display: flex; gap: 26px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .15s; }
.nav__links a:hover { color: var(--teal-600); }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang__btn { background: transparent; border: none; padding: 7px 12px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink-faint); cursor: pointer; }
.lang__btn.is-active { background: var(--navy-700); color: #fff; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, #16233A 0%, #0F1A2E 45%, #0B1424 100%);
  color: #fff; padding: 90px 0 96px;
}
.hero__glow {
  position: absolute; top: -20%; right: -10%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(62,200,182,.32) 0%, transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }

.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-400); margin-bottom: 20px; padding: 6px 14px; border: 1px solid rgba(62,200,182,.35); border-radius: 999px; }
.hero__title { font-size: clamp(34px, 5vw, 56px); font-weight: 800; margin-bottom: 22px; }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); color: rgba(233,240,248,.82); max-width: 560px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero__proof { display: flex; gap: 34px; flex-wrap: wrap; }
.proof { display: flex; flex-direction: column; }
.proof strong { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: #fff; line-height: 1; }
.proof span { font-size: 13px; color: rgba(233,240,248,.62); margin-top: 6px; max-width: 150px; }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero__mark { width: min(300px, 72%); height: auto; position: relative; z-index: 2; filter: drop-shadow(0 20px 50px rgba(0,0,0,.4)); }
.hero__rings { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__rings span { position: absolute; border: 1px solid rgba(62,200,182,.22); border-radius: 50%; animation: pulse 5s ease-in-out infinite; }
.hero__rings span:nth-child(1){ width: 260px; height: 260px; }
.hero__rings span:nth-child(2){ width: 380px; height: 380px; animation-delay: .8s; }
.hero__rings span:nth-child(3){ width: 500px; height: 500px; animation-delay: 1.6s; }
@keyframes pulse { 0%,100%{ opacity:.35; transform: scale(1);} 50%{ opacity:.7; transform: scale(1.04);} }

/* ===================================================================
   Sections
   =================================================================== */
.section { padding: 96px 0; }
.section--light { background: var(--bg); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-800); color: #fff; }
.section--deep { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; }

.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-500); margin-bottom: 16px; }
.section--dark .kicker, .section--deep .kicker { color: var(--teal-400); }
.section__head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; }
.section--light .section__head h2 { color: var(--ink); }
.section__intro { margin-top: 18px; font-size: 17px; color: var(--ink-soft); }
.section--dark .section__intro, .section--deep .section__intro { color: rgba(233,240,248,.75); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card { padding: 32px; border-radius: var(--radius); }
.card__icon { font-size: 26px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--teal-grad); color: #fff; margin-bottom: 20px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card--muted { background: var(--bg-alt); border: 1px solid var(--line); }
.card--glass { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.card--glass h3 { color: #fff; } .card--glass p { color: rgba(233,240,248,.72); }

/* ---------- Pillars (vision) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar { padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: transform .2s, border-color .2s; }
.pillar:hover { transform: translateY(-4px); border-color: rgba(62,200,182,.4); }
.pillar__n { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--teal-400); }
.pillar h3 { font-size: 18px; margin: 14px 0 10px; color: #fff; }
.pillar p { font-size: 14.5px; color: rgba(233,240,248,.7); }

/* ---------- Features (unique) ---------- */
.feature { display: flex; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature__mark { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(35,167,155,.12); color: var(--teal-600); font-size: 18px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Architecture layers ---------- */
.layers { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.layer { display: flex; align-items: center; gap: 20px; padding: 20px 26px; border-radius: 14px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); margin-left: calc(var(--i) * 26px); transition: transform .2s, background .2s; }
.layer:hover { transform: translateX(4px); background: rgba(255,255,255,.08); }
.layer--core { background: var(--teal-grad); border-color: transparent; box-shadow: 0 16px 40px -18px rgba(17,124,130,.8); }
.layer__tag { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--teal-400); flex: none; width: 34px; }
.layer--core .layer__tag { color: rgba(255,255,255,.9); }
.layer h3 { font-size: 17px; color: #fff; margin-bottom: 3px; }
.layer p { font-size: 14px; color: rgba(233,240,248,.68); }
.layer--core p { color: rgba(255,255,255,.85); }
.arch__note { text-align: center; margin-top: 40px; font-size: 14.5px; color: rgba(233,240,248,.6); max-width: 780px; margin-left: auto; margin-right: auto; }

/* ---------- Domains ---------- */
.domains { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 940px; margin: 0 auto; }
.domains li { padding: 11px 20px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink); transition: .18s; }
.domains li:hover { background: var(--navy-700); color: #fff; border-color: var(--navy-700); transform: translateY(-2px); }

/* ---------- Vital signs ---------- */
.health { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.health__copy h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.health__copy p { color: rgba(233,240,248,.78); font-size: 17px; }
.vitals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.vital { padding: 18px 20px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: #fff; position: relative; padding-left: 44px; }
.vital::before { content: ""; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 50%; background: var(--teal-grad); box-shadow: 0 0 12px rgba(62,200,182,.7); }

/* ---------- Roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rm { padding: 28px 24px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); position: relative; }
.rm--done { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.rm__tag { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-500); }
.rm--done .rm__tag { color: var(--teal-400); }
.rm h3 { font-size: 22px; margin: 8px 0 10px; }
.rm p { font-size: 14.5px; color: var(--ink-soft); }
.rm--done p { color: rgba(233,240,248,.75); }

/* ---------- Market ---------- */
.market { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.market__copy h2 { font-size: clamp(26px, 3vw, 38px); color: var(--ink); margin-bottom: 18px; }
.market__copy > p { font-size: 17px; color: var(--ink-soft); margin-bottom: 24px; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 15.5px; color: var(--ink); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-grad); color: #fff; font-size: 13px; display: grid; place-items: center; font-weight: 700; }
.checks--light li { color: rgba(233,240,248,.9); }
.market__card { padding: 34px; border-radius: var(--radius); background: var(--navy-700); color: #fff; box-shadow: var(--shadow); }
.market__card h3 { font-size: 21px; margin-bottom: 14px; }
.market__card p { color: rgba(233,240,248,.8); font-size: 15.5px; }

/* ---------- Invest / form ---------- */
.invest { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.invest__copy h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; }
.invest__copy > p { color: rgba(233,240,248,.8); font-size: 17px; margin-bottom: 26px; }

.form { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); padding: 32px; border-radius: var(--radius); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; font-size: 13.5px; font-weight: 500; color: rgba(233,240,248,.85); }
.form input, .form textarea { font-family: var(--font-body); font-size: 15px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: rgba(11,20,36,.5); color: #fff; transition: border-color .15s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal-400); }
.form textarea { resize: vertical; }
.form__status { margin-top: 14px; font-size: 14px; min-height: 20px; }
.form__status.ok { color: var(--teal-400); }
.form__status.err { color: #FF8A8A; }
.form__fallback { margin-top: 12px; font-size: 13.5px; color: rgba(233,240,248,.6); }
.form__fallback a { color: var(--teal-400); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #fff; padding: 44px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand--footer .brand__name { color: #fff; }
.footer__meta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: rgba(233,240,248,.6); }
.footer__meta a:hover { color: var(--teal-400); }

/* ===================================================================
   Reveal animation
   =================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.is-open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 18px 24px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 220px; }
  .hero__mark { width: 180px; }
  .hero__rings span:nth-child(3){ display: none; }
  .grid--2, .grid--3, .pillars, .roadmap { grid-template-columns: 1fr; }
  .health, .market, .invest { grid-template-columns: 1fr; }
  .layer { margin-left: calc(var(--i) * 14px); }
}
@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .hero { padding: 64px 0 72px; }
  .form__row { grid-template-columns: 1fr; }
  .vitals { grid-template-columns: 1fr; }
  .hero__proof { gap: 22px; }
  .layer { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
