/* ============================================
   LumiBrand — Theme CSS
   Editorial luxury, warm palette, asymmetric
   ============================================ */

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

:root {
  --cream:    #FAF7F2;
  --cream-dk: #F0EBE3;
  --charcoal: #1C1C1C;
  --charcoal-lt: #2E2E2E;
  --coral:    #E8533F;
  --coral-dk: #C43D28;
  --gold:     #C9A96E;
  --gold-lt:  #E8D5A8;
  --white:    #FFFFFF;
  --text:     #1C1C1C;
  --text-muted: #6B6459;
  --text-faint: #A09A90;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(28,28,28,0.06);
  --shadow-md: 0 8px 32px rgba(28,28,28,0.10);
  --shadow-lg: 0 24px 64px rgba(28,28,28,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
}

.section-label.light { color: var(--gold-lt); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 28px;
}

.section-title em { font-style: italic; color: var(--coral); }

.section-title.centered { text-align: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(250,247,242,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,110,0.15);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal);
}

.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.hero-shape-1 {
  width: 600px; height: 600px;
  background: var(--coral);
  top: -100px; right: -100px;
}

.hero-shape-2 {
  width: 400px; height: 400px;
  background: var(--gold);
  bottom: 10%; left: -80px;
}

.hero-shape-3 {
  width: 300px; height: 300px;
  background: var(--charcoal);
  top: 40%; right: 20%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left { }

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 28px;
}

.hero-title-line { display: block; }

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

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 440px;
}

/* Hero Card */
.hero-right { display: flex; justify-content: center; }

.hero-card {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--cream);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.hero-card-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7AE49A;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-card-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #7AE49A;
  display: inline-block;
}

.hero-card-time {
  font-size: 12px;
  color: rgba(250,247,242,0.5);
}

.hero-card-label {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--cream);
}

.hero-card-status { margin-bottom: 20px; }

.hero-card-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(250,247,242,0.4);
  padding: 6px 0;
}

.hero-card-step.done { color: rgba(250,247,242,0.7); }
.hero-card-step.active { color: var(--cream); }

.step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(250,247,242,0.25);
  flex-shrink: 0;
}

.hero-card-step.done .step-dot { background: var(--gold); }
.hero-card-step.active .step-dot { background: var(--coral); }
.step-dot.pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(250,247,242,0.1);
}

.hero-metric { text-align: center; }

.hero-metric-val {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--cream);
  display: block;
}

.hero-metric-lbl {
  font-size: 10px;
  color: rgba(250,247,242,0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}

/* ---------- Problem ---------- */
.problem {
  background: var(--charcoal);
  color: var(--cream);
  padding: 120px 40px;
}

.problem-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.problem-header { margin-bottom: 80px; }

.problem-header .section-label { color: var(--gold); }

.problem-header .section-title { color: var(--cream); }
.problem-header .section-title em { color: var(--coral); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-bottom: 60px;
}

.problem-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 40px;
  transition: background 0.3s;
}

.problem-card:hover { background: rgba(255,255,255,0.07); }

.problem-icon {
  color: var(--coral);
  display: block;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--cream);
}

.problem-card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(250,247,242,0.55);
}

.problem-quote {
  border-left: 3px solid var(--coral);
  padding-left: 28px;
}

.problem-quote blockquote {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  color: rgba(250,247,242,0.8);
  line-height: 1.5;
  margin-bottom: 12px;
}

.problem-quote cite {
  font-size: 13px;
  color: rgba(250,247,242,0.4);
  font-style: normal;
  letter-spacing: 0.03em;
}

/* ---------- Agent ---------- */
.agent {
  padding: 120px 40px;
  background: var(--cream);
}

.agent-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.agent-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.agent-traits { display: flex; flex-direction: column; gap: 24px; }

