/* ============================================================
   AetherMindForge — site styles
   Dark-navy hero + contact bookends · crisp high-contrast light
   body · serif display headings · restrained brand gradient.
   ============================================================ */

:root {
  /* light surfaces */
  --bg:        #eceff3;
  --white:     #ffffff;
  /* dark surfaces */
  --navy:      #0f1b2e;
  --navy-2:    #16273e;
  --footer:    #0a121e;
  /* text on light */
  --ink:       #0d1623;
  --body:      #3b4655;
  --muted:     #697483;
  /* text on dark */
  --d-head:    #ffffff;
  --d-body:    #b8c3d2;
  --d-faint:   #7c8a9d;
  /* lines */
  --border:    #dde1e8;
  --border-2:  #ccd2dc;
  /* brand */
  --brand:     #2c6f9e;
  --brand-hov: #21597f;
  --brand-lt:  #7fb6da;
  --grad:      linear-gradient(100deg, #3b9fe0 0%, #2ed3c4 52%, #43e08f 100%);
  --maxw:      1160px;

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-card: 0 2px 16px rgba(13, 22, 35, 0.06);
  --shadow-lift: 0 24px 50px rgba(13, 22, 35, 0.14);
  --shadow-dark: 0 30px 70px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 770px; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.18; letter-spacing: -0.022em; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.45rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.01em; }
p  { margin-bottom: 15px; }
a  { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hov); }
strong { font-weight: 600; color: var(--ink); }

.brand-stripe { height: 3px; background: var(--grad); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand); margin-bottom: 18px;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 130px; }
.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.logo-mark { height: 96px; width: auto; display: block; }
.logo-text { font-family: var(--sans); font-size: 1.36rem; color: var(--ink); letter-spacing: -0.015em; }
.logo-text strong { font-weight: 700; }
.logo-text .lt { font-weight: 400; }
.logo-text .md { font-weight: 500; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  position: relative; color: var(--body); font-size: 0.93rem;
  font-weight: 500; text-decoration: none; padding: 6px 0;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--grad); border-radius: 2px;
}
.nav-cta {
  background: var(--brand); color: #fff !important; font-weight: 600;
  padding: 10px 20px; border-radius: 7px; text-decoration: none;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--brand-hov); }
.nav-cta.active { box-shadow: 0 0 0 3px rgba(44, 111, 158, 0.28); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 0.99rem;
  cursor: pointer; border: 1.5px solid transparent;
  transition: all 0.15s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hov); color: #fff; }
.btn-ghost {
  background: transparent; color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--border-2); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-full { width: 100%; text-align: center; }

