/* ── IDDAR.AI — Global Stylesheet ─────────────────────────────────────── */

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

/* ── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --cream:       #F8F6F1;
  --cream-mid:   #F0EDE6;
  --cream-dark:  #E8E4DA;
  --navy:        #1B2A4A;
  --navy-mid:    #2C3E6B;
  --navy-light:  #3D5080;
  --gold:        #B8860B;
  --gold-light:  #D4A017;
  --text:        #2A2520;
  --text-mid:    #5A524A;
  --text-light:  #8A8078;
  --border:      rgba(27,42,74,0.12);
  --border-gold: rgba(184,134,11,0.3);

  --font-serif:  'Lora', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --font-mono:   'DM Mono', monospace;

  --radius:      6px;
  --max-w:       1100px;
  --nav-h:       68px;
}

/* ── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(248,246,241,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-mark {
  width: 28px; height: 28px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; font-family: var(--font-mono);
  color: var(--gold); letter-spacing: 0.05em;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-actions {
  display: flex; align-items: center; gap: 12px;
}
.btn-ghost {
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  color: var(--navy); padding: 8px 18px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: transparent; cursor: pointer;
  transition: all 0.2s; display: inline-flex; align-items: center;
}
.btn-ghost:hover { border-color: var(--navy); background: rgba(27,42,74,0.04); }
.btn-primary {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  color: var(--cream); padding: 9px 20px;
  background: var(--navy); border: 1px solid var(--navy);
  border-radius: var(--radius); cursor: pointer;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn-large {
  font-size: 15px; padding: 13px 28px; gap: 8px;
}
.btn-gold {
  background: var(--gold); border-color: var(--gold); color: white;
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ── LAYOUT ─────────────────────────────────────────────────────────────── */
.page { padding-top: var(--nav-h); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center,
    rgba(184,134,11,0.07) 0%,
    rgba(27,42,74,0.04) 50%,
    transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em;
  background: rgba(184,134,11,0.08);
  border: 1px solid var(--border-gold);
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700; line-height: 1.15;
  color: var(--navy); letter-spacing: -0.02em;
  margin-bottom: 24px; max-width: 720px;
}
.hero h1 em {
  font-style: italic; color: var(--navy-mid);
}
.hero-sub {
  font-size: 18px; color: var(--text-mid); line-height: 1.7;
  max-width: 560px; margin-bottom: 40px;
}
.hero-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-rule {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(27,42,74,0.06);
  max-width: 680px;
}
.hero-rule-divider {
  width: 1px; height: 32px; background: var(--border); flex-shrink: 0;
}
.hero-stat { text-align: center; flex: 1; }
.hero-stat-num {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.hero-stat-label {
  font-size: 12px; color: var(--text-light); margin-top: 4px;
  font-weight: 500; letter-spacing: 0.02em;
}

/* ── SECTION HEADERS ────────────────────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 16px; display: block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700; color: var(--navy);
  line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--text-mid); line-height: 1.7;
  max-width: 560px;
}

/* ── PROBLEM SECTION ────────────────────────────────────────────────────── */
.problem {
  padding: 80px 0;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.problem::before {
  content: '';
  position: absolute; top: 0; right: -200px;
  width: 500px; height: 100%;
  background: radial-gradient(ellipse at right,
    rgba(184,134,11,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.problem .section-label { color: var(--gold); }
.problem .section-title { color: white; }
.problem .section-sub { color: rgba(255,255,255,0.65); }
.problem-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.08);
  border-radius: 10px; overflow: hidden; margin-top: 56px;
}
.problem-card {
  background: rgba(27,42,74,0.6);
  padding: 36px 32px;
  position: relative;
}
.problem-card-num {
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(184,134,11,0.6); letter-spacing: 0.1em;
  margin-bottom: 20px; display: block;
}
.problem-card h3 {
  font-family: var(--font-serif); font-size: 19px; font-weight: 600;
  color: white; margin-bottom: 12px; line-height: 1.3;
}
.problem-card p {
  font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7;
}

/* ── SOLUTION / HOW ─────────────────────────────────────────────────────── */
.solution { padding: 100px 0; }
.solution-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start; margin-top: 64px;
}
.solution-steps { display: flex; flex-direction: column; gap: 0; }
.solution-step {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: all 0.2s;
}
.solution-step:first-child { padding-top: 0; }
.solution-step:last-child { border-bottom: none; }
.solution-step:hover .step-title { color: var(--navy); }
.step-num {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--gold); width: 28px; flex-shrink: 0; padding-top: 2px;
}
.step-content { flex: 1; }
.step-title {
  font-family: var(--font-serif); font-size: 18px; font-weight: 600;
  color: var(--navy-mid); margin-bottom: 8px;
  transition: color 0.2s; line-height: 1.3;
}
.step-body { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.solution-visual {
  position: sticky; top: 100px;
}
.charter-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(27,42,74,0.08);
}
.charter-card-header {
  background: var(--navy); padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.charter-card-title {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.7); letter-spacing: 0.08em;
}
.charter-card-badge {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--gold); background: rgba(184,134,11,0.15);
  border: 1px solid rgba(184,134,11,0.3);
  padding: 3px 8px; border-radius: 3px; letter-spacing: 0.06em;
}
.charter-card-body { padding: 24px; }
.charter-line {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--cream-dark);
  font-size: 13px;
}
.charter-line:last-child { border-bottom: none; }
.charter-line-label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--gold); width: 90px; flex-shrink: 0; padding-top: 1px;
  font-weight: 500;
}
.charter-line-value { color: var(--text-mid); line-height: 1.5; }
.charter-line-value strong { color: var(--navy); font-weight: 600; }
.charter-card-footer {
  background: var(--cream); border-top: 1px solid var(--border);
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.charter-card-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-light); font-family: var(--font-mono);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}

