/* style.css — Edantra Education · Light Theme Redesign */
@import url('assets/mockup.css');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Roboto+Mono:wght@400;500;700&display=swap');

/* ─── Design Tokens ─── */
:root {
  /* Palette */
  --bg:          #F7F6F3;
  --surface:     #FFFFFF;
  --surface-2:   #F0EFE9;
  --border:      rgba(0, 0, 0, 0.09);
  --border-md:   rgba(0, 0, 0, 0.14);

  /* Brand */
  --teal:        #1D9E75;
  --teal-dark:   #0F6E56;
  --teal-light:  #E1F5EE;
  --teal-mid:    #9FE1CB;

  /* Text */
  --text-1:      #1A1A18;
  --text-2:      #2E2E2B;
  --text-3:      #5A5A56;

  /* Command accent */
  --cmd-bg:      #EBF3FF;
  --cmd-text:    #185FA5;

  /* Danger (old way) */
  --red:         #C0392B;
  --red-light:   #FDECEA;

  /* Radius */
  --r-sm:        8px;
  --r-md:        12px;
  --r-lg:        16px;
  --r-xl:        24px;

  /* Transition */
  --ease:        all 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-1);
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -1.5px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.5px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { color: var(--text-2); margin-bottom: 1.1rem; font-size: 1rem; }

a { color: var(--teal); text-decoration: none; transition: var(--ease); }
a:hover { color: var(--teal-dark); }

code, .mono {
  font-family: 'Roboto Mono', monospace;
}

/* ─── Navbar ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 2rem;
}

.navbar nav {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.5px;
}

.nav-brand span { color: var(--teal); }

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-list a {
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 0.3rem 0;
  transition: var(--ease);
}

.nav-list a:hover,
.nav-list a.active { color: var(--text-1); }

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: var(--ease);
}

.nav-list a:hover::after,
.nav-list a.active::after { width: 100%; }

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-1);
  margin: 5px 0;
  transition: var(--ease);
  border-radius: 2px;
}

/* ─── Buttons ─── */
.cta-button {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 0.75rem 1.6rem;
  border-radius: var(--r-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 2px 12px rgba(29, 158, 117, 0.25);
}

.cta-button:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(29, 158, 117, 0.35);
  color: #fff;
}

.cta-button:active { transform: translateY(0); }

.btn-secondary {
  background: var(--surface);
  color: var(--text-1);
  border: 1.5px solid var(--border-md);
  padding: 0.75rem 1.6rem;
  border-radius: var(--r-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}

.close-button {
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--border);
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: var(--ease);
}

.close-button:hover {
  background: #FDECEA;
  border-color: rgba(192, 57, 43, 0.3);
  color: var(--red);
}

/* ─── Layout ─── */
main {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* ─── Badge ─── */
.badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid var(--teal-mid);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ─── Hero ─── */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0 1rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero-content h1 { margin-bottom: 0; }

.hero-content h1 em {
  font-style: normal;
  color: var(--teal);
}

.tagline {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 0;
}

.hero-buttons {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

/* ─── Stat Strip ─── */
.stat-strip {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.stat-item {}

.stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1;
  margin-bottom: 0.2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.3;
}

/* ─── WhatsApp Demo Widget ─── */
.chat-demo {
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.09), 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.chat-header {
  background: #075E54;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.chat-info { flex: 1; }

.chat-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.chat-status {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.chat-body {
  background: #E5DDD5;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3C/svg%3E");
  padding: 1rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 82%;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.chat-msg.visible { opacity: 1; transform: translateY(0); }

.chat-msg.sent { align-self: flex-end; align-items: flex-end; }
.chat-msg.recv { align-self: flex-start; align-items: flex-start; }

.bubble {
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.45;
  position: relative;
}

.sent .bubble {
  background: #DCF8C6;
  color: #1a1a18;
  border-radius: 10px 10px 2px 10px;
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
}

.recv .bubble {
  background: #fff;
  color: #1a1a18;
  border-radius: 10px 10px 10px 2px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.recv .bubble strong {
  color: var(--teal-dark);
  font-weight: 700;
}

.sent .bubble.plain-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: normal;
}

.bubble.doc-bubble {
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 5px;
  width: 250px;
  max-width: 100%;
}

.chat-doc-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
}

.sent .chat-doc-box {
  background: rgba(0, 0, 0, 0.06);
}

.chat-doc-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #34b7f1; /* WhatsApp document blue */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.chat-doc-icon svg {
  fill: none;
  stroke: white;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-doc-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.chat-doc-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-doc-size {
  font-size: 0.68rem;
  color: var(--text-3);
  margin-top: 2px;
}

.chat-doc-caption {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.4;
  padding: 8px 10px 4px 10px;
}

.msg-time {
  font-size: 0.65rem;
  color: rgba(0,0,0,0.4);
  margin-top: 3px;
  padding: 0 2px;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.55rem 0.9rem;
  background: #fff;
  border-radius: 10px 10px 10px 2px;
  width: fit-content;
}

.typing-indicator span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #999;
  animation: chat-blink 1.3s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chat-blink {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1); }
}

.chat-input-row {
  background: #F0F0F0;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-input-mock {
  flex: 1;
  background: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-3);
  font-family: 'Plus Jakarta Sans', sans-serif;
  pointer-events: none;
}

.chat-send-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #075E54;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: default;
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ─── Cards & Grids ─── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  border-color: var(--teal-mid);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(29, 158, 117, 0.1);
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.6rem;
}

