/* Pay Hours Tracker — marketing site */
:root {
  --bg-deep: #050a10;
  --bg-mid: #0c1520;
  --surface: rgba(12, 24, 36, 0.72);
  --surface-2: rgba(20, 40, 58, 0.45);
  --border: rgba(120, 200, 220, 0.14);
  --text: #e8f4f8;
  --muted: rgba(200, 230, 240, 0.62);
  --accent: #2dd4bf;
  --accent-dim: #14b8a6;
  --accent-glow: rgba(45, 212, 191, 0.35);
  --warn: #f97316;
  --danger: #ef4444;
  --radius: 18px;
  --radius-lg: 28px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(45, 212, 191, 0.12), transparent 50%),
    radial-gradient(900px 500px at 95% 20%, rgba(56, 189, 248, 0.1), transparent 45%),
    radial-gradient(800px 400px at 50% 100%, rgba(20, 184, 166, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 40%, #060d14 100%);
  background-attachment: fixed;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover { color: #5eead4; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 10, 16, 0.75);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand:hover { color: var(--text); opacity: 0.92; }

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 24px var(--accent-glow);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  padding: 8px 4px;
}

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

.nav a.active {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #041016;
  box-shadow: 0 12px 36px var(--accent-glow);
}

.btn-primary:hover {
  color: #041016;
  box-shadow: 0 16px 44px rgba(45, 212, 191, 0.45);
}

.btn-ghost {
  background: rgba(232, 244, 248, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(232, 244, 248, 0.1);
  color: var(--text);
}

/* Hero */
.hero {
  padding: clamp(48px, 10vw, 100px) 0 clamp(40px, 6vw, 72px);
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  background: linear-gradient(135deg, #fff 0%, #a5f3fc 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  margin: 0 auto 32px;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 48px;
}

/* Screenshot strip */
.shot-strip-wrap {
  margin-top: 8px;
  padding: 0 0 8px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.shot-strip {
  display: flex;
  gap: 20px;
  padding: 20px 24px 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.shot-strip::-webkit-scrollbar { height: 6px; }
.shot-strip::-webkit-scrollbar-thumb {
  background: rgba(45, 212, 191, 0.35);
  border-radius: 99px;
}

.shot-frame {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: min(260px, 72vw);
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.15), rgba(56, 189, 248, 0.06));
  border: 1px solid var(--border);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  vertical-align: middle;
}

.shot-hint {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: clamp(48px, 7vw, 88px) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(45, 212, 191, 0.22);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}

.card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* CTA band */
.cta-band {
  margin: 20px 0 0;
  padding: clamp(40px, 6vw, 56px);
  text-align: center;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.14), rgba(56, 189, 248, 0.08));
  border: 1px solid var(--border);
}

.cta-band h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.cta-band p {
  margin: 0 0 22px;
  color: var(--muted);
}

/* Prose (privacy) */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  font-family: var(--font-display);
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.prose ul { padding-left: 1.25rem; }

.prose strong { color: var(--text); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.2);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.footer-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 14px;
  font-weight: 600;
}

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

.footer-links .danger-link { color: var(--accent); opacity: 0.92; }
.footer-links .danger-link:hover { color: #5eead4; opacity: 1; }

/* Delete account page — same ocean theme as the rest of the site */
.delete-hero {
  padding: 56px 0 52px;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(45, 212, 191, 0.18), transparent 55%),
    radial-gradient(800px 380px at 88% 25%, rgba(56, 189, 248, 0.14), transparent 52%),
    linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(13, 148, 136, 0.08));
  border-bottom: 1px solid var(--border);
}

.delete-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, #a5f3fc 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.delete-hero .sub {
  margin: 0;
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.55;
}

.form-card {
  background: rgba(15, 23, 34, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  max-width: 480px;
}

.form-card label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-card input[type="email"],
.form-card input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  background: rgba(232, 238, 247, 0.06);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.15s;
}

.form-card input:focus {
  border-color: rgba(232, 238, 247, 0.3);
}

/* Final destructive action — visually strong but on-brand (teal, not red) */
.btn.danger {
  border: 1px solid rgba(45, 212, 191, 0.45);
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #041016;
  box-shadow: 0 12px 32px var(--accent-glow);
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.btn.danger:hover {
  color: #041016;
  box-shadow: 0 16px 40px rgba(45, 212, 191, 0.45);
  opacity: 0.96;
}

.alert-error {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 14px;
  padding: 12px 16px;
  color: #fde68a;
  font-size: 14px;
  margin-bottom: 16px;
}

.alert-success {
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.32);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  max-width: 480px;
}

.alert-success h2 { margin: 0 0 10px; font-size: 22px; font-family: var(--font-display); }
.alert-success p { margin: 0; color: var(--muted); line-height: 1.55; }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: #0f1722;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 22px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.modal-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.modal-box h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.modal-box p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.modal-actions .btn {
  flex: 1;
  padding: 12px;
  font-size: 15px;
  cursor: pointer;
  border: none;
}

.modal-actions .btn.ghost { background: rgba(232, 238, 247, 0.08); color: var(--text); }
.modal-actions .btn.danger {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #041016;
  font-weight: 800;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.modal-actions .btn.danger:hover { color: #041016; opacity: 0.95; }

@media (max-width: 520px) {
  .nav {
    width: 100%;
    justify-content: flex-end;
  }
}
