/* ==========================================
   CLAIMOPS THEME — Insurance Operations
   ========================================== */

/* --- Custom Properties --- */
:root {
  --bg: #0d1b2a;
  --surface: #112236;
  --surface-alt: #152c47;
  --fg: #e8d5b7;
  --fg-muted: rgba(232, 213, 183, 0.55);
  --accent: #e07b39;
  --accent-dim: rgba(224, 123, 57, 0.12);
  --border: rgba(232, 213, 183, 0.08);
  --text-light: #f5f0e8;
  --text-muted: rgba(245, 240, 232, 0.55);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; }
.section-headline { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.1; }
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-light);
  letter-spacing: -0.01em;
}
.nav-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem clamp(1.5rem, 5vw, 4rem) 5rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(224, 123, 57, 0.06), transparent);
  pointer-events: none;
}
.hero-content {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 900;
  color: var(--text-light);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pill {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  background: var(--surface);
}

/* --- Hero — Doc Stack --- */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.doc-stack {
  position: relative;
  width: 280px;
  height: 300px;
}
.doc-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  width: 240px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.doc-card-1 { top: 0; left: 0; z-index: 3; }
.doc-card-2 { top: 60px; left: 30px; z-index: 2; transform: rotate(3deg); }
.doc-card-3 { top: 110px; left: 10px; z-index: 1; transform: rotate(-2deg); }
.doc-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.doc-lines { display: flex; flex-direction: column; gap: 0.55rem; }
.doc-line {
  height: 7px;
  border-radius: 4px;
  background: var(--surface-alt);
  width: 100%;
}
.doc-line-title { height: 11px; width: 70%; background: rgba(224, 123, 57, 0.25); }
.doc-line-short { width: 55%; }
.doc-status {
  margin-top: 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(232, 213, 183, 0.4);
  letter-spacing: 0.02em;
}

/* --- Operations --- */
.operations {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--bg);
}
.ops-inner { max-width: 1320px; margin: 0 auto; }
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 4rem;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.op-item {
  padding: 2.5rem 2rem;
  background: var(--surface);
  transition: background 0.2s;
}
.op-item:hover { background: var(--surface-alt); }
.op-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.op-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.65rem;
}
.op-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* --- Problem --- */
.problem {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--surface);
}
.problem-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 7vw, 7rem);
  align-items: start;
}
.problem-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-top: 1.25rem;
}
.problem-right {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.stat-card {
  padding: 1.75rem 2rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* --- Manifesto --- */
.manifesto {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--bg);
}
.manifesto-inner { max-width: 1320px; margin: 0 auto; }
.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0 0 4rem 0;
  padding-left: 2rem;
  border-left: 3px solid var(--accent);
  max-width: 760px;
}
.manifesto-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.m-point { display: flex; flex-direction: column; gap: 0.75rem; }
.m-bullet {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.m-text { font-size: 0.92rem; color: var(--fg-muted); line-height: 1.7; }

/* --- Closing --- */
.closing {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--surface);
  text-align: center;
}
.closing-inner { max-width: 900px; margin: 0 auto; }
.closing-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
}

/* --- Footer --- */
.footer {
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light);
}
.footer-copy { font-size: 0.78rem; color: var(--fg-muted); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { display: none; }
  .problem-inner { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-points { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .ops-grid { grid-template-columns: 1fr; }
  .nav-tag { display: none; }
  .footer-inner { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-alt); border-radius: 3px; }
