/* ============================================================
   ERZlearn Design System — styles.css
   ============================================================ */

/* ── Variables ── */
:root {
  --teal:          #0D7377;
  --teal-bright:   #14BDAC;
  --teal-glow:     rgba(13,115,119,0.18);
  --teal-glow-sm:  rgba(13,115,119,0.10);
  --amber:         #F59E0B;
  --amber-dim:     rgba(245,158,11,0.15);
  --green:         #10B981;
  --navy:          #0D1B2A;
  --navy-2:        #0f2133;
  --navy-surface:  #132333;
  --navy-card:     #162840;
  --navy-card-2:   #1a3048;
  --border:        rgba(20,189,172,0.12);
  --border-bright: rgba(20,189,172,0.28);
  --text-primary:  #EDF6F9;
  --text-secondary:#8BB8C4;
  --text-muted:    #4A7A8A;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --shadow-card:   0 24px 64px rgba(0,0,0,0.4);
  --transition:    0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(13,115,119,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,115,119,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Layout ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}
.section { padding: 100px 0; }
.section-alt { padding: 100px 0; background: var(--navy-2); position: relative; overflow: hidden; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.1; }
.display {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.display em { font-style: italic; color: var(--teal-bright); font-weight: 300; }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-header h2 em { font-style: italic; color: var(--teal-bright); font-weight: 300; }
.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
}
.section-tag { margin-bottom: 16px; }

/* ── Tag / Badge ── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(13,115,119,0.15);
  border: 1px solid var(--border-bright);
  color: var(--teal-bright);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
}
.tag.amber {
  background: var(--amber-dim);
  border-color: rgba(245,158,11,0.3);
  color: var(--amber);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  padding: 13px 28px; border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: #0a5e62; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--teal-bright);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  padding: 13px 28px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-bright);
  cursor: pointer; transition: background var(--transition), transform var(--transition);
}
.btn-outline:hover { background: var(--teal-glow); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--teal-bright);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  padding: 10px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer; transition: background var(--transition);
}
.btn-ghost:hover { background: var(--teal-glow-sm); }
.btn-amber {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--navy);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  padding: 13px 28px; border-radius: var(--radius-sm); border: none;
  cursor: pointer; transition: opacity var(--transition), transform var(--transition);
}
.btn-amber:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(13,27,42,0.88); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 22px; font-weight: 600;
  color: var(--text-primary); letter-spacing: -0.01em;
}
.nav-logo img { height: 28px; width: auto; }
.nav-logo span { color: var(--teal-bright); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-secondary); font-size: 14px; font-weight: 400;
  transition: color var(--transition); position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--teal-bright); }
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a::after { content: ' ↓'; font-size: 10px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-login {
  color: var(--text-secondary); font-size: 14px; font-weight: 400;
  transition: color var(--transition);
}
.nav-login:hover { color: var(--text-primary); }
.nav-signup {
  background: var(--teal); color: #fff;
  font-size: 14px; font-weight: 500;
  padding: 8px 20px; border-radius: 7px;
  transition: background var(--transition);
}
.nav-signup:hover { background: #0a5e62; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(13,27,42,0.97); backdrop-filter: blur(20px);
  z-index: 199; flex-direction: column;
  padding: 32px 2rem; gap: 8px;
  border-top: 1px solid var(--border);
  transform: translateY(-8px); opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.nav-mobile.open {
  display: flex; opacity: 1; transform: translateY(0); pointer-events: all;
}
.nav-mobile a {
  color: var(--text-secondary); font-size: 18px; font-weight: 400;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--teal-bright); }
.nav-mobile-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at 50% 40%, rgba(13,115,119,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 700px; }
.hero-tag { margin-bottom: 28px; }
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 900; line-height: 1.04; letter-spacing: -0.03em;
  margin-bottom: 24px; color: var(--text-primary);
}
.hero h1 em { font-style: italic; color: var(--teal-bright); font-weight: 300; }
.hero p {
  font-size: 18px; color: var(--text-secondary);
  max-width: 520px; line-height: 1.7; margin-bottom: 40px; font-weight: 300;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex; gap: 40px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hstat-num {
  font-family: 'Fraunces', serif; font-size: 32px;
  font-weight: 700; color: var(--text-primary); line-height: 1;
}
.hstat-num span { color: var(--teal-bright); }
.hstat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Hero visual / dashboard card */
.hero-visual { width: 100%; max-width: 480px; flex-shrink: 0; }
.dash-card {
  background: var(--navy-card); border: 1px solid var(--border-bright);
  border-radius: 16px; padding: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(13,115,119,0.08);
}
.dash-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-title { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.dash-badge {
  background: var(--amber-dim); color: var(--amber);
  font-size: 11px; font-weight: 500;
  padding: 3px 10px; border-radius: 100px;
  border: 1px solid rgba(245,158,11,0.3);
}
.dash-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px; margin-bottom: 6px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition);
}
.dash-row:hover { background: rgba(13,115,119,0.08); }
.dash-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.dash-row-info { flex: 1; }
.dash-row-name { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.dash-row-sub { font-size: 11px; color: var(--text-muted); }
.dash-row-score {
  font-size: 13px; font-weight: 600;
  background: rgba(13,115,119,0.2); color: var(--teal-bright);
  padding: 3px 10px; border-radius: 6px;
}
.dash-prog-label { font-size: 11px; color: var(--text-muted); margin: 14px 0 6px; }
.prog-track { height: 6px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.prog-fill { height: 100%; border-radius: 3px; }
.prog-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.prog-subject { font-size: 12px; color: var(--text-secondary); }
.prog-pct { font-size: 12px; font-weight: 500; color: var(--text-primary); }
.mini-stat-row { display: flex; gap: 8px; margin-top: 14px; }
.mini-stat {
  flex: 1; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
}
.mini-stat-val { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.mini-stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ── Logos Strip ── */
.logos-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  text-align: center; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 24px;
}
.logos-row {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.logo-item {
  font-family: 'Fraunces', serif; font-size: 18px;
  font-weight: 700; color: var(--text-muted);
  letter-spacing: -0.02em; opacity: 0.5; transition: opacity var(--transition);
}
.logo-item:hover { opacity: 0.8; }

/* ── How it Works ── */
.how-section { padding: 100px 0; }
.steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 0; position: relative;
}
.steps-row::before {
  content: '';
  position: absolute; top: 36px; left: calc(16.66% + 16px); right: calc(16.66% + 16px);
  height: 1px; background: linear-gradient(90deg, var(--teal-bright), rgba(20,189,172,0.2), var(--teal-bright));
  pointer-events: none;
}
.step-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 32px 28px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  transition: border-color var(--transition), transform var(--transition);
}
.step-card:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal-glow); border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700;
  color: var(--teal-bright); flex-shrink: 0;
}
.step-card h3 { font-size: 18px; font-weight: 600; color: var(--text-primary); }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; font-weight: 300; }

