/* ============================================================
   Eva Technology — landing page styles (v2)
   Visual: warm cream + deep ink + ember accent.
   Trust-led for Australian SMB. Technical credibility retained
   via mono typography and considered layout.
   ============================================================ */

:root {
  --bg: #F6F2EB;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFCF6;
  --bg-alt: #F0EBE0;

  --text: #15171E;
  --text-dim: #5E6271;
  --text-muted: #8B8F9E;

  --border: #E5DFD3;
  --border-strong: #CDC6B8;

  --accent: #E94B35;
  --accent-dim: #C13B27;
  --accent-soft: #FBE1DC;

  --ink-soft: rgba(21, 23, 30, 0.06);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px -2px rgba(21,23,30,0.06);
  --shadow: 0 10px 30px -12px rgba(21,23,30,0.12);
  --shadow-lg: 0 24px 60px -24px rgba(21,23,30,0.18);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --max: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 235, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.logo__mark { display: block; }
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--text-dim);
  font-weight: 500;
}
.nav__links a:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-family: var(--font-sans);
  transition: all 0.18s ease;
  cursor: pointer;
  line-height: 1;
}
.btn--lg { padding: 14px 24px; font-size: 15.5px; }
.btn--small { padding: 8px 14px; font-size: 13.5px; }
.btn--primary {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(193,59,39,0.25) inset, 0 6px 18px -6px rgba(233,75,53,0.5);
}
.btn--primary:hover { background: var(--accent-dim); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--text); }

/* ---------- hero ---------- */
.hero {
  padding: 80px 0 64px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(233,75,53,0.08), transparent 60%),
    radial-gradient(ellipse 70% 40% at 0% 30%, rgba(233,75,53,0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 28px;
}
.dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(233,75,53,0.18);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.92); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.5vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  max-width: 14ch;
}
.hero__mark {
  position: relative;
  font-style: italic;
  font-weight: 500;
  display: inline-block;
}
.hero__underline {
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  width: 100%;
  height: 12px;
  z-index: -1;
}

.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.strip {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.strip__num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.strip__label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- trustbar ---------- */
.trustbar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.trustbar__pill {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- generic section ---------- */
.section {
  padding: 96px 0;
  position: relative;
}
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section__head {
  max-width: 700px;
  margin-bottom: 56px;
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  display: inline-block;
  text-transform: lowercase;
}
.section__h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.section__lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 640px;
}
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }

