/* =====================
   BASE RESET & TOKENS
   ===================== */
:root {
  --navy: #0c1829;
  --navy-mid: #0f2035;
  --navy-light: #152640;
  --amber: #f5a623;
  --amber-dim: rgba(245, 166, 35, 0.12);
  --amber-glow: rgba(245, 166, 35, 0.06);
  --text: #d6e4f0;
  --text-muted: rgba(214, 228, 240, 0.45);
  --text-dim: rgba(214, 228, 240, 0.25);
  --surface: #ffffff;
  --surface-tint: #f4f7fa;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
  --gutter: 48px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--amber); color: var(--navy); }

/* =====================
   TYPOGRAPHY
   ===================== */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 56px;
}

.section-headline em { font-style: italic; color: var(--amber); }

/* =====================
   NAVBAR
   ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 24, 41, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.navbar-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  background: var(--navy);
}

.hero-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sun-orbit {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
}

.sun-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #f5a623 0%, rgba(245,166,35,0.4) 50%, transparent 70%);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(245,166,35,0.3), 0 0 160px rgba(245,166,35,0.1);
}

.sun-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.08);
}

.sun-ring-1 { width: 220px; height: 220px; }
.sun-ring-2 { width: 400px; height: 400px; border-color: rgba(245,166,35,0.05); }
.sun-ring-3 { width: 600px; height: 600px; border-color: rgba(245,166,35,0.03); }

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gutter) 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  flex: 1;
}

.hero-content {}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 74px);
  font-weight: 600;
  line-height: 1.06;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--amber);
  display: block;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  font-weight: 300;
}

/* Dashboard Mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.dashboard-mock {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  width: 340px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.mock-header {
  background: var(--navy-mid);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-dots {
  display: flex;
  gap: 5px;
}

.mock-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.mock-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  flex: 1;
  text-align: center;
}

.mock-add {
  font-size: 10px;
  color: var(--amber);
  font-weight: 600;
}

.mock-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-stat {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.mock-stat:last-child { border-right: none; }

.mock-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display);
}

.mock-stat-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mock-list { padding: 12px; display: flex; flex-direction: column; gap: 8px; }

.mock-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--navy-mid);
  border-radius: 8px;
}

.mock-lead-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}

.mock-lead-dot.active { background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.5); }

.mock-lead-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }

.mock-lead-name { font-size: 12px; font-weight: 600; color: #fff; }
.mock-lead-addr { font-size: 10px; color: var(--text-muted); }

.mock-lead-tag {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(245,166,35,0.15);
  color: var(--amber);
}

.mock-lead-tag.muted { background: rgba(255,255,255,0.06); color: var(--text-muted); }

.mock-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-progress { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }

.mock-progress-bar {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, #4ade80, var(--amber));
  border-radius: 2px;
}

.mock-footer-text { font-size: 10px; color: var(--text-muted); text-align: center; }

/* Bottom bar */
.hero-bottom-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
}

.bar-sep { color: var(--amber); opacity: 0.5; }

/* =====================
   SERVICES
   ===================== */
.services {
  background: var(--surface);
  color: var(--navy);
  padding: 100px 0;
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.services .section-label { color: #f5a623; }
.services .section-headline { color: var(--navy); }
.services .section-headline em { color: var(--amber); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #e8edf4;
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  padding: 40px 36px;
  transition: background 0.2s;
}

.service-card:hover { background: var(--surface-tint); }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--amber-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 14px;
  color: #5a7184;
  line-height: 1.65;
  font-weight: 400;
}

/* =====================
   PROCESS
   ===================== */
.process {
  background: var(--navy);
  padding: 100px 0;
}

.process-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--amber);
  opacity: 0.3;
  line-height: 1;
}

.step-line {
  height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, transparent 100%);
  width: 100%;
  opacity: 0.2;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =====================
   CREDENTIALS
   ===================== */
.credentials {
  background: var(--navy-mid);
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.credentials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.credential-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.credential-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.credential-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.credential-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials {
  background: var(--surface);
  padding: 100px 0;
}

.testimonials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.testimonials .section-label { color: #f5a623; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--surface-tint);
  border: 1px solid #e8edf4;
  border-radius: 16px;
  padding: 36px;
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--amber);
  opacity: 0.3;
  line-height: 0.8;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 15px;
  color: #3d5468;
  line-height: 1.7;
  margin-bottom: 28px;
}

.testimonial-author { display: flex; flex-direction: column; gap: 4px; }

.author-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.author-role { font-size: 12px; color: #8aa8bf; }

/* =====================
   CLOSING STATEMENT
   ===================== */
.closing {
  background: var(--navy);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.closing h2 em { font-style: italic; color: var(--amber); }

.closing p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 60px;
  line-height: 1.7;
  font-weight: 300;
}

/* Sun Art */
.art-sun {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-core {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle, #f5a623 0%, rgba(245,166,35,0.5) 100%);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(245,166,35,0.4);
  position: relative;
  z-index: 2;
}

.art-ray {
  position: absolute;
  width: 2px;
  height: 40px;
  background: linear-gradient(to top, rgba(245,166,35,0.6), transparent);
  border-radius: 1px;
  top: 50%;
  left: 50%;
  transform-origin: center bottom;
}

.art-ray:nth-child(1) { transform: translate(-50%, -100%) rotate(0deg) translateY(-8px); }
.art-ray:nth-child(2) { transform: translate(-50%, -100%) rotate(45deg) translateY(-8px); }
.art-ray:nth-child(3) { transform: translate(-50%, -100%) rotate(90deg) translateY(-8px); }
.art-ray:nth-child(4) { transform: translate(-50%, -100%) rotate(135deg) translateY(-8px); }
.art-ray:nth-child(5) { transform: translate(-50%, -100%) rotate(180deg) translateY(-8px); }
.art-ray:nth-child(6) { transform: translate(-50%, -100%) rotate(225deg) translateY(-8px); }
.art-ray:nth-child(7) { transform: translate(-50%, -100%) rotate(270deg) translateY(-8px); }
.art-ray:nth-child(8) { transform: translate(-50%, -100%) rotate(315deg) translateY(-8px); }

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.footer-tagline { font-size: 13px; color: var(--text-muted); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-bottom-bar { font-size: 11px; gap: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .credentials-inner { gap: 32px; }
  .credential-divider { display: none; }
}

@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero-headline { font-size: 36px; }
  .closing h2 { font-size: 28px; }
}