:root {
  --bg: #061713;
  --bg-elevated: #0a211b;
  --panel: rgba(16, 48, 39, .78);
  --panel-solid: #0f3027;
  --panel-light: #f5faf7;
  --ink: #f6fffa;
  --ink-muted: #a9c9bc;
  --ink-dark: #102a23;
  --ink-dark-muted: #597068;
  --green: #25cf7b;
  --green-strong: #0ba55e;
  --green-soft: #dff8eb;
  --blue: #5aa8ff;
  --purple: #a48cff;
  --gold: #f2bf59;
  --pink: #ef7fb8;
  --cyan: #52d5e6;
  --border: rgba(181, 234, 207, .16);
  --border-light: #dcebe4;
  --danger: #ff7272;
  --warning: #f6c969;
  --success: #38dc8c;
  --shadow: 0 24px 70px rgba(0, 0, 0, .26);
  --shadow-soft: 0 15px 45px rgba(17, 60, 47, .12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --max: 1180px;
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.light-page {
  color: var(--ink-dark);
  background: #f2f8f5;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink-dark);
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section { padding: 108px 0; position: relative; }
.section.compact { padding: 72px 0; }
.section.light { color: var(--ink-dark); background: #f3f9f6; }
.section.white { color: var(--ink-dark); background: #fff; }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: #8df0ba;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.light .eyebrow, .white .eyebrow { color: var(--green-strong); }
.eyebrow::before {
  content: "";
  width: 29px;
  height: 2px;
  border-radius: 10px;
  background: currentColor;
}

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(46px, 7vw, 82px); margin-bottom: 24px; }
h2 { font-size: clamp(34px, 4.7vw, 58px); margin-bottom: 18px; }
h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 12px; }
h4 { font-size: 18px; margin-bottom: 8px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--ink-muted); line-height: 1.65; }
.light .lead, .white .lead { color: var(--ink-dark-muted); }
.small { font-size: 14px; }
.muted { color: var(--ink-muted); }
.light .muted, .white .muted { color: var(--ink-dark-muted); }
.text-green { color: var(--green); }
.text-gradient {
  background: linear-gradient(120deg, #8ef2bd, #2bd883 48%, #6ab5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(90,168,255,.5); outline-offset: 3px; }
.btn-primary {
  color: #062018;
  background: linear-gradient(135deg, #80efb4, #25cf7b);
  box-shadow: 0 14px 38px rgba(37, 207, 123, .24);
}
.btn-primary:hover { box-shadow: 0 18px 46px rgba(37, 207, 123, .32); }
.btn-secondary { color: var(--ink); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.btn-secondary:hover { background: rgba(255,255,255,.1); }
.btn-dark { color: #fff; background: #102c24; }
.btn-ghost { color: var(--ink-dark); border-color: var(--border-light); background: #fff; }
.btn-small { min-height: 39px; padding: 8px 14px; border-radius: 11px; font-size: 14px; }
.btn-link { padding: 0; min-height: auto; color: var(--green-strong); background: transparent; }
.btn-link:hover { transform: none; text-decoration: underline; }
.btn-block { width: 100%; }
.icon-arrow { font-size: 18px; line-height: 1; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease;
}
.site-header.scrolled {
  background: rgba(5, 22, 18, .88);
  border-color: var(--border);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; min-width: 245px; }
.brand img { width: 238px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.site-nav a { color: #d3e9df; font-size: 14px; font-weight: 700; }
.site-nav a:hover { color: #fff; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.06);
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 9px;
}

.hero {
  min-height: 820px;
  padding: 160px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(65, 168, 255, .16), transparent 31%),
    radial-gradient(circle at 14% 42%, rgba(37, 207, 123, .14), transparent 32%),
    linear-gradient(180deg, #061713, #071d18 66%, #0a241d);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(118, 219, 169, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(118, 219, 169, .08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  gap: 64px;
  align-items: center;
}
.hero-copy { max-width: 720px; }
.hero-copy h1 { max-width: 700px; }
.hero-copy .lead { max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; color: #9ec3b5; font-size: 14px; }
.hero-note::before { content: "✓"; color: var(--green); font-weight: 900; }
.hero-visual { position: relative; min-height: 545px; }
.hero-orbit {
  position: absolute;
  inset: 38px 0 0 20px;
  border: 1px solid rgba(112, 231, 172, .18);
  border-radius: 50%;
  transform: rotate(-8deg);
}
.hero-orbit::before, .hero-orbit::after {
  content: "";
  position: absolute;
  border: inherit;
  border-radius: inherit;
}
.hero-orbit::before { inset: 58px 42px; }
.hero-orbit::after { inset: 120px 105px; }
.hero-dashboard {
  position: absolute;
  inset: 58px 15px 22px 48px;
  padding: 24px;
  border: 1px solid rgba(151, 239, 193, .2);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(19, 59, 48, .93), rgba(8, 30, 25, .96));
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  overflow: hidden;
}
.hero-dashboard::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% 20%;
  height: 65%;
  border-radius: 50%;
  background: rgba(37, 207, 123, .12);
  filter: blur(60px);
}
.dashboard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; z-index: 2; }
.dashboard-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; }
.dashboard-brand-mark { width: 35px; height: 35px; border-radius: 11px; display: grid; place-items: center; color: #062018; background: var(--green); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; color: #baf4d4; background: rgba(37,207,123,.12); border: 1px solid rgba(37,207,123,.24); font-size: 12px; font-weight: 800; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(37,207,123,.12); }
.dashboard-welcome { position: relative; z-index: 2; margin-top: 32px; padding: 24px; border-radius: 20px; background: linear-gradient(135deg, rgba(70, 181, 129, .18), rgba(90,168,255,.1)); border: 1px solid rgba(152, 235, 194, .16); }
.dashboard-welcome strong { display: block; font-size: 24px; margin-bottom: 5px; }
.dashboard-welcome p { margin: 0; color: #b6d4c8; font-size: 14px; }
.dashboard-metrics { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 15px; }
.dashboard-metric { padding: 15px; border-radius: 16px; background: rgba(5, 23, 18, .6); border: 1px solid rgba(255,255,255,.08); }
.dashboard-metric b { display: block; font-size: 22px; color: #fff; }
.dashboard-metric span { color: #9ebdb1; font-size: 11px; }
.dashboard-feed { position: relative; z-index: 2; margin-top: 15px; display: grid; gap: 10px; }
.dashboard-feed-row { display: flex; gap: 11px; align-items: center; padding: 11px 12px; border-radius: 15px; background: rgba(255,255,255,.045); }
.feed-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: #062018; background: #72e8aa; font-weight: 900; }
.dashboard-feed-row strong { display: block; font-size: 13px; margin-bottom: 2px; }
.dashboard-feed-row span { display: block; color: #93b1a6; font-size: 11px; }
.float-card {
  position: absolute;
  z-index: 4;
  min-width: 175px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 17px;
  background: rgba(12, 45, 36, .92);
  box-shadow: 0 18px 48px rgba(0,0,0,.26);
  backdrop-filter: blur(14px);
}
.float-card strong { display: block; font-size: 14px; }
.float-card span { color: #9fc1b4; font-size: 12px; }
.float-card.one { top: 10px; right: 0; transform: rotate(-3deg); }
.float-card.two { left: 0; bottom: 12px; transform: rotate(3deg); }
.float-card-icon { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 10px; color: #062018; background: var(--green); font-weight: 900; }

.trust-strip { position: relative; z-index: 3; padding-top: 56px; }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.trust-item { padding: 16px 10px; text-align: center; border-top: 1px solid rgba(255,255,255,.12); }
.trust-item b { display: block; font-size: 24px; color: #fff; }
.trust-item span { color: #91b2a5; font-size: 12px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(19, 57, 47, .72), rgba(7, 27, 22, .75));
  box-shadow: 0 14px 50px rgba(0,0,0,.09);
}
.light .card, .white .card {
  border-color: var(--border-light);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.card.hover { transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.card.hover:hover { transform: translateY(-7px); border-color: rgba(69, 213, 137, .5); box-shadow: 0 25px 65px rgba(7, 52, 37, .18); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 15px; color: #062018; background: linear-gradient(135deg, #8ef1bb, #26d07c); font-size: 19px; font-weight: 900; }
.card p:last-child { margin-bottom: 0; }

.license-highlight {
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(37, 207, 123, .32);
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 10%, rgba(90, 168, 255, .18), transparent 30%),
    linear-gradient(135deg, #103d31, #09251e);
  box-shadow: var(--shadow);
}
.license-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: 38px; }
.license-price { display: flex; align-items: baseline; gap: 8px; color: #fff; }
.license-price b { font-size: clamp(74px, 10vw, 132px); line-height: .85; letter-spacing: -.075em; }
.license-price span { font-size: 24px; font-weight: 800; color: #a7d8c5; }
.license-box { padding: 28px; border-radius: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.license-box .tag { margin-bottom: 16px; }
.license-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.license-box li { display: flex; gap: 10px; color: #c7e2d7; }
.license-box li::before { content: "✓"; color: var(--green); font-weight: 900; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #0c6c43;
  background: var(--green-soft);
}
.tag.dark { color: #b9f4d2; background: rgba(37,207,123,.12); border: 1px solid rgba(37,207,123,.22); }
.tag.blue { color: #28639f; background: #e9f3ff; }
.tag.gold { color: #7b5512; background: #fff4d9; }
.tag.purple { color: #594598; background: #f0ecff; }
.tag.gray { color: #566860; background: #edf2ef; }
.tag.pink { color: #884264; background: #ffeaf4; }

.market-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.market-card { min-height: 250px; padding: 32px; overflow: hidden; }
.market-card::after {
  content: attr(data-number);
  position: absolute;
  right: 20px;
  bottom: -23px;
  color: rgba(11, 165, 94, .07);
  font-size: 130px;
  font-weight: 900;
  letter-spacing: -.08em;
}
.market-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.market-card li { padding: 7px 10px; border-radius: 999px; color: #3b5e51; background: #eff7f3; font-size: 13px; font-weight: 700; }

.ecosystem-section { overflow: hidden; }
.ecosystem-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 66px; align-items: center; }
.ecosystem-list { display: grid; gap: 13px; margin-top: 30px; }
.ecosystem-item { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.ecosystem-item i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #062018; background: var(--green); font-style: normal; font-weight: 900; }
.ecosystem-item strong { display: block; margin-bottom: 3px; }
.ecosystem-item span { color: var(--ink-muted); font-size: 14px; }
.ecosystem-visual { position: relative; }
.ecosystem-visual img { border-radius: 34px; box-shadow: var(--shadow); }
.ecosystem-caption { position: absolute; right: -18px; bottom: 24px; max-width: 270px; padding: 18px; border-radius: 18px; color: var(--ink-dark); background: #fff; box-shadow: var(--shadow-soft); }
.ecosystem-caption strong { display: block; margin-bottom: 4px; }
.ecosystem-caption span { color: var(--ink-dark-muted); font-size: 13px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card { counter-increment: step; position: relative; min-height: 245px; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--border-light); box-shadow: var(--shadow-soft); }
.step-card::before { content: "0" counter(step); display: block; margin-bottom: 30px; color: var(--green-strong); font-size: 15px; font-weight: 900; letter-spacing: .12em; }
.step-card::after { content: ""; position: absolute; top: 44px; right: -19px; width: 38px; height: 1px; background: #bcd9cc; }
.step-card:last-child::after { display: none; }
.step-card p { color: var(--ink-dark-muted); margin-bottom: 0; }

.testimonial {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: center;
  padding: 44px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(37,207,123,.13), rgba(90,168,255,.07));
  border: 1px solid var(--border);
}
.testimonial-mark { font-size: 130px; line-height: .7; color: rgba(128,239,180,.35); font-family: Georgia, serif; text-align: center; }
.testimonial blockquote { margin: 0; font-size: clamp(23px, 3vw, 35px); line-height: 1.38; letter-spacing: -.025em; }
.testimonial footer { margin-top: 18px; color: var(--ink-muted); font-size: 14px; }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border-light); border-radius: 18px; background: #fff; overflow: hidden; }
.faq-button { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 0; text-align: left; color: var(--ink-dark); background: transparent; font-weight: 800; }
.faq-button::after { content: "+"; flex: 0 0 auto; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #0b8d53; background: var(--green-soft); }
.faq-item.open .faq-button::after { content: "–"; }
.faq-panel { display: none; padding: 0 24px 22px; color: var(--ink-dark-muted); }
.faq-item.open .faq-panel { display: block; }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: 36px;
  background: linear-gradient(130deg, #114c3b, #0a2b23 58%, #102d3b);
  border: 1px solid rgba(154,239,195,.22);
  box-shadow: var(--shadow);
}
.cta-panel::before { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; top: -150px; border-radius: 50%; background: rgba(42, 209, 126, .14); filter: blur(4px); }
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.cta-grid h2 { max-width: 780px; margin-bottom: 12px; }
.cta-grid p { max-width: 710px; margin-bottom: 0; color: #b9d7cb; font-size: 18px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }

.site-footer { padding: 58px 0 30px; border-top: 1px solid var(--border); background: #04110e; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr 1fr; gap: 44px; }
.footer-brand img { width: 238px; margin-bottom: 17px; }
.footer-brand p { max-width: 340px; color: #8fb1a3; font-size: 14px; }
.footer-col h4 { margin-bottom: 16px; font-size: 15px; color: #fff; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-links span { color: #8fb1a3; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 24px; border-top: 1px solid var(--border); color: #78988c; font-size: 12px; }

/* Authentication */
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(600px, 1.08fr);
  background: #f2f8f5;
}
.auth-side {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 48px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 15%, rgba(37,207,123,.22), transparent 30%),
    radial-gradient(circle at 86% 82%, rgba(90,168,255,.18), transparent 30%),
    #061713;
}
.auth-side::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(136,232,181,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(136,232,181,.06) 1px, transparent 1px); background-size: 52px 52px; opacity: .55; }
.auth-side > * { position: relative; z-index: 2; }
.auth-side .brand img { width: 260px; }
.auth-story { max-width: 520px; }
.auth-story h1 { font-size: clamp(42px, 5vw, 68px); }
.auth-story p { color: #a9c8bc; font-size: 18px; }
.auth-side-footer { color: #7fa093; font-size: 13px; }
.auth-main { display: grid; place-items: center; padding: 50px 34px; color: var(--ink-dark); }
.auth-card { width: min(690px, 100%); padding: 44px; border-radius: 28px; background: #fff; border: 1px solid var(--border-light); box-shadow: var(--shadow-soft); }
.auth-card.wide { width: min(860px, 100%); }
.auth-card-header { margin-bottom: 28px; }
.auth-card-header h2 { font-size: 40px; margin-bottom: 9px; }
.auth-card-header p { color: var(--ink-dark-muted); margin-bottom: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.form-grid .span-2 { grid-column: span 2; }
.field { display: grid; gap: 7px; }
.field label, .field-label { color: #25483c; font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfdfd8;
  border-radius: 13px;
  color: var(--ink-dark);
  background: #fff;
  transition: border .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #38c77f; box-shadow: 0 0 0 4px rgba(37,207,123,.12); }
.field-hint { color: #72877f; font-size: 12px; }
.field-error { color: #b63838; font-size: 12px; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-card { position: relative; display: flex; gap: 11px; align-items: flex-start; padding: 14px; border: 1px solid #d7e5df; border-radius: 13px; background: #fbfdfc; cursor: pointer; }
.check-card:hover { border-color: #80dbae; }
.check-card input { margin-top: 3px; accent-color: var(--green-strong); }
.check-card strong { display: block; margin-bottom: 2px; color: #183d31; font-size: 14px; }
.check-card span { display: block; color: #657b72; font-size: 12px; }
.checkbox-line { display: flex; gap: 10px; align-items: flex-start; color: #4f675e; font-size: 13px; }
.checkbox-line input { margin-top: 3px; accent-color: var(--green-strong); }
.form-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 26px; }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 23px 0; color: #8a9b95; font-size: 12px; }
.form-divider::before, .form-divider::after { content: ""; height: 1px; flex: 1; background: #e0ebe6; }
.demo-box { padding: 17px; border-radius: 15px; background: #eef8f3; border: 1px solid #d3eadf; }
.demo-box strong { display: block; margin-bottom: 6px; }
.demo-credentials { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; color: #476158; font-size: 13px; }
.demo-credentials code { color: #154535; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.auth-switch { margin-top: 22px; text-align: center; color: #667b73; font-size: 14px; }
.auth-switch a { color: #0c9657; font-weight: 800; }
.progress-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 30px; }
.progress-step { position: relative; display: grid; gap: 8px; color: #82928c; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.progress-step::before { content: ""; height: 4px; border-radius: 999px; background: #e3ece8; }
.progress-step.active { color: #0a8e51; }
.progress-step.active::before, .progress-step.complete::before { background: var(--green); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeUp .25s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.alert { padding: 14px 16px; margin-bottom: 20px; border-radius: 13px; font-size: 14px; }
.alert-success { color: #12643f; background: #e2f8ec; border: 1px solid #bcebd1; }
.alert-error { color: #8d2f2f; background: #fff0f0; border: 1px solid #f5caca; }
.alert-warning { color: #7a5c18; background: #fff8df; border: 1px solid #f1dda2; }

/* Dashboard */
.dashboard-body { min-height: 100vh; color: var(--ink-dark); background: #eef5f1; }
.dashboard-layout { min-height: 100vh; display: grid; grid-template-columns: 268px minmax(0, 1fr); }
.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 26px 18px 20px;
  color: #dff3ea;
  background: linear-gradient(180deg, #071d18, #09241d);
  border-right: 1px solid rgba(255,255,255,.06);
}
.sidebar-brand { padding: 0 8px 23px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar-brand img { width: 218px; }
.sidebar-nav { display: grid; gap: 5px; margin-top: 20px; }
.sidebar-link { display: flex; align-items: center; gap: 12px; padding: 12px 13px; border-radius: 13px; color: #9fc0b3; font-size: 14px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.sidebar-link:hover, .sidebar-link.active { color: #fff; background: rgba(37,207,123,.13); }
.sidebar-link.active { box-shadow: inset 3px 0 var(--green); }
.sidebar-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #9adfba; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 900; }
.sidebar-link.active .sidebar-icon { color: #062018; background: var(--green); }
.sidebar-bottom { margin-top: auto; }
.partner-mini { padding: 14px; border-radius: 15px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.partner-mini strong { display: block; color: #fff; font-size: 13px; }
.partner-mini span { display: block; margin-top: 3px; color: #87aa9d; font-size: 11px; }
.sidebar-logout { margin-top: 10px; width: 100%; justify-content: flex-start; color: #aecbbf; }

.dashboard-main { min-width: 0; }
.dashboard-header { position: sticky; top: 0; z-index: 30; height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 32px; background: rgba(246,250,248,.9); border-bottom: 1px solid #dfeae5; backdrop-filter: blur(16px); }
.dashboard-header-left { display: flex; align-items: center; gap: 14px; }
.dashboard-mobile-toggle { display: none; width: 42px; height: 42px; border: 1px solid #d8e6df; border-radius: 12px; background: #fff; }
.dashboard-breadcrumb { color: #71847c; font-size: 13px; }
.dashboard-breadcrumb b { color: #213f35; }
.dashboard-header-actions { display: flex; align-items: center; gap: 10px; }
.header-search { position: relative; }
.header-search input { width: 250px; height: 42px; padding: 9px 13px 9px 38px; border: 1px solid #dbe7e1; border-radius: 12px; color: #29483d; background: #fff; }
.header-search::before { content: "⌕"; position: absolute; left: 14px; top: 9px; color: #738a80; font-size: 20px; }
.header-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #0e9c5a, #2dcc7e); font-weight: 900; }
.dashboard-content { padding: 32px; }
.dashboard-view { display: none; }
.dashboard-view.active { display: block; animation: fadeUp .24s ease both; }
.view-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 27px; }
.view-header h1 { margin-bottom: 7px; color: #11352a; font-size: clamp(32px, 4vw, 46px); }
.view-header p { margin-bottom: 0; color: #6d8179; }
.view-actions { display: flex; gap: 10px; }

.welcome-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 34px;
  padding: 35px;
  margin-bottom: 24px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(130deg, #0e553e, #0b342a 60%, #143b4e);
  box-shadow: 0 20px 55px rgba(12,66,48,.18);
}
.welcome-banner::after { content: ""; position: absolute; width: 310px; height: 310px; right: -80px; top: -130px; border-radius: 50%; background: rgba(85,185,255,.16); }
.welcome-banner > * { position: relative; z-index: 2; }
.welcome-banner h2 { margin-bottom: 10px; font-size: 38px; }
.welcome-banner p { max-width: 680px; margin-bottom: 22px; color: #bed8ce; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.partner-level { display: grid; align-content: center; justify-items: center; text-align: center; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: rgba(255,255,255,.08); }
.partner-level-ring { width: 110px; height: 110px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 50%; border: 9px solid rgba(255,255,255,.12); border-top-color: #5ce29c; border-right-color: #5ce29c; font-size: 24px; font-weight: 900; }
.partner-level strong { display: block; }
.partner-level span { color: #a9c9bc; font-size: 12px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi-card { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #dce9e3; box-shadow: 0 11px 32px rgba(21,68,52,.06); }
.kpi-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #0c6d43; background: #e4f8ed; font-weight: 900; }
.kpi-card.blue .kpi-icon { color: #2f6eaa; background: #e9f3ff; }
.kpi-card.purple .kpi-icon { color: #6751a8; background: #f0ecff; }
.kpi-card.gold .kpi-icon { color: #8a641b; background: #fff4d9; }
.kpi-value { display: block; color: #12382d; font-size: 27px; line-height: 1; font-weight: 900; }
.kpi-label { display: block; margin-top: 5px; color: #75877f; font-size: 12px; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr); gap: 20px; }
.dash-card { padding: 24px; border: 1px solid #dce8e2; border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(21,68,52,.055); }
.dash-card + .dash-card { margin-top: 20px; }
.dash-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.dash-card-header h3 { margin-bottom: 5px; color: #183b30; font-size: 22px; }
.dash-card-header p { margin: 0; color: #788c83; font-size: 13px; }
.dash-link { color: #0b9556; font-size: 13px; font-weight: 800; }

.ecosystem-mini { position: relative; min-height: 365px; display: grid; place-items: center; overflow: hidden; border-radius: 20px; background: radial-gradient(circle at 50% 50%, #effaf4, #f8fbfa 68%); }
.ecosystem-mini::before, .ecosystem-mini::after { content: ""; position: absolute; border: 1px solid #d7ece2; border-radius: 50%; }
.ecosystem-mini::before { width: 300px; height: 300px; }
.ecosystem-mini::after { width: 210px; height: 210px; }
.eco-center { position: relative; z-index: 3; width: 118px; height: 118px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#0e9a59,#28cf7c); box-shadow: 0 20px 44px rgba(26,176,101,.25); text-align: center; font-weight: 900; line-height: 1.12; }
.eco-node { position: absolute; z-index: 4; min-width: 112px; padding: 11px 13px; border: 1px solid #d9e9e2; border-radius: 14px; text-align: center; color: #315248; background: #fff; box-shadow: 0 10px 26px rgba(27,80,60,.09); font-size: 12px; font-weight: 800; }
.eco-node.one { top: 28px; left: 50%; transform: translateX(-50%); }
.eco-node.two { top: 92px; right: 28px; }
.eco-node.three { bottom: 51px; right: 39px; }
.eco-node.four { bottom: 28px; left: 50%; transform: translateX(-50%); }
.eco-node.five { bottom: 51px; left: 39px; }
.eco-node.six { top: 92px; left: 28px; }

.update-list { display: grid; gap: 12px; }
.update-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 13px; border: 1px solid #e0ebe6; border-radius: 15px; }
.update-item-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: #0d7848; background: #e4f8ed; font-weight: 900; }
.update-item strong { display: block; margin-bottom: 3px; color: #25473c; font-size: 14px; }
.update-item span { display: block; color: #788b84; font-size: 12px; }
.update-item time { color: #899991; font-size: 11px; white-space: nowrap; }

.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quick-card { padding: 17px; border: 1px solid #dfeae5; border-radius: 16px; background: #f9fcfa; transition: transform .2s ease, border .2s ease; }
.quick-card:hover { transform: translateY(-3px); border-color: #8bdab2; }
.quick-card i { width: 37px; height: 37px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 11px; color: #0b7747; background: #e1f7eb; font-style: normal; font-weight: 900; }
.quick-card strong { display: block; color: #23483b; font-size: 14px; }
.quick-card span { display: block; margin-top: 4px; color: #7a8d85; font-size: 11px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-btn { padding: 9px 13px; border: 1px solid #d8e6df; border-radius: 999px; color: #536e63; background: #fff; font-size: 12px; font-weight: 800; }
.filter-btn.active { color: #0a633e; background: #dff8eb; border-color: #b7e9ce; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.content-card { display: flex; flex-direction: column; min-height: 265px; padding: 23px; border: 1px solid #dce9e3; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(20,64,49,.045); }
.content-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 21px; }
.content-card h3 { color: #1b4135; font-size: 21px; }
.content-card p { color: #667c73; font-size: 14px; }
.content-card-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: auto; padding-top: 18px; border-top: 1px solid #edf2ef; color: #85958f; font-size: 12px; }
.content-card-footer a { color: #0a9254; font-weight: 800; }

.timeline { position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 18px; bottom: 18px; width: 2px; background: #d8e9e1; }
.timeline-item { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 18px; }
.timeline-dot { position: relative; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 7px solid #eef5f1; border-radius: 50%; background: var(--green); }
.timeline-card { padding: 22px; border: 1px solid #dce9e3; border-radius: 18px; background: #fff; }
.timeline-card-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.timeline-card h3 { color: #1f4338; font-size: 21px; }
.timeline-card p { color: #6e837a; }
.timeline-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 14px 0 0; color: #71867d; font-size: 12px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { padding: 24px; border: 1px solid #dce8e2; border-radius: 20px; background: #fff; }
.service-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.service-number { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: #0c7346; background: #e2f8ec; font-weight: 900; }
.service-card h3 { color: #1b4034; font-size: 20px; }
.service-card p { color: #71857d; font-size: 14px; margin-bottom: 0; }

.learning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.learning-card { overflow: hidden; border: 1px solid #dce8e2; border-radius: 21px; background: #fff; }
.learning-cover { position: relative; min-height: 170px; display: grid; place-items: center; padding: 20px; color: #fff; text-align: center; background: radial-gradient(circle at 75% 20%, rgba(94,182,255,.3), transparent 30%), linear-gradient(135deg,#0a5e43,#092b23); }
.learning-cover::before { content: "▶"; width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; background: rgba(255,255,255,.12); font-size: 20px; }
.learning-content { padding: 22px; }
.learning-content h3 { color: #1b4035; font-size: 20px; }
.learning-content p { color: #6e837a; font-size: 14px; }
.learning-meta { display: flex; justify-content: space-between; gap: 10px; padding-top: 15px; border-top: 1px solid #edf2ef; color: #7d8f88; font-size: 12px; }

.profile-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 20px; }
.profile-card { padding: 26px; border: 1px solid #dce8e2; border-radius: 22px; background: #fff; }
.profile-avatar { width: 78px; height: 78px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 22px; color: #fff; background: linear-gradient(135deg,#0a9556,#2cd080); font-size: 28px; font-weight: 900; }
.profile-card h3 { color: #1c4035; }
.profile-card p { color: #70847c; }
.profile-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.detail-row { padding: 15px; border-radius: 14px; background: #f5f9f7; border: 1px solid #e3ece8; }
.detail-row span { display: block; color: #7a8d85; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.detail-row strong { display: block; margin-top: 4px; color: #27493e; font-size: 14px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: #276348; background: #e4f7ed; font-size: 12px; font-weight: 700; }

.modal { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 20px; background: rgba(3,16,12,.72); backdrop-filter: blur(8px); }
.modal.open { display: grid; }
.modal-card { width: min(720px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 29px; border-radius: 24px; color: var(--ink-dark); background: #fff; box-shadow: var(--shadow); }
.modal-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 22px; }
.modal-header h2 { font-size: 31px; margin-bottom: 6px; }
.modal-close { width: 40px; height: 40px; border: 1px solid #dce8e2; border-radius: 12px; background: #fff; font-size: 20px; }
.toast-stack { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: grid; gap: 10px; }
.toast { min-width: 290px; max-width: 420px; padding: 14px 16px; border-radius: 14px; color: #fff; background: #113a2e; box-shadow: 0 16px 45px rgba(0,0,0,.23); animation: toastIn .25s ease both; }
.toast.success { background: #0d7948; }
.toast.error { background: #9a3434; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-actions { display: none; }
  .site-header.open .site-nav { position: absolute; top: calc(100% + 1px); left: 20px; right: 20px; display: grid; gap: 0; padding: 14px; border: 1px solid var(--border); border-radius: 18px; background: rgba(6,23,19,.98); box-shadow: var(--shadow); }
  .site-header.open .site-nav a { padding: 12px; border-radius: 10px; }
  .site-header.open .site-nav a:hover { background: rgba(255,255,255,.06); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .hero-visual { max-width: 740px; width: 100%; margin-inline: auto; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .step-card:nth-child(2)::after { display: none; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .ecosystem-copy { max-width: 760px; }
  .ecosystem-visual { max-width: 900px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { min-height: auto; padding: 34px; }
  .auth-story { margin-top: 80px; }
  .auth-main { padding: 40px 24px; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: fixed; inset: 0 auto 0 0; width: 268px; transform: translateX(-105%); transition: transform .25s ease; box-shadow: var(--shadow); }
  .dashboard-layout.sidebar-open .dashboard-sidebar { transform: translateX(0); }
  .dashboard-mobile-toggle { display: inline-grid; place-items: center; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .content-grid, .service-grid, .learning-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 82px 0; }
  .hero { min-height: auto; padding-top: 128px; }
  .hero-grid { gap: 42px; }
  .hero-visual { min-height: 480px; }
  .hero-dashboard { inset: 42px 0 24px 20px; }
  .float-card.one { right: -4px; }
  .float-card.two { left: -4px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .cards-4, .market-grid, .steps { grid-template-columns: 1fr; }
  .license-grid { grid-template-columns: 1fr; }
  .license-highlight { padding: 28px; }
  .step-card::after { display: none; }
  .testimonial { grid-template-columns: 1fr; gap: 0; padding: 30px; }
  .testimonial-mark { text-align: left; height: 80px; }
  .cta-panel { padding: 38px 27px; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-card { padding: 30px 22px; }
  .form-grid, .check-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .progress-steps span { display: none; }
  .dashboard-header { padding: 0 16px; }
  .header-search { display: none; }
  .dashboard-content { padding: 20px 15px 34px; }
  .view-header { flex-direction: column; }
  .welcome-banner { grid-template-columns: 1fr; padding: 26px; }
  .partner-level { grid-template-columns: auto 1fr; justify-items: start; text-align: left; }
  .partner-level-ring { width: 78px; height: 78px; margin: 0 16px 0 0; grid-row: span 2; }
  .kpi-grid, .content-grid, .service-grid, .learning-grid, .profile-grid { grid-template-columns: 1fr; }
  .profile-details { grid-template-columns: 1fr; }
  .ecosystem-mini { min-height: 420px; }
}

@media (max-width: 520px) {
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  .brand { min-width: auto; }
  .brand img { width: 210px; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { min-height: 450px; }
  .dashboard-metrics { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .hero-dashboard { inset: 20px 0 0; transform: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .auth-side { padding: 25px; }
  .auth-story { margin-top: 55px; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .kpi-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .update-item { grid-template-columns: 44px 1fr; }
  .update-item time { grid-column: 2; }
  .timeline-card-top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