/* ── PROPERTIES SECTION ─────────────────────────────────────────────────── */
.properties { padding: 100px 0; background: var(--cream-mid); }
.properties-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; margin-top: 56px;
}
.property-card {
  background: white; padding: 32px 24px;
  transition: background 0.2s;
}
.property-card:hover { background: var(--cream); }
.property-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--gold); letter-spacing: 0.1em; margin-bottom: 16px; display: block;
}
.property-icon {
  font-size: 22px; margin-bottom: 16px; display: block;
}
.property-card h3 {
  font-family: var(--font-serif); font-size: 15px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px; line-height: 1.3;
}
.property-card p {
  font-size: 13px; color: var(--text-mid); line-height: 1.65;
}

/* ── PRICING ────────────────────────────────────────────────────────────── */
.pricing { padding: 100px 0; }
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 760px; margin: 56px auto 0;
}
.pricing-card {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 20px rgba(27,42,74,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  box-shadow: 0 8px 40px rgba(27,42,74,0.12);
  transform: translateY(-2px);
}
.pricing-card.featured {
  border-color: var(--navy); box-shadow: 0 4px 32px rgba(27,42,74,0.12);
}
.pricing-card-header { padding: 28px 28px 20px; }
.pricing-badge {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  color: var(--gold); background: rgba(184,134,11,0.1);
  border: 1px solid var(--border-gold);
  padding: 3px 10px; border-radius: 3px; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.pricing-name {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.pricing-amount {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px;
}
.pricing-currency {
  font-size: 18px; color: var(--text-mid); font-weight: 500;
}
.pricing-num {
  font-family: var(--font-serif); font-size: 44px; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.pricing-period { font-size: 14px; color: var(--text-light); }
.pricing-note { font-size: 13px; color: var(--text-light); }
.pricing-divider { height: 1px; background: var(--border); margin: 0 28px; }
.pricing-features { padding: 24px 28px; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-mid); padding: 7px 0;
}
.pricing-feature::before {
  content: '✓'; color: var(--gold); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.pricing-cta { padding: 0 28px 28px; }

/* ── TRUST / PRINCIPLES ─────────────────────────────────────────────────── */
.principles {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.principles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px; margin-top: 56px;
}
.principle { }
.principle-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--gold); letter-spacing: 0.1em; margin-bottom: 14px; display: block;
}
.principle h3 {
  font-family: var(--font-serif); font-size: 18px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px; line-height: 1.3;
}
.principle p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ── CTA BAND ───────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--navy); padding: 80px 0; text-align: center;
}
.cta-band h2 {
  font-family: var(--font-serif); font-size: clamp(26px, 3vw, 38px);
  font-weight: 700; color: white; margin-bottom: 16px; line-height: 1.25;
}
.cta-band p {
  font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 36px;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.cta-band .hero-actions { justify-content: center; }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border); padding: 40px 0;
  background: var(--cream);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy {
  font-size: 13px; color: var(--text-light);
}
.footer-links {
  display: flex; gap: 24px; list-style: none;
}
.footer-links a {
  font-size: 13px; color: var(--text-light); transition: color 0.2s;
}
.footer-links a:hover { color: var(--navy); }