/* ── Features ── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
  transition: border-color 0.25s, transform 0.2s;
  position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-bright), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.feat-card:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.feat-card:hover::before { opacity: 1; }
.feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--teal-glow); border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-icon svg { width: 22px; height: 22px; stroke: var(--teal-bright); stroke-width: 1.75; fill: none; }
.feat-card.accent .feat-icon svg { stroke: var(--amber); }
.feat-card h3 { font-size: 17px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; font-weight: 300; }
.feat-card.wide { grid-column: span 2; }
.feat-card.accent { border-color: rgba(245,158,11,0.2); }
.feat-card.accent .feat-icon { background: var(--amber-dim); border-color: rgba(245,158,11,0.3); }
.feat-card.accent::before { background: linear-gradient(90deg, transparent, var(--amber), transparent); }

/* ── Product UI Preview (tabs) ── */
.ui-preview-section { padding: 100px 0; background: var(--navy-2); position: relative; overflow: hidden; }
.ui-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.ui-tab {
  padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 500;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-secondary); cursor: pointer;
  transition: all var(--transition);
}
.ui-tab.active, .ui-tab:hover {
  background: var(--teal-glow); border-color: var(--border-bright);
  color: var(--teal-bright);
}
.ui-tab.active { border-color: var(--teal-bright); }
.ui-panel { display: none; }
.ui-panel.active { display: block; }
.ui-panel-inner {
  background: var(--navy-card); border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-card);
}
.ui-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 20px; margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.ui-panel-title {
  font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700;
  color: var(--text-primary);
}
.ui-panel-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.ui-metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.ui-metric {
  background: var(--navy-surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px;
}
.ui-metric-val {
  font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700;
  color: var(--text-primary); line-height: 1;
}
.ui-metric-val.teal { color: var(--teal-bright); }
.ui-metric-val.amber { color: var(--amber); }
.ui-metric-val.green { color: var(--green); }
.ui-metric-lbl { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.ui-list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.ui-list-item:last-child { border-bottom: none; }
.ui-list-left { display: flex; align-items: center; gap: 12px; }
.ui-list-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.ui-list-avatar svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }
.ui-list-name { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.ui-list-meta { font-size: 12px; color: var(--text-muted); }
.ui-badge {
  font-size: 12px; font-weight: 500; padding: 3px 10px;
  border-radius: 6px;
}
.ui-badge.teal { background: rgba(13,115,119,0.2); color: var(--teal-bright); }
.ui-badge.amber { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(245,158,11,0.3); }
.ui-badge.green { background: rgba(16,185,129,0.15); color: var(--green); }
.ui-badge.muted { background: rgba(255,255,255,0.05); color: var(--text-muted); }

/* ── Roles Section ── */
.roles-section { padding: 100px 0; background: var(--navy-2); position: relative; overflow: hidden; }
.roles-glow {
  position: absolute; left: -200px; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(13,115,119,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.roles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 32px;
  transition: border-color var(--transition);
}
.role-card:hover { border-color: var(--border-bright); }
.role-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-bright); background: var(--teal-glow);
  padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
  border: 1px solid var(--border-bright);
}
.role-card h3 {
  font-family: 'Fraunces', serif; font-size: 24px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 12px;
}
.role-card p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 20px; font-weight: 300;
}
.role-features { display: flex; flex-direction: column; gap: 8px; }
.role-features li {
  font-size: 13px; color: var(--text-secondary);
  display: flex; align-items: flex-start; gap: 8px;
}
.role-features li::before { content: '→'; color: var(--teal-bright); font-size: 12px; margin-top: 1px; flex-shrink: 0; }

