/* ============================================================
   ODISENA — Data Lake Cost Recovery
   Premium / technical / enterprise. Deep navy + gold.
   ============================================================ */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.6vw, 3.375rem);
  --text-3xl: clamp(2.6rem, 1.4rem + 4.4vw, 4.75rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Palette — navy + gold */
  --navy-900: #0a1420;
  --navy-800: #0e1a2b;
  --navy-700: #12233a;
  --navy-600: #1a3050;
  --gold: #c9a227;
  --gold-soft: #d8b84f;
  --gold-dim: #a9871f;

  /* Light surfaces */
  --paper: #f7f5f0;
  --paper-2: #ffffff;
  --paper-offset: #efece4;
  --ink: #101823;
  --ink-muted: #4d5b6b;
  --ink-faint: #8593a1;
  --line-light: #dcd7cc;

  /* On-dark text */
  --on-dark: #e8ecf1;
  --on-dark-muted: #9fb0c2;
  --on-dark-faint: #5f7186;
  --line-dark: rgba(201, 162, 39, 0.16);
  --line-dark-plain: rgba(255, 255, 255, 0.07);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --content: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 200ms var(--ease);

  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul[role='list'], ol[role='list'] { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }

::selection { background: var(--gold); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--radius-sm); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--navy-900);
  padding: var(--space-2) var(--space-4); font-weight: 600; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

a, button { transition: color var(--t), background var(--t), border-color var(--t), box-shadow var(--t), transform var(--t); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.wrap { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: var(--space-6); }
.mono { font-family: var(--font-mono); font-feature-settings: 'tnum' 1; letter-spacing: -0.01em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.6rem;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn.full { width: 100%; }
.btn-primary { background: var(--gold); color: var(--navy-900); box-shadow: 0 6px 22px rgba(201,162,39,0.28); }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,162,39,0.38); }
.btn-ghost { color: var(--on-dark); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-dark { background: var(--navy-800); color: var(--paper-2); border-color: var(--navy-800); }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 20, 32, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--on-dark); }
.wordmark .mark { color: var(--gold); flex: none; }
.wordmark-text { font-weight: 700; font-size: 0.95rem; letter-spacing: 0.34em; padding-left: 0.05em; }
.site-nav { display: flex; align-items: center; gap: var(--space-6); }
.site-nav a { color: var(--on-dark-muted); font-size: var(--text-sm); font-weight: 500; }
.site-nav a:hover { color: var(--on-dark); }
.nav-cta {
  color: var(--gold) !important; border: 1px solid var(--line-dark);
  padding: 0.5rem 1rem; border-radius: var(--radius-full);
}
.nav-cta:hover { border-color: var(--gold); background: rgba(201,162,39,0.08); }

/* ---------- grid line texture ---------- */
.grid-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line-dark-plain) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark-plain) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(201,162,39,0.14), transparent 55%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--on-dark);
  padding-block: clamp(5rem, 10vw, 8.5rem);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--space-6);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,0.18); }
.hero-title { font-size: var(--text-3xl); font-weight: 800; margin-bottom: var(--space-6); }
.hero-title .accent { color: var(--gold); }
.hero-sub { font-size: var(--text-lg); color: var(--on-dark-muted); max-width: 46rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-10); }
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: var(--space-8);
  border-top: 1px solid var(--line-dark); max-width: 44rem;
}
.hero-metrics dt { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-faint); }
.hero-metrics dd { font-size: var(--text-xl); font-weight: 600; color: var(--gold-soft); margin-top: var(--space-2); }

/* ---------- section base ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section-label { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: var(--space-4); }
.section-label.light { color: var(--gold); }
.section-title { font-size: var(--text-2xl); font-weight: 800; max-width: 22ch; margin-bottom: var(--space-5); }
.section-title.light { color: var(--on-dark); max-width: 30ch; }
.section-lede { font-size: var(--text-lg); color: var(--ink-muted); max-width: 58ch; line-height: 1.55; }
.section-lede.light { color: var(--on-dark-muted); }

/* ---------- problem ---------- */
.problem { background: var(--paper); }
.stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
  margin-top: clamp(3rem, 5vw, 4rem);
}
.stat-card {
  background: var(--paper-2); border: 1px solid var(--line-light);
  border-radius: var(--radius-lg); padding: var(--space-8);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--line-light), var(--line-light));
}
.stat-card.featured { border-color: rgba(201,162,39,0.5); box-shadow: 0 14px 40px rgba(14,26,43,0.09); }
.stat-card.featured::before { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.stat-num { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 600; line-height: 1; color: var(--navy-800); margin-bottom: var(--space-5); }
.stat-num span { font-size: 0.42em; color: var(--gold-dim); font-weight: 500; letter-spacing: 0; }
.stat-card.featured .stat-num { color: var(--gold-dim); }
.stat-card h3 { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-3); }
.stat-card p { font-size: var(--text-sm); color: var(--ink-muted); }