/* ── PAGE-SPECIFIC ───────────────────────────────────────────────────────── */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; color: var(--navy); line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px; color: var(--text-mid); max-width: 540px; line-height: 1.7;
}
.content-section { padding: 72px 0; border-bottom: 1px solid var(--border); }
.content-section:last-child { border-bottom: none; }
.content-grid { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.content-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em;
  padding-top: 4px;
}
.content-body h3 {
  font-family: var(--font-serif); font-size: 24px; font-weight: 600;
  color: var(--navy); margin-bottom: 16px; line-height: 1.3;
}
.content-body p {
  font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px;
}
.content-body p:last-child { margin-bottom: 0; }

/* ── CYCLE DIAGRAM ──────────────────────────────────────────────────────── */
.cycle-diagram {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin: 48px 0; flex-wrap: wrap;
}
.cycle-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative;
}
.cycle-step-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 13px; font-weight: 600;
  margin-bottom: 10px; line-height: 1.2;
  box-shadow: 0 4px 16px rgba(27,42,74,0.2);
  transition: background 0.2s, transform 0.2s;
}
.cycle-step:hover .cycle-step-circle {
  background: var(--gold); transform: scale(1.05);
}
.cycle-step-label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-light); letter-spacing: 0.1em; text-transform: uppercase;
}
.cycle-arrow {
  color: var(--gold); font-size: 20px; padding: 0 8px;
  margin-bottom: 24px; opacity: 0.6;
}

/* ── HOW IT WORKS PAGE ──────────────────────────────────────────────────── */
.hiw-phases { display: flex; flex-direction: column; gap: 0; }
.hiw-phase {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 24px; padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.hiw-phase:last-child { border-bottom: none; }
.hiw-phase-num {
  font-family: var(--font-serif); font-size: 32px; font-weight: 700;
  color: var(--cream-dark); line-height: 1; padding-top: 4px;
}
.hiw-phase-content h3 {
  font-family: var(--font-serif); font-size: 20px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px;
}
.hiw-phase-content p {
  font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 10px;
}
.hiw-phase-content p:last-child { margin-bottom: 0; }
.hiw-tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--gold); background: rgba(184,134,11,0.08);
  border: 1px solid var(--border-gold);
  padding: 2px 8px; border-radius: 3px; letter-spacing: 0.06em;
  margin-bottom: 14px;
}

/* ── ABOUT PAGE ─────────────────────────────────────────────────────────── */
.about-meta {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; margin-top: 48px;
}
.about-meta-item {
  background: white; padding: 28px 24px; text-align: center;
}
.about-meta-label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-light); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 8px; display: block;
}
.about-meta-value {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  color: var(--navy);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .problem-cards { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; gap: 48px; }
  .solution-visual { position: relative; top: auto; }
  .properties-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .principles-grid { grid-template-columns: 1fr; gap: 32px; }
  .content-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-meta { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .properties-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 60px; }
}
