@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@1&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg:       #FFFFFF;
  --surface:  #F4F4F6;
  --border:   #EBEBEF;
  --text:     #111112;
  --secondary:#6E6E73;
  --accent:   #000000;
  --accent-hover: #1c1c1e;
  --link-color: #007AFF;
  --danger:   #FF3B30;
  --white:    #FFFFFF;
  --radius:   20px;
  --radius-sm: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--text);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  padding: 5px;
}

.logo-mark svg {
  transform: translateX(2.5px);
}

.logo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px; /* Pill CTAs */
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { 
  background: var(--accent-hover); 
  transform: scale(1.02);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
}
.btn-secondary:hover { 
  background: #e5e5ea; 
  transform: scale(1.02); 
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover { 
  background: #e02b20; 
  transform: scale(1.02);
}

.btn-ghost {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { 
  color: var(--text); 
  border-color: var(--text); 
}

/* ── PAGE WRAPPER ── */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 8rem;
}

.page-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 8rem;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 100px;
  text-align: center;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  opacity: 0.07;
  border-radius: 22%;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #007AFF;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(48px, 7.5vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--text);
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--link-color);
}

.hero-sub {
  font-size: 20px;
  color: var(--secondary);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 48px;
  font-weight: 400;
}

/* ── STORE BADGES ── */
.store-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px; /* Pill layout badge */
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 170px;
}
.badge:hover { 
  opacity: 0.9; 
  transform: translateY(-2px); 
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.badge-text { display: flex; flex-direction: column; text-align: left; }
.badge-text small { font-size: 10px; font-weight: 500; opacity: 0.7; line-height: 1.1; }
.badge-text strong { font-size: 14px; font-weight: 600; line-height: 1.2; }

/* ── FEATURES ── */
.features {
  padding: 100px 0 0;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--link-color);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-body {
  font-size: 18px;
  color: var(--secondary);
  max-width: 520px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  background: #eaeaea;
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.6;
}

/* ── SOCIAL PROOF ── */
.social-proof {
  padding: 100px 0 0;
  text-align: center;
}

.stats-row {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 56px;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  padding: 44px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 500;
}

/* ── LEGAL PAGES ── */
.legal-header {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}

.legal-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.legal-meta {
  font-size: 14px;
  color: var(--secondary);
}

.legal-body h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 56px 0 20px;
  letter-spacing: -0.5px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}

.legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-body p {
  font-size: 16px;
  color: #2c2c2e;
  margin-bottom: 20px;
  line-height: 1.75;
}

.legal-body ul, .legal-body ol {
  margin: 0 0 24px 1.5rem;
}

.legal-body li {
  font-size: 16px;
  color: #2c2c2e;
  margin-bottom: 10px;
  line-height: 1.7;
}

.legal-body a {
  color: var(--link-color);
  text-decoration: none;
}
.legal-body a:hover { text-decoration: underline; }

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

.info-box {
  background: rgba(0, 122, 255, 0.05);
  border: 1px solid rgba(0, 122, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin: 32px 0;
}

.info-box p {
  color: #0b3c5d;
  margin-bottom: 0;
  font-size: 15px;
}

.warn-box {
  background: rgba(255, 59, 48, 0.04);
  border: 1px solid rgba(255, 59, 48, 0.15);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin: 32px 0;
}

.warn-box p {
  color: #8f1d18;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* ── TABLE ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
}

.data-table th {
  background: var(--surface);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: #2c2c2e;
  vertical-align: top;
}

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

/* ── DELETE PAGE ── */
.delete-hero {
  padding: 80px 0 48px;
  text-align: center;
}

.delete-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}

.delete-hero p {
  font-size: 18px;
  color: var(--secondary);
  max-width: 520px;
  margin: 0 auto;
}

.delete-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 59, 48, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 32px;
}

.delete-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  margin-top: 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.form-group .hint {
  font-size: 12px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  background: var(--surface);
  color: var(--text);
  transition: all 0.2s ease;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group .required { color: var(--danger); margin-left: 2px; }

.checkbox-group {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255, 59, 48, 0.04);
  border: 1px solid rgba(255, 59, 48, 0.12);
  border-radius: var(--radius-sm);
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--danger);
}

.checkbox-group label {
  font-size: 14px;
  color: #611814;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 0;
}

.form-actions {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.success-message {
  display: none;
  background: #f4fbf7;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  margin-top: 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.success-message .success-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.success-message h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #065f46;
}

.success-message p {
  font-size: 15px;
  color: #047857;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 2rem;
  margin-top: 100px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--text); }

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

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .nav-links { display: none; }
  .hero { padding: 80px 1rem 60px; }
  .delete-form { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .data-table { font-size: 13px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}