/* ===================================================================
   StockWave marketing site
   Brand palette pulled from the app (Resources/Styles/Colors.xaml)
   =================================================================== */

:root {
  /* Brand */
  --navy:        #1E212B;   /* app top bar / primary surface   */
  --navy-2:      #2D3142;   /* raised navy surface             */
  --mint:        #6EE7B7;   /* accent                          */
  --emerald:     #10B981;   /* logo green / success            */
  --emerald-dk:  #059669;
  --amber:       #F59E0B;   /* accent                          */
  --danger:      #EF4444;

  /* Neutrals (light theme) */
  --bg:          #F8FAFC;
  --bg-soft:     #F1F5F9;
  --card:        #FFFFFF;
  --border:      #E2E8F0;
  --text:        #1E293B;
  --text-2:      #475569;
  --muted:       #94A3B8;

  /* Layout */
  --maxw:        1140px;
  --radius:      18px;
  --radius-sm:   12px;
  --shadow:      0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
  --shadow-lg:   0 24px 60px -12px rgba(16,24,40,.22);
  --ring:        0 0 0 4px rgba(110,231,183,.35);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ----------------------------------------------------------------- */
/* Reset / base                                                      */
/* ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--text); }
h2 { font-size: clamp(1.7rem, 1rem + 2.6vw, 2.6rem); }
h3 { font-size: 1.18rem; letter-spacing: -.01em; }
p  { color: var(--text-2); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
section { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald-dk);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--emerald); }

.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 14px; font-size: 1.075rem; }

/* ----------------------------------------------------------------- */
/* Buttons                                                           */
/* ----------------------------------------------------------------- */
.btn {
  --_bg: var(--emerald);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 650; font-size: .96rem; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--_bg); color: #fff; box-shadow: 0 8px 20px -8px rgba(16,185,129,.7); }
.btn-primary:hover { background: var(--emerald-dk); box-shadow: 0 12px 26px -8px rgba(16,185,129,.8); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--mint); color: var(--emerald-dk); transform: translateY(-1px); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-light:hover { background: rgba(255,255,255,.18); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

/* ----------------------------------------------------------------- */
/* Brand wordmark                                                    */
/* ----------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand .word { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.brand .word b { font-weight: 800; color: var(--text); }
.brand .word span { font-weight: 300; color: var(--emerald); }
/* On dark backgrounds */
.on-dark .word b { color: #fff; }
.on-dark .word span { color: var(--mint); }

/* ----------------------------------------------------------------- */
/* Header / nav                                                      */
/* ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,250,252,.8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--border); background: rgba(248,250,252,.92); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: .95rem; font-weight: 550; color: var(--text-2); transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .signin { font-size: .95rem; font-weight: 600; color: var(--text-2); padding: 8px 4px; }
.nav-actions .signin:hover { color: var(--text); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  background: #fff; border: 1px solid var(--border); align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

/* ----------------------------------------------------------------- */
/* Hero                                                              */
/* ----------------------------------------------------------------- */
.hero { position: relative; padding: clamp(48px, 4vw, 86px) 0 60px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 78% -8%, rgba(110,231,183,.28), transparent 60%),
    radial-gradient(45% 40% at 8% 6%, rgba(16,185,129,.14), transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 1.1rem + 4.2vw, 3.75rem);
  margin: 18px 0 0;
}
.hero-copy h1 .grad {
  background: linear-gradient(100deg, var(--emerald), #34D399 55%, var(--mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .lead { margin-top: 20px; font-size: 1.16rem; max-width: 540px; }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 18px 26px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 550; color: var(--text-2); }
.hero-meta svg { width: 18px; height: 18px; color: var(--emerald); flex: none; }

/* Phone mockup ---------------------------------------------------- */
.hero-art { display: flex; justify-content: center; perspective: 1600px; }
.phone {
  position: relative; width: 300px; flex: none;
  background: #0b0d12; border-radius: 42px; padding: 11px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(0,0,0,.06);
  transform: rotateY(-13deg) rotateX(4deg) rotate(1deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.phone:hover { transform: rotateY(-6deg) rotateX(2deg); }
.phone::after { /* notch */
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 26px; background: #0b0d12; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone-screen { background: var(--bg); border-radius: 32px; overflow: hidden; aspect-ratio: 300 / 620; }

/* App chrome inside the phone */
.app-top {
  background: var(--navy); padding: 16px 16px 14px; display: flex; align-items: center; gap: 9px;
}
.app-top .mk { width: 30px; height: 30px; border-radius: 8px; }
.app-top .wm { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.app-top .wm b { color: #fff; } .app-top .wm span { color: var(--mint); font-weight: 300; }
.app-top .loc {
  margin-left: auto; font-size: .62rem; font-weight: 700; color: var(--mint);
  background: var(--navy-2); padding: 5px 9px; border-radius: 7px;
}
.app-body { padding: 16px; }
.app-body .h { font-size: 1.15rem; font-weight: 800; }
.app-body .sub { font-size: .72rem; color: var(--muted); margin-top: 2px; }

.app-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.app-stat { background: var(--card); border: 1px solid var(--border); border-radius: 11px; padding: 11px 12px; text-align: center; }
.app-stat .k { font-size: .56rem; color: var(--muted); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.app-stat .v { font-size: 1.05rem; font-weight: 800; margin-top: 3px; }
.app-stat .v.green { color: var(--emerald); }
.app-stat.wide { grid-column: 1 / -1; }

.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.app-tile { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.app-tile .ic { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.app-tile .t { font-size: .76rem; font-weight: 750; margin-top: 9px; }
.app-tile .d { font-size: .6rem; color: var(--muted); margin-top: 1px; }
.app-floating {
  position: absolute; z-index: 4; background: #fff; border-radius: 13px; padding: 10px 13px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border);
}
.app-floating .dot { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.app-floating .ft { font-size: .72rem; font-weight: 750; line-height: 1.25; }
.app-floating .fs { font-size: .6rem; color: var(--muted); }
.float-sync { top: 20%; left: -38px; animation: floaty 5s ease-in-out infinite; }
.float-sale { bottom: 14%; right: -30px; animation: floaty 5s ease-in-out infinite .8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ----------------------------------------------------------------- */
/* Logo / trust strip                                                */
/* ----------------------------------------------------------------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding: 22px 0; }
.strip-inner span { font-size: .82rem; font-weight: 650; color: var(--muted); display: inline-flex; align-items: center; gap: 9px; }
.strip-inner svg { width: 19px; height: 19px; color: var(--emerald); }

/* ----------------------------------------------------------------- */
/* Feature cards                                                     */
/* ----------------------------------------------------------------- */
.features { padding: clamp(64px, 7vw, 108px) 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Center a lone trailing card on the 3-col desktop grid (e.g. when there are 10). */
@media (min-width: 961px) {
  .feature-grid > .feature:last-child:nth-child(3n+1) { grid-column: 2; }
}
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d4dce6; }
.feature .ic {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 25px; margin-bottom: 16px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .95rem; }

/* tinted icon chips (mirror the app's pastel tiles) */
.ic-emerald { background: #ECFDF5; } .ic-blue { background: #EFF6FF; } .ic-violet { background: #F5F3FF; }
.ic-amber { background: #FFFBEB; } .ic-rose { background: #FFF1F2; } .ic-cyan { background: #ECFEFF; }
.ic-slate { background: #F1F5F9; } .ic-teal { background: #F0FDFA; } .ic-indigo { background: #EEF2FF; }

/* ----------------------------------------------------------------- */
/* Deep-dive alternating sections                                    */
/* ----------------------------------------------------------------- */
.deep { padding: clamp(56px, 6vw, 92px) 0; }
.deep + .deep { padding-top: 0; }
.deep-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.deep-row.flip .deep-visual { order: 2; }
.deep-copy .eyebrow { margin-bottom: 14px; }
.deep-copy h2 { margin-bottom: 16px; }
.deep-copy p { font-size: 1.06rem; }
.deep-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.deep-list li { display: flex; gap: 12px; font-size: .98rem; color: var(--text-2); }
.deep-list svg { width: 21px; height: 21px; color: var(--emerald); flex: none; margin-top: 2px; }
.deep-list b { color: var(--text); font-weight: 650; }

/* Visual panel (built-in mock UIs) */
.panel {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 22px; position: relative; overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 120px;
  background: radial-gradient(120% 100% at 50% 0, rgba(110,231,183,.16), transparent 70%);
}
.panel-head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; position: relative; }
.panel-head .pip { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.panel-head .pip:nth-child(1){ background:#FCA5A5;} .panel-head .pip:nth-child(2){ background:#FCD34D;} .panel-head .pip:nth-child(3){ background:#6EE7B7;}
.panel-head .pt { margin-left: 8px; font-size: .78rem; font-weight: 700; color: var(--muted); }

/* list rows */
.row-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.row-item + .row-item { margin-top: 9px; }
.row-item .av { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 19px; flex: none; }
.row-item .nm { font-weight: 700; font-size: .9rem; }
.row-item .mt { font-size: .73rem; color: var(--muted); }
.row-item .qty { margin-left: auto; text-align: right; }
.row-item .qty .n { font-weight: 800; font-size: 1rem; }
.row-item .badge { font-size: .6rem; font-weight: 800; padding: 3px 8px; border-radius: 20px; letter-spacing: .02em; }
.badge.in { background: #ECFDF5; color: var(--emerald-dk); }
.badge.low { background: #FFFBEB; color: #B45309; }
.badge.out { background: #FEF2F2; color: #B91C1C; }
.stepper { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.stepper button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: #fff; font-size: 16px; font-weight: 700; color: var(--text-2); line-height: 1; }
.stepper .n { font-weight: 800; min-width: 22px; text-align: center; }

/* chart bars */
.chart { display: grid; gap: 14px; padding: 4px 2px; }
.chart .bar-row { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 12px; }
.chart .bl { font-size: .78rem; font-weight: 650; color: var(--text-2); }
.chart .track { height: 12px; border-radius: 20px; background: var(--bg-soft); overflow: hidden; }
.chart .fill { height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--emerald), var(--mint)); }
.chart .fill.amber { background: linear-gradient(90deg, #D97706, var(--amber)); }
.chart .bv { font-size: .78rem; font-weight: 800; }

/* equipment log */
.log-line { display: flex; gap: 11px; padding: 11px 2px; border-bottom: 1px dashed var(--border); }
.log-line:last-child { border-bottom: 0; }
.log-line .ld { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex: none; }
.log-line .ld.out { background: var(--amber); } .log-line .ld.in { background: var(--emerald); }
.log-line .lt { font-size: .85rem; } .log-line .lt b { font-weight: 700; }
.log-line .ls { font-size: .68rem; color: var(--muted); }

/* checklist run mock */
.chk-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.chk-row + .chk-row { margin-top: 9px; }
.chk-box { width: 22px; height: 22px; border-radius: 7px; flex: none; display: flex; align-items: center; justify-content: center; }
.chk-box.done { background: var(--emerald); color: #fff; }
.chk-box.todo { border: 2px solid var(--border); }
.chk-box svg { width: 14px; height: 14px; }
.chk-row .lbl { font-size: .9rem; font-weight: 600; color: var(--text); }
.chk-row.done .lbl { color: var(--muted); text-decoration: line-through; }
.chk-progress { display: flex; align-items: center; justify-content: space-between; margin: 14px 2px 2px; font-size: .82rem; font-weight: 800; color: var(--emerald-dk); }
.chk-progress .chk-by { color: var(--muted); font-weight: 600; }

/* ----------------------------------------------------------------- */
/* How it works                                                      */
/* ----------------------------------------------------------------- */
.steps { padding: clamp(64px, 7vw, 104px) 0; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.step .num {
  counter-increment: step; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--mint); font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.step .num::before { content: counter(step); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .95rem; }

/* ----------------------------------------------------------------- */
/* Platforms                                                         */
/* ----------------------------------------------------------------- */
.platforms { padding: clamp(64px, 7vw, 104px) 0; }
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plat {
  border-radius: var(--radius); padding: 34px; border: 1px solid var(--border);
  background: var(--card); box-shadow: var(--shadow); display: flex; gap: 20px; align-items: flex-start;
}
.plat .picon { width: 58px; height: 58px; border-radius: 15px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.plat .picon svg { width: 30px; height: 30px; color: var(--navy); }
.plat h3 { margin-bottom: 6px; }
.plat p { font-size: .95rem; }
.plat .tag { display: inline-block; margin-top: 12px; font-size: .72rem; font-weight: 700; color: var(--emerald-dk); background: #ECFDF5; padding: 4px 11px; border-radius: 20px; }
.plat .tag.soon { color: #B45309; background: #FFFBEB; }

/* ----------------------------------------------------------------- */
/* Web portal (coming soon)                                          */
/* ----------------------------------------------------------------- */
.web-portal { padding: clamp(56px, 6vw, 92px) 0; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.web-portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.wp-copy .eyebrow { margin-bottom: 14px; }
.wp-copy h2 { margin-bottom: 16px; }
.wp-copy p { font-size: 1.06rem; }
.wp-cta { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.soon-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #ECFDF5; color: var(--emerald-dk); border: 1px solid #A7F3D0;
  font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 15px; border-radius: 22px;
}
.soon-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }

/* Browser mockup */
.browser { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.browser-bar .bdot { width: 11px; height: 11px; border-radius: 50%; background: #CBD5E1; flex: none; }
.browser-bar .bdot:nth-child(1) { background: #FCA5A5; }
.browser-bar .bdot:nth-child(2) { background: #FCD34D; }
.browser-bar .bdot:nth-child(3) { background: #6EE7B7; }
.browser-url { margin-left: 8px; flex: 1; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 7px 12px; font-size: .76rem; color: var(--muted); }
.browser-screen { position: relative; aspect-ratio: 16 / 10; background: var(--bg); overflow: hidden; }

/* Faded app preview behind the overlay */
.wp-preview { position: absolute; inset: 0; filter: blur(1.5px); opacity: .55; }
.wp-preview .wp-top { background: var(--navy); height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.wp-preview .wp-top img { width: 24px; height: 24px; border-radius: 6px; }
.wp-wm { font-size: .95rem; font-weight: 800; letter-spacing: -.02em; }
.wp-wm b { color: #fff; }
.wp-wm span { color: var(--mint); font-weight: 300; }
.wp-pbody { padding: 16px; display: grid; gap: 12px; }
.wp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wp-cards i { height: 56px; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.wp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wp-tiles i { height: 70px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }

/* Coming-soon overlay */
.wp-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px;
  background: linear-gradient(180deg, rgba(248,250,252,.45), rgba(248,250,252,.82));
}
.wp-badge { width: 64px; height: 64px; border-radius: 18px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 8px; box-shadow: var(--shadow-lg); }
.wp-otitle { font-size: 1.55rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.wp-osub { font-size: .95rem; color: var(--text-2); }

/* ----------------------------------------------------------------- */
/* CTA band                                                          */
/* ----------------------------------------------------------------- */
.cta {
  padding: clamp(60px, 7vw, 96px) 0;
}
.cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #262b3a 100%);
  border-radius: 28px; padding: clamp(40px, 5vw, 68px); text-align: center; color: #fff;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(50% 80% at 85% 0%, rgba(110,231,183,.3), transparent 60%),
             radial-gradient(40% 70% at 10% 100%, rgba(16,185,129,.25), transparent 60%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; font-size: clamp(1.9rem, 1rem + 3vw, 2.8rem); }
.cta-card p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin: 16px auto 0; max-width: 520px; }
.cta-card .hero-cta { justify-content: center; margin-top: 30px; }

/* ----------------------------------------------------------------- */
/* Footer                                                            */
/* ----------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.66); padding: 58px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .92rem; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; font-size: .92rem; color: rgba(255,255,255,.72); padding: 6px 0; transition: color .15s ease; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: .85rem; color: rgba(255,255,255,.5);
}
.footer-bottom .badge-soon { color: var(--mint); font-weight: 600; }

/* ----------------------------------------------------------------- */
/* Auth pages (signup / login)                                       */
/* ----------------------------------------------------------------- */
.auth-wrap { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-aside {
  background: linear-gradient(150deg, var(--navy), #20283a 60%, #16352c);
  color: #fff; padding: 56px clamp(32px, 4vw, 70px); display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-aside::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(45% 50% at 90% 8%, rgba(110,231,183,.28), transparent 60%);
}
.auth-aside > * { position: relative; }
.auth-aside h2 { color: #fff; margin: 26px 0 14px; }
.auth-aside p { color: rgba(255,255,255,.78); font-size: 1.04rem; }
.auth-aside .checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.auth-aside .checklist li { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.9); font-size: .98rem; }
.auth-aside .checklist svg { width: 22px; height: 22px; color: var(--mint); flex: none; }

.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 22px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 1.8rem; }
.auth-card .sub { color: var(--text-2); margin-top: 8px; margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 650; margin-bottom: 7px; color: var(--text); }
.field input {
  width: 100%; padding: 13px 14px; border-radius: 11px; border: 1px solid var(--border);
  background: #fff; font-size: .98rem; color: var(--text); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: var(--muted); }
.field input:focus { outline: none; border-color: var(--mint); box-shadow: var(--ring); }
.field .hint { font-size: .76rem; color: var(--muted); margin-top: 6px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; font-size: .88rem; }
.auth-row label { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.auth-row a { color: var(--emerald-dk); font-weight: 600; }
.auth-alt { text-align: center; margin-top: 22px; font-size: .92rem; color: var(--text-2); }
.auth-alt a { color: var(--emerald-dk); font-weight: 700; }

/* Welcome / post-checkout success card */
.welcome-card { text-align: center; }
.welcome-card .sub { margin-bottom: 26px; }
.welcome-badge { width: 72px; height: 72px; border-radius: 50%; background: #ECFDF5; color: var(--emerald); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.welcome-badge svg { width: 38px; height: 38px; }

/* Account page rows */
.acct-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.acct-row span { color: var(--text-2); }
.acct-row b { color: var(--text); font-weight: 700; }
.notice {
  background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46;
  border-radius: 11px; padding: 12px 14px; font-size: .85rem; margin-bottom: 22px; display: flex; gap: 9px;
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.notice.error { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.auth-back { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--text-2); margin-bottom: 26px; font-weight: 550; }
.auth-back:hover { color: var(--text); }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-google svg { width: 18px; height: 18px; }

/* ----------------------------------------------------------------- */
/* Pricing                                                           */
/* ----------------------------------------------------------------- */
.pricing { padding: clamp(48px, 5vw, 84px) 0 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.price.featured { border-color: var(--emerald); box-shadow: 0 24px 50px -18px rgba(16,185,129,.4); position: relative; }
.price.featured .ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--emerald); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
}
.price .pname { font-size: 1.15rem; font-weight: 800; }
.price .pdesc { font-size: .88rem; color: var(--text-2); margin-top: 6px; min-height: 40px; }
.price .pamt { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price .pamt .cur { font-size: 1.2rem; font-weight: 700; color: var(--text-2); }
.price .pamt .num { font-size: 2.7rem; font-weight: 850; letter-spacing: -.03em; }
.price .pamt .per { font-size: .88rem; color: var(--muted); }
.price .pdevices { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin: 2px 0 4px; font-size: .82rem; font-weight: 700; color: var(--emerald-dk); background: #ECFDF5; border: 1px solid #A7F3D0; padding: 6px 12px; border-radius: 20px; }
.price .pdevices svg { width: 16px; height: 16px; flex: none; }
.price .poverage { font-size: .76rem; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 11px; }
.price li { display: flex; gap: 10px; font-size: .92rem; color: var(--text-2); }
.price li svg { width: 19px; height: 19px; color: var(--emerald); flex: none; margin-top: 1px; }
.price li.off { color: var(--muted); } .price li.off svg { color: var(--muted); }
.price .btn { margin-top: auto; }
.price-note {
  text-align: center; max-width: 620px; margin: 36px auto 0; font-size: .92rem; color: var(--muted);
  background: var(--bg-soft); border: 1px dashed var(--border); border-radius: 14px; padding: 16px 20px;
}

.faq { padding: clamp(56px, 6vw, 92px) 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1.06rem; font-weight: 700; color: var(--text); }
.faq-q .chev { width: 22px; height: 22px; flex: none; transition: transform .2s ease; color: var(--muted); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 4px 22px; font-size: .98rem; }

/* ----------------------------------------------------------------- */
/* Scroll reveal                                                     */
/* ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ----------------------------------------------------------------- */
/* Responsive                                                        */
/* ----------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .feature-grid, .step-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .deep-row { grid-template-columns: 1fr; gap: 32px; }
  .deep-row.flip .deep-visual { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .plat-grid { grid-template-columns: 1fr; }
  .web-portal-grid { grid-template-columns: 1fr; gap: 36px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions .signin { display: none; }
  .nav-toggle { display: flex; }
  .nav.open + .nav-mobile { display: block; }
  .nav-mobile {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: 14px 22px 22px;
  }
  .nav-mobile a { display: block; padding: 13px 4px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--bg-soft); }
  .nav-mobile .btn { margin-top: 14px; }
  .feature-grid, .step-grid, .price-grid, .plat-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .price.featured { order: -1; }
  .hero-meta { gap: 12px 18px; }
}

@media (max-width: 420px) {
  .footer-top { grid-template-columns: 1fr; }
  .float-sync, .float-sale { display: none; }
}

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