/* ── Stats Band ── */
.stats-band {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(13,115,119,0.1) 0%, rgba(13,27,42,0) 50%, rgba(245,158,11,0.05) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-band-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.stat-block { text-align: center; padding: 32px 24px; border-right: 1px solid var(--border); }
.stat-block:last-child { border-right: none; }
.stat-block-num {
  font-family: 'Fraunces', serif; font-size: 52px; font-weight: 900;
  line-height: 1; color: var(--text-primary); letter-spacing: -0.04em;
}
.stat-block-num span { color: var(--teal-bright); }
.stat-block-label { font-size: 14px; color: var(--text-secondary); margin-top: 8px; font-weight: 300; }

/* ── Integrations ── */
.integrations-section { padding: 80px 0; }
.integrations-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 12px; margin-top: 0;
}
.integration-item {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: border-color var(--transition), transform var(--transition);
  cursor: default;
}
.integration-item:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.integration-icon { display: flex; align-items: center; justify-content: center; }
.integration-icon svg { width: 30px; height: 30px; stroke: var(--teal-bright); stroke-width: 1.5; fill: none; }
.integration-name { font-size: 12px; color: var(--text-muted); font-weight: 500; text-align: center; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
  transition: border-color var(--transition);
}
.testi-card:hover { border-color: var(--border-bright); }
.testi-stars { color: var(--amber); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-quote {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 20px; font-style: italic; font-weight: 300;
}
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.testi-role { font-size: 12px; color: var(--text-muted); }

/* ── Case Study ── */
.case-study-section { padding: 80px 0; }
.case-study-card {
  background: linear-gradient(135deg, rgba(13,115,119,0.12) 0%, var(--navy-card) 60%);
  border: 1px solid var(--border-bright); border-radius: var(--radius-lg);
  padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
.cs-tag { display: inline-block; margin-bottom: 16px; }
.cs-quote {
  font-family: 'Fraunces', serif; font-size: clamp(22px, 3vw, 32px);
  font-weight: 700; line-height: 1.3; color: var(--text-primary);
  margin-bottom: 24px;
}
.cs-quote em { font-style: italic; color: var(--teal-bright); font-weight: 300; }
.cs-author { display: flex; align-items: center; gap: 14px; }
.cs-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal-glow); border: 2px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; color: var(--teal-bright);
}
.cs-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.cs-role-org { font-size: 13px; color: var(--text-muted); }
.cs-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-metric {
  background: var(--navy-surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 24px;
}
.cs-metric-num {
  font-family: 'Fraunces', serif; font-size: 40px; font-weight: 900;
  color: var(--teal-bright); line-height: 1; letter-spacing: -0.03em;
}
.cs-metric-num.amber { color: var(--amber); }
.cs-metric-label { font-size: 13px; color: var(--text-secondary); margin-top: 6px; font-weight: 300; }

/* ── FAQ ── */
.faq-section { padding: 100px 0; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border-bright); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--text-primary);
  transition: color var(--transition); gap: 16px;
}
.faq-question:hover { color: var(--teal-bright); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-glow); border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-bright); font-size: 14px; flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.7; font-weight: 300;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ── Pricing ── */
.pricing-section { padding: 100px 0; }
.pricing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 48px;
}
.pricing-toggle span { font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.pricing-toggle span.active { color: var(--text-primary); }
.toggle-switch {
  width: 48px; height: 26px; background: var(--navy-surface);
  border: 1px solid var(--border-bright); border-radius: 13px;
  position: relative; cursor: pointer; transition: background var(--transition);
}
.toggle-switch.on { background: var(--teal); }
.toggle-knob {
  width: 18px; height: 18px; background: #fff; border-radius: 50%;
  position: absolute; top: 3px; left: 4px;
  transition: transform 0.25s;
}
.toggle-switch.on .toggle-knob { transform: translateX(22px); }
.annual-badge {
  background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(245,158,11,0.3);
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 100px;
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: border-color 0.25s, transform 0.2s;
  position: relative;
}
.price-card:hover { border-color: var(--border-bright); transform: translateY(-4px); }
.price-card.featured {
  border: 2px solid var(--teal-bright);
  background: linear-gradient(160deg, rgba(13,115,119,0.12) 0%, var(--navy-card) 60%);
}
.featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal-bright); color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 16px; border-radius: 100px; white-space: nowrap;
}
.price-plan { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 8px; }
.price-plan.amber { color: var(--amber); }
.price-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; font-weight: 300; line-height: 1.5; }
.price-amount {
  font-family: 'Fraunces', serif; font-size: 48px; font-weight: 900;
  color: var(--text-primary); letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px;
}
.price-amount sup { font-size: 22px; font-weight: 700; vertical-align: top; margin-top: 8px; }
.price-period { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.price-divider { height: 1px; background: var(--border); margin: 28px 0; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; flex: 1; }
.price-features li { font-size: 14px; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 10px; }
.price-features li .check { color: var(--teal-bright); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.price-features li .check.amber { color: var(--amber); }
.price-btn {
  display: block; text-align: center; padding: 13px;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  transition: all 0.2s; cursor: pointer;
  border: 1px solid var(--border-bright); color: var(--teal-bright);
  background: transparent;
}
.price-btn:hover { background: var(--teal-glow); }
.price-btn.solid { background: var(--teal); color: #fff; border-color: var(--teal); }
.price-btn.solid:hover { background: #0a5e62; }
.pricing-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 24px; }
.pricing-note a { color: var(--teal-bright); }

/* Comparison Table */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 48px; }
.compare-table th {
  padding: 16px 20px; background: var(--navy-surface);
  font-size: 13px; font-weight: 600; text-align: center;
  color: var(--text-secondary); border-bottom: 1px solid var(--border);
}
.compare-table th:first-child { text-align: left; border-radius: 10px 0 0 0; }
.compare-table th:last-child { border-radius: 0 10px 0 0; }
.compare-table th.hl { color: var(--teal-bright); background: rgba(13,115,119,0.1); }
.compare-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text-secondary); text-align: center;
}
.compare-table td:first-child { text-align: left; color: var(--text-primary); font-weight: 500; }
.compare-table td.hl { background: rgba(13,115,119,0.06); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--teal-bright); font-size: 16px; }
.compare-table .no { color: var(--text-muted); font-size: 16px; }
.compare-table .cat-row td {
  background: var(--navy-surface); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
  padding: 10px 20px;
}
.compare-table .cat-row td:first-child { color: var(--teal-bright); }

