/* ══════════════════════════════════════════════════
   MODA Watches — Global Stylesheet
   Shared tokens, reset, nav, footer, animations
   ══════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #181818;
  --bg-card: #fafaf9;
  --bg-card-hover: #ffffff;
  --emerald: #0d6b4e;
  --emerald-light: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.12);
  --emerald-subtle: rgba(16, 185, 129, 0.06);
  --text-primary: #f5f5f4;
  --text-secondary: #a8a29e;
  --text-muted: #78716c;
  --text-dark: #1c1917;
  --text-dark-secondary: #57534e;
  --border-subtle: rgba(255,255,255,0.06);
  --border-card: rgba(0,0,0,0.04);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.1);
  --shadow-emerald: 0 0 40px rgba(16, 185, 129, 0.08);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Layout ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

/* ── Shared Components ── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--emerald-light);
  opacity: 0.5;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.25), var(--emerald-light), rgba(16, 185, 129, 0.25), transparent);
  border: none;
  margin: 0;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.04em; color: #fff; background: var(--emerald);
  border: none; padding: 15px 34px; border-radius: 8px; cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden; text-decoration: none;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.35s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(13, 107, 78, 0.3); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 400;
  color: var(--text-secondary); background: none; border: none;
  cursor: pointer; padding: 15px 8px; transition: color 0.3s ease;
  letter-spacing: 0.02em; text-decoration: none;
}
.btn-secondary:hover { color: var(--text-primary); }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Page Hero (shared sub-page layout) ── */
.page-hero {
  text-align: center;
  padding: 140px 24px 48px;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.04) 0%, transparent 65%);
  pointer-events: none;
}
.page-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--emerald-light);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 8px 20px;
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 4px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero h1 em { font-style: italic; color: var(--emerald-light); }
.page-hero-sub {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-hero-cta {
  margin-top: 36px;
}

/* ── Animations ── */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeUp 0.9s ease both; }
.fade-in-1 { animation: fadeUp 0.9s 0.1s ease both; }
.fade-in-2 { animation: fadeUp 0.9s 0.2s ease both; }
.fade-in-3 { animation: fadeUp 0.9s 0.3s ease both; }

/* ══════════════════════════════════
   NAVIGATION
   ══════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s ease;
  background: transparent;
}
nav.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--text-primary); text-decoration: none;
  display: flex; align-items: baseline;
}
.nav-logo-accent { color: var(--emerald-light); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.04em;
  color: var(--text-secondary); text-decoration: none;
  transition: color 0.3s ease; position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--emerald-light);
  transform: scaleX(0); transition: transform 0.3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  font-size: 0.8rem !important; font-weight: 500 !important;
  color: var(--emerald-light) !important;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 8px 22px; border-radius: 6px; transition: all 0.3s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.4); }

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
footer { padding: 64px 0 48px; }

.footer-top {
  text-align: center;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-slogan {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--emerald-light);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}
.footer-social a:hover {
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--emerald-light);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; }
.footer-brand-accent { color: var(--emerald-light); }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 0.82rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; }
.footer-col ul a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 32px; border-top: 1px solid var(--border-subtle); flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 0.72rem; color: var(--text-muted); }
.footer-disclaimer { font-size: 0.68rem; color: var(--text-muted); line-height: 1.6; opacity: 0.55; padding-bottom: 24px; max-width: 680px; }
.footer-policies { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.footer-policies a { font-size: 0.72rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; }
.footer-policies a:hover { color: var(--text-secondary); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.72rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; }
.footer-legal a:hover { color: var(--text-secondary); }

/* ══════════════════════════════════
   SHARED BUTTONS (extended)
   ══════════════════════════════════ */
.btn-em {
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.04em;
  color: #0a0a0a; background: var(--emerald-light); padding: 14px 32px; border-radius: 8px;
  border: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
  gap: 8px; transition: all 0.3s;
}
.btn-em:hover { background: #0ea371; transform: translateY(-1px); }

.btn-outline {
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--text-primary); background: transparent; padding: 14px 32px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12); cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s;
}
.btn-outline:hover { border-color: rgba(16,185,129,0.4); color: var(--emerald-light); }

/* ══════════════════════════════════
   SHARED FORM GROUP
   ══════════════════════════════════ */
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fg label {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dark-secondary);
}

/* ══════════════════════════════════
   SHARED FAQ
   ══════════════════════════════════ */
.faq-section { padding: 96px 0; }
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start; }
.faq-left h2 { font-family: var(--font-display); font-size: clamp(40px, 4vw, 60px); font-weight: 300; color: var(--text-primary); line-height: 1; margin-bottom: 16px; }
.faq-left h2 em { font-style: italic; color: var(--emerald-light); }
.faq-left p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.8; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; padding: 22px 0;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--text-primary);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; transition: color 0.2s;
}
.faq-q:hover { color: var(--emerald-light); }
.faq-icon {
  width: 22px; height: 22px; border: 1px solid var(--border-subtle); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 14px; color: var(--emerald-light); background: var(--bg-secondary);
  font-family: var(--font-mono);
}
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.86rem; line-height: 1.9; color: var(--text-secondary);
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 22px; }

/* ══════════════════════════════════
   RESPONSIVE (shared)
   ══════════════════════════════════ */

/* ── Mobile Nav ── */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer; padding: 4px;
  flex-direction: column; gap: 5px; z-index: 101;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--text-primary);
  transition: all 0.3s ease; border-radius: 1px;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 100;
    list-style: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.06em;
  }
  .nav-links a::after { display: none; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-policies { justify-content: center; }
  .footer-legal { justify-content: center; }
}