/* Banin "Softly" design system */

:root {
  --bg: #FDF9F5;
  --blush: #FBE7E0;
  --coral: #FFB7B2;
  --rose: #D98895;
  --rose-deep: #C4707E;
  --sage: #E8EFE8;
  --lavender: #EFEDF4;
  --ink: #292524;
  --muted: #78716C;
  --soft-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

.cursive {
  font-family: 'Reenie Beanie', cursive;
  font-weight: 400;
}

/* ---- Grain overlay ---- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Floating blobs ---- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(10px); }
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: calc(100% - 32px);
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--soft-shadow);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--soft-shadow);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand-text small {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

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

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

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

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-cta:hover { transform: scale(1.04); }

@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background: var(--coral);
  color: var(--ink);
  box-shadow: 0 8px 24px -4px rgba(255, 183, 178, 0.6);
}

.btn-primary:hover { transform: scale(1.04); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid #e7e5e4;
}

.btn-secondary:hover { transform: scale(1.04); }

/* ---- Sections ---- */
section { position: relative; }

/* Sections that host blobs must clip them so they never widen the page */
.hero, .pricing, .download, .legal-hero {
  overflow: hidden;
  overflow-x: clip;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
}

h1, h2 {
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 600;
}

h2 { font-size: clamp(34px, 5vw, 52px); }

/* ---- Hero ---- */
.hero {
  min-height: min(100svh, 820px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
}

.hero h1 {
  font-size: clamp(44px, 8vw, 84px);
  max-width: 800px;
}

.hero h1 .cursive {
  color: var(--rose);
  font-size: 1.25em;
  line-height: 0;
}

.hero p {
  max-width: 500px;
  margin: 24px auto 36px;
  font-size: 18px;
  color: var(--muted);
  font-weight: 300;
}

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

.hero-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}

/* ---- Scenario scroll ---- */
.scenarios { padding: 60px 0 90px; }

.scenario-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.scenario-track::-webkit-scrollbar { display: none; }

.scenario-card {
  flex: 0 0 288px;
  height: 160px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--soft-shadow);
}

.scenario-card time {
  font-size: 14px;
  color: #a8a29e;
}

.scenario-card p {
  font-size: 20px;
  line-height: 1.35;
  color: #292524;
  font-weight: 500;
  transition: color 0.3s ease;
}

.scenario-card:hover p { color: var(--rose); }

/* ---- Phone preview ---- */
.preview { padding: 90px 0; overflow: hidden; }

.preview-header { text-align: center; margin-bottom: 64px; }

.preview-header p {
  max-width: 520px;
  margin: 16px auto 0;
  color: var(--muted);
  font-weight: 300;
  font-size: 18px;
}

.phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(14px, 2.5vw, 28px);
  padding: 0 16px;
}

.phone {
  border-radius: 44px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 24px 60px -12px rgba(41, 37, 36, 0.18);
  flex-shrink: 0;
}

.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

.phone-center {
  width: clamp(230px, 28vw, 300px);
  aspect-ratio: 300 / 620;
}

.phone-side {
  width: clamp(210px, 26vw, 280px);
  aspect-ratio: 280 / 580;
  opacity: 0.8;
}

.phone-left { transform: translateY(48px); }
.phone-right { transform: translateY(96px); }

@media (max-width: 719px) {
  .phone-side { display: none; }

  .phone-center { width: min(300px, calc(100vw - 64px)); }
}

/* ---- Feature cards ---- */
.features { padding: 90px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  border-radius: 32px;
  padding: 36px 30px;
  box-shadow: var(--soft-shadow);
}

.feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.feature-card h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 300;
}

/* ---- Notes / testimonials ---- */
.notes { padding: 90px 0; }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

@media (max-width: 720px) {
  .notes-grid { grid-template-columns: 1fr; }
}

.note-card {
  background: #fff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--soft-shadow);
}

.note-card:nth-child(odd) { transform: rotate(-1deg); }
.note-card:nth-child(even) { transform: rotate(1deg); }

.note-card blockquote {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.55;
}

.note-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.note-signature::before {
  content: '';
  width: 32px;
  height: 1px;
  background: #d6d3d1;
}

.note-signature span {
  font-family: 'Reenie Beanie', cursive;
  font-size: 24px;
  color: #78716c;
}

/* ---- Pricing ---- */
.pricing { padding: 90px 0; text-align: center; }

.plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 48px 0 28px;
}

.plan {
  background: #fff;
  border-radius: 32px;
  padding: 36px 44px;
  box-shadow: var(--soft-shadow);
  min-width: 220px;
  position: relative;
}

.plan.best { border: 1.5px solid var(--rose); }

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rose);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 9999px;
}

.plan h3 { font-size: 18px; font-weight: 500; color: var(--muted); }

.plan .price {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 6px 0 2px;
}

.plan .per { font-size: 14px; color: var(--muted); }

.pricing-note {
  font-size: 14px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto;
  font-weight: 300;
}

/* ---- FAQ ---- */
.faq { padding: 90px 0; }

.faq-list { max-width: 680px; margin: 48px auto 0; }

.faq-item {
  background: #fff;
  border: 1px solid #f5f5f4;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-question .plus {
  font-size: 22px;
  font-weight: 300;
  color: var(--rose);
  transition: transform 0.5s ease-in-out;
  flex-shrink: 0;
}

.faq-item.open .plus { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--muted);
  font-weight: 300;
  font-size: 15.5px;
}

.faq-answer a { color: var(--rose-deep); }

/* ---- Download conversion ---- */
.download {
  padding: 110px 0 130px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  margin: 0 auto 28px;
  position: relative;
  box-shadow: 0 12px 32px -8px rgba(41, 37, 36, 0.25);
}

.download-icon img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  display: block;
}

.download p {
  max-width: 480px;
  margin: 18px auto 34px;
  color: var(--muted);
  font-weight: 300;
  font-size: 18px;
}

/* ---- Footer ---- */
footer {
  padding: 48px 24px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--ink); }

.footer-disclaimer {
  max-width: 560px;
  margin: 0 auto 14px;
  font-size: 13px;
  color: #a8a29e;
}

/* ---- Legal pages ---- */
.legal-hero {
  padding: 160px 24px 40px;
  text-align: center;
  position: relative;
}

.legal-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
}

.legal-hero .updated {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
}

.legal-body {
  max-width: 720px;
  margin: 24px auto 90px;
  padding: 0 24px;
}

.legal-card {
  background: #fff;
  border-radius: 32px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--soft-shadow);
}

.legal-card h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
}

.legal-card h2:first-child { margin-top: 0; }

.legal-card p, .legal-card li {
  color: #57534e;
  font-weight: 300;
  font-size: 16px;
  margin-bottom: 12px;
}

.legal-card ul { padding-left: 22px; margin-bottom: 12px; }

.legal-card a { color: var(--rose-deep); }