/* ── CTA Section ── */
.cta-section { padding: 120px 0; text-align: center; position: relative; overflow: hidden; }
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(13,115,119,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: 'Fraunces', serif; font-size: clamp(36px, 5vw, 60px);
  font-weight: 900; line-height: 1.08; letter-spacing: -0.03em;
  color: var(--text-primary); margin-bottom: 20px;
}
.cta-section h2 em { font-style: italic; color: var(--teal-bright); font-weight: 300; }
.cta-section p { font-size: 18px; color: var(--text-secondary); max-width: 460px; margin: 0 auto 40px; font-weight: 300; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-reassure { font-size: 13px; color: var(--text-muted); margin-top: 16px; }
.cta-reassure a { color: var(--teal-bright); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border); padding: 64px 0 40px;
  background: var(--navy);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo-text {
  font-family: 'DM Sans', sans-serif; font-size: 20px; font-weight: 600;
  color: var(--text-primary); margin-bottom: 12px;
}
.footer-logo-text span { color: var(--teal-bright); }
.footer-logomark { height: 44px; width: auto; display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 240px; margin-bottom: 20px; font-weight: 300; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--navy-surface); border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}
.footer-social a:hover { border-color: var(--teal-bright); background: var(--teal-glow); }
.footer-social a svg { width: 16px; height: 16px; stroke: var(--text-secondary); stroke-width: 2; fill: none; transition: stroke var(--transition); }
.footer-social a:hover svg { stroke: var(--teal-bright); }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--text-secondary); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: var(--text-muted); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--text-secondary); }

