/* ==========================================================================
   WAHA — Hospital Management System
   Design System / Global Stylesheet
   Fonts: Inter, Poppins, Open Sans
   Palette: Medical Blue #0A66C2 · Healthcare Green #00A86B
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/*  1. Design Tokens                                                          */
/* -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --blue:        #0A66C2;
  --blue-700:    #084f96;
  --blue-300:    #6ba7e0;
  --green:       #00A86B;
  --green-700:   #008556;
  --green-300:   #5fd3a8;

  /* Neutrals */
  --ink:         #0f1b2d;
  --ink-soft:    #34465c;
  --muted:       #6b7c93;
  --line:        #e4ebf3;
  --white:       #ffffff;
  --light:       #f4f8fc;   /* light gray */
  --soft-blue:   #eaf2fb;   /* soft blue background */
  --soft-green:  #e7f7f0;

  /* Accent surfaces */
  --grad-brand:  linear-gradient(135deg, #0A66C2 0%, #00A86B 100%);
  --grad-blue:   linear-gradient(135deg, #0A66C2 0%, #2a86e0 100%);
  --grad-green:  linear-gradient(135deg, #00A86B 0%, #34c98c 100%);
  --grad-hero:   linear-gradient(160deg, #eaf2fb 0%, #e7f7f0 100%);

  /* Effects */
  --shadow-sm:   0 2px 8px rgba(15, 27, 45, .06);
  --shadow:      0 10px 30px rgba(15, 27, 45, .08);
  --shadow-lg:   0 24px 60px rgba(10, 102, 194, .14);
  --glass:       rgba(255, 255, 255, .65);
  --glass-line:  rgba(255, 255, 255, .8);

  /* Geometry */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Type */
  --f-head: 'Poppins', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', 'Open Sans', system-ui, sans-serif;

  --container: 1180px;
}

/* -------------------------------------------------------------------------- */
/*  2. Reset & Base                                                           */
/* -------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green); }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--f-head); color: var(--ink); line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.015em; }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; border-radius: 6px; }

/* -------------------------------------------------------------------------- */
/*  3. Layout helpers                                                         */
/* -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.bg-light { background: var(--light); }
.bg-soft  { background: var(--grad-hero); }
.bg-ink   { background: #0c1726; }
.center { text-align: center; }
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.eyebrow {
  display: inline-block; font-family: var(--f-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); background: var(--soft-green);
  padding: 7px 16px; border-radius: 100px; margin-bottom: 18px;
}
.eyebrow.blue { color: var(--blue); background: var(--soft-blue); }
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }
.lead { font-size: 1.16rem; color: var(--ink-soft); }

/* -------------------------------------------------------------------------- */
/*  4. Buttons                                                                */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-head); font-weight: 600; font-size: .96rem;
  padding: 13px 26px; border-radius: 100px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .22s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 22px rgba(10,102,194,.28); }
.btn-primary:hover { color:#fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,168,107,.32); }
.btn-green { background: var(--grad-green); color:#fff; box-shadow: 0 8px 22px rgba(0,168,107,.26); }
.btn-green:hover { color:#fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--line); }
.btn-ghost:hover { color: var(--blue); border-color: var(--blue-300); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-light { background: rgba(255,255,255,.16); color:#fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { background: rgba(255,255,255,.26); color:#fff; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

/* -------------------------------------------------------------------------- */
/*  5. Header / Navigation                                                    */
/* -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #000;
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--f-head); font-weight: 700; font-size: 1.32rem; color: var(--ink); }
.brand img { height: 89px; width: auto; object-fit: contain; }
.brand span b { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-top {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-head); font-weight: 500; font-size: .94rem; color: #fff;
  padding: 9px 13px; border-radius: 9px; transition: all .18s ease; cursor: pointer;
}
.nav-top:hover { color: var(--blue); background: var(--soft-blue); }
.nav-top.active, .nav-item.active > .nav-top { color: var(--blue); background: var(--soft-blue); font-weight: 600; }
.nav-chev { width: 15px; height: 15px; display: inline-flex; transition: transform .2s ease; opacity: .7; }
.nav-chev svg { width: 15px; height: 15px; }
.nav-item.has-mega:hover .nav-chev,
.nav-item.has-mega:focus-within .nav-chev { transform: rotate(180deg); }

/* ---- Mega menu panel ---- */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(760px, 92vw); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 14px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease; z-index: 1001;
}
.mega::before { content:''; position:absolute; top:-14px; left:0; right:0; height:14px; } /* hover bridge */
.nav-item.has-mega:hover .mega,
.nav-item.has-mega:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.mega-inner { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm); transition: background .16s ease; }
.mega-item:hover { background: var(--light); }
.mega-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--soft-blue); color: var(--blue); transition: all .18s ease; }
.mega-ic svg { width: 21px; height: 21px; }
.mega-item:nth-child(even) .mega-ic { background: var(--soft-green); color: var(--green); }
.mega-item:hover .mega-ic { background: var(--grad-blue); color: #fff; }
.mega-item:nth-child(even):hover .mega-ic { background: var(--grad-green); color: #fff; }
.mega-tx b { display: block; font-family: var(--f-head); font-size: .92rem; color: var(--ink); font-weight: 600; line-height: 1.3; }
.mega-tx small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 1px; }
.mega-promo {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 232px;
  background-size: cover; background-position: center; display: flex; flex-direction: column;
  justify-content: space-between; padding: 16px; color: #fff;
}
.mega-promo:hover { color: #fff; }
.mega-promo-tag { align-self: flex-start; font-family: var(--f-head); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.22); backdrop-filter: blur(4px); padding: 5px 12px; border-radius: 100px; }
.mega-promo-bottom b { display: block; font-family: var(--f-head); font-size: 1.08rem; font-weight: 700; color: #fff; }
.mega-promo-bottom small { display: block; font-size: .82rem; color: rgba(255,255,255,.88); margin: 4px 0 10px; line-height: 1.45; }
.mega-promo-cta { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-head); font-weight: 600; font-size: .86rem; color: #fff; }
.mega-promo-cta svg { width: 16px; height: 16px; transition: transform .2s ease; }
.mega-promo:hover .mega-promo-cta svg { transform: translateX(4px); }

/* ---- Simple dropdown panel (Wahaah) ---- */
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 248px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease; z-index: 1001;
}
.dropdown::before { content:''; position:absolute; top:-14px; left:0; right:0; height:14px; } /* hover bridge */
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-item.has-dropdown:hover .nav-chev,
.nav-item.has-dropdown:focus-within .nav-chev { transform: rotate(180deg); }
.dd-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  border-radius: var(--r-sm); font-family: var(--f-head); font-weight: 500;
  font-size: .92rem; color: var(--ink-soft); transition: all .16s ease;
}
.dd-item:hover { background: var(--soft-blue); color: var(--blue); }
.dd-item.active { background: var(--soft-blue); color: var(--blue); font-weight: 600; }
.dd-ic { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--soft-blue); color: var(--blue); transition: all .18s ease; }
.dd-ic svg { width: 18px; height: 18px; }
.dd-item:nth-child(even) .dd-ic { background: var(--soft-green); color: var(--green); }
.dd-item:hover .dd-ic { background: var(--grad-blue); color: #fff; }
.dd-item:nth-child(even):hover .dd-ic { background: var(--grad-green); color: #fff; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 20px; font-size: .9rem; }
.login-link { font-family: var(--f-head); font-weight: 600; color: #fff; padding: 9px 8px; }
.login-link:hover { color: var(--blue); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: .25s; }
.hamburger.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; }
.hamburger.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* -------------------------------------------------------------------------- */
/*  6. Cards & surfaces                                                       */
/* -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d7e6f6; }
.card .ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  margin-bottom: 18px; color: #fff;
}
.card h3 { margin-bottom: 9px; }
.card p { font-size: .97rem; color: var(--muted); }
.ic-blue  { background: var(--grad-blue); box-shadow: 0 8px 18px rgba(10,102,194,.26); }
.ic-green { background: var(--grad-green); box-shadow: 0 8px 18px rgba(0,168,107,.24); }
.ic-soft-blue  { background: var(--soft-blue);  color: var(--blue) !important; }
.ic-soft-green { background: var(--soft-green); color: var(--green) !important; }
.ic svg { width: 26px; height: 26px; }

.glass {
  background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}

/* feature list with check ticks */
.ticks li { display: flex; align-items: flex-start; gap: 11px; padding: 8px 0; color: var(--ink-soft); font-size: .98rem; }
.ticks li svg { flex: none; width: 21px; height: 21px; color: var(--green); margin-top: 2px; }

/* pills */
.pill { display:inline-flex; align-items:center; gap:7px; background: var(--soft-blue); color: var(--blue); font-weight:600; font-size:.82rem; padding:6px 14px; border-radius:100px; }
.pill.green { background: var(--soft-green); color: var(--green); }

/* -------------------------------------------------------------------------- */
/*  7. Hero                                                                   */
/* -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--grad-hero); overflow: hidden; }
.hero::before, .hero::after {
  content:''; position:absolute; border-radius:50%; filter: blur(10px); opacity:.5; z-index:0;
}
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle, rgba(10,102,194,.22), transparent 65%); top:-180px; right:-120px; }
.hero::after  { width: 460px; height: 460px; background: radial-gradient(circle, rgba(0,168,107,.20), transparent 65%); bottom:-200px; left:-140px; }
.hero .container { position: relative; z-index: 2; }

/* ---- Video hero ---- */
.hero--video { background: #0b1f33; }
.hero--video::before, .hero--video::after { display: none; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; border: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(7,30,52,.86) 0%, rgba(8,40,70,.66) 42%, rgba(10,60,80,.40) 100%),
    linear-gradient(180deg, rgba(7,26,46,.30), rgba(7,26,46,.55));
}
/* light text treatment over the video */
.hero--video .hero-copy h1,
.hero--video .hero-copy p.lead { color: #fff; }
.hero--video .hero-copy p.lead { color: rgba(255,255,255,.92); }
.hero--video .hero-trust .t-num { color: #fff; }
.hero--video .hero-trust .t-lbl { color: rgba(255,255,255,.78); }
.hero--video .pill.green { background: rgba(255,255,255,.16); color: #eafff6; backdrop-filter: blur(6px); }
.hero--video .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.hero--video .btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; border-color: #fff; }
.hero--video .trust-badge { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(6px); }
.hero--video .trust-badge svg { color: var(--green-300); }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-grid { display:grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; padding: 70px 0 80px; }
.hero h1 { margin: 16px 0 18px; }
.hero p.lead { margin-bottom: 30px; max-width: 540px; }
.hero-cta { display:flex; gap:14px; flex-wrap: wrap; }
.hero-trust { display:flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust .t-num { font-family: var(--f-head); font-weight:700; font-size:1.7rem; color: var(--ink); }
.hero-trust .t-lbl { font-size:.85rem; color: var(--muted); }

.page-hero { background: var(--grad-hero); padding: 70px 0 64px; text-align:center; position:relative; overflow:hidden; }
.page-hero::after { content:''; position:absolute; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(0,168,107,.16), transparent 65%); top:-160px; right:-120px; }
.page-hero .container { position: relative; z-index:1; }
.page-hero p { max-width: 660px; margin: 16px auto 0; font-size: 1.12rem; color: var(--ink-soft); }
.breadcrumb { font-size:.85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* -------------------------------------------------------------------------- */
/*  8. Dashboard mockup (inline)                                              */
/* -------------------------------------------------------------------------- */
.mock {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.mock-bar { display:flex; align-items:center; gap:7px; padding: 13px 16px; background: #f7fafd; border-bottom:1px solid var(--line); }
.mock-bar .dot { width:11px; height:11px; border-radius:50%; }
.mock-bar .dot:nth-child(1){ background:#ff6058; } .mock-bar .dot:nth-child(2){ background:#ffbe2f; } .mock-bar .dot:nth-child(3){ background:#2aca44; }
.mock-bar .tag { margin-left:10px; font-size:.78rem; color: var(--muted); font-weight:600; }
.mock-body { padding: 18px; display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kpi { background: var(--light); border-radius: var(--r-sm); padding: 14px; border:1px solid var(--line); }
.kpi .k-top { display:flex; align-items:center; justify-content:space-between; font-size:.74rem; color: var(--muted); font-weight:600; }
.kpi .k-val { font-family: var(--f-head); font-weight:700; font-size:1.5rem; color: var(--ink); margin-top:4px; }
.kpi .k-chip { font-size:.7rem; padding:2px 8px; border-radius:100px; font-weight:700; }
.k-chip.up { background: var(--soft-green); color: var(--green); }
.k-chip.dn { background: #fdecec; color:#d9534f; }
.mock-wide { grid-column: 1 / -1; background:#fff; border:1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.mock-wide h5 { font-size:.82rem; color: var(--muted); margin-bottom:12px; display:flex; justify-content:space-between; }

/* bar chart (pure css) */
.bars { display:flex; align-items:flex-end; gap: 10px; height: 110px; }
.bars .bar { flex:1; border-radius: 6px 6px 0 0; background: var(--grad-blue); opacity:.9; animation: grow 1s ease both; }
.bars .bar.g { background: var(--grad-green); }
@keyframes grow { from { height: 0 !important; } }

/* donut */
.donut { width: 118px; height: 118px; border-radius:50%;
  background: conic-gradient(var(--blue) 0 42%, var(--green) 42% 72%, #f0a92e 72% 88%, #e4ebf3 88% 100%);
  display:grid; place-items:center; }
.donut::after { content:''; width:74px; height:74px; border-radius:50%; background:#fff; }
.legend li { display:flex; align-items:center; gap:8px; font-size:.84rem; color:var(--ink-soft); padding:3px 0; }
.legend .sw { width:11px; height:11px; border-radius:3px; }

/* line/area sparkline uses svg in markup */

/* -------------------------------------------------------------------------- */
/*  9. Logo strip / stats                                                     */
/* -------------------------------------------------------------------------- */
.statbar { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.statbar .s { text-align:center; padding: 18px; }
.statbar .s b { display:block; font-family:var(--f-head); font-weight:700; font-size: 2.3rem; background: var(--grad-brand); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color: transparent; }
.statbar .s span { color: var(--muted); font-size:.92rem; }

/* -------------------------------------------------------------------------- */
/* 10. Testimonials                                                           */
/* -------------------------------------------------------------------------- */
.quote { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.quote .stars { color:#f4b740; letter-spacing:2px; margin-bottom:12px; }
.quote p { font-size:1.02rem; color: var(--ink); font-style: italic; }
.quote .who { display:flex; align-items:center; gap:12px; margin-top:20px; }
.quote .av { width:46px; height:46px; border-radius:50%; background: var(--grad-brand); color:#fff; display:grid; place-items:center; font-family:var(--f-head); font-weight:700; }
.quote .who b { display:block; color: var(--ink); font-family:var(--f-head); }
.quote .who span { font-size:.85rem; color: var(--muted); }

/* -------------------------------------------------------------------------- */
/* 11. Tables                                                                 */
/* -------------------------------------------------------------------------- */
.table-wrap { overflow-x:auto; border-radius: var(--r-lg); border:1px solid var(--line); box-shadow: var(--shadow-sm); }
table.cmp { width:100%; border-collapse: collapse; background:#fff; min-width: 620px; }
table.cmp th, table.cmp td { padding: 16px 22px; text-align:left; border-bottom:1px solid var(--line); }
table.cmp thead th { font-family:var(--f-head); background: var(--soft-blue); color: var(--ink); font-size:.95rem; }
table.cmp thead th.hl { background: var(--grad-green); color:#fff; }
table.cmp td:first-child { font-weight:600; color: var(--ink); }
table.cmp tbody tr:hover { background: var(--light); }
table.cmp svg { width:20px; height:20px; }
.yes { color: var(--green); } .no { color:#c2cad6; }

/* -------------------------------------------------------------------------- */
/* 12. Pricing                                                                */
/* -------------------------------------------------------------------------- */
.price-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; align-items: stretch; }
.price {
  background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px;
  display:flex; flex-direction:column; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price.feat { border: 2px solid var(--green); box-shadow: var(--shadow-lg); position:relative; }
.price.feat .tagtop { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background: var(--grad-green); color:#fff; font-size:.74rem; font-weight:700; padding:5px 16px; border-radius:100px; font-family:var(--f-head); letter-spacing:.04em; }
.price h3 { font-size:1.18rem; }
.price .who { color: var(--muted); font-size:.9rem; margin-bottom:16px; }
.price .amt { font-family:var(--f-head); font-weight:700; font-size:2.4rem; color: var(--ink); }
.price .amt small { font-size:.9rem; color: var(--muted); font-weight:500; }
.price .amt.custom { font-size:1.7rem; }
.price ul { margin: 20px 0 24px; }
.price ul li { display:flex; gap:10px; padding:7px 0; font-size:.93rem; color: var(--ink-soft); }
.price ul li svg { width:19px; height:19px; color: var(--green); flex:none; }
.price .btn { margin-top:auto; }

/* -------------------------------------------------------------------------- */
/* 13. Forms                                                                  */
/* -------------------------------------------------------------------------- */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display:block; font-family:var(--f-head); font-weight:600; font-size:.88rem; color: var(--ink); margin-bottom:7px; }
.field input, .field select, .field textarea {
  width:100%; padding: 12px 15px; border:1.5px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--f-body); font-size:.95rem; color: var(--ink); background:#fff; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,102,194,.12); outline:none; }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size:.82rem; color: var(--muted); margin-top:10px; }

/* map placeholder */
.map-ph {
  border-radius: var(--r-lg); height: 320px; border:1px solid var(--line); overflow:hidden;
  background:
    linear-gradient(rgba(10,102,194,.06), rgba(0,168,107,.06)),
    repeating-linear-gradient(0deg, #eef3f8 0 39px, #e2eaf2 39px 40px),
    repeating-linear-gradient(90deg, #eef3f8 0 39px, #e2eaf2 39px 40px);
  display:grid; place-items:center; position:relative;
}
.map-ph .pin { background:#fff; padding: 12px 20px; border-radius: 100px; box-shadow: var(--shadow); display:flex; align-items:center; gap:9px; font-weight:600; color: var(--ink); }
.map-ph .pin svg { color: var(--green); width:20px; height:20px; }

/* -------------------------------------------------------------------------- */
/* 14. CTA band                                                               */
/* -------------------------------------------------------------------------- */
.cta-band { background: var(--grad-brand); border-radius: var(--r-xl); padding: 56px; text-align:center; color:#fff; position:relative; overflow:hidden; }
.cta-band::after { content:''; position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 50%); }
.cta-band > * { position:relative; z-index:1; }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width:560px; margin: 14px auto 26px; font-size:1.1rem; }
.cta-band .hero-cta { justify-content:center; }

/* -------------------------------------------------------------------------- */
/* 15. Workflow diagram                                                       */
/* -------------------------------------------------------------------------- */
.flow { display:flex; align-items:stretch; gap:0; flex-wrap:wrap; justify-content:center; }
.flow .step { flex:1; min-width: 150px; text-align:center; padding: 0 14px; position:relative; }
.flow .step .num { width:52px; height:52px; margin:0 auto 14px; border-radius:50%; display:grid; place-items:center; color:#fff; font-family:var(--f-head); font-weight:700; font-size:1.1rem; background: var(--grad-brand); box-shadow: 0 8px 18px rgba(10,102,194,.25); }
.flow .step:not(:last-child)::after { content:''; position:absolute; top:26px; right:-50%; width:100%; height:2px; background: linear-gradient(90deg, var(--blue-300), var(--green-300)); z-index:0; }
.flow .step h4 { margin-bottom:6px; }
.flow .step p { font-size:.88rem; color: var(--muted); }

/* -------------------------------------------------------------------------- */
/* 16. Accordion (FAQ)                                                        */
/* -------------------------------------------------------------------------- */
.acc { border:1px solid var(--line); border-radius: var(--r); background:#fff; margin-bottom:14px; overflow:hidden; box-shadow: var(--shadow-sm); }
.acc summary { cursor:pointer; padding: 20px 24px; font-family:var(--f-head); font-weight:600; color: var(--ink); list-style:none; display:flex; justify-content:space-between; align-items:center; gap:14px; }
.acc summary::-webkit-details-marker { display:none; }
.acc summary .chev { flex:none; width:22px; height:22px; color: var(--blue); transition: transform .25s ease; }
.acc[open] summary .chev { transform: rotate(180deg); }
.acc .acc-body { padding: 0 24px 22px; color: var(--ink-soft); font-size:.97rem; }

/* -------------------------------------------------------------------------- */
/* 17. Footer                                                                 */
/* -------------------------------------------------------------------------- */
.site-footer { background:#0c1726; color:#aebaccd1; color:#aebacc; padding: 70px 0 30px; }
.foot-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 34px; }
.foot-brand .brand { color:#fff; margin-bottom:14px; }
.foot-brand p { color:#8ea0b6; font-size:.92rem; max-width: 280px; }
.foot-col h5 { color:#fff; font-family:var(--f-head); font-size:.98rem; margin-bottom:16px; }
.foot-col a { display:block; color:#9fb0c4; font-size:.92rem; padding:6px 0; }
.foot-col a:hover { color: var(--green-300); }
.socials { display:flex; gap:11px; margin-top:18px; }
.socials a { width:38px; height:38px; border-radius:10px; background: rgba(255,255,255,.07); display:grid; place-items:center; color:#cdd8e6; transition: all .2s ease; }
.socials a:hover { background: var(--grad-green); color:#fff; transform: translateY(-2px); }
.socials svg { width:18px; height:18px; }
.foot-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top: 46px; padding-top: 24px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; font-size:.86rem; color:#8295ab; }
.foot-bottom .links { display:flex; gap:20px; flex-wrap:wrap; }
.foot-bottom a { color:#8295ab; } .foot-bottom a:hover { color:#fff; }

/* -------------------------------------------------------------------------- */
/* 18. Split feature rows                                                     */
/* -------------------------------------------------------------------------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items:center; }
.split.rev .split-media { order: 2; }
.split-media .mock { transform: perspective(1400px) rotateY(-6deg); }
.split.rev .split-media .mock { transform: perspective(1400px) rotateY(6deg); }
.module-tag { display:inline-flex; align-items:center; gap:9px; font-family:var(--f-head); font-weight:700; color: var(--blue); margin-bottom:14px; }
.module-tag .mt-ic { width:40px; height:40px; border-radius:11px; display:grid; place-items:center; color:#fff; }

/* -------------------------------------------------------------------------- */
/* 19. Misc                                                                   */
/* -------------------------------------------------------------------------- */
.badge-row { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:30px; }
.trust-badge { display:flex; align-items:center; gap:9px; background:#fff; border:1px solid var(--line); border-radius:100px; padding:9px 18px; font-weight:600; font-size:.86rem; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.trust-badge svg { width:18px; height:18px; color: var(--green); }

.reveal { opacity:0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }

.tile { background:#fff; border:1px solid var(--line); border-radius: var(--r); padding:22px; display:flex; gap:14px; align-items:flex-start; transition: all .22s ease; }
.tile:hover { border-color:#d7e6f6; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.tile .ti { width:44px; height:44px; border-radius:12px; flex:none; display:grid; place-items:center; color:#fff; }
.tile h4 { margin-bottom:4px; } .tile p { font-size:.9rem; color: var(--muted); }

/* -------------------------------------------------------------------------- */
/* 20. Responsive                                                             */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: repeat(2,1fr); }
  .statbar { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .hero-grid { gap: 36px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0; background:#fff;
    flex-direction: column; align-items: stretch; padding: 14px; gap: 2px;
    border-bottom:1px solid var(--line); box-shadow: var(--shadow); display:none;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav-links.open { display:flex; }
  .nav-item { width: 100%; }
  .nav-top { width: 100%; padding: 13px 14px; justify-content: space-between; border-radius: var(--r-sm); }
  /* mobile: mega becomes an inline accordion panel */
  .mega {
    position: static; transform: none; width: 100%; box-shadow: none; border: 0;
    border-radius: 0; padding: 0; opacity: 1; visibility: hidden; pointer-events: none;
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .nav-item.has-mega:hover .mega, .nav-item.has-mega:focus-within .mega { transform: none; } /* disable hover-open on touch */
  .nav-item.has-mega.open .mega { visibility: visible; pointer-events: auto; max-height: 1400px; }
  .nav-item.has-mega.open .nav-chev { transform: rotate(180deg); }
  .mega-inner { grid-template-columns: 1fr; gap: 8px; padding: 4px 4px 10px; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-item { padding: 10px 12px; }
  .mega-promo { min-height: 150px; }
  /* mobile: dropdown becomes an inline accordion panel */
  .dropdown {
    position: static; transform: none; min-width: 0; width: 100%; box-shadow: none; border: 0;
    border-radius: 0; padding: 0 0 0 6px; opacity: 1; visibility: hidden; pointer-events: none;
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .nav-item.has-dropdown:hover .dropdown, .nav-item.has-dropdown:focus-within .dropdown { transform: none; }
  .nav-item.has-dropdown.open .dropdown { visibility: visible; pointer-events: auto; max-height: 600px; }
  .nav-item.has-dropdown.open .nav-chev { transform: rotate(180deg); }
  .dd-item { padding: 11px 14px; }
  .hero-grid, .split, .g-2, .g-3 { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .split-media .mock, .split.rev .split-media .mock { transform:none; }
  .section { padding: 60px 0; }
  .cta-band { padding: 40px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .g-4, .price-grid, .statbar, .foot-grid { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .hero-trust { gap: 18px; }
  .cta-band { padding: 34px 20px; }
}

/* -------------------------------------------------------------------------- */
/* 21. Registration page                                                       */
/* -------------------------------------------------------------------------- */
.reg-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 36px; align-items: start; }

/* aside / value panel */
.reg-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.reg-aside-card { background: var(--grad-brand); border-radius: var(--r-lg); padding: 28px; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.reg-aside-card::after { content:''; position:absolute; inset:0; background: radial-gradient(circle at 85% 12%, rgba(255,255,255,.18), transparent 48%); }
.reg-aside-card > * { position: relative; z-index: 1; }
.reg-aside-card .pill.green { background: rgba(255,255,255,.18); color: #eafff6; }
.reg-ticks li { color: #fff; }
.reg-ticks li svg { color: #d8ffee; }
.reg-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.reg-badges .trust-badge { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.26); color: #fff; box-shadow: none; }
.reg-badges .trust-badge svg { color: #d8ffee; }
.reg-steps { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.reg-steps h5 { font-family: var(--f-head); color: var(--ink); font-size: .95rem; margin-bottom: 14px; }
.reg-step { display: flex; gap: 13px; padding: 9px 0; }
.reg-step .rs-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--soft-blue); color: var(--blue); font-family: var(--f-head); font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.reg-step b { font-family: var(--f-head); color: var(--ink); font-size: .95rem; }
.reg-step p { font-size: .85rem; color: var(--muted); margin-top: 1px; }

/* form card */
.reg-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 36px; box-shadow: var(--shadow); }
.fset { border: 0; border-bottom: 1px solid var(--line); padding: 0 0 22px; margin-bottom: 24px; }
.fset-head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; padding: 0; }
.fset-num { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-blue); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(10,102,194,.24); }
.fset-num svg { width: 22px; height: 22px; }
.fset-head b { display: block; font-family: var(--f-head); color: var(--ink); font-size: 1.12rem; line-height: 1.2; }
.fset-head small { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }
.field label i { color: #d9534f; font-style: normal; }

/* plan picker */
.plan-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.plan-card { position: relative; cursor: pointer; }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-b { display: block; border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px 14px; transition: all .18s ease; height: 100%; background: #fff; }
.plan-b b { font-family: var(--f-head); color: var(--ink); font-size: 1.02rem; display: block; }
.plan-b small { display: block; font-size: .78rem; color: var(--muted); margin: 1px 0 10px; }
.plan-price { font-family: var(--f-head); font-weight: 700; color: var(--blue); font-size: 1.1rem; }
.plan-price i { font-style: normal; font-size: .78rem; color: var(--muted); font-weight: 500; }
.plan-card:hover .plan-b { border-color: var(--blue-300); }
.plan-card input:checked + .plan-tag + .plan-b,
.plan-card input:checked + .plan-b { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,168,107,.14); background: var(--soft-green); }
.plan-card input:focus-visible + .plan-b,
.plan-card input:focus-visible + .plan-tag + .plan-b { outline: 3px solid var(--blue-300); outline-offset: 2px; }
.plan-tag { position: absolute; top: -9px; right: 10px; z-index: 2; background: var(--grad-green); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: .66rem; letter-spacing: .04em; padding: 3px 10px; border-radius: 100px; }

/* segmented control (deployment) */
.seg { display: inline-flex; background: var(--light); border: 1.5px solid var(--line); border-radius: 100px; padding: 4px; gap: 4px; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: .9rem; color: var(--ink-soft); padding: 9px 20px; border-radius: 100px; cursor: pointer; transition: all .18s ease; }
.seg-opt span svg { width: 18px; height: 18px; }
.seg-opt input:checked + span { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }

/* module checkboxes */
.chk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk span { display: flex; align-items: center; gap: 9px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px; font-family: var(--f-head); font-weight: 600; font-size: .88rem; color: var(--ink-soft); cursor: pointer; transition: all .18s ease; }
.chk span svg { width: 19px; height: 19px; color: var(--muted); transition: color .18s ease; }
.chk:hover span { border-color: var(--blue-300); }
.chk input:checked + span { border-color: var(--green); background: var(--soft-green); color: var(--green-700); }
.chk input:checked + span svg { color: var(--green); }
.chk input:focus-visible + span { outline: 3px solid var(--blue-300); outline-offset: 2px; }

/* agreement checkboxes */
.agree { display: flex; align-items: flex-start; gap: 11px; padding: 8px 0; font-size: .92rem; color: var(--ink-soft); cursor: pointer; }
.agree input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--green); flex: none; cursor: pointer; }
.agree i { color: #d9534f; font-style: normal; }
.reg-error { background: #fdecec; color: #b23b34; border: 1px solid #f4c4c0; border-radius: var(--r-sm); padding: 11px 15px; font-size: .9rem; font-weight: 500; margin-bottom: 14px; }

@media (max-width: 1024px) {
  .reg-grid { grid-template-columns: 1fr; gap: 26px; }
  .reg-aside { position: static; }
  .plan-pick { grid-template-columns: repeat(2, 1fr); }
  .chk-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .reg-form-card { padding: 24px 20px; }
  .plan-pick, .chk-grid { grid-template-columns: 1fr 1fr; }
  .seg { display: flex; width: 100%; }
  .seg-opt { flex: 1; } .seg-opt span { justify-content: center; width: 100%; }
}


/* -------------------------------------------------------------------------- */
/*  Hero promotional video player                                            */
/* -------------------------------------------------------------------------- */
.promo-player{
  position: relative;
  padding: 14px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* soft brand glow behind the player */
.promo-player::before{
  content:''; position:absolute; inset:-2px; z-index:-1;
  border-radius: calc(var(--r-lg) + 2px);
  background: var(--grad-brand);
  opacity:.55; filter: blur(26px);
}
.promo-frame{
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background:#0b1f33;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.promo-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  display:block;
  background:#0b1f33;
}
/* top-left label */
.promo-badge{
  position:absolute; top:14px; left:14px; z-index:3;
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 13px; border-radius:999px;
  font-family: var(--f-body); font-size:.78rem; font-weight:600; letter-spacing:.2px;
  color:#fff; background: rgba(11,31,51,.55);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: opacity .35s ease;
}
.promo-live-dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--green); box-shadow:0 0 0 0 rgba(0,168,107,.7);
  animation: promoDot 1.8s infinite;
}
/* centred play button */
.promo-play{
  position:absolute; inset:0; z-index:4; margin:auto;
  width:88px; height:88px; padding:0;
  display:grid; place-items:center;
  background:transparent; border:0; cursor:pointer;
  transition: opacity .35s ease, transform .2s ease;
}
.promo-play-core{
  position:relative; z-index:2;
  width:74px; height:74px; border-radius:50%;
  display:grid; place-items:center;
  background: var(--grad-brand);
  box-shadow: 0 12px 30px rgba(10,102,194,.45), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.promo-play-ic{ width:30px; height:30px; color:#fff; display:inline-flex; margin-left:4px; }
.promo-play-ic svg{ width:100%; height:100%; }
/* pulsing ring */
.promo-play-ring{
  position:absolute; z-index:1; inset:0; margin:auto;
  width:74px; height:74px; border-radius:50%;
  background: rgba(255,255,255,.28);
  animation: promoPulse 2.2s ease-out infinite;
}
.promo-play:hover .promo-play-core{ transform: scale(1.07); box-shadow:0 16px 38px rgba(0,168,107,.5); }
.promo-play:focus-visible{ outline:3px solid #fff; outline-offset:4px; border-radius:50%; }
/* caption strip under the frame */
.promo-caption{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:14px 8px 6px;
}
.promo-caption-tx{ display:flex; flex-direction:column; line-height:1.3; }
.promo-caption-tx b{ font-family: var(--f-head); color:#fff; font-size:1rem; }
.promo-caption-tx small{ color: rgba(255,255,255,.72); font-size:.82rem; }
.promo-cta-watch{
  display:inline-flex; align-items:center; gap:7px;
  padding:9px 15px; border-radius:999px; white-space:nowrap;
  font-size:.84rem; font-weight:600; color:#eafff6;
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.promo-cta-watch svg{ width:13px; height:13px; }
/* playing state — reveal native controls, hide the overlay */
.promo-player.is-playing .promo-play,
.promo-player.is-playing .promo-badge{ opacity:0; pointer-events:none; }

@keyframes promoPulse{
  0%   { transform: scale(1);   opacity:.6; }
  70%  { transform: scale(1.9); opacity:0; }
  100% { transform: scale(1.9); opacity:0; }
}
@keyframes promoDot{
  0%   { box-shadow:0 0 0 0 rgba(0,168,107,.7); }
  70%  { box-shadow:0 0 0 7px rgba(0,168,107,0); }
  100% { box-shadow:0 0 0 0 rgba(0,168,107,0); }
}
@media (prefers-reduced-motion: reduce){
  .promo-play-ring, .promo-live-dot{ animation:none; }
}
@media (max-width: 860px){
  .promo-player{ max-width: 560px; margin: 0 auto; }
}
@media (max-width: 540px){
  .promo-play{ width:72px; height:72px; }
  .promo-play-core, .promo-play-ring{ width:62px; height:62px; }
  .promo-play-ic{ width:26px; height:26px; }
}
