/* =============================================
   CAMZEY THEME — main.css v3.0
   Layout matches camzey.online structure
   Palette: coral/orange instead of blue
============================================= */

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

:root {
  --clr-primary:  #FF5C3A;
  --clr-accent:   #FF8A4C;
  --clr-bg:       #FFFFFF;
  --clr-surface:  #F8F8F8;
  --clr-border:   #EBEBEB;
  --clr-text:     #0D0D0D;
  --clr-muted:    #6B7280;
  --clr-white:    #FFFFFF;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,.10);
  --shadow-card:  0 16px 48px rgba(0,0,0,.12);
  --font-main:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;
  --max-w:        1200px;
  --nav-h:        64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--clr-bg);
  color: var(--clr-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Button ──────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 50px;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(255,92,58,.35);
}
.btn-primary:hover {
  background: var(--clr-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,92,58,.45);
}
.btn-primary:active { transform: translateY(0); }

/* ── Live dot ────────────────────────────── */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
.live-dot.small { width: 6px; height: 6px; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,.0); }
}

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--clr-text);
  flex-shrink: 0;
}
.nav-logo em { color: var(--clr-primary); font-style: normal; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-muted);
  transition: color .15s;
}
.nav-links a:hover { color: var(--clr-primary); }
.nav-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-muted);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  padding-top: calc( var(--nav-h) + 72px );
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-muted);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--clr-text);
  margin-bottom: 20px;
}
.hero-title-accent { color: var(--clr-primary); }
.hero-sub {
  font-size: 17px;
  color: var(--clr-muted);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 36px;
}
.stats-strip {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 40px;
  border-top: 1px solid var(--clr-border);
  padding-top: 28px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--clr-border);
}
.stat-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-item strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--clr-text);
}
.stat-item span { font-size: 12px; color: var(--clr-muted); margin-top: 1px; }

/* ── Photo cards ─────────────────────────── */
.hero-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  position: relative;
}
/* Stagger rows so middle column drops slightly — matching reference */
.hero-photos .photo-card:nth-child(2),
.hero-photos .photo-card:nth-child(5) { margin-top: 24px; }

.photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.photo-card:hover img { transform: scale(1.04); }
.photo-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 50px;
}
.photo-label em { color: #22C55E; font-style: normal; font-weight: 700; font-size: 10px; }

/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
.section-how {
  padding: 96px 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -.8px;
  color: var(--clr-text);
  margin-bottom: 56px;
  max-width: 560px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--clr-primary);
  margin-bottom: 16px;
  opacity: .7;
}
.step-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255,92,58,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  margin-bottom: 20px;
}
.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.3px;
}
.step-card p {
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.65;
}
.step-arrow {
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--clr-border);
  font-weight: 300;
  z-index: 2;
}
.step-arrow.last { display: none; }

/* ══════════════════════════════════════════
   FEATURES
══════════════════════════════════════════ */
.section-features {
  padding: 96px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255,92,58,.08);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.2px;
}
.feature-card p {
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════ */
.section-cta {
  padding: 96px 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
}
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.8px;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 17px;
  color: var(--clr-muted);
  margin-bottom: 36px;
  line-height: 1.65;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--clr-border);
  padding: 40px 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.4px;
}
.footer-logo em { color: var(--clr-primary); font-style: normal; }
.footer-links {
  display: flex;
  gap: 20px;
  margin-right: auto;
}
.footer-links a {
  font-size: 13px;
  color: var(--clr-muted);
  transition: color .15s;
}
.footer-links a:hover { color: var(--clr-primary); }
.footer-copy {
  font-size: 13px;
  color: var(--clr-muted);
}

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-photos { grid-template-columns: repeat(3, 1fr); }
  .steps-grid  { grid-template-columns: 1fr; gap: 16px; }
  .step-arrow  { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
══════════════════════════════════════════ */
@media (max-width: 600px) {
  .hero { padding-top: calc( var(--nav-h) + 40px ); padding-bottom: 48px; }
  .hero-photos { grid-template-columns: repeat(2, 1fr); }
  .hero-photos .photo-card:nth-child(2),
  .hero-photos .photo-card:nth-child(5) { margin-top: 0; }
  .stats-strip { gap: 16px 0; }
  .stat-item { border-right: none; margin-right: 0; padding-right: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { margin-right: 0; flex-wrap: wrap; gap: 12px; }
  .nav-live { display: none; }
  .btn-primary { width: 100%; justify-content: center; }
  .hero-sub { max-width: 100%; }
}

/* ── Accessibility ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