/* ---------- trust ---------- */
.trust {
  background:
    radial-gradient(100% 80% at 15% 0%, rgba(201,162,39,0.10), transparent 50%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--on-dark); overflow: hidden;
}
.trust .wrap { position: relative; z-index: 1; }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
  margin-top: clamp(3rem, 5vw, 4rem);
}
.trust-item {
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: var(--space-8); background: rgba(255,255,255,0.02);
}
.trust-item:hover { border-color: rgba(201,162,39,0.4); background: rgba(201,162,39,0.04); }
.trust-tag { display: inline-block; font-size: var(--text-sm); font-weight: 600; color: var(--gold); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); padding: 0.15rem 0.55rem; margin-bottom: var(--space-5); }
.trust-item h3 { font-size: var(--text-lg); font-weight: 700; color: var(--on-dark); margin-bottom: var(--space-3); }
.trust-item p { font-size: var(--text-sm); color: var(--on-dark-muted); }

/* ---------- pricing ---------- */
.pricing { background: var(--paper-offset); }
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
  margin-top: clamp(3rem, 5vw, 4rem); align-items: start;
}
.price-card {
  background: var(--paper-2); border: 1px solid var(--line-light);
  border-radius: var(--radius-lg); padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-4);
  position: relative; height: 100%;
}
.price-card.recommended {
  border-color: var(--gold); box-shadow: 0 20px 50px rgba(14,26,43,0.14);
  background: linear-gradient(180deg, #fffdf6, var(--paper-2));
}
.price-flag {
  position: absolute; top: -0.85rem; left: var(--space-8);
  background: var(--gold); color: var(--navy-900);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: var(--radius-full);
}
.price-name { font-size: var(--text-lg); font-weight: 700; }
.price-amount { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 600; color: var(--navy-800); line-height: 1; }
.price-unit { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.price-desc { font-size: var(--text-sm); color: var(--ink-muted); }
.price-feats { display: flex; flex-direction: column; gap: var(--space-3); }
.price-feats li { position: relative; padding-left: 1.6rem; font-size: var(--text-sm); color: var(--ink); }
.price-feats li::before {
  content: ''; position: absolute; left: 0; top: 0.5em;
  width: 0.7rem; height: 0.4rem; border-left: 2px solid var(--gold-dim); border-bottom: 2px solid var(--gold-dim);
  transform: rotate(-45deg);
}
.guarantee { background: var(--navy-800); color: var(--on-dark); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); }
.guarantee-tag { display: inline-block; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-2); }
.guarantee p { font-size: var(--text-sm); color: var(--on-dark-muted); }
.guarantee strong { color: var(--gold-soft); }
.price-card .btn { margin-top: auto; }

/* ---------- process ---------- */
.process { background: var(--paper); }
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4);
  margin-top: clamp(3rem, 5vw, 4rem); counter-reset: none;
}
.step { position: relative; padding-top: var(--space-8); border-top: 2px solid var(--line-light); }
.step:hover { border-top-color: var(--gold); }
.step-num {
  position: absolute; top: -1.05rem; left: 0;
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold); font-weight: 600; font-size: var(--text-sm);
  border-radius: var(--radius-full);
}
.step h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); }
.step p { font-size: var(--text-sm); color: var(--ink-muted); }

/* ---------- about ---------- */
.about { background: var(--paper-offset); }
.about-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.about-text { font-size: var(--text-base); color: var(--ink-muted); margin-top: var(--space-2); max-width: 52ch; }
.about-loc { margin-top: var(--space-6); font-size: var(--text-sm); color: var(--gold-dim); letter-spacing: 0.06em; }
.about-panel { background: var(--navy-800); border: 1px solid var(--navy-600); border-radius: var(--radius-lg); padding: var(--space-8); color: var(--on-dark); }
.panel-label { font-size: var(--text-xs); color: var(--gold); letter-spacing: 0.1em; margin-bottom: var(--space-5); }
.stack-list { display: flex; flex-direction: column; gap: var(--space-3); font-size: var(--text-sm); }
.stack-list li { display: flex; justify-content: space-between; gap: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line-dark-plain); color: var(--gold-soft); }
.stack-list li:last-child { border-bottom: none; padding-bottom: 0; }
.stack-list li span { color: var(--on-dark-faint); font-family: var(--font-body); font-size: var(--text-xs); }

/* ---------- footer ---------- */
.footer {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 100% at 50% 120%, rgba(201,162,39,0.12), transparent 55%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--on-dark);
  padding-block: clamp(4.5rem, 9vw, 7rem);
  text-align: center;
}
.footer-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.footer-title { font-size: var(--text-2xl); font-weight: 800; max-width: 20ch; margin-bottom: var(--space-4); }
.footer-sub { font-size: var(--text-lg); color: var(--on-dark-muted); max-width: 46ch; margin-bottom: var(--space-8); }
.footer-mark { margin-top: clamp(3rem, 6vw, 4.5rem); margin-bottom: var(--space-6); }
.wordmark-text.big {
  font-weight: 800; letter-spacing: 0.5em; font-size: clamp(1.4rem, 6vw, 3rem);
  color: transparent; -webkit-text-stroke: 1px rgba(201,162,39,0.5);
  padding-left: 0.5em;
}
.footer-fine { font-size: var(--text-xs); color: var(--on-dark-faint); letter-spacing: 0.04em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .stat-grid, .trust-grid, .price-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-6); }
  .about-inner { grid-template-columns: 1fr; }
  .price-card.recommended { order: -1; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: var(--space-5); }
  .hero-metrics { grid-template-columns: 1fr; gap: var(--space-5); text-align: left; }
  .hero-actions .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .site-nav { gap: var(--space-3); }
  .wordmark-text { letter-spacing: 0.26em; }
}
