/* ============================================
   ZOE DIGITAL — style.css
   Clean contemporary light theme
   Syne display · Inter body · coral accent
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

::selection {
  background: rgba(232, 75, 58, 0.15);
  color: #0D0D0D;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #F7F5F0; }
::-webkit-scrollbar-thumb { background: #E8E4DA; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #E84B3A; }

/* ── Typography ── */
body { font-family: 'Inter', system-ui, sans-serif; }

/* ── Ticker ── */
.ticker-bar { font-family: 'JetBrains Mono', monospace; }

.ticker-track { user-select: none; }
.ticker-track:hover .ticker-inner { animation-play-state: paused; }

/* ── Navbar ── */
#navbar {
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-link {
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E84B3A;
  border-radius: 1px;
  transition: width 0.3s ease;
}
.nav-link:hover { color: #0D0D0D; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: #E84B3A; }

/* Hamburger open state */
#menu-toggle.open .ham-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#menu-toggle.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#menu-toggle.open .ham-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 24px; margin-left: 0; }

/* ── Buttons ── */
.btn-coral {
  background: #E84B3A;
  color: #fff;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(232, 75, 58, 0.3);
}
.btn-coral:hover {
  background: #FF6B5B;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 75, 58, 0.35);
}
.btn-coral:active { transform: translateY(0); }

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid rgba(13, 13, 13, 0.2);
  color: #0D0D0D;
  transition: all 0.2s;
}
.btn-outline-dark:hover {
  border-color: #E84B3A;
  color: #E84B3A;
  transform: translateY(-2px);
}

/* ── Hero ── */
.browser-mock { border: 1.5px solid rgba(0,0,0,0.1); }

/* ── Tags / section labels ── */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E84B3A;
  border: 1.5px solid rgba(232, 75, 58, 0.25);
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(232, 75, 58, 0.06);
  font-family: 'JetBrains Mono', monospace;
}

.tag-light {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FF6B5B;
  border: 1.5px solid rgba(255, 107, 91, 0.3);
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(255, 107, 91, 0.1);
  font-family: 'JetBrains Mono', monospace;
}

/* ── Why cards ── */
.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(232, 75, 58, 0.08);
  border: 1.5px solid rgba(232, 75, 58, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.quote-block {
  background: linear-gradient(135deg, rgba(232,75,58,0.05) 0%, rgba(247,245,240,0) 100%);
  border: 1.5px solid rgba(232,75,58,0.12);
  border-radius: 1.5rem;
}

/* ── About ── */
.about-stat-card {
  transition: transform 0.25s ease;
}
.about-stat-card:hover { transform: translateY(-3px); }

/* ── Portfolio ── */
.portfolio-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #4A4A5A;
  background: rgba(0,0,0,0.05);
  border-radius: 99px;
  padding: 2px 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

/* ── Pricing ── */
.pricing-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.15);
}

.instalment-step {
  transition: border-color 0.2s, transform 0.2s;
}
.instalment-step:hover {
  border-color: rgba(232, 75, 58, 0.3);
  transform: translateY(-2px);
}

/* ── Process ── */
.process-card {
  transition: transform 0.25s ease;
}
.process-card:hover { transform: translateY(-4px); }

/* ── FAQ ── */
.faq-item {
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item.open {
  border-color: rgba(232, 75, 58, 0.25);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a { transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-a.open { max-height: 400px; }

.faq-q:focus-visible { outline: 2px solid rgba(232,75,58,0.4); outline-offset: 2px; border-radius: 1rem; }

/* ── Contact form ── */
.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #9090A0;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-input {
  background: #F7F5F0;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 0.75rem;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: #0D0D0D;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input::placeholder { color: rgba(144, 144, 160, 0.6); }
.form-input:focus {
  border-color: rgba(232, 75, 58, 0.45);
  box-shadow: 0 0 0 3px rgba(232, 75, 58, 0.08);
}

.payment-opt input:checked + .pay-btn {
  border-color: rgba(232, 75, 58, 0.5);
  background: rgba(232, 75, 58, 0.06);
  color: #E84B3A;
}
.pay-btn { transition: border-color 0.2s, background 0.2s; }
.pay-btn:hover { border-color: rgba(232, 75, 58, 0.3); }

/* ── Contact links ── */
.contact-link { transition: border-color 0.2s, transform 0.2s; }
.contact-link:hover { transform: translateX(3px); }

/* ── WhatsApp FAB ── */
#wa-fab:hover .wa-tip { opacity: 1; }
#wa-fab { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }

/* ── Scroll reveal ── */
.reveal,
.reveal-card,
.section-header {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible,
.reveal-card.visible,
.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger cards in a grid */
.why-card:nth-child(2)  { transition-delay: 0.07s; }
.why-card:nth-child(3)  { transition-delay: 0.14s; }
.why-card:nth-child(4)  { transition-delay: 0.07s; }
.why-card:nth-child(5)  { transition-delay: 0.14s; }
.why-card:nth-child(6)  { transition-delay: 0.21s; }
.process-card:nth-child(2) { transition-delay: 0.08s; }
.process-card:nth-child(3) { transition-delay: 0.16s; }
.process-card:nth-child(4) { transition-delay: 0.24s; }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 88px;
  right: 1.5rem;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: #0D0D0D;
  color: #F7F5F0;
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  transform: translateY(16px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  max-width: 260px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── Focus ── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(232, 75, 58, 0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .text-stroke { -webkit-text-stroke-width: 1.5px; }
}
