/* ============================================================
   Emberic — Website v0.2
   Cool brand spine (navy/cyan/teal/emerald) with sparing warm
   accent (burnt copper). Light-first, B2B SaaS mood.
   ============================================================ */

:root {
  /* Cool primaries */
  --navy-900: #0E1A2E;
  --navy-800: #15355F;
  --navy-700: #1B3A6B;
  --azure-500: #1AA7D9;
  --teal-500: #19B5A8;
  --emerald-500: #26B574;

  /* Warm accent — used sparingly */
  --copper-500: #C97B3F;
  --amber-300: #E0A368;

  /* Neutrals */
  --bg: #FCFCFC;
  --bg-soft: #F4F7FA;
  --panel-dark: #0E1A2E;
  --ink: #15355F;
  --muted: #5E6A7A;
  --border: #E8ECF0;
  --border-strong: #D6DDE6;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --display: "Poppins", "Inter", -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 46, 0.04), 0 2px 8px rgba(14, 26, 46, 0.04);
  --shadow: 0 6px 24px rgba(14, 26, 46, 0.08);
  --shadow-lg: 0 18px 48px rgba(14, 26, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--azure-500); text-decoration: none; }
a:hover { color: var(--navy-800); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Draft banner ---------- */
.draft-banner {
  background: var(--panel-dark);
  color: #FCFCFC;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.draft-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--copper-500);
  box-shadow: 0 0 8px var(--copper-500);
}

/* ---------- Navigation ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-800);
}

.brand-logo {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 14.5px;
}
.nav-links a:hover { color: var(--azure-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-800);
  color: #FCFCFC;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--azure-500);
  color: #FCFCFC;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--azure-500);
  color: var(--azure-500);
}
.btn-large { padding: 14px 28px; font-size: 15.5px; }

.nav-cta { padding: 9px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(26, 167, 217, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 85%, rgba(25, 181, 168, 0.08), transparent 60%),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--border-strong);
  background: #fff;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.eyebrow-pip {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azure-500), var(--teal-500));
}

.hero-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--navy-800);
  margin: 0 0 22px;
}

.grad-text {
  background: linear-gradient(120deg, var(--azure-500) 0%, var(--teal-500) 55%, var(--emerald-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.copper-text {
  color: var(--copper-500);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 14px;
  color: var(--muted);
}
.hero-meta strong {
  color: var(--navy-800);
  font-weight: 600;
}

/* Hero visual — geometric agent-network diagram in brand palette */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.hero-visual svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(14, 26, 46, 0.10));
}

/* ---------- Trust strip ---------- */
.trust {
  padding: 36px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-label {
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 18px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.trust-chip {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--navy-800);
  font-weight: 500;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--bg-soft);
}

.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-500);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--navy-800);
  margin: 0 0 18px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
  margin: 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-head .section-sub {
  margin-left: auto; margin-right: auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 18px;
}
.col-right .lead:last-child { margin-bottom: 0; }

/* ---------- Agent cards ---------- */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.agent-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.agent-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--azure-500);
}
.agent-card-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fff 0%, #F0F7FB 100%);
  border-color: var(--border-strong);
}
.agent-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(26, 167, 217, 0.14), rgba(25, 181, 168, 0.10));
  border: 1px solid rgba(26, 167, 217, 0.25);
  color: var(--azure-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.agent-card h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 4px;
  color: var(--navy-800);
}
.agent-role {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin: 0 0 12px !important;
}
.agent-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
}
.why-card:nth-child(2n) {
  background: linear-gradient(160deg, #fff, var(--bg-soft));
}
.why-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--copper-500);
  margin-bottom: 12px;
}
.why-card h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--navy-800);
}
.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azure-500), var(--teal-500));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--navy-800);
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---------- About facts ---------- */
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.about-facts > div {
  display: flex;
  flex-direction: column;
}
.fact-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.fact-val {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-800);
}

/* ---------- CTA section (dark navy panel) ---------- */
.cta-section {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(26, 167, 217, 0.22), transparent 65%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #FCFCFC;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  text-align: center;
  position: relative;
}
.cta-inner h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #FCFCFC;
}
.cta-inner h2 .grad-text {
  background: linear-gradient(120deg, #5CC6E6 0%, #4DD0C5 60%, #5EC793 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-inner > p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
  color: rgba(252, 252, 252, 0.75);
}
.cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  align-items: center;
}
.cta-section .btn-primary {
  background: #FCFCFC;
  color: var(--navy-800);
}
.cta-section .btn-primary:hover {
  background: var(--copper-500);
  color: #FCFCFC;
}
.cta-mail {
  color: var(--azure-500);
  font-weight: 600;
  font-size: 15.5px;
}
.cta-mail:hover { color: var(--copper-500); }

/* ---------- Footer ---------- */
.footer {
  background: var(--panel-dark);
  color: rgba(252, 252, 252, 0.7);
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 48px;
  margin-bottom: 36px;
}
.footer .brand { color: #FCFCFC; }
.footer-brand .brand-logo {
  height: 32px;
  filter: brightness(0) invert(1);
}
.footer-tag {
  margin: 14px 0 0;
  font-size: 14px;
  color: rgba(252, 252, 252, 0.6);
  max-width: 320px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-cols h4 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FCFCFC;
  margin: 0 0 12px;
}
.footer-cols ul {
  list-style: none;
  margin: 0; padding: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(252, 252, 252, 0.65);
}
.footer-cols a {
  color: rgba(252, 252, 252, 0.85);
}
.footer-cols a:hover { color: var(--azure-500); }
.footer-base {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(252, 252, 252, 0.45);
  padding-top: 22px;
  border-top: 1px solid rgba(252, 252, 252, 0.08);
}
.footer-draft { color: var(--copper-500); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 320px; order: -1; }
  .hero-visual svg { max-width: 380px; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .agent-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
}

@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 6px; }
}
