/* 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);
}

a.card-link {
  display: block;
  text-decoration: none;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

a.card-link h3 { color: var(--text); }
a.card-link p  { color: var(--muted); }

a.card-link:hover {
  color: var(--text);
  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;
    gap: 6px 14px;
    font-size: 13px;
  }
}

/* ── Pricing page ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  position: relative;
}

.pricing-card-featured {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.2), 0 24px 60px rgba(0, 0, 0, 0.35);
}

.pricing-badge-featured {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #041016;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.pricing-per {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-duration {
  font-size: 14px;
  color: var(--muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

.pf-check {
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
  margin-top: 2px;
}

.pricing-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── What's included grid ────────────────────────────────────── */
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

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

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

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

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

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

/* ── Trust strip ─────────────────────────────────────────────── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  font-size: 20px;
}

.trust-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* ── Alternate section background ───────────────────────────── */
.section-alt {
  background: rgba(12, 24, 36, 0.45);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Hero two-column layout ──────────────────────────────────── */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text .hero-cta {
  justify-content: flex-start;
  margin-bottom: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-wrap {
  position: relative;
  width: min(280px, 80vw);
  border-radius: 36px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px var(--border),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-phone-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
}

.hero-phone-placeholder {
  aspect-ratio: 280 / 606;
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.15), rgba(56, 189, 248, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-placeholder-inner {
  text-align: center;
}

.placeholder-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.placeholder-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

/* ── Store buttons ───────────────────────────────────────────── */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.15s ease;
  text-decoration: none;
}

.btn-store:active { transform: scale(0.97); }

.btn-appstore {
  background: #000;
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.btn-appstore:hover {
  color: #fff;
  opacity: 0.88;
}

.btn-googleplay {
  background: linear-gradient(135deg, #01875f, #00c17e);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 193, 126, 0.28);
}

.btn-googleplay:hover {
  color: #fff;
  opacity: 0.9;
}

.store-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

.btn-store span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
}

.store-name {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

/* ── Who This App Is For ─────────────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

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

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

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

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

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

/* ── Feature blocks (stacked) ────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: center;
}

.feature-block-reverse {
  grid-template-columns: 360px 1fr;
  direction: rtl;
}

.feature-block-reverse > * {
  direction: ltr;
}

.feature-icon-wrap {
  font-size: 36px;
  margin-bottom: 14px;
  line-height: 1;
}

.feature-block-text h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feature-block-text p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 44ch;
}

.feature-block-shot img {
  display: block;
  width: 360px;
  height: auto;
  border-radius: 22px;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.45),
    0 0 0 1px var(--border);
}

.feature-block-shot-wide {
  flex: 1;
}

.feature-block-shot-wide img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
}

.zoomable {
  cursor: zoom-in;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.zoomable:hover {
  transform: scale(1.03);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border);
}

/* ── Why list ────────────────────────────────────────────────── */
.why-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  backdrop-filter: blur(10px);
}

.why-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.18);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Comparison table ────────────────────────────────────────── */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.compare-table thead tr {
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.compare-table th.col-feature {
  text-align: left;
}

.compare-table th.col-ours {
  color: var(--accent);
}

.compare-table tbody tr {
  border-bottom: 1px solid rgba(120, 200, 220, 0.07);
  transition: background 0.15s ease;
}

.compare-table tbody tr:last-child {
  border-bottom: none;
}

.compare-table tbody tr:hover {
  background: rgba(45, 212, 191, 0.04);
}

.compare-table td {
  padding: 14px 20px;
  text-align: center;
  color: var(--muted);
}

.compare-table td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 600;
}

.badge-yes {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(45, 212, 191, 0.18);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--accent);
}

.badge-mixed {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #fde68a;
}

.badge-no {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.22);
  color: #fca5a5;
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-quote {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  flex: 1;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* ── FAQ accordion ───────────────────────────────────────────── */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(45, 212, 191, 0.25);
}

.faq-question {
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Final CTA band ──────────────────────────────────────────── */
.cta-band-final {
  text-align: center;
}

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

.cta-band-final p {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 1.05rem;
}

/* ── Screenshot lightbox ─────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.lightbox-img {
  max-width: min(520px, 92vw);
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(232, 244, 248, 0.12);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(232, 244, 248, 0.2);
}

/* ── "See screenshot" button — mobile only ───────────────────── */
.btn-see-screenshot {
  display: none;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-see-screenshot:hover {
  background: rgba(45, 212, 191, 0.2);
}

/* ── Responsive overrides ────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-text {
    align-items: center;
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-text .hero-cta {
    justify-content: center;
  }

  .feature-block,
  .feature-block-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .feature-block-shot {
    display: none;
  }

  .btn-see-screenshot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .btn-see-screenshot::before {
    content: '📱';
    font-size: 14px;
  }

  .hero-phone-wrap {
    width: min(200px, 60vw);
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 14px;
    font-size: 14px;
  }
}

/* =====================
   BLOG
   ===================== */

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.blog-article {
  min-width: 0;
}

.blog-article h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--text);
  margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
}

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

.blog-article h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.8rem 0 0.6rem;
}