.agent-trait {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trait-icon {
  width: 40px; height: 40px;
  background: var(--cream-dk);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  flex-shrink: 0;
}

.agent-trait strong {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.agent-trait p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Agent Visual — Ring diagram */
.agent-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-ring {
  position: relative;
  width: 340px;
  height: 340px;
}

.ring-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  background: var(--charcoal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.ring-label {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
}

.ring-orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 260px;
  border: 1px dashed rgba(201,169,110,0.3);
  border-radius: 50%;
  animation: orbit-spin 20s linear infinite;
}

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.ring-node {
  position: absolute;
  width: 72px; height: 72px;
  background: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
}

.ring-node span { text-align: center; line-height: 1.3; }

.n1 { top: 0; left: 50%; transform: translateX(-50%); }
.n2 { top: 50%; right: 0; transform: translateY(-50%); }
.n3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.n4 { top: 50%; left: 0; transform: translateY(-50%); }

/* ---------- Features ---------- */
.features {
  padding: 120px 40px;
  background: var(--cream-dk);
}

.features-inner { max-width: 1280px; margin: 0 auto; }

.features .section-label { text-align: center; display: block; }
.features .section-title { margin-bottom: 60px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.feature-card {
  background: var(--cream);
  padding: 48px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.feature-num {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 300;
  color: rgba(201,169,110,0.25);
  line-height: 1;
  position: absolute;
  top: 24px; right: 32px;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--charcoal);
}

.feature-card > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

/* ---------- How ---------- */
.how {
  padding: 120px 40px;
  background: var(--cream);
}

.how-inner { max-width: 1280px; margin: 0 auto; }

.how-header { margin-bottom: 80px; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 80px;
  position: relative;
}

.how-step {
  padding: 40px 40px 40px 0;
  position: relative;
}

.step-connector {
  position: absolute;
  top: 40px;
  right: 0;
  width: calc(100% - 40px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  transform: translateX(40px);
  z-index: 0;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 300;
  color: rgba(201,169,110,0.3);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.step-content h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.step-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.how-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hmetric {
  background: var(--charcoal);
  padding: 40px 32px;
  text-align: center;
}

.hmetric-val {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--coral);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.hmetric-desc {
  font-size: 13px;
  color: rgba(250,247,242,0.5);
  letter-spacing: 0.02em;
}

/* ---------- Closing ---------- */
.closing {
  background: var(--charcoal);
  padding: 120px 40px;
}

.closing-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.closing-content { margin-bottom: 80px; }

.closing-content .section-label { display: block; }

.closing-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(250,247,242,0.55);
  max-width: 560px;
  margin: 0 auto;
}

.closing-cta {
  border-top: 1px solid rgba(201,169,110,0.15);
  padding-top: 60px;
}

.closing-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.closing-logo-mark {
  width: 48px; height: 48px;
  background: var(--coral);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.closing-logo-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--cream);
}

.closing-tagline {
  font-size: 14px;
  color: rgba(250,247,242,0.4);
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */
.footer {
  background: #111;
  padding: 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-mark {
  width: 28px; height: 28px;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 15px;
  color: rgba(250,247,242,0.6);
}

.footer-copy {
  font-size: 13px;
  color: rgba(250,247,242,0.35);
}

.footer-legal {
  font-size: 12px;
  color: rgba(250,247,242,0.2);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-left,
.hero-right,
.problem-card,
.agent-text,
.agent-visual,
.feature-card,
.how-step,
.hmetric {
  animation: fadeInUp 0.7s ease-out both;
}

.hero-left    { animation-delay: 0.1s; }
.hero-right   { animation-delay: 0.25s; }
.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }
.problem-card:nth-child(4) { animation-delay: 0.4s; }
.agent-text   { animation-delay: 0.1s; }
.agent-visual { animation-delay: 0.3s; }
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.how-step:nth-child(1) { animation-delay: 0.1s; }
.how-step:nth-child(2) { animation-delay: 0.2s; }
.how-step:nth-child(3) { animation-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .agent-inner { grid-template-columns: 1fr; }
  .agent-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .step-connector { display: none; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 80px; }
  .problem { padding: 80px 24px; }
  .agent { padding: 80px 24px; }
  .features { padding: 80px 24px; }
  .how { padding: 80px 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; }
  .problem-grid { grid-template-columns: 1fr; }
  .how-metrics { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
  .section-title { font-size: 1.9rem; }
  .hero-card { display: none; }
  .feature-card { padding: 28px; }
}
