/* ===== Sensa landing page — theme matches app store screenshots ===== */
:root {
  --ink: #16233a;
  --sub-ink: #41527a;
  --blue: #4a90e2;
  --blue-deep: #2b6cb0;
  --sky-1: #f2f8ff;
  --sky-2: #dcecff;
  --sky-3: #c3dbfb;
  --card: #ffffff;
  --radius: 22px;
  --shadow: 0 20px 45px rgba(18, 51, 92, 0.14);
  --shadow-sm: 0 8px 20px rgba(18, 51, 92, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--ink);
  background: var(--sky-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem clamp(1rem, 5vw, 4rem);
  background: rgba(242, 248, 255, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(74, 144, 226, 0.12);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: 1.05rem;
}
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand.small img { width: 34px; height: 34px; }
.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-weight: 500;
  color: var(--sub-ink);
}
.nav-links a:hover { color: var(--blue-deep); }
.btn-ghost {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--sub-ink);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-shot {
  width: min(340px, 80%);
  border-radius: 30px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.phone-glow {
  position: absolute;
  inset: -10% 10% 0 10%;
  background: radial-gradient(closest-side, rgba(74, 144, 226, 0.35), transparent 70%);
  filter: blur(20px);
  z-index: 1;
}

/* ===== Store badges ===== */
.store-badges { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.store-badges.center { justify-content: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.3rem;
  border-radius: 14px;
  background: #101c2e;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.badge-txt { display: flex; flex-direction: column; line-height: 1.1; }
.badge-txt small { font-size: 0.62rem; letter-spacing: 0.06em; opacity: 0.85; }
.badge-txt strong { font-size: 1.05rem; font-weight: 600; }
.soon-note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--sub-ink);
}

/* ===== Section head ===== */
.section-head {
  max-width: 640px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.section-head p { color: var(--sub-ink); }

/* ===== Features ===== */
.features { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem); }
.feature-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.feature-card {
  background: var(--card);
  border: 1px solid rgba(74, 144, 226, 0.12);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-ic {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  background: color-mix(in srgb, var(--c) 16%, #fff);
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.feature-card p { color: var(--sub-ink); font-size: 0.96rem; }

/* ===== Screenshots ===== */
.screens {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
  background: linear-gradient(180deg, var(--sky-2), var(--sky-1));
}
.screens-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.screens-row img {
  width: 230px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.screens-row img:hover { transform: translateY(-8px) rotate(-1deg); }

/* ===== CTA ===== */
.cta {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 5vw, 4rem);
  text-align: center;
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffffff, #eaf3ff);
  border: 1px solid rgba(74, 144, 226, 0.16);
  border-radius: 30px;
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: var(--shadow);
}
.cta-logo { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 1.2rem; }
.cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 0.7rem; }
.cta p { color: var(--sub-ink); margin-bottom: 1.8rem; }

/* ===== Footer ===== */
.site-footer {
  background: #101c2e;
  color: #cdd8ea;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 5vw, 4rem);
}
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.site-footer .brand { justify-content: center; color: #fff; margin-bottom: 0.5rem; }
.footer-tag { color: #8fa6c9; letter-spacing: 0.2em; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 1.4rem; }
.footer-links {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.footer-links a:hover { color: #fff; }
.copyright { font-size: 0.82rem; color: #7e93b5; }

/* ===== Delete account page ===== */
.delete-page {
  min-height: 70vh;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 60%, var(--sky-3) 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.delete-card {
  width: 100%;
  max-width: 620px;
  background: var(--card);
  border: 1px solid rgba(74, 144, 226, 0.14);
  border-radius: 28px;
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.delete-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
}
.delete-intro { color: var(--sub-ink); margin-bottom: 1.8rem; }

.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(74, 144, 226, 0.25);
  border-radius: 14px;
  background: #fbfdff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.14);
}
.field input.invalid,
.field textarea.invalid { border-color: #e05260; }
.error {
  display: none;
  color: #d23f4d;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.btn-submit {
  width: 100%;
  padding: 0.95rem 1.4rem;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.form-note { margin-top: 1rem; font-size: 0.92rem; }
.form-note.success { color: var(--blue-deep); font-weight: 500; }

.delete-help {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--sub-ink);
}
.delete-help a { color: var(--blue-deep); font-weight: 600; }

/* ===== Legal / policy pages ===== */
.legal-page {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 100%);
  display: flex;
  justify-content: center;
}
.legal-card {
  width: 100%;
  max-width: 820px;
  background: var(--card);
  border: 1px solid rgba(74, 144, 226, 0.14);
  border-radius: 28px;
  padding: clamp(1.8rem, 4vw, 3.4rem);
  box-shadow: var(--shadow);
}
.legal-card h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.legal-updated {
  color: var(--sub-ink);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}
.legal-card h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 700;
  margin: 2rem 0 0.6rem;
  color: var(--ink);
}
.legal-card p { color: var(--sub-ink); margin-bottom: 1rem; }
.legal-card ul { color: var(--sub-ink); margin: 0 0 1rem 1.2rem; }
.legal-card li { margin-bottom: 0.5rem; }
.legal-card a { color: var(--blue-deep); font-weight: 600; }
.legal-card strong { color: var(--ink); }
.legal-disclaimer {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(74, 144, 226, 0.16);
  font-size: 0.85rem;
  font-style: italic;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .store-badges { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-art { order: -1; }
  .nav-links { display: none; }
  .site-header .btn-ghost { margin-left: auto; }
}
@media (max-width: 520px) {
  .screens-row img { width: 46%; }
  .badge { padding: 0.6rem 1rem; }
}
