@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=DM+Serif+Display:ital@0;1&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #0C1E1E;
  --bg2:    #F0EDE6;
  --bg3:    #E8E4DC;
  --bg4:    #DDD9D0;
  --teal:   #0D6E6E;
  --teal2:  #10BDBD;
  --amber:  #E8A020;
  --navy:   #1C2D4F;
  --white:  #EEF5F3;
  --dark:   #0F2222;
  --muted:  #4A6E6A;
  --dim:    #8AABA8;
  --border:  rgba(13,110,110,0.2);
  --border2: rgba(255,255,255,0.07);
  --border3: rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--white); font-family: 'DM Sans', sans-serif; line-height: 1.7; font-size: 16px; }

/* ── NAV ── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 80px; border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(12,30,30,0.97); backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.mark { width: 32px; height: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; flex-shrink: 0; }
.mark div:nth-child(1) { background: #1C3A3A; }
.mark div:nth-child(2) { background: #10BDBD; }
.mark div:nth-child(3) { background: #0D8A8A; }
.mark div:nth-child(4) { background: #0F2020; }
.nav-name { font-size: 17px; font-weight: 500; letter-spacing: 0.04em; color: var(--white); }
.nav-name span { color: var(--teal2); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { font-size: 14px; color: var(--dim); text-decoration: none; letter-spacing: 0.03em; transition: color 0.15s; }
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-btn { background: var(--teal); color: #fff; border: none; padding: 12px 26px; font-size: 14px; font-family: 'DM Sans', sans-serif; font-weight: 500; cursor: pointer; letter-spacing: 0.04em; text-decoration: none; transition: background 0.2s; }
.nav-btn:hover { background: var(--teal2); }

/* ── LAYOUT ── */
.page { max-width: 1140px; margin: 0 auto; padding: 0 80px; }
.section { padding: 100px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.section-last { padding: 100px 0; }

/* ── TAGS — AMBER ── */
.sec-tag { font-size: 11px; letter-spacing: 0.22em; color: var(--amber); text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.card-tag { font-size: 11px; letter-spacing: 0.16em; color: var(--teal); text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.pipe-num { font-size: 11px; color: var(--amber); letter-spacing: 0.14em; font-weight: 500; }
.pipe-artifact { font-size: 10px; color: var(--teal2); background: rgba(16,189,189,0.1); border: 1px solid rgba(16,189,189,0.25); padding: 6px 14px; text-align: center; letter-spacing: 0.05em; }
.hero-tag { font-size: 11px; letter-spacing: 0.22em; color: var(--amber); text-transform: uppercase; margin-bottom: 24px; }
.d-horizon { font-size: 11px; letter-spacing: 0.16em; color: var(--teal); text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.artifact-module { font-size: 11px; color: var(--amber); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.price-tag { font-size: 11px; letter-spacing: 0.18em; color: var(--amber); text-transform: uppercase; margin-bottom: 22px; }

/* ── HEADINGS ── */
.sec-h { font-family: 'DM Serif Display', serif; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.1; margin-bottom: 44px; max-width: 700px; color: var(--white); }
.sec-h em { font-style: italic; color: var(--teal2); }
.hero-h1 { font-family: 'DM Serif Display', serif; font-size: clamp(44px, 6vw, 76px); line-height: 1.05; margin-bottom: 24px; color: var(--white); }
.hero-h1 em { font-style: italic; color: var(--teal2); }
.hero-sub { font-size: 19px; color: var(--dim); max-width: 560px; line-height: 1.75; font-weight: 300; margin-bottom: 44px; }
.sec-sub { font-size: 18px; color: var(--dim); max-width: 580px; line-height: 1.75; font-weight: 300; margin-bottom: 44px; }

/* ── BUTTONS ── */
.btn-primary { background: var(--teal); color: #fff; border: none; padding: 15px 34px; font-size: 14px; font-family: 'DM Sans', sans-serif; font-weight: 500; cursor: pointer; letter-spacing: 0.04em; text-decoration: none; display: inline-block; transition: background 0.2s; }
.btn-primary:hover { background: var(--teal2); }
.btn-ghost { background: transparent; color: var(--dim); border: 1px solid rgba(255,255,255,0.15); padding: 14px 26px; font-size: 14px; font-family: 'DM Sans', sans-serif; cursor: pointer; text-decoration: none; display: inline-block; transition: border-color 0.2s, color 0.2s; }
.btn-ghost:hover { border-color: var(--teal2); color: var(--white); }
.btn-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ── LIGHT CARDS ── */
.card { background: var(--bg2); padding: 28px 32px; transition: background 0.15s; border: 1px solid rgba(0,0,0,0.08); }
.card:hover { background: var(--bg3); }
.card-title { font-size: 18px; font-weight: 500; color: var(--dark); margin-bottom: 12px; line-height: 1.3; }
.card-body { font-size: 14px; color: var(--muted); line-height: 1.7; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: transparent; border: none; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; background: transparent; border: none; }

/* ── PIPELINE ── */
.pipeline { display: flex; flex-direction: column; gap: 1px; background: rgba(16,189,189,0.1); border: 1px solid rgba(16,189,189,0.15); }
.pipe-row { background: #0F2828; padding: 26px 32px; display: grid; grid-template-columns: 60px 1fr 220px; gap: 24px; align-items: center; border-left: 3px solid transparent; transition: border-color 0.2s, background 0.2s; }
.pipe-row:hover { border-left-color: var(--teal2); background: #183838; }
.pipe-name { font-size: 15px; color: #EEF5F3; font-weight: 500; margin-bottom: 5px; }
.pipe-q { font-size: 13px; color: #7AACA8; line-height: 1.55; }

/* ── TRANSFORM ── */
.tx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(0,0,0,0.08); }
.tx-col { background: var(--bg2); padding: 40px 36px; }
.tx-head { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 28px; font-weight: 500; }
.tx-head.before { color: #AAA; }
.tx-head.after  { color: var(--teal); }
.tx-item { display: flex; gap: 14px; margin-bottom: 18px; }
.tx-dot { width: 5px; height: 5px; border-radius: 50%; margin-top: 9px; flex-shrink: 0; }
.tx-dot.before { background: #AAA; }
.tx-dot.after  { background: var(--teal); }
.tx-text { font-size: 15px; color: var(--muted); line-height: 1.65; }
.tx-text.after { color: var(--dark); }

/* ── TESTIMONIALS ── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(0,0,0,0.08); }
.testimonial { background: var(--bg2); padding: 36px 32px; }
.t-quote { font-family: 'DM Serif Display', serif; font-size: 16px; color: var(--dark); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.t-name { font-size: 14px; color: var(--dark); font-weight: 500; }
.t-role { font-size: 12px; color: var(--muted); margin-top: 3px; }
.t-placeholder { background: var(--bg3); border: 1px dashed #CCC; padding: 40px 32px; display: flex; align-items: center; justify-content: center; min-height: 180px; }
.t-ph-text { font-size: 11px; color: #AAA; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; }

/* ── PRICING ── */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(0,0,0,0.08); }
.price-main { background: var(--bg2); padding: 52px 44px; }
.price-side { background: var(--bg3); padding: 52px 44px; display: flex; flex-direction: column; justify-content: space-between; }
.price-num { font-family: 'DM Serif Display', serif; font-size: 68px; color: var(--dark); line-height: 1; display: inline; }
.price-badge { font-size: 11px; color: var(--teal); background: rgba(13,110,110,0.12); border: 1px solid rgba(13,110,110,0.3); padding: 5px 14px; margin-left: 18px; vertical-align: middle; }
.price-cross { font-size: 14px; color: #AAA; margin-top: 10px; margin-bottom: 36px; }
.inc-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.inc-check { width: 16px; height: 16px; border: 1px solid var(--teal); flex-shrink: 0; margin-top: 3px; display: flex; align-items: center; justify-content: center; }
.inc-check::after { content: ''; width: 5px; height: 8px; border-right: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal); transform: rotate(45deg) translate(-0.5px,-1px); display: block; }
.inc-text { font-size: 14px; color: var(--muted); line-height: 1.6; }
.btn-enroll { width: 100%; background: var(--teal); color: #fff; border: none; padding: 20px; font-size: 15px; font-family: 'DM Sans', sans-serif; font-weight: 500; cursor: pointer; margin-top: 36px; letter-spacing: 0.04em; transition: background 0.2s; }
.btn-enroll:hover { background: var(--teal2); }
.price-note { font-size: 12px; color: #AAA; margin-top: 16px; line-height: 1.65; }

/* ── QUOTE ── */
.quote-block { padding: 28px 32px; border-left: 3px solid var(--teal); background: var(--bg2); margin-top: 32px; }
.quote-block p { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--dark); font-style: italic; line-height: 1.65; }

/* ── HERO STATS ── */
.hero-stats { display: flex; gap: 56px; margin-top: 56px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-n { font-family: 'DM Serif Display', serif; font-size: 40px; color: var(--white); line-height: 1; }
.stat-n span { color: var(--teal2); }
.stat-l { font-size: 11px; color: var(--dim); letter-spacing: 0.12em; text-transform: uppercase; }

/* ── SUBSURFACE ── */
.subsurface { position: absolute; bottom: 0; left: 0; right: 0; height: 220px; pointer-events: none; }
.geo-layer { position: absolute; left: 0; right: 0; height: 1px; }
.geo-layer:nth-child(1) { bottom: 190px; background: linear-gradient(90deg,transparent 5%,rgba(13,138,138,0.3) 30%,rgba(16,189,189,0.5) 50%,rgba(13,138,138,0.3) 70%,transparent 95%); }
.geo-layer:nth-child(2) { bottom: 150px; background: linear-gradient(90deg,transparent 5%,rgba(28,58,58,0.5) 25%,rgba(13,138,138,0.4) 50%,rgba(28,58,58,0.5) 75%,transparent 95%); }
.geo-layer:nth-child(3) { bottom: 110px; background: linear-gradient(90deg,transparent 5%,rgba(16,189,189,0.35) 35%,rgba(13,138,138,0.5) 55%,transparent 95%); }
.geo-layer:nth-child(4) { bottom: 70px;  background: linear-gradient(90deg,transparent 5%,rgba(13,138,138,0.5) 30%,rgba(10,74,74,0.6) 55%,rgba(13,138,138,0.4) 75%,transparent 95%); }
.geo-layer:nth-child(5) { bottom: 30px;  background: linear-gradient(90deg,transparent 5%,rgba(16,189,189,0.4) 35%,rgba(28,58,58,0.5) 60%,rgba(16,189,189,0.3) 80%,transparent 95%); }
.well { position: absolute; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(16,189,189,0.5)); }
.well-dot { position: absolute; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--teal2); left: -2px; }
.well1 { left: 18%; height: 160px; }
.well2 { left: 42%; height: 200px; opacity: 0.7; }
.well3 { left: 67%; height: 130px; opacity: 0.5; }
.well4 { left: 84%; height: 180px; opacity: 0.3; }

/* ── ARTICLE LIST ── */
.article-list { display: flex; flex-direction: column; gap: 1px; background: rgba(0,0,0,0.08); }
.article-row { background: var(--bg2); padding: 26px 32px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; border-left: 3px solid transparent; transition: all 0.15s; text-decoration: none; }
.article-row:hover { border-left-color: var(--teal); background: var(--bg3); }
.article-title { font-size: 15px; color: var(--dark); font-weight: 500; margin-bottom: 5px; }
.article-meta { font-size: 12px; color: var(--muted); }
.article-tag { font-size: 10px; color: var(--teal); background: rgba(13,110,110,0.1); border: 1px solid rgba(13,110,110,0.25); padding: 5px 12px; white-space: nowrap; }

/* ── IMG PLACEHOLDERS ── */
.img-placeholder { background: var(--bg3); border: 1px dashed #CCC; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #AAA; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 20px; }
.img-placeholder .ph-icon { width: 36px; height: 36px; border: 1px solid #CCC; display: flex; align-items: center; justify-content: center; }
.img-placeholder .ph-icon::after { content: '+'; font-size: 20px; color: #AAA; }
.img-ph-hero   { width: 100%; height: 520px; }
.img-ph-wide   { width: 100%; height: 340px; }
.img-ph-half   { width: 100%; height: 280px; }
.img-ph-module { width: 100%; height: 220px; }

/* ── FORM ── */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.form-label { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.form-input { background: var(--bg3); border: 1px solid rgba(0,0,0,0.12); color: var(--dark); font-family: 'DM Sans', sans-serif; font-size: 14px; padding: 14px 18px; outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: var(--teal); }
.form-input::placeholder { color: #AAA; }
textarea.form-input { min-height: 130px; resize: vertical; }

/* ── FOOTER ── */
footer { padding: 48px 56px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { font-size: 13px; color: var(--dim); font-weight: 500; }
.footer-name span { color: var(--teal); }
.footer-links { display: flex; gap: 28px; }
.footer-link { font-size: 12px; color: var(--dim); text-decoration: none; transition: color 0.15s; }
.footer-link:hover { color: var(--white); }
.footer-right { font-size: 12px; color: var(--dim); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .page { padding: 0 20px; }
  .section { padding: 64px 0; }
  .card-grid-3, .card-grid-2, .tx-grid, .price-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .pipe-row { grid-template-columns: 44px 1fr; }
  .pipe-artifact { display: none; }
  .hero-stats { gap: 28px; }
  footer { padding: 32px 20px; }
}

/* ── PIPE COVERS ── */
.pipe-covers {
  font-size: 12px;
  color: #5A8A88;
  line-height: 1.7;
  margin-top: 4px;
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999;
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #F0EDE6;
  max-width: 560px; width: 90%;
  padding: 52px 48px;
  position: relative;
}
.modal-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: #4A6E6A; line-height: 1;
}
.modal-close:hover { color: var(--dark); }
.modal-tag { font-size: 11px; letter-spacing: 0.2em; color: var(--teal); text-transform: uppercase; margin-bottom: 12px; font-weight: 600; }
.modal-title { font-family: "DM Serif Display", serif; font-size: 32px; color: #0F2222; line-height: 1.15; margin-bottom: 10px; }
.modal-sub { font-size: 15px; color: #4A6E6A; margin-bottom: 28px; line-height: 1.6; }
.modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-input {
  width: 100%; background: #fff;
  border: 1px solid rgba(0,0,0,0.12); color: #0F2222;
  font-family: "DM Sans", sans-serif; font-size: 14px;
  padding: 12px 16px; outline: none; margin-bottom: 12px;
  transition: border-color 0.2s;
}
.modal-input:focus { border-color: var(--teal); }
.modal-input::placeholder { color: #AAA; }
.modal-btn {
  width: 100%; background: var(--teal); color: #fff; border: none;
  padding: 16px; font-size: 14px; font-family: "DM Sans", sans-serif;
  font-weight: 500; cursor: pointer; letter-spacing: 0.04em;
  transition: background 0.2s; margin-top: 4px;
}
.modal-btn:hover { background: var(--teal2); }
.modal-note { font-size: 11px; color: #AAA; margin-top: 12px; text-align: center; }
.modal-success { display: none; text-align: center; padding: 20px 0; }
.modal-success-icon { width: 48px; height: 48px; border: 2px solid var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.modal-success-icon::after { content: ""; width: 10px; height: 16px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg) translate(-1px,-2px); display: block; }
.modal-success-title { font-family: "DM Serif Display", serif; font-size: 24px; color: #0F2222; margin-bottom: 8px; }
.modal-success-sub { font-size: 14px; color: #4A6E6A; }

/* Keep me updated button */
.btn-keep-updated {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 22px; font-size: 13px;
  font-family: "DM Sans", sans-serif; font-weight: 500;
  cursor: pointer; letter-spacing: 0.04em;
  transition: all 0.2s;
}
.btn-keep-updated:hover { border-color: var(--teal2); color: var(--teal2); }
