/* =========================================
   CallSquad — Dark + Yellow Theme
   ========================================= */

:root {
  --bg: #0f0f0f;
  --bg-2: #161616;
  --bg-3: #1e1e1e;
  --fg: #f5f5f0;
  --fg-muted: #9e9e9e;
  --yellow: #FFD700;
  --yellow-dim: rgba(255, 215, 0, 0.12);
  --border: rgba(255, 215, 0, 0.15);
  --radius: 4px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--yellow);
}

.nav-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- HERO ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: 80px 48px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-inner {}

.hero-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.yellow { color: var(--yellow); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.stat {
  flex: 1;
  padding: 24px 20px;
  border: 1px solid var(--border);
}

.stat:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stat:last-child { border-radius: 0 var(--radius) var(--radius) 0; }

.stat-divider {
  width: 1px;
  background: var(--border);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--yellow);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.calendar-widget {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.cw-header {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.cw-slots { display: flex; flex-direction: column; gap: 10px; }

.cw-slot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--bg-3);
  border: 1px solid var(--border);
}

.cw-slot.booked { border-color: rgba(255,215,0,0.2); }
.cw-slot.open { border-color: rgba(255,255,255,0.06); }

.slot-time {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--fg-muted);
  min-width: 64px;
}

.slot-info { flex: 1; }

.slot-name {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.slot-type {
  font-size: 0.72rem;
  color: var(--fg-muted);
}

.slot-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(255,215,0,0.15);
  color: var(--yellow);
}

.open-badge { background: rgba(255,255,255,0.06); color: var(--fg-muted); }

.cw-footer {
  margin-top: 16px;
  font-size: 0.68rem;
  color: var(--fg-muted);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---- SHARED SECTION STYLES ---- */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

/* ---- PROBLEM ---- */
.problem {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 48px;
}

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

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

.problem-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.problem-quote {
  font-size: 1rem;
  color: var(--fg-muted);
  font-style: italic;
  padding-left: 24px;
  border-left: 3px solid var(--yellow);
  line-height: 1.7;
}

.quote-attr {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-style: normal;
  opacity: 0.6;
}

/* ---- HOW ---- */
.how { padding: 96px 48px; }

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

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 56px;
}

.how-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.how-step:first-child { border-top: 1px solid var(--border); }

.step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--yellow);
  opacity: 0.3;
  line-height: 1;
  padding-top: 4px;
}

.step-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-body p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.step-tools {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  opacity: 0.7;
}

/* Flow diagram */
.how-diagram { padding: 32px 0; }

.diagram-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.diagram-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-2);
}

.diagram-node.dn-highlight {
  border-color: var(--yellow);
  background: var(--yellow-dim);
}

.dn-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dn-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.diagram-arrow { display: flex; align-items: center; }

/* ---- NICHES ---- */
.niches {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 48px;
}

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

.niches-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

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

.niche-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  transition: border-color 0.2s;
}

.niche-card:hover { border-color: rgba(255,215,0,0.4); }

.niche-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.niche-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.niche-detail {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.niche-pitch {
  font-size: 0.78rem;
  color: var(--yellow);
  font-style: italic;
  border-left: 2px solid var(--yellow);
  padding-left: 12px;
  line-height: 1.5;
  opacity: 0.85;
}

/* ---- TESTIMONIAL ---- */
.testimonial {
  padding: 96px 48px;
  background: var(--bg);
}

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

.tq-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--yellow);
  line-height: 0.6;
  margin-bottom: 24px;
  opacity: 0.4;
}

blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.tq-attr {}

.tq-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.tq-role {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.testimonial-metrics {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tm-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.tm-item:first-child { border-top: 1px solid var(--border); }

.tm-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--yellow);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
  line-height: 1;
}

.tm-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- CLOSING ---- */
.closing {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 96px 48px;
}

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

.closing-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.closing-timeline {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  text-align: left;
}

.tl-item {
  flex: 1;
  padding: 24px;
  border: 1px solid var(--border);
}

.tl-item:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.tl-item:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.tl-item:not(:first-child):not(:last-child) { border-left: none; }

.tl-week {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.tl-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.closing-pitch {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.closing-pitch p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-style: italic;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--yellow);
  letter-spacing: -0.02em;
}

.footer-desc {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.footer-links {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.link-sep { color: var(--border); }

.footer-copy {
  font-size: 0.7rem;
  color: var(--fg-muted);
  opacity: 0.4;
  margin-top: 8px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .niches-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .testimonial-inner { grid-template-columns: 1fr; gap: 40px; }
  .problem-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 48px 24px; }
  .hero-stats { flex-direction: column; }
  .stat-divider { width: 100%; height: 1px; }
  .how { padding: 64px 24px; }
  .how-step { grid-template-columns: 1fr; gap: 12px; }
  .step-number { font-size: 1.5rem; }
  .niches { padding: 64px 24px; }
  .niches-grid { grid-template-columns: 1fr; }
  .closing-timeline { flex-direction: column; }
  .tl-item:not(:first-child) { border-left: 1px solid var(--border); }
  .tl-item:not(:first-child):not(:last-child) { border-left: 1px solid var(--border); border-top: none; }
  .diagram-flow { flex-wrap: wrap; }
  .diagram-arrow { display: none; }
  .problem { padding: 64px 24px; }
  .testimonial { padding: 64px 24px; }
  .closing { padding: 64px 24px; }
  .footer { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .nav-tagline { display: none; }
  .hero-headline { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .closing-headline { font-size: 1.8rem; }
}