.blog-article p {
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.75;
}

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

.blog-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 2.5rem;
}

.blog-toc-title {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 12px;
}

.blog-toc ol {
  margin: 0;
  padding-left: 20px;
}

.blog-toc li {
  margin-bottom: 6px;
  font-size: 14px;
}

.blog-toc a {
  color: var(--muted);
}

.blog-toc a:hover {
  color: var(--accent);
}

.blog-callout {
  background: rgba(45, 212, 191, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 1.5rem 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.blog-formula {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 1.5rem 0;
}

.blog-formula p {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--text);
  font-family: monospace;
}

.blog-formula p:last-child {
  margin-bottom: 0;
}

.blog-list {
  padding-left: 20px;
  margin: 0 0 1rem;
}

.blog-list li {
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.65;
}

.blog-list li strong {
  color: var(--text);
}

.blog-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.blog-table th {
  background: var(--surface);
  color: var(--accent);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.blog-table td {
  padding: 12px 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.blog-table tr:last-child td {
  border-bottom: none;
}

.blog-table td strong {
  color: var(--text);
}

.blog-app-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 2rem 0;
}

.blog-app-cta-text strong {
  font-size: 1.1rem;
  color: var(--text);
}

.blog-app-cta-text p {
  margin: 8px 0 0;
  font-size: 14px;
}

.blog-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.blog-related h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 1.2rem;
  color: var(--text);
}

/* Search calculators */
.calculator-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.calculator-panel,
.calculator-results {
  background: rgba(15, 28, 42, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 32px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.calculator-panel h2,
.calculator-results h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}

.calculator-panel p,
.calculator-results p {
  margin: 0 0 20px;
  color: var(--muted);
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.calculator-field {
  display: grid;
  gap: 7px;
}

.calculator-field label,
.time-card-row-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.calculator-field input {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  background: rgba(232, 244, 248, 0.06);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font: inherit;
  outline: none;
}

.calculator-field input:focus {
  border-color: rgba(45, 212, 191, 0.55);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12);
}

.calculator-result-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.calculator-result-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.calculator-result-row:last-child {
  border-bottom: 0;
}

.calculator-result-row strong {
  color: var(--text);
  text-align: right;
}

.calculator-result-row.total {
  margin-top: 8px;
  padding: 16px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 16px;
  background: rgba(45, 212, 191, 0.08);
  color: var(--text);
  font-weight: 700;
}

.calculator-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.calculator-note strong {
  color: var(--accent);
}

.time-card-table {
  display: grid;
  gap: 12px;
}

.time-card-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr 0.8fr;
  gap: 10px;
  align-items: end;
}

.time-card-row-name {
  color: var(--text);
  font-weight: 700;
  padding-bottom: 12px;
}

.time-card-total {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(45, 212, 191, 0.08);
  font-weight: 700;
}

@media (max-width: 860px) {
  .calculator-wrap {
    grid-template-columns: 1fr;
  }

  .time-card-row {
    grid-template-columns: 1fr 1fr;
  }

  .time-card-row-name {
    grid-column: 1 / -1;
    padding-bottom: 0;
  }
}

@media (max-width: 560px) {
  .calculator-grid,
  .time-card-row {
    grid-template-columns: 1fr;
  }

  .time-card-total {
    justify-content: flex-start;
  }
}

/* FAQ inside blog article */
.blog-article .faq-list {
  margin-top: 0;
}

.blog-article .faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.blog-article .faq-item:last-child {
  border-bottom: none;
}

.blog-article .faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.blog-article .faq-item p {
  margin: 0;
  font-size: 15px;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 80px;
}

.blog-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.blog-sidebar-title {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 12px;
}

/* Blog index */
.blog-index-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}

.blog-index-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.blog-index-card:hover {
  border-color: var(--accent);
  background: rgba(45, 212, 191, 0.06);
  color: var(--text);
}

.blog-index-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 4px;
}

.blog-index-body h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--text);
}

.blog-index-body p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px;
  line-height: 1.6;
}

.blog-index-meta {
  font-size: 12px;
  color: var(--accent);
  margin: 0 !important;
}

/* Blog responsive */
@media (max-width: 860px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }
}