/* ---------- packs ---------- */
.packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pack {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pack:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.pack--featured {
  background: var(--text);
  color: #F6F2EB;
  border-color: var(--text);
  box-shadow: var(--shadow-lg);
}
.pack--featured .pack__sub,
.pack--featured .pack__list li,
.pack--featured .pack__meta,
.pack--featured .pack__currency { color: #C3C7D2; }
.pack--featured .pack__amount { color: #fff; }
.pack--featured .pack__no { color: var(--accent); }

.pack__badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pack__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pack__no {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.pack__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}
.pack__sub {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.5;
}
.pack__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.pack--featured .pack__price { border-top-color: rgba(255,255,255,0.12); }
.pack__amount {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pack__currency {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.pack__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14.5px;
  flex: 1;
}
.pack__list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}
.pack__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 12px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5L20 7' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12l5 5L20 7' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}
.pack__meta {
  font-size: 13.5px;
  color: var(--text-dim);
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.pack--featured .pack__meta { border-top-color: rgba(255,255,255,0.12); }

.packs__after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.afterbox {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14.5px;
}
.afterbox strong { font-weight: 600; }
.afterbox span { color: var(--text-dim); }

/* ---------- AI delivery / timeline ---------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 64px;
}
.timeline__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 24px;
}
.timeline__label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  text-align: right;
}
.timeline__bar {
  display: flex;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
}
.seg {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.seg:last-child { border-right: none; }
.seg--plan { background: #F0EBE0; flex: 1; }
.seg--build { background: var(--bg-card); flex: 2; }
.seg--revise { background: #F0EBE0; flex: 1; }
.seg--ship { background: var(--accent); color: #fff; flex: 0.7; font-weight: 500; }

.timeline__bar--slow { width: 100%; }
.timeline__bar--fast { width: 50%; }

.howgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.howcell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.howcell__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}
.howcell h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin: 10px 0 8px;
  line-height: 1.25;
}
.howcell p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }

/* ---------- engineering split ---------- */
.engsplit {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.engsplit__copy p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.65;
}
.engsplit__small {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin: 18px 0 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.englist {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.englist li {
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.englist li:hover {
  border-color: var(--accent);
  transform: translateX(3px);
}
.englist li strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
}
.englist li span {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ---------- why grid ---------- */
.whygrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.whycell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.whycell:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.whycell__icon {
  width: 44px; height: 44px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.whycell h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
}
.whycell p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }

/* ---------- expertise ---------- */
.expgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.expcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease;
}
.expcard:hover { border-color: var(--border-strong); }
.expcard__tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.expcard h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}
.expcard p { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; flex: 1; }
.expcard__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.expcard__stack span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-dim);
  background: var(--bg-surface);
}

/* ---------- process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: steps;
}
.steps li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.steps__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}
.steps h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin: 10px 0 8px;
}
.steps p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color 0.2s ease;
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after {
  content: '–';
  transform: translateY(-50%) rotate(0);
}
.faq__item p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

/* ---------- CTA ---------- */
.section--cta { padding: 80px 0 100px; }
.cta {
  background: var(--text);
  color: #F6F2EB;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(233,75,53,0.25), transparent 60%);
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta .eyebrow { color: var(--accent); }
.cta .section__h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.cta p { color: #C3C7D2; line-height: 1.6; }
.cta__small {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(246,242,235,0.6);
}
.cta__panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cta__email {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  background: rgba(246,242,235,0.04);
  border: 1px solid rgba(233,75,53,0.3);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.cta__email:hover {
  border-color: var(--accent);
  background: rgba(233,75,53,0.08);
  transform: translateY(-2px);
}
.cta__email-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(246,242,235,0.5);
}
.cta__email-addr {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.cta__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cta__meta > div { display: flex; flex-direction: column; gap: 4px; }
.cta__metaLbl {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(246,242,235,0.45);
}
.cta__metaVal {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: #fff;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg);
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text);
}
.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12.5px;
}
.footer__links {
  display: flex;
  gap: 18px;
}
.footer__links a {
  font-size: 13px;
  color: var(--text-dim);
}
.footer__links a:hover { color: var(--accent); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .hero { padding: 56px 0 48px; }
  .hero__strip { grid-template-columns: 1fr 1fr; gap: 18px; }
  .packs { grid-template-columns: 1fr; }
  .packs__after { grid-template-columns: 1fr; }
  .howgrid { grid-template-columns: 1fr 1fr; }
  .engsplit { grid-template-columns: 1fr; gap: 32px; }
  .whygrid { grid-template-columns: 1fr 1fr; }
  .expgrid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .timeline__row { grid-template-columns: 1fr; gap: 6px; }
  .timeline__label { text-align: left; }
  .timeline__bar--fast { width: 50%; }
  .cta { grid-template-columns: 1fr; padding: 36px; gap: 28px; }
  .cta__meta { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .footer__inner { grid-template-columns: 1fr; text-align: left; }
  .footer__links { flex-wrap: wrap; }
  .section { padding: 72px 0; }
}

@media (max-width: 560px) {
  .hero__strip { grid-template-columns: 1fr 1fr; }
  .howgrid { grid-template-columns: 1fr; }
  .whygrid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta { padding: 28px; }
  .cta__meta { grid-template-columns: 1fr; }
  .trustbar__pill { font-size: 11.5px; padding: 5px 11px; }
  .timeline__bar { height: auto; min-height: 58px; font-size: 10.5px; }
  .timeline__bar--fast { width: 72%; }
  .seg {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    padding: 6px 6px;
  }
}
