/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0D1B2A;
  --navy-2:  #162436;
  --navy-3:  #1E3050;
  --teal:    #00E5C4;
  --teal-dim:#00E5C430;
  --cream:   #F6F3EE;
  --cream-2: #EDE9E1;
  --text-1:  #0D1B2A;
  --text-2:  #3D5A7A;
  --text-3:  #6B8599;
  --white:   #FFFFFF;
  --radius:  10px;
  --radius-lg: 16px;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--navy-3); border-radius: 3px; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
@keyframes flowDot {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(-6px); opacity: 1; }
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 238, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,27,42,0.07);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.wordmark-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.header-nav {
  display: flex;
  gap: 32px;
}
.header-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--navy); }

/* ── Section Label ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

/* ── Hero ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(0,229,196,0.2);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-glow 2s ease-in-out infinite;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease-out both;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
  animation: fadeUp 0.6s 0.1s ease-out both;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(13,27,42,0.1);
  animation: fadeUp 0.6s 0.2s ease-out both;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-value {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.meta-label {
  font-size: 0.72rem;
  color: var(--text-3);
  line-height: 1.4;
  max-width: 90px;
}
.meta-divider {
  width: 1px;
  height: 36px;
  background: rgba(13,27,42,0.1);
}

/* Hero Visual */
.hero-visual {
  animation: fadeUp 0.6s 0.15s ease-out both;
}
.workflow-diagram {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(13,27,42,0.18), 0 0 0 1px rgba(0,229,196,0.08);
  position: relative;
  overflow: hidden;
}
.workflow-diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(0,229,196,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.workflow-node .node-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  border-radius: var(--radius);
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.06);
  min-width: 82px;
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 500;
  text-align: center;
  transition: border-color 0.2s;
}
.workflow-node .node-inner svg { color: var(--teal); flex-shrink: 0; }
.workflow-node--ai .node-inner {
  background: rgba(0,229,196,0.12);
  border-color: rgba(0,229,196,0.3);
  box-shadow: 0 0 20px rgba(0,229,196,0.15);
}
.workflow-arrow svg { opacity: 0.5; }
.workflow-status {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.status-bar {
  flex: 1;
  height: 4px;
  background: rgba(13,27,42,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.status-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 2px;
  transition: width 1s ease;
}
.status-text {
  font-size: 0.7rem;
  color: var(--text-3);
  white-space: nowrap;
}

/* ── Problem ── */
.problem {
  background: var(--navy);
  padding: 100px 32px;
}
.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.problem-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  opacity: 0.8;
}
.problem-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 580px;
  margin-bottom: 20px;
}
.problem-body {
  font-size: 1rem;
  color: rgba(246,243,238,0.6);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.problem-card:hover {
  border-color: rgba(0,229,196,0.2);
  transform: translateY(-4px);
}
.problem-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
}
.problem-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.problem-card p {
  font-size: 0.88rem;
  color: rgba(246,243,238,0.55);
  line-height: 1.65;
}