/* ─── Command Box ─── */
.cmd-box {
  background: var(--cmd-bg);
  border: 1px solid rgba(24, 95, 165, 0.18);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cmd-box code {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cmd-text);
  letter-spacing: 0.3px;
}

.cmd-desc {
  font-size: 0.82rem;
  color: #1A4A8A;
  font-weight: 500;
}

/* ─── Metrics Banner ─── */
.metrics-banner {
  background: var(--text-1);
  border-radius: var(--r-xl);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  padding-right: 3rem;
}

.metric-item { text-align: center; }

.metric-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -1px;
}

.metric-num span { color: var(--teal-mid); }

.metric-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.4;
}

.metrics-cta { display: flex; flex-direction: column; gap: 1rem; min-width: 200px; }

.metrics-cta h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0;
}

.metrics-cta p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin: 0; }

/* ─── How It Works ─── */
.how-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}

.how-step {
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
}

.how-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--teal-mid);
  z-index: 1;
}

.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-3);
  margin: 0;
}

/* ─── Comparison Box ─── */
.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.col-old { border-top: 3px solid #E24B4A; }
.col-new { border-top: 3px solid var(--teal); }

.timeline-item {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--border-md);
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--text-3);
}

.col-new .timeline-item::before {
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-light);
}

.timeline-time { font-weight: 700; color: var(--text-1); margin-bottom: 0.2rem; font-size: 0.95rem; }
.col-new .timeline-time { color: var(--teal-dark); }

/* ─── Pricing ─── */
.pricing-card { position: relative; overflow: hidden; }

.pricing-card.popular {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(29, 158, 117, 0.15);
}

.popular-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-1);
  margin: 1.25rem 0 0.25rem;
  letter-spacing: -1px;
}

.pricing-period { font-size: 0.88rem; color: var(--text-3); margin-bottom: 1.75rem; }

.pricing-list {
  list-style: none;
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-2);
  font-size: 0.95rem;
}

.pricing-list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Metric Card ─── */
.metric-card { text-align: center; padding: 2.5rem 1.5rem; }

.metric-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.metric-number span { color: var(--teal); }

.metric-label-large {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.4rem;
}

.metric-desc { font-size: 0.88rem; color: var(--text-3); margin: 0; }

/* ─── Modal ─── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 24, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1.5rem;
}

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.modal-header h2 { margin: 0; font-size: 1.4rem; }

.modal-close {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}

.modal-close:hover { background: #FDECEA; color: var(--red); border-color: rgba(192,57,43,0.25); }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-1);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border-md);
  border-radius: var(--r-sm);
  color: var(--text-1);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  transition: var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.12);
  background: var(--surface);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ─── Footer ─── */
.footer {
  background: var(--text-1);
  padding: 4rem 2rem 2rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.2px;
}

.footer-col > p { color: rgba(255,255,255,0.72); font-size: 0.9rem; }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }

.footer-links a { color: rgba(255,255,255,0.72); font-size: 0.9rem; }
.footer-links a:hover { color: var(--teal-mid); }

