/* PageTimer marketing page.
   Palette: amber primary, blue accent, light theme. */

:root {
  --foreground: #1a1a2e;
  --background:  #ffffff;
  --primary:     #ffbf00; /* amber / gold */
  --primary-dim: #cc9900;
  --secondary:   #807040; /* bronze */
  --tertiary:    #007eff; /* blue */
  --accent:      #2400ff; /* deep blue */

  --ink-soft:    #4b4b63;
  --ink-muted:   #6b6b85;
  --line:        #ececf1;
  --surface:     #ffffff;
  --surface-alt: #faf9f7;

  --grad-accent: linear-gradient(135deg, #007eff, #2400ff);
  --grad-gold:   linear-gradient(135deg, #ffbf00, #ffd24d);
  --radius:      16px;
  --radius-sm:   12px;
  --shadow-sm:   0 1px 2px rgba(26, 26, 46, 0.06), 0 4px 16px rgba(26, 26, 46, 0.05);
  --shadow-md:   0 10px 30px rgba(26, 26, 46, 0.10);
  --shadow-blue: 0 18px 40px rgba(36, 0, 255, 0.18);

  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.94; }
.btn-ghost {
  background: #fff;
  color: var(--foreground);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: #d9d9e3; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark {
  position: relative;
  display: inline-block;
  font-weight: 800;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.035em;
  background: linear-gradient(95deg, #007EFF 0%, #2400FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.wordmark .spark {
  position: absolute;
  top: -7px;
  left: -5px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: 15px; transition: color 0.15s; }
.nav-links a:hover { color: var(--foreground); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 92px 0 80px;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(255, 191, 0, 0.10), transparent 70%),
    radial-gradient(55% 55% at 100% 10%, rgba(0, 126, 255, 0.10), transparent 70%),
    #fff;
  overflow: hidden;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fffbeb;
  border: 1px solid rgba(255, 191, 0, 0.4);
  color: var(--primary-dim);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 16ch;
}
.hero h1 .grad { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead {
  margin-top: 22px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 56ch;
}
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.trust {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
}
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .tick { color: var(--tertiary); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 56px;
}
.hero-copy { min-width: 0; }
.hero-visual {
  min-width: 0;
  display: grid;
  place-items: center;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -10% 10% 20%;
  background: var(--grad-accent);
  filter: blur(90px);
  opacity: 0.18;
  border-radius: 50%;
  z-index: 0;
}
.shot {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  background: #0f0f12;
  padding: 10px;
  border: 1px solid rgba(26, 26, 46, 0.08);
  box-shadow: var(--shadow-md);
}
.shot img { border-radius: 10px; width: 100%; }
.shot--hero { width: 100%; max-width: 440px; }

/* ── Section scaffolding ─────────────────────────────────── */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head .kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--tertiary);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.12;
}
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }

/* ── Features ────────────────────────────────────────────── */
.features { background: var(--surface-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #e0e0ea; }
.feature .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: #fff;
}
.ic-gold { background: var(--grad-gold); color: #1a1a2e; }
.ic-blue { background: var(--grad-accent); }
.feature h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.feature p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }

/* ── How it works ────────────────────────────────────────── */
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}
.step:last-child { margin-bottom: 0; }
.step:nth-child(even) .step-media { order: -1; }
.step-num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid rgba(255, 191, 0, 0.45);
  color: var(--primary-dim);
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; font-weight: 800; }
.step p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; max-width: 46ch; }
.step-media {
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 70% at 50% 0%, rgba(0, 126, 255, 0.10), transparent 70%),
    var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
}
.step-media .shot { box-shadow: var(--shadow-md); }

/* ── Privacy band ────────────────────────────────────────── */
.privacy {
  background:
    radial-gradient(50% 120% at 0% 50%, rgba(255, 191, 0, 0.12), transparent 60%),
    radial-gradient(50% 120% at 100% 50%, rgba(0, 126, 255, 0.10), transparent 60%),
    #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.privacy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.privacy h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; font-weight: 800; line-height: 1.15; }
.privacy h2 .hl { color: var(--primary-dim); }
.privacy p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.privacy ul { list-style: none; display: grid; gap: 14px; }
.privacy li {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.privacy li .check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center; background: var(--grad-accent); color: #fff;
}
.privacy li b { font-weight: 700; }
.privacy li span.txt { color: var(--ink-soft); font-size: 15px; }

/* ── Final CTA ───────────────────────────────────────────── */
.cta-final { text-align: center; }
.cta-card {
  background: var(--grad-accent);
  border-radius: 28px;
  padding: 64px 32px;
  color: #fff;
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
}
.cta-card::after {
  content: '';
  position: absolute; inset: auto -10% -60% -10%; height: 80%;
  background: radial-gradient(50% 100% at 50% 0%, rgba(255, 191, 0, 0.5), transparent 70%);
  opacity: 0.35;
}
.cta-card h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; position: relative; }
.cta-card p { margin-top: 14px; font-size: 18px; opacity: 0.92; position: relative; }
.cta-card .btn { margin-top: 30px; position: relative; }
.cta-card .btn-on-blue { background: #fff; color: var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.cta-card .btn-on-blue:hover { transform: translateY(-2px); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { padding: 44px 0; border-top: 1px solid var(--line); background: var(--surface-alt); }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  flex-wrap: wrap;
}
.footer-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: color 0.15s; }
.footer-links a:hover { color: var(--foreground); }
.footer-coffee {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--grad-gold);
  color: #1a1a2e !important;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.footer-coffee:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
}
.footer-copy { color: var(--ink-muted); font-size: 14px; }
.footer-by { color: var(--ink-muted); font-size: 14px; }
.footer-by a { color: var(--ink-soft); font-weight: 600; }
.footer-by a:hover { color: var(--tertiary); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { padding: 76px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-visual { margin-top: 4px; }
  .shot--hero { margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .step { gap: 32px; margin-bottom: 56px; }
  .step, .privacy-inner { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-media { order: 0; }
  .step-media { padding: 28px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  section { padding: 60px 0; }
  .hero { padding: 56px 0 48px; }
  .wrap { padding: 0 18px; }
  .nav { height: 60px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .btn-lg { padding: 15px 24px; }
  .trust { gap: 14px; }
  .step-media { padding: 20px; }
  .cta-card { padding: 48px 22px; border-radius: 22px; }
}
