/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0A0A0A;
  --surface:  #121212;
  --surface2: #1A1A1A;
  --border:   #2a2a2a;
  --text:     #FFFFFF;
  --muted:    #A0A0A0;
  --accent:   #C6A769;
  --accent2:  #e0c080;
  --font:     'Nunito', sans-serif;
  --radius:   14px;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================
   NAV
   ===================== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background var(--transition), backdrop-filter var(--transition);
}

#nav.scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a { color: var(--muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--text); }

.btn-nav {
  background: var(--accent) !important;
  color: #000 !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: opacity var(--transition) !important;
}
.btn-nav:hover { opacity: 0.85; }

/* =====================
   HERO
   ===================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 64px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 48px;
  overflow: hidden;
}

.parallax-bg {
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(198,167,105,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(198,167,105,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero-glow {
  position: absolute;
  top: 20%;
  right: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(198,167,105,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(198,167,105,0.12);
  border: 1px solid rgba(198,167,105,0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 28px;
}

h1 {
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 420px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  letter-spacing: -0.01em;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }

/* Watch illustration */
.hero-watch {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.watch-band-top, .watch-band-bottom {
  width: 72px;
  background: #1e1e1e;
  border: 1px solid #333;
}

.watch-band-top {
  height: 80px;
  border-radius: 8px 8px 0 0;
  order: -1;
}

.watch-band-bottom {
  height: 90px;
  border-radius: 0 0 8px 8px;
}

.watch-frame {
  width: 180px;
  height: 210px;
  background: #111;
  border-radius: 52px;
  border: 2px solid #333;
  box-shadow:
    0 0 0 1px #000,
    0 0 60px rgba(198,167,105,0.12),
    inset 0 0 0 1px #222;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.watch-screen {
  width: 152px;
  height: 182px;
  border-radius: 44px;
  background: #0a0a0a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.watch-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 44px;
}

.watch-placeholder {
  position: absolute;
  font-size: 52px;
  opacity: 0.15;
}

.watch-screen img + .watch-placeholder { display: none; }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bounce 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =====================
   SECTION SHARED
   ===================== */
section { padding: 100px 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 56px;
}

/* =====================
   HOW IT WORKS
   ===================== */
#how { background: var(--surface); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.step-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, rgba(198,167,105,0.4), rgba(198,167,105,0.1));
  margin-top: 56px;
  flex-shrink: 0;
}

.step-number {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(198,167,105,0.08);
  border: 1px solid rgba(198,167,105,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

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

/* =====================
   FEATURES
   ===================== */
#features { background: var(--bg); }

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(198,167,105,0.35);
  transform: translateY(-3px);
}

.feature-card i {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

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

/* =====================
   SCREENSHOTS
   ===================== */
#screenshots { background: var(--surface); }

.screenshots-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-end;
}

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

.screenshot-item p {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.ss-watch-frame {
  width: 130px;
  height: 154px;
  background: #111;
  border-radius: 38px;
  border: 2px solid #2a2a2a;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ss-watch-frame:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 60px rgba(198,167,105,0.12), 0 0 0 1px #333;
}

.ss-watch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

.ss-placeholder {
  position: absolute;
  font-size: 36px;
  opacity: 0.12;
}

.ss-watch-frame:not(.empty) .ss-placeholder { display: none; }
.ss-watch-frame.empty img { display: none; }

/* Alternating heights for visual interest */
.screenshot-item:nth-child(2) .ss-watch-frame,
.screenshot-item:nth-child(4) .ss-watch-frame {
  width: 140px;
  height: 166px;
}

/* =====================
   CONTACT
   ===================== */
#contact { background: var(--bg); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-text h2 { margin-bottom: 16px; }

.contact-text p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.contact-detail i { color: var(--accent); }

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input, textarea {
  font-family: var(--font);
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}

input::placeholder, textarea::placeholder { color: #555; }
input:focus, textarea:focus { border-color: rgba(198,167,105,0.5); }

.form-msg {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  display: none;
}

.form-msg.success { background: rgba(46,204,113,0.1); color: #2ecc71; display: block; }
.form-msg.error   { background: rgba(231,76,60,0.1);  color: #e74c3c;  display: block; }

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
}

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

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

/* =====================
   LEGAL MODAL
   ===================== */
#legal-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#legal-modal.open {
  opacity: 1;
  pointer-events: all;
}

.legal-modal-inner {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.2s ease;
}

#legal-modal.open .legal-modal-inner { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--border);
  border: none;
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--surface); color: var(--text); }

#legal-modal-content h2 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

#legal-modal-content em {
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
  display: block;
  margin-bottom: 28px;
}

#legal-modal-content h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 24px 0 8px;
}

#legal-modal-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 8px;
}

/* =====================
   REVEAL ANIMATION
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  #hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
  }

  .hero-sub { margin: 0 auto 40px; }
  .hero-cta { justify-content: center; }

  .steps { flex-direction: column; align-items: center; }
  .step-line { width: 1px; height: 40px; background: linear-gradient(180deg, rgba(198,167,105,0.4), transparent); margin: 0; }

  .features-grid { grid-template-columns: 1fr 1fr; }

  .screenshots-row { gap: 16px; flex-wrap: wrap; }

  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  .nav-links a:not(.btn-nav) { display: none; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  h1 { font-size: 48px; }
}