/* ── Industries ── */
.industries {
  padding: 100px 32px;
  background: var(--cream);
}
.industries-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.industries-header {
  max-width: 560px;
  margin-bottom: 60px;
}
.industries-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.15;
}
.industries-sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.industry-card {
  background: var(--white);
  border: 1px solid rgba(13,27,42,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.industry-card:hover {
  box-shadow: 0 8px 32px rgba(13,27,42,0.1);
  transform: translateY(-3px);
  border-color: rgba(0,229,196,0.3);
}
.industry-icon {
  width: 44px;
  height: 44px;
  background: var(--cream-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 18px;
  transition: background 0.3s;
}
.industry-card:hover .industry-icon {
  background: var(--teal-dim);
  color: var(--teal);
}
.industry-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.industry-desc {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
}
.industry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.industry-list li {
  font-size: 0.78rem;
  color: var(--text-3);
  padding-left: 16px;
  position: relative;
}
.industry-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ── How It Works ── */
.how {
  padding: 100px 32px;
  background: var(--cream-2);
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.how-header {
  margin-bottom: 64px;
}
.how-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  max-width: 480px;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr 340px;
  gap: 32px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid rgba(13,27,42,0.08);
}
.step:last-child { border-bottom: none; }
.step-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.5;
  letter-spacing: -0.04em;
  line-height: 1;
  padding-top: 4px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step-body {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
}

/* Audit diagram */
.step-diagram {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.audit-node {
  padding: 8px 12px;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--cream);
  font-weight: 500;
  white-space: nowrap;
}
.audit-node--focus {
  border-color: rgba(0,229,196,0.35);
  background: rgba(0,229,196,0.1);
  color: var(--teal);
}
.audit-arrow svg { opacity: 0.5; }

/* Build stack */
.build-stack {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 16px 20px;
  flex-wrap: wrap;
}
.stack-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--cream);
  font-weight: 500;
}
.stack-item svg { color: var(--teal); opacity: 0.7; }
.stack-plus {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.3);
  font-weight: 700;
}
.stack-ai {
  padding: 6px 12px;
  background: rgba(0,229,196,0.15);
  border: 1px solid rgba(0,229,196,0.35);
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 600;
}

/* Monitor panel */
.monitor-panel {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.06);
}
.monitor-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.monitor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.monitor-dot--green {
  background: #22C55E;
  box-shadow: 0 0 6px #22C55E80;
}
.monitor-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.monitor-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  font-size: 0.72rem;
}
.monitor-row > span:first-child {
  color: rgba(246,243,238,0.6);
}
.monitor-val {
  color: rgba(246,243,238,0.5);
  font-size: 0.68rem;
}
.monitor-status {
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.monitor-status--ok {
  background: rgba(34,197,94,0.15);
  color: #22C55E;
}

/* ── Pricing ── */
.pricing {
  padding: 100px 32px;
  background: var(--cream);
}
.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}
.pricing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 14px;
}
.pricing-sub {
  font-size: 1rem;
  color: var(--text-2);
}
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.tier {
  background: var(--white);
  border: 1px solid rgba(13,27,42,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.tier:hover {
  box-shadow: 0 12px 40px rgba(13,27,42,0.1);
  transform: translateY(-4px);
}
.tier--featured {
  background: var(--navy);
  border-color: rgba(0,229,196,0.25);
  box-shadow: 0 0 0 1px rgba(0,229,196,0.15), 0 20px 50px rgba(13,27,42,0.15);
}
.tier--featured:hover {
  box-shadow: 0 0 0 1px rgba(0,229,196,0.3), 0 24px 60px rgba(13,27,42,0.2);
}
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.tier-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.tier--featured .tier-name { color: rgba(246,243,238,0.5); }
.tier-price {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  line-height: 1;
}
.tier-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0;
}
.tier--featured .tier-price { color: var(--cream); }
.tier--featured .tier-price span { color: rgba(246,243,238,0.5); }
.tier-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 24px;
}
.tier--featured .tier-desc { color: rgba(246,243,238,0.55); }
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier-features li {
  font-size: 0.85rem;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
}
.tier-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7l3 3 6-6' stroke='%2300E5C4' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tier--featured .tier-features li { color: rgba(246,243,238,0.65); }
.pricing-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ── Closing ── */
.closing {
  padding: 120px 32px;
  background: var(--navy);
  text-align: center;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing-decoration {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  animation: pulse-glow 4s ease-in-out infinite;
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 1.05rem;
  color: rgba(246,243,238,0.55);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Footer ── */
.site-footer {
  padding: 40px 32px;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(246,243,238,0.4);
  max-width: 280px;
}
.footer-meta p {
  font-size: 0.78rem;
  color: rgba(246,243,238,0.3);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .problem-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-tiers { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto 28px; }
  .step { grid-template-columns: 40px 1fr; }
  .step-visual { display: none; }
  .header-nav { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 48px 24px 64px; }
}
@media (max-width: 600px) {
  .industries-grid { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .meta-divider { display: none; }
  .hero-headline { font-size: 2.2rem; }
  .workflow-diagram { padding: 20px; flex-wrap: wrap; justify-content: center; }
}