/* ══════════════════════════════════════════════════
   RECEIPT SANITY — Design System
   Theme: Contemporary Minimalist Light
   Mobile-first, single-page landing
   ══════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --bg-white:      #ffffff;
  --bg-soft:       #f8fafc;
  --text-main:     #0f172a;
  --text-muted:    #64748b;

  /* Brand: Sky Blue + Navy */
  --brand:         #0ea5e9;
  --brand-dark:    #0c2d4e;
  --brand-light:   #e0f2fe;

  /* Structural */
  --border:        #e2e8f0;
  --radius-lg:     20px;
  --radius-md:     12px;
  --radius-sm:     8px;
  --shadow:        0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-hover:  0 20px 25px -5px rgba(0,0,0,0.09);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Typography ── */
h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
p { color: var(--text-muted); }

.text-gradient {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-brand {
  background: var(--brand);
  color: #fff;
}
.btn-brand:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14,165,233,0.35);
}
.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* ── Badge ── */
.badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}
.logo span { color: var(--brand); }
.logo--sm { font-size: 1.1rem; }
.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-img--sm {
  width: 22px;
  height: 22px;
}

/* ══════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════ */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

/* Coming soon badge */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-light);
  color: var(--brand-dark);
  border: 1px solid rgba(14,165,233,0.25);
  padding: 0.45rem 1rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero h1 { margin-bottom: 1.5rem; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-sub strong { color: var(--text-main); }

/* Waitlist box */
.waitlist-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.5rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow);
}
.waitlist-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.waitlist-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.email-input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--bg-soft);
  transition: border-color 0.2s;
  outline: none;
}
.email-input::placeholder { color: var(--text-muted); }
.email-input:focus { border-color: var(--brand); background: #fff; }
.waitlist-form .btn { flex-shrink: 0; width: 100%; }
@media (min-width: 440px) {
  .waitlist-form .btn { width: auto; }
}
.form-message {
  font-size: 0.875rem;
  margin-top: 0.75rem;
  min-height: 1.2em;
}
.form-message--success { color: var(--brand-dark); font-weight: 600; }
.form-message--error   { color: #dc2626; }
.waitlist-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 10px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-icon { font-size: 0.9rem; }
.trust-sep  { color: var(--text-muted); opacity: 0.4; font-size: 0.75rem; }
@media (max-width: 480px) {
  .trust-sep { display: none; }
}

/* Platform chips */
.platform-chips {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.platform-chip {
  display: inline-block;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-main);
}
.platform-chip--muted {
  color: var(--text-muted);
  background: transparent;
}

/* ══════════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════════ */
.features {
  padding: 6rem 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 4rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 580px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
}
.feature-card--highlight {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: rgba(14,165,233,0.3);
}
.feature-card--highlight:hover { border-color: var(--brand-dark); }

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.feature-card h3 { color: var(--text-main); }
.feature-card p  { font-size: 0.9rem; line-height: 1.65; }

.feature-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
}

/* ══════════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════════ */
.pricing-section {
  padding: 6rem 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}
.pricing-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 760px) {
  .pricing-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.pricing-text h2 { margin-bottom: 1.5rem; }

.pricing-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-main);
}
.check {
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* Pricing card */
.pricing-card-wrap { display: flex; justify-content: center; }
.pricing-card {
  background: var(--text-main);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 24px 48px -12px rgba(15,23,42,0.25);
}
.pricing-from {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.pricing-amount {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.4rem;
}
.pricing-currency {
  font-size: 2rem;
  font-weight: 700;
  vertical-align: top;
  line-height: 1.4;
}
.pricing-period {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}
.pricing-free-note {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.pricing-free-note strong { color: var(--brand); }
.pricing-tax-callout {
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.3);
  border-radius: var(--radius-sm);
  color: #7dd3fc;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.55rem 0.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.pricing-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.footer-copy    { font-size: 0.85rem; }
.footer-contact { font-size: 0.85rem; }
.footer-contact a { color: var(--brand); text-decoration: none; }
.footer-contact a:hover { color: var(--brand-dark); }