/* ===== Hero (dark) ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 112px;
  background:
    radial-gradient(820px 460px at 78% 8%, rgba(46, 170, 200, 0.16), transparent 62%),
    linear-gradient(168deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 62px; align-items: center;
}
.hero .eyebrow { color: var(--brand-lt); }
.hero h1 { color: var(--d-head); margin-bottom: 24px; font-size: 3.55rem; }
.hero-sub { font-size: 1.17rem; color: var(--d-body); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 0.85rem; color: var(--d-faint); margin-bottom: 0; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; z-index: 0;
  inset: -30px -24px 26px 38px;
  background: radial-gradient(58% 58% at 62% 42%, rgba(46, 200, 190, 0.28), transparent 78%);
  filter: blur(14px);
}

/* ===== Hero report card ===== */
.report-card {
  position: relative; z-index: 1;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 15px;
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}
.report-head {
  display: flex; align-items: center;
  padding: 18px 21px; border-bottom: 1px solid var(--border);
}
.report-title { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--ink); }
.report-wk {
  margin-left: auto; font-size: 0.73rem; font-weight: 700;
  color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em;
}
.report-body { padding: 6px 21px; }
.report-row {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 0; border-bottom: 1px solid var(--border);
}
.report-row:last-child { border-bottom: none; }
.report-row p { margin: 0; font-size: 0.92rem; color: #2a3340; }
.report-row.quiet p { color: #5c6573; }
.report-row strong { color: var(--ink); }
.rr-tag {
  flex: none; font-size: 0.63rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 9px; border-radius: 5px; margin-top: 2px;
}
.tag-price { background: #1f5c86; color: #fff; }
.tag-new   { background: #1f7547; color: #fff; }
.tag-promo { background: #1d6b61; color: #fff; }
.tag-quiet { background: #4a5563; color: #fff; }
.rr-delta { color: var(--ink); font-weight: 700; }
.report-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 21px; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: #566070;
}
.report-verified { color: var(--brand); font-weight: 600; }

/* ===== Sections ===== */
.section { padding: 108px 0; }
.section.soft { background: var(--white); }
.section h2 { max-width: 720px; }
.lead { font-size: 1.17rem; color: var(--body); max-width: 720px; }
.problem h2 { margin-bottom: 20px; }
.closing-line {
  text-align: center; color: var(--body); font-size: 1.04rem;
  margin: 38px auto 0; max-width: 700px;
}

/* ===== Cards grid ===== */
.grid { display: grid; gap: 22px; margin-top: 48px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 13px; padding: 32px 30px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.17s ease, transform 0.17s ease;
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.card p { color: var(--body); margin-bottom: 0; font-size: 0.98rem; }

/* ===== Card icons ===== */
.ic-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #e9f2f9 0%, #e4f4ef 100%);
  margin-bottom: 20px;
}
.ic-emoji { font-size: 1.72rem; line-height: 1; }

/* ===== Report-anatomy number badge ===== */
.ra-num {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 16px;
}

/* ===== Steps (connected timeline) ===== */
.steps { list-style: none; margin-top: 48px; }
.steps li {
  display: flex; gap: 26px; align-items: flex-start;
  position: relative; padding-bottom: 30px;
}
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before {
  content: ""; position: absolute;
  left: 27px; top: 62px; bottom: -2px; width: 2px;
  background: linear-gradient(var(--border-2), var(--border));
}
.step-num {
  flex: none; position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(13, 22, 35, 0.22);
}
.step-body {
  flex: 1;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 13px; padding: 22px 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.17s ease, transform 0.17s ease;
}
.steps li:hover .step-body { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.step-body h3 { margin-bottom: 6px; }
.step-body p { color: var(--body); margin-bottom: 0; font-size: 0.98rem; }

/* ===== Why / comparison ===== */
.compare { margin-top: 48px; align-items: stretch; }
.compare-card { display: flex; flex-direction: column; }
.compare-label {
  font-size: 1rem; font-weight: 700;
  letter-spacing: -0.005em; color: var(--ink); margin-bottom: 12px;
}
.compare-price {
  font-family: var(--serif); font-size: 1.95rem; font-weight: 700;
  color: var(--ink); margin-bottom: 14px;
}
.compare-price span { font-family: var(--sans); font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.compare-desc {
  color: var(--body); font-size: 0.96rem;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.compare-list { list-style: none; margin-top: auto; }
.compare-list li {
  position: relative; padding: 9px 0 9px 32px;
  font-size: 0.93rem; color: var(--body); line-height: 1.5;
}
.compare-list li::before {
  position: absolute; left: 0; top: 9px;
  width: 21px; height: 21px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
}
.compare-list li.neg::before { content: "\2715"; background: #fbe6e2; color: #c2543f; }
.compare-list li.pos::before { content: "\2713"; background: #e2f1e9; color: #2a8a5a; }
.featured-card {
  position: relative; overflow: hidden;
  border-color: var(--border-2); box-shadow: var(--shadow-lift);
}
.featured-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad);
}
.featured-card .compare-label { color: var(--brand); }

/* ===== Pricing ===== */
.pricing { margin: 48px auto 0; align-items: stretch; max-width: 660px; }
.plan {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 15px; padding: 36px 32px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-card);
}
.plan.featured {
  position: relative; overflow: hidden;
  border-color: var(--border-2); box-shadow: var(--shadow-lift);
}
.plan.featured::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad);
}
.plan-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 9px;
}
.plan-head h3 { margin-bottom: 0; }
.plan-badge {
  flex: none;
  background: var(--brand); color: #fff;
  font-size: 0.67rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 5px 12px; border-radius: 20px;
}
.plan h3 { font-size: 1.4rem; }
.plan-tag { color: var(--muted); font-size: 0.9rem; margin: -3px 0 0; min-height: 3.1rem; }
.price {
  font-family: var(--serif); font-size: 2.7rem; font-weight: 700;
  color: var(--ink); margin: 8px 0 22px; letter-spacing: -0.025em;
}
.price span { font-family: var(--sans); font-size: 0.97rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.plan li {
  padding: 11px 0 11px 28px; position: relative;
  color: var(--body); font-size: 0.97rem;
  border-bottom: 1px solid var(--border);
}
.plan li:last-child { border-bottom: none; }
.plan li:before {
  content: "✓"; position: absolute; left: 0; top: 11px;
  color: var(--brand); font-weight: 700; font-size: 0.86rem;
}
.plan li strong { color: var(--ink); }

/* ===== About ===== */
.about-inner .lead { margin-bottom: 20px; }

/* ===== Contact (dark) ===== */
.section.dark {
  background:
    radial-gradient(720px 380px at 82% 4%, rgba(46, 170, 200, 0.14), transparent 62%),
    linear-gradient(168deg, var(--navy) 0%, var(--navy-2) 100%);
}
.contact-intro { text-align: center; }
.contact-intro .eyebrow { color: var(--brand-lt); }
.contact-intro h2 { color: var(--d-head); }
.contact-intro .lead { color: var(--d-body); margin-left: auto; margin-right: auto; }
.form-card {
  background: var(--white); border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 15px; padding: 40px 38px;
  box-shadow: var(--shadow-dark); margin-top: 38px;
}
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-row label { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-row input, .form-row textarea {
  font-family: var(--sans); font-size: 1rem; padding: 13px 15px;
  border-radius: 8px; border: 1px solid var(--border-2);
  background: var(--white); color: var(--ink); width: 100%;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(44, 111, 158, 0.13);
}
.form-row textarea { resize: vertical; }
.hidden-field { display: none; }
.contact-alt { margin-top: 24px; font-size: 0.9rem; color: var(--d-faint); text-align: center; }
.contact-alt a { color: var(--brand-lt); }

/* ===== International pricing table ===== */
.intl-pricing { margin-top: 60px; }
.intl-title {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 700;
  color: var(--ink); text-align: center; margin-bottom: 8px;
}
.intl-sub {
  text-align: center; color: var(--muted); font-size: 1rem;
  max-width: 640px; margin: 0 auto 30px;
}
.intl-table-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 15px; box-shadow: var(--shadow-card);
  overflow-x: auto;
}
.intl-table { width: 100%; border-collapse: collapse; min-width: 540px; }
.intl-table thead { background: var(--bg); }
.intl-table th {
  font-family: var(--sans); font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted);
  text-align: right; padding: 16px 24px;
}
.intl-table th:first-child { text-align: left; }
.intl-table td {
  padding: 17px 24px; text-align: right;
  font-size: 0.96rem; font-weight: 600; color: var(--ink);
  border-top: 1px solid var(--border);
}
.intl-table td:first-child { text-align: left; color: var(--body); }
.intl-table tbody tr:hover { background: #f5f8fa; }
.intl-flag { font-size: 1.18rem; margin-right: 10px; vertical-align: -2px; }

/* ===== Pilot form ===== */
.form-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; margin-bottom: 20px;
}
.form-grid-2 .form-row { margin-bottom: 0; }
.req { color: #d2462f; }
.opt { color: var(--muted); font-weight: 400; }
.form-select {
  font-family: var(--sans); font-size: 1rem; padding: 13px 15px;
  border-radius: 8px; border: 1px solid var(--border-2);
  background-color: var(--white); color: var(--ink); width: 100%;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23697483' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.form-select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(44, 111, 158, 0.13);
}
.comp-fields { display: grid; gap: 12px; }
.form-note {
  display: flex; align-items: center; gap: 12px;
  background: #f1f5f8; border: 1px solid var(--border);
  border-radius: 10px; padding: 15px 18px; margin-bottom: 22px;
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
}
.form-note svg { flex: none; width: 21px; height: 21px; color: #2a8a5a; }
.hidden { display: none; }

/* ===== Footer ===== */
.site-footer { background: var(--footer); color: #9aa6b6; padding: 56px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-word { font-size: 1.25rem; color: #fff; }
.footer-word strong { color: #fff; }
.footer-word .lt { color: #9aa6b6; }
.footer-meta { font-size: 0.92rem; color: #9aa6b6; }
.footer-meta a { color: #fff; }
.footer-copy { font-size: 0.8rem; color: #5d6a7c; margin-top: 8px; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  h1, .hero h1 { font-size: 2.4rem; }
  h2 { font-size: 1.78rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual::before { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(13, 22, 35, 0.12);
    padding: 8px 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 32px; font-size: 1rem; }
  .nav a.active::after { display: none; }
  .nav-cta { margin: 10px 32px 12px; text-align: center; padding: 14px 20px; }
  .hero { padding: 60px 0 72px; }
  .section { padding: 70px 0; }
  .header-inner { height: 102px; }
  .logo-mark { height: 70px; }
  .form-card { padding: 28px 22px; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .form-grid-2 .form-row { margin-bottom: 20px; }
  .intl-table th, .intl-table td { padding: 14px 16px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  h1, .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 46px 0 54px; }
  .section { padding: 54px 0; }
  .hero-sub { font-size: 1.06rem; }
  .lead { font-size: 1.08rem; }
  .card { padding: 26px 22px; }
  .steps li { gap: 16px; }
  .step-num { width: 48px; height: 48px; font-size: 1.2rem; }
  .steps li:not(:last-child)::before { left: 23px; top: 54px; }
  .step-body { padding: 18px 20px; }
  .plan { padding: 30px 24px; }
  .price { font-size: 2.3rem; }
  .form-card { padding: 24px 18px; }
  .intl-title { font-size: 1.35rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .nav a { padding-left: 20px; padding-right: 20px; }
  .nav-cta { margin-left: 20px; margin-right: 20px; }
}
