/* Team Portal landing page (portal.brandsurge.ae). Same tokens as the portal and the onboarding form: Brand Surge green,
   Plus Jakarta Sans headings, Inter body. Layout: sticky top bar, hero with a live-looking product panel, then one band
   per area of the portal (alternating surfaces), pricing with a calculator, FAQ and a closing call to action. */
:root {
  --accent: #0e6b52; --accent-ink: #0f5a44; --accent-soft: #e7f2ee; --bg: #f6f7f8; --surface: #ffffff; --surface-2: #f1f3f4;
  --ink: #16191c; --ink-2: #4b5258; --ink-3: #7b838a; --line: #e3e6e8; --ok: #15803d; --warn: #b45309; --bad: #c2410c;
  --hero: #0f5a44; --hero-ink: #ffffff; --hero-2: #0b4a38;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #34c08f; --accent-ink: #6ee7b7; --accent-soft: #12302a; --bg: #111416; --surface: #181c1f; --surface-2: #21262a;
    --ink: #eceff1; --ink-2: #b3bac0; --ink-3: #868e95; --line: #2c3237; --ok: #4ade80; --warn: #fbbf24; --bad: #fb923c;
    --hero: #0f2e26; --hero-ink: #eceff1; --hero-2: #0b231d; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
.kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 66ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 10px; padding: 12px 20px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.btn:hover { background: var(--surface-2); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.light { background: #fff; border-color: #fff; color: #0f5a44; }
.btn.ghost-light { background: transparent; border-color: rgba(255,255,255,.45); color: var(--hero-ink); }
.btn.ghost-light:hover { background: rgba(255,255,255,.08); }

/* Top bar */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 36px; width: auto; display: block; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .brand .logo-light { display: none; } .brand .logo-dark { display: block; } }
.brand span { font-size: 13px; color: var(--ink-3); border-left: 1px solid var(--line); padding-left: 12px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav .btn { padding: 9px 16px; font-size: 14px; color: #fff; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; font-size: 14px; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 46px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 2px; min-width: 220px; box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.menu nav a { padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.menu nav a:hover { background: var(--surface-2); }
@media (max-width: 1020px) { .nav { display: none; } .menu { display: block; } }
@media (max-width: 520px) { .brand span { display: none; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(52,192,143,.18), transparent 60%), var(--hero); color: var(--hero-ink); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 72px 80px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 14px 0 18px; }
.hero .kicker { color: #9fe3c9; }
.hero p.sub { font-size: 19px; opacity: .92; max-width: 56ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { margin-top: 14px; font-size: 14px; opacity: .8; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.stats div { border-top: 1px solid rgba(255,255,255,.25); padding-top: 10px; }
.stats b { display: block; font-family: var(--display); font-size: 26px; line-height: 1.1; }
.stats span { font-size: 13px; opacity: .8; }

/* Product panel (illustration built in HTML, sample data) */
.panel { background: var(--surface); color: var(--ink); border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.28); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.panel .top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.panel .top i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; }
.panel .top span { margin-left: 8px; }
.panel .body { padding: 16px; display: grid; gap: 12px; }
.panel h4 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.need { display: grid; gap: 6px; }
.need div { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; }
.need div i { width: 8px; height: 8px; border-radius: 50%; }
.need small { color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.dot-bad { background: var(--bad); } .dot-warn { background: var(--warn); } .dot-ok { background: var(--ok); }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mini b { display: block; font-family: var(--display); font-size: 20px; line-height: 1.1; }
.mini span { font-size: 11.5px; color: var(--ink-3); }
.mini em { font-style: normal; font-size: 11.5px; font-weight: 600; }
.up { color: var(--ok); } .down { color: var(--bad); }
.ai-note { font-size: 13px; background: var(--accent-soft); border-radius: 10px; padding: 10px 12px; }
.ai-note b { color: var(--accent-ink); }
.sample { font-size: 11px; color: var(--ink-3); text-align: right; }

/* Bands */
section.band { padding-block: 84px; border-top: 1px solid var(--line); }
section.band.alt { background: var(--surface); }
.head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 760px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }

/* Stack strip */
.stack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.swap { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); display: grid; gap: 4px; }
section.alt .swap { background: var(--bg); }
.swap s { color: var(--ink-3); font-size: 13.5px; text-decoration-thickness: 1px; }
.swap b { font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { border-radius: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
section.alt .step { background: var(--bg); }
.step::before { counter-increment: s; content: counter(s); font-family: var(--display); font-weight: 800; font-size: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.step p { color: var(--ink-2); font-size: 15px; }

/* Area index */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.area { display: grid; gap: 4px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--surface); }
section.alt .area { background: var(--bg); }
.area:hover { border-color: var(--accent); }
.area b { font-size: 15.5px; }
.area span { font-size: 13.5px; color: var(--ink-2); }
.area em { font-style: normal; font-size: 12px; color: var(--accent); font-weight: 600; }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--surface); display: grid; gap: 10px; align-content: start; min-width: 0; }
section.alt .card { background: var(--bg); }
.card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.card li::marker { color: var(--accent); }
.card p { font-size: 14.5px; color: var(--ink-2); }
.tagline { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); }
.tag.soon { background: var(--surface-2); color: var(--ink-3); }
.callout { margin-top: 24px; border-radius: 14px; padding: 18px 20px; background: var(--accent-soft); display: grid; gap: 6px; font-size: 15px; }
.callout b { color: var(--accent-ink); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--surface); display: grid; gap: 10px; align-content: start; }
section.alt .plan { background: var(--bg); }
.plan.popular { border: 2px solid var(--accent); padding: 23px; }
.plan .flag { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.plan h3 { font-size: 22px; }
.plan .tagp { color: var(--ink-2); font-size: 14.5px; margin-top: -4px; }
.plan .price { font-family: var(--display); font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan .price small { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.plan .inc { font-weight: 600; font-size: 14.5px; }
.plan .more { font-size: 13.5px; color: var(--ink-3); }
.plan ul { margin: 4px 0 8px; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.plan .btn { margin-top: auto; }
.compare { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; background: var(--surface-2); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 15%; }
.compare tr.grp td { font-weight: 700; background: var(--bg); }
.yes { color: var(--ok); font-weight: 700; } .no { color: var(--ink-3); }

.calc { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--surface); }
.calc label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; }
.calc .fields { display: grid; gap: 16px; align-content: start; }
.calc input[type=number], .calc select { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--ink); width: 100%; }
.calc .row { display: flex; gap: 10px; flex-wrap: wrap; font-weight: 500; }
.calc .row label { display: flex; align-items: center; gap: 8px; font-weight: 500; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; cursor: pointer; }
.calc .row input { accent-color: var(--accent); }
.result { border-radius: 12px; background: var(--accent-soft); padding: 20px; display: grid; gap: 10px; align-content: start; }
.result .big { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--accent-ink); line-height: 1; }
.result .big small { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--ink-2); }
.result table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.result td { padding: 6px 0; border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.result td:last-child { text-align: right; }
.result p { font-size: 14px; color: var(--ink-2); }
.addons { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.addon { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); display: grid; gap: 2px; font-size: 14px; }
.addon b { font-size: 15px; }
.addon span { color: var(--ink-2); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 18px; }
section.alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--ink-2); font-size: 15px; }

/* Closing */
.close { background: var(--hero); color: var(--hero-ink); }
.close .wrap { padding-block: 72px; display: grid; gap: 18px; justify-items: start; }
.close h2 { max-width: 20ch; }
.close p { opacity: .9; max-width: 60ch; font-size: 17px; }
.close .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
footer { padding-block: 32px; font-size: 13.5px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--ink-2); }

@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 52px 60px; }
  .cards, .areas, .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .split, .calc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  section.band { padding-block: 60px; }
  .cards, .cards.two, .areas, .stack, .steps, .addons { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .minis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lead { font-size: 16.5px; }
}
.cards.mt { margin-top: 16px; }
.cards.one { grid-template-columns: 1fr; }
.head.flush { margin-bottom: 0; }
.close .kicker { color: #9fe3c9; }