.footer-links li:not(:has(a)) { color: rgba(255,255,255,0.6); font-size: 0.88rem; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ─── Highlights section ─── */
.highlights {}

/* ─── AI Living System section ─── */
.ai-narrative {
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  border-radius: var(--r-xl);
  padding: 4rem 3rem;
}

.ai-narrative .section-header { margin-bottom: 2.5rem; }
.ai-narrative .section-header h2 { color: var(--teal-dark); }
.ai-narrative .section-header p { color: var(--teal-dark); opacity: 0.85; }

.ai-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.ai-pillar {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  border: 1px solid rgba(29, 158, 117, 0.18);
}

.ai-pillar-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.ai-pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.5rem;
}

.ai-pillar-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  margin: 0;
  line-height: 1.6;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .metrics-banner {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-right: 0;
    padding-bottom: 2rem;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-content { align-items: center; }
  .tagline { text-align: center; }
  .hero-buttons { justify-content: center; }
  .stat-strip { justify-content: center; }
  .how-step:not(:last-child)::after { display: none; }
  .comparison-box { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 0.9rem 1.25rem; }
  .menu-toggle { display: block; }

  .nav-list {
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background: rgba(247, 246, 243, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.75rem 0;
    gap: 1.25rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s ease;
  }

  .nav-list.show { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

  main { padding: 1.5rem 1.25rem 4rem; gap: 4rem; }

  .metrics-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

  .modal-content { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; }
}

/* ─── Page Heroes (inner pages) ─── */
.page-hero {
  text-align: center;
  padding: 3rem 0 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: var(--text-2); max-width: 700px; margin: 0 auto; }

/* ─── Utility: accent borders ─── */
.border-teal  { border-color: var(--teal) !important; }
.border-blue  { border-color: #378ADD !important; }
.border-amber { border-color: #BA7517 !important; }
.border-red   { border-color: #C0392B !important; }

.border-top-teal  { border-top: 3px solid var(--teal) !important; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.border-top-red   { border-top: 3px solid #E24B4A !important; border-radius: 0 0 var(--r-lg) var(--r-lg); }

.border-left-teal  { border-left: 4px solid var(--teal); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.border-left-red   { border-left: 4px solid #E24B4A; border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.border-left-amber { border-left: 4px solid #BA7517; border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.border-left-blue  { border-left: 4px solid #378ADD; border-radius: 0 var(--r-lg) var(--r-lg) 0; }

/* ─── Utility: text colors ─── */
.text-teal      { color: var(--teal); }
.text-teal-dark { color: var(--teal-dark); }
.text-red       { color: #C0392B; }
.text-amber     { color: #BA7517; }
.text-blue      { color: #185FA5; }

/* ─── Inner card (nested surface) ─── */
.card-inner {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

/* ─── Blockquote ─── */
blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--teal);
  border-radius: 0;
  background: var(--teal-light);
  font-style: italic;
  color: var(--teal-dark);
  font-size: 1.05rem;
}

/* ─── Guarantees grid ─── */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.guarantee-item {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.guarantee-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.guarantee-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  margin: 0;
}

/* ─── Contact channels ─── */
.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-channel:last-child { border-bottom: none; }

.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-3);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1);
  margin: 0;
}

/* ─── Workshop page ─── */
.workshop-hero {
  background: linear-gradient(135deg, var(--teal-light), #fff);
  border-radius: var(--r-xl);
  padding: 4rem 3rem;
  text-align: center;
  border: 1px solid var(--teal-mid);
}

.workshop-hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.module-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: var(--ease);
}

.module-card:hover {
  border-color: var(--teal-mid);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(29,158,117,0.1);
}

.module-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.module-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.5rem;
}

.module-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  margin: 0;
  line-height: 1.6;
}

/* ─── cmd-box alias for older pages ─── */
.code-box {
  background: var(--cmd-bg);
  border: 1px solid rgba(24, 95, 165, 0.18);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: 'Roboto Mono', monospace;
}

.code-box code {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cmd-text);
  letter-spacing: 0.3px;
}

.code-desc {
  font-size: 0.82rem;
  color: #1A4A8A;
  font-weight: 500;
}

/* ─── Metric number accent ─── */
.metric-number span { color: var(--teal); }

/* ─── CTA banner (inner pages) ─── */
.cta-banner {
  background: var(--text-1);
  border-radius: var(--r-xl);
  padding: 4rem 3rem;
  text-align: center;
}

.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 2rem; font-size: 1.05rem; }
