/* QuitLedger Marketing & Legal Pages CSS */
:root {
  --bg-dark: #090f1d;
  --bg-card: #0f192c;
  --bg-card-subtle: #16243d;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(45, 212, 191, 0.35);
  
  --teal-primary: #0d9488;
  --teal-hover: #0f766e;
  --teal-accent: #2dd4bf;
  --teal-subtle: rgba(45, 212, 191, 0.12);
  
  --gold-accent: #e5c98a;
  --gold-subtle: rgba(229, 201, 138, 0.15);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

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

a:hover {
  color: #ffffff;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Nav Header */
.site-header {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(9, 15, 29, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-link .logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--teal-primary), #042f2e);
  border: 1px solid var(--teal-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-accent);
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
}

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

.btn-header {
  background: var(--teal-primary);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.btn-header:hover {
  background: var(--teal-hover);
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px 0;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-subtle);
  color: var(--teal-accent);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-cta {
  background: var(--teal-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 25px rgba(13, 148, 136, 0.4);
  transition: all 0.2s ease;
}

.btn-cta:hover {
  background: var(--teal-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px 0 60px 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: var(--border-hover);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Content & Legal Pages */
.content-section {
  padding: 50px 0 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.content-section h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 14px 0;
  color: var(--text-primary);
}

.content-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.7;
}

.content-section ul, .content-section ol {
  margin: 14px 0 20px 24px;
  color: var(--text-secondary);
}

.content-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  background: #040711;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

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

.disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  max-width: 720px;
  margin: 10px auto;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* UPI Payment Styles */
.upi-qr-card {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-md);
  display: inline-block;
  text-align: center;
  margin: 10px auto 14px auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.upi-qr-card img {
  display: block;
  width: 210px;
  height: 210px;
  margin: 0 auto;
}

.upi-dual-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 16px 0;
  text-align: left;
}

.upi-field-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.upi-field-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

.upi-field-val {
  color: var(--teal-accent);
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
}

.vpa-copy-btn {
  background: var(--teal-subtle);
  color: var(--teal-accent);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.vpa-copy-btn:hover {
  background: var(--teal-primary);
  color: #ffffff;
}

.upi-apps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.upi-app-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pay-steps-list {
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 14px 0 18px 20px;
  line-height: 1.6;
}

.split-demo {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 40px;
  align-items: center;
  padding: 10px 0 60px 0;
}

.phone-wrap {
  text-align: center;
}

.phone-frame {
  background: #05080f;
  border: 8px solid #1e293b;
  border-radius: 32px;
  padding: 10px 10px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  text-align: left;
  max-width: 340px;
  margin: 0 auto;
}

.phone-notch {
  width: 90px;
  height: 8px;
  background: #1e293b;
  border-radius: 0 0 8px 8px;
  margin: 0 auto 10px auto;
}

.demo-app {
  background: var(--bg-dark);
  border-radius: 18px;
  padding: 12px;
}

.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 0.9rem;
}

.demo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-chip {
  background: var(--gold-subtle);
  color: var(--gold-accent);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.demo-hero {
  background: radial-gradient(circle at top right, rgba(45, 212, 191, 0.12), transparent 70%), var(--bg-card);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 18px 12px 14px;
  margin-bottom: 10px;
}

.habit-label-chip {
  display: inline-flex;
  background: var(--teal-subtle);
  color: var(--teal-accent);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.streak-counter-number {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.streak-counter-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 6px 0 10px;
}

.sub-timer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px;
  border: 1px solid var(--border-subtle);
}

.sub-timer-val {
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--teal-accent);
}

.sub-timer-lbl {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.demo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.btn-action {
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  min-height: 42px;
  border: 1px solid transparent;
  font-family: inherit;
}

.btn-craving {
  background: var(--bg-card);
  border-color: var(--teal-primary);
  color: var(--teal-accent);
}

.btn-slip {
  background: var(--bg-card);
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}

.demo-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.demo-metrics > div {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.metric-header {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.metric-value {
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.metric-sub {
  font-size: 0.68rem;
  color: var(--teal-accent);
}

.demo-note {
  font-size: 0.78rem;
  color: var(--text-secondary);
  min-height: 2.4em;
  line-height: 1.4;
}

.phone-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.demo-copy h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.demo-copy p {
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.plain-list {
  margin: 0 0 18px 18px;
  color: var(--text-secondary);
}

.plain-list li {
  margin-bottom: 6px;
}

.download-section {
  padding: 20px 0 80px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid rgba(229, 201, 138, 0.28);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.download-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 12px 0 10px;
}

.download-card p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
}

.pay-success {
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid var(--teal-accent);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-top: 16px;
  color: #fff;
}

.pay-success[hidden] {
  display: none;
}

.pay-success a {
  margin-top: 12px;
}

@media (max-width: 800px) {
  .split-demo {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 48px 0 36px;
  }
}

.btn-gold {
  background: var(--gold-accent);
  color: #0b1220 !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 28px rgba(229, 201, 138, 0.28);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.btn-gold:hover { filter: brightness(1.05); }

.price-tag {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold-accent);
  line-height: 1;
}

.price-tag small {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.section-kicker {
  color: var(--teal-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 28px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.shot-card {
  text-align: center;
}

.shot-frame {
  background: #05080f;
  border: 6px solid #1e293b;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-card h3 {
  margin-top: 14px;
  font-size: 1.05rem;
}

.shot-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 18px;
}

.how-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-subtle);
  color: var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 12px;
}

.how-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.how-card p { font-size: 0.88rem; color: var(--text-secondary); }

.deep-row {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 36px;
  align-items: center;
  padding: 28px 0;
}

.deep-row.reverse {
  grid-template-columns: 1fr minmax(220px, 340px);
}

.deep-row.reverse .shot-frame { order: 2; }

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 8px;
}

.proof-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.proof-pill strong {
  display: block;
  color: var(--gold-accent);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.proof-pill span { font-size: 0.82rem; color: var(--text-secondary); }

.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.faq-wrap details {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 10px;
}

.faq-wrap summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  list-style: none;
}

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

.faq-wrap details p {
  color: var(--text-secondary);
  margin-top: 10px;
  font-size: 0.92rem;
}

.sticky-buy {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  text-decoration: none;
}

.pad-section { padding: 20px 0 70px; }

@media (max-width: 900px) {
  .shot-grid, .how-grid, .proof-row {
    grid-template-columns: 1fr;
  }
  .deep-row, .deep-row.reverse {
    grid-template-columns: 1fr;
  }
  .deep-row.reverse .shot-frame { order: 0; }
  .sticky-buy { display: block; }
  body { padding-bottom: 80px; }
  .nav-links a:not(.btn-header) { display: none; }
}