/* ── Blog Cards ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.blog-card-img {
  height: 180px; background: var(--navy-surface);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
}
.blog-card-img svg { width: 52px; height: 52px; stroke: var(--teal-bright); stroke-width: 1.25; fill: none; opacity: 0.55; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-bright); margin-bottom: 10px;
}
.blog-card h3 { font-size: 17px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; font-weight: 300; flex: 1; margin-bottom: 20px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; }
.blog-date { font-size: 12px; color: var(--text-muted); }
.blog-read { font-size: 13px; color: var(--teal-bright); font-weight: 500; }

/* Blog category filter */
.blog-filter { display: flex; gap: 8px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--border); color: var(--text-muted); cursor: pointer;
  background: transparent; transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--teal-glow); border-color: var(--border-bright); color: var(--teal-bright);
}
.filter-btn.active { border-color: var(--teal-bright); }

/* ── About Page ── */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
  transition: border-color var(--transition);
}
.value-card:hover { border-color: var(--border-bright); }
.value-icon { width: 44px; height: 44px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; background: var(--teal-glow); border: 1px solid var(--border-bright); border-radius: 10px; }
.value-icon svg { width: 22px; height: 22px; stroke: var(--teal-bright); stroke-width: 1.75; fill: none; }
.value-card h3 { font-size: 17px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; font-weight: 300; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
  text-align: center; transition: border-color var(--transition);
}
.team-card:hover { border-color: var(--border-bright); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
}
.team-name { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.team-title { font-size: 13px; color: var(--teal-bright); margin-bottom: 8px; }
.team-bio { font-size: 13px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }
.timeline { max-width: 640px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 16px; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(180deg, var(--teal-bright), rgba(20,189,172,0.1));
}
.timeline-item { display: flex; gap: 24px; padding-bottom: 40px; position: relative; }
.timeline-dot {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-glow); border: 2px solid var(--teal-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--teal-bright);
  position: relative; z-index: 1;
}
.timeline-body {}
.timeline-year { font-size: 12px; font-weight: 600; color: var(--teal-bright); margin-bottom: 4px; letter-spacing: 0.06em; }
.timeline-title { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.timeline-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; font-weight: 300; }

/* ── Contact Page ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form-wrap {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--navy-surface);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 16px; color: var(--text-primary);
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  transition: border-color var(--transition);
  outline: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal-bright); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A7A8A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.contact-info-wrap {}
.contact-info-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px; margin-bottom: 16px;
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--teal-glow); border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; stroke: var(--teal-bright); stroke-width: 1.75; fill: none; }
.contact-info-card h4 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; font-weight: 300; }
.contact-info-card a { color: var(--teal-bright); }

/* ── Page Hero (subpages) ── */
.page-hero {
  padding: 140px 0 80px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at 50% 30%, rgba(13,115,119,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900; line-height: 1.08; letter-spacing: -0.03em;
  color: var(--text-primary); margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; color: var(--teal-bright); font-weight: 300; }
.page-hero p {
  font-size: 18px; color: var(--text-secondary);
  max-width: 540px; margin: 0 auto 36px; font-weight: 300; line-height: 1.7;
}

/* ── Scroll animations ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Float animation ── */
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-tag  { animation: fadeUp 0.6s ease both; }
.hero h1   { animation: fadeUp 0.6s 0.1s ease both; }
.hero p    { animation: fadeUp 0.6s 0.2s ease both; }
.hero-btns { animation: fadeUp 0.6s 0.3s ease both; }
.hero-stats { animation: fadeUp 0.6s 0.4s ease both; }
.hero-visual { animation: floatCard 6s 1s ease-in-out infinite; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
  .integrations-grid { grid-template-columns: repeat(4, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .ui-metric-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .hero > .container { grid-template-columns: 1fr !important; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feat-card.wide { grid-column: span 1; }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .case-study-card { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 13px; }
  nav .nav-links { display: none; }
  nav .nav-cta .nav-login { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stats-band-inner { grid-template-columns: 1fr 1fr; }
  .stat-block { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-block:nth-child(3), .stat-block:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cs-metrics { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 1.25rem; }
  .section, .section-alt { padding: 72px 0; }
}
