:root {
  --bg: #f5f3ef;
  --bg-2: #eceae4;
  --fg: #1a1814;
  --fg-2: #4a4640;
  --fg-3: #7a7670;
  --accent: #c8521a;
  --accent-2: #e8721a;
  --border: rgba(26,24,20,0.12);
  --card: rgba(255,255,255,0.6);
  --hero-bg: #1a1814;
  --hero-fg: #f5f3ef;
  --mono: 'DM Mono', monospace;
  --serif: 'DM Serif Display', serif;
  --sans: 'Instrument Sans', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111009;
    --bg-2: #1c1a14;
    --fg: #f0ede6;
    --fg-2: #b8b4aa;
    --fg-3: #7a7670;
    --accent: #e8721a;
    --accent-2: #f09040;
    --border: rgba(240,237,230,0.1);
    --card: rgba(28,26,20,0.8);
    --hero-bg: #0a0908;
    --hero-fg: #f0ede6;
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: background 0.3s;
}

.nav-logo {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 0.55rem 1.2rem;
  border-radius: 3px;
  font-size: 0.78rem !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-2) !important; }

.lang-switch {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  padding-left: 0.5rem;
  border-left: 1px solid var(--border);
}

.lang-switch a {
  color: var(--fg-3);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.lang-switch a:hover { color: var(--accent); }
.lang-switch a.active { color: var(--accent); }
.lang-switch span { color: var(--border); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: var(--hero-bg);
  color: var(--hero-fg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 5rem 5rem;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(240,237,230,0.65);
  max-width: 420px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-sub .sub-note {
  display: block;
  font-size: 0.9em;
  color: rgba(240,237,230,0.45);
  margin-top: 0.8rem;
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  padding: 0.9rem 1.8rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(240,237,230,0.25);
  color: rgba(240,237,230,0.8);
  padding: 0.9rem 1.8rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2520 0%, #1a1510 40%, #2d1f10 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.placeholder-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(200,82,26,0.5);
  text-transform: uppercase;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  width: 200px;
  opacity: 0.3;
}

.placeholder-cell {
  height: 60px;
  background: var(--accent);
}

.placeholder-cell:nth-child(even) { background: #3a3530; }

.hero-stats {
  position: absolute;
  bottom: 2.5rem;
  left: 5rem;
  display: flex;
  gap: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

.stat-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,237,230,0.4);
  margin-top: 0.3rem;
  display: block;
}

/* ── SECTIONS ── */
section { padding: 6rem 5rem; }

.section-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg-2);
  max-width: 560px;
}

.section-sub .sub-note {
  display: block;
  font-size: 0.88em;
  color: var(--fg-3);
  margin-top: 0.8rem;
  font-style: italic;
}

/* ── PROBLEM ── */
#problem {
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.problem-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.problem-icon {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: rgba(200,82,26,0.1);
  padding: 0.4rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
  margin-top: 0.1rem;
  letter-spacing: 0.06em;
}

.problem-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.problem-text span {
  font-size: 0.83rem;
  color: var(--fg-2);
  line-height: 1.6;
}

.problem-text .item-note {
  display: block;
  font-size: 0.78rem;
  color: var(--fg-3);
  font-style: italic;
  margin-top: 0.4rem;
}

/* ── HOW IT WORKS ── */
#how { background: var(--bg); }

.how-header {
  text-align: center;
  margin-bottom: 4rem;
}

.how-header .section-sub {
  margin: 0 auto;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--border), var(--accent));
}

.step {
  padding: 0 2.5rem;
  text-align: center;
  position: relative;
}

.step-num {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, background 0.3s;
}

.step:hover .step-num {
  border-color: var(--accent);
  background: rgba(200,82,26,0.08);
}

.step h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--fg-2);
  line-height: 1.7;
}

.step-note {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--fg-3);
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ── WHY ── */
#why {
  background: var(--hero-bg);
  color: var(--hero-fg);
}

#why .section-sub { color: rgba(240,237,230,0.6); }
#why .section-sub .sub-note { color: rgba(240,237,230,0.4); }

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 3rem;
  border-radius: 4px;
  overflow: hidden;
}

.comp-col { padding: 2.5rem; }

.comp-col.traditional { background: rgba(255,255,255,0.04); }

.comp-col.medeis {
  background: rgba(200,82,26,0.12);
  border: 1px solid rgba(200,82,26,0.3);
}

.comp-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.comp-label.trad { color: rgba(240,237,230,0.4); }
.comp-label.med { color: var(--accent); }

.comp-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.comp-rows { display: flex; flex-direction: column; gap: 1rem; }

.comp-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.comp-row .mark {
  font-family: var(--mono);
  font-size: 0.7rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.traditional .mark { color: rgba(240,237,230,0.25); }
.medeis .mark { color: var(--accent); }

/* ── PRICING ── */
#pricing { background: var(--bg-2); }

.pricing-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pricing-header .section-sub { margin: 0 auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  backdrop-filter: blur(8px);
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: rgba(200,82,26,0.06);
}

.featured-badge {
  position: absolute;
  top: -1px; right: 1.5rem;
  background: var(--accent);
  color: white;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 0 0 3px 3px;
}

.pricing-name {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.pricing-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.pricing-target {
  font-size: 0.78rem;
  color: var(--fg-3);
  margin-bottom: 1.8rem;
  font-style: italic;
}

.pricing-price {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--fg);
  margin-bottom: 0.3rem;
  line-height: 1;
}

.pricing-price small {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--fg-3);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--fg-2);
  line-height: 1.5;
}

.pricing-features li::before {
  content: '→';
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  margin-top: 0.05rem;
  flex-shrink: 0;
}

/* ── TEAM ── */
#team { background: var(--bg); }

.team-header { margin-bottom: 3.5rem; }

.team-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s;
}

.team-card:hover { border-color: var(--accent); }

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8b2200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.team-info { flex: 1; }

.team-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.team-role {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.83rem;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.team-bio .bio-note {
  display: block;
  font-style: italic;
  color: var(--fg-3);
  margin-top: 0.6rem;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  background: rgba(200,82,26,0.08);
  border: 1px solid rgba(200,82,26,0.2);
  border-radius: 2px;
  color: var(--fg-2);
}

/* ── SURVEY CTA ── */
#survey {
  background: var(--accent);
  padding: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#survey::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255,255,255,0.04);
  transform: rotate(-15deg);
  pointer-events: none;
}

.survey-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  position: relative;
}

.survey-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: white;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  position: relative;
}

.survey-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
}

.survey-sub .sub-note {
  display: block;
  font-size: 0.88em;
  margin-top: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

.btn-survey {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  color: var(--accent);
  padding: 1rem 2.2rem;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: relative;
}

.btn-survey:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.survey-note {
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  position: relative;
}

/* ── FOOTER ── */
footer {
  background: var(--hero-bg);
  color: rgba(240,237,230,0.4);
  padding: 2.5rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.footer-logo {
  color: var(--hero-fg);
  font-size: 0.85rem;
}

.footer-logo span { color: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  #hero { grid-template-columns: 1fr; }
  .hero-right { height: 300px; }
  .hero-left { padding: 4rem 1.5rem 3rem; }
  .hero-stats { left: 1.5rem; bottom: 1.5rem; }
  section { padding: 4rem 1.5rem; }
  #problem { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { display: none; }
  .comparison { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  #survey { padding: 4rem 1.5rem; }
}
