/* =========================================================
   Smart SMS Organizer — Marketing Site
   ========================================================= */

:root {
  --blue-600: #0B5FFF;
  --blue-700: #0A3FCB;
  --blue-50: #EEF3FF;
  --ink-900: #0E1420;
  --ink-800: #1B2333;
  --ink-700: #2B3345;
  --ink-600: #3D4A5C;
  --ink-400: #5F6F87;
  --line: #E5E9F0;
  --surface: #FFFFFF;
  --surface-alt: #F6F8FC;
  --dark-bg: #0E1420;
  --dark-surface: #171F30;
  --dark-line: #2A3448;
  --green: #16A34A;
  --amber: #D97706;
  --purple: #7C3AED;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(14, 20, 32, 0.06);
  --shadow-md: 0 10px 30px rgba(14, 20, 32, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 20, 32, 0.16);
  --header-h: 76px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0; color: var(--ink-900); }
p { margin: 0; color: var(--ink-700); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-600);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 95, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11, 95, 255, 0.34); }
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface-alt); }
.btn-ghost-dark {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-nav { padding: 10px 20px; font-size: 0.9rem; }

/* ================= HEADER / NAV ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 500;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  height: var(--header-h);
  transition: height 0.2s ease, padding 0.2s ease;
}
.site-header.scrolled .navbar {
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}
.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-700);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--blue-600);
  transition: width 0.2s ease;
}
.nav-link:hover,
.nav-link.active { color: var(--ink-900); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 12px 4px;
  font-weight: 600;
  color: var(--ink-800);
  border-bottom: 1px solid var(--line);
}
.mobile-cta { margin-top: 14px; width: 100%; }

/* ================= HERO ================= */
.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(11,95,255,0.10), transparent 60%),
    var(--surface);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-600);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
}
.privacy-badge svg { color: var(--blue-600); flex-shrink: 0; }

/* ---- Hero visual / phone stage ---- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-stage {
  position: relative;
  width: 100%;
  max-width: 380px;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 300 / 610;
  background: linear-gradient(110deg, #777d87 0%, #d8dce1 8%, #5d6470 15%, #aeb4bd 50%, #545b66 86%, #d8dce1 100%);
  border: 1px solid #39414d;
  border-radius: 40px;
  padding: 8px;
  box-shadow: 0 28px 54px rgba(18, 25, 38, 0.22), 0 5px 12px rgba(18, 25, 38, 0.16), inset 1px 0 1px rgba(255, 255, 255, 0.72), inset -1px 0 1px rgba(21, 27, 36, 0.9);
  z-index: 2;
}
.phone-medium { width: 280px; aspect-ratio: 280 / 560; margin: 0 auto; }
.phone::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 35px;
  pointer-events: none;
  z-index: 4;
}
.phone::after {
  content: "";
  position: absolute;
  top: 145px;
  right: -3px;
  width: 3px;
  height: 88px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(#4c535e 0 46%, #d6dae0 47% 53%, #4c535e 54%);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.55);
  z-index: 5;
}
.phone-punch-hole {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #11151c;
  border: 1px solid #303742;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06), inset 0 0 2px #000;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--surface-alt);
  border-radius: 29px;
  border: 1px solid #11151c;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-900);
}
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 6px;
}
.app-title { font-weight: 800; font-size: 1.1rem; color: var(--ink-900); }
.app-search { color: var(--ink-400); }

.chip-row {
  display: flex;
  gap: 8px;
  padding: 10px 18px;
  overflow-x: hidden;
}
.chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-600);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.chip-active { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

.inbox-list { flex: 1; overflow-y: auto; padding: 4px 12px 12px; }
.inbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 14px;
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.avatar-bank { background: #7C3AED; }
.avatar-otp { background: #0B5FFF; }
.avatar-bill { background: #D97706; }
.avatar-person { background: #16A34A; }

.inbox-text { flex: 1; min-width: 0; }
.inbox-row { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.inbox-row strong { font-size: 0.82rem; color: var(--ink-900); }
.inbox-text p {
  font-size: 0.76rem;
  color: var(--ink-400);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.time { font-size: 0.66rem; color: var(--ink-400); flex-shrink: 0; margin-top: 2px; }

/* Keep the static phone previews dense enough to read as populated inboxes. */
.phone .inbox-item { gap: 8px; padding: 6px 8px; }
.phone .avatar { width: 32px; height: 32px; }
.phone .inbox-row { gap: 6px; }
.phone .inbox-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.76rem; }
.phone .inbox-text p { font-size: 0.68rem; }
.phone .tag { flex-shrink: 0; padding: 2px 6px; }
.hero .phone .inbox-list { overflow-y: hidden; }
.hero .phone .inbox-item { padding-top: 8px; padding-bottom: 9px; }
.hero .phone .avatar { width: 28px; height: 28px; }
.hero .phone .inbox-row { line-height: 1.1; }
.hero .phone .inbox-text p { line-height: 1.2; }

.tag {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.tag-finance { background: #F3E8FF; color: #7C3AED; }
.tag-otp { background: #E0EAFF; color: #0B5FFF; }
.tag-bill { background: #FEF3C7; color: #D97706; }
.tag-personal { background: #DCFCE7; color: #16A34A; }

.otp-mask { letter-spacing: 3px; font-weight: 700; }

/* ---- Floating cards ---- */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.82rem; color: var(--ink-900); }
.float-card small { display: block; font-size: 0.7rem; color: var(--ink-400); }
.fc-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; flex-shrink: 0;
}
.fc-icon img { width: 24px; height: 24px; object-fit: contain; }
.fc-icon--finance { background: #F3E8FF; color: #7C3AED; }
.fc-icon--otp { background: #E0EAFF; color: #0B5FFF; letter-spacing: 1px; }
.fc-icon--bill { background: #FEF3C7; color: #D97706; }
.fc-icon--msg { background: #DCFCE7; color: #16A34A; }

.fc-1 { top: 22%; left: -8%; animation-delay: 0s; }
.fc-2 { top: 38%; right: -12%; animation-delay: 1.4s; }
.fc-3 { bottom: 30%; left: -14%; animation-delay: 2.6s; }
.fc-4 { bottom: 16%; right: -6%; animation-delay: 3.8s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
}

/* ================= SECTIONS (shared) ================= */
.section { padding: 96px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark {
  background: var(--dark-bg);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #C7D1E3; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-head p { font-size: 1.05rem; }

/* ================= PRODUCT PREVIEW ================= */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}
.preview-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.preview-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.preview-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.preview-card-head h3 { font-size: 1.05rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-blue { background: var(--blue-600); }
.dot-green { background: var(--green); }
.dot-purple { background: var(--purple); }
.dot-amber { background: var(--amber); }

.preview-card > p { margin-top: 16px; font-size: 0.9rem; }

.mini-phone {
  background: var(--surface-alt);
  border-radius: 14px;
  padding: 14px;
  min-height: 140px;
}
.mini-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.mini-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.5rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.mini-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mini-line { height: 6px; border-radius: 4px; background: var(--line); }
.w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w45 { width: 45%; } .w40 { width: 40%; } .w30 { width: 30%; }

.mini-chat { display: flex; flex-direction: column; gap: 8px; }
.mini-bubble {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.76rem;
  font-weight: 500;
}
.mini-bubble.in { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.mini-bubble.out { background: var(--blue-600); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }

.mini-tx, .mini-bill { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 0.82rem; border-bottom: 1px dashed var(--line); }
.mini-tx:last-child, .mini-bill:last-child { border-bottom: none; }
.mini-tx strong { color: var(--ink-900); }
.mini-tx strong.pos { color: var(--green); }
.mini-bill small { color: var(--amber); font-weight: 700; }

.mini-search { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 0.8rem; margin-bottom: 8px; }
.mini-search img { width: 18px; height: 18px; object-fit: contain; }
.mini-result { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 0.78rem; margin-bottom: 6px; color: var(--ink-600); }

/* ================= WHY ================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-icon img { width: 32px; height: 32px; object-fit: contain; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 8px; }

/* ================= FEATURE GRID ================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-icon { width: 48px; height: 48px; margin-bottom: 16px; }
.feature-icon img { width: 40px; height: 40px; object-fit: contain; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; }

/* ================= SPLIT SECTIONS ================= */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-reverse .split-copy { order: 2; }
.split-reverse .split-visual { order: 1; }
.label-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.label-tag-light { background: rgba(11,95,255,0.18); color: #8FB4FF; }
.split-copy h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 16px; }
.split-copy p { font-size: 1rem; margin-bottom: 20px; }

.article-copy {
  max-width: 860px;
  margin: 0 auto;
}
.article-copy h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin: 28px 0 14px;
}
.article-copy h3 {
  font-size: 1.12rem;
  margin: 20px 0 10px;
}
.article-copy p {
  margin-bottom: 18px;
  font-size: 1rem;
}
.article-copy ul,
.article-copy ol {
  margin: 0 0 18px;
  padding-left: 1.2rem;
}
.article-copy li {
  margin-bottom: 10px;
  color: var(--ink-700);
  line-height: 1.7;
}
.article-copy ol {
  list-style: decimal;
}
.article-copy .feature-list {
  list-style: disc;
  padding-left: 1.2rem;
}
.article-copy .numbered-steps {
  list-style: decimal;
  padding-left: 1.5rem;
}
.article-copy .numbered-steps li {
  margin-bottom: 18px;
}
.article-copy .numbered-steps strong {
  display: block;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.article-copy .lead {
  font-size: 1.08rem;
}

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  color: var(--ink-800);
  font-size: 0.95rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

.privacy-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-50);
  border: 1px solid #D6E4FF;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-700);
  margin-top: 8px;
}
.privacy-icon { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }

/* ---- Finance dashboard ---- */
.finance-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.finance-fields span {
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--dark-line);
  color: #C7D0E0;
  padding: 7px 14px;
  border-radius: 999px;
}
.disclaimer {
  font-size: 0.82rem;
  color: #8892A6;
  border-left: 3px solid var(--blue-600);
  padding-left: 14px;
}

.finance-dashboard {
  background: var(--dark-surface);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.fd-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.fd-header span { font-size: 0.8rem; color: #8892A6; }
.fd-header strong { color: #fff; font-size: 1rem; }
.fd-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--dark-line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.fd-card:last-child { margin-bottom: 0; }
.fd-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.fd-merchant { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; font-size: 0.92rem; }
.fd-dot { width: 8px; height: 8px; border-radius: 50%; }
.fd-dot-out { background: #EF4444; }
.fd-dot-in { background: var(--green); }
.fd-amt { font-size: 0.95rem; }
.fd-out { color: #F87171; }
.fd-in { color: #4ADE80; }
.fd-meta { display: flex; gap: 14px; font-size: 0.74rem; color: #8892A6; }

/* ================= BILLS ================= */
.bills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.bill-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bill-icon { width: 48px; height: 48px; margin: 0 auto 10px; }
.bill-icon img { width: 40px; height: 40px; object-fit: contain; }
.bill-card h3 { font-size: 1rem; margin-bottom: 6px; }
.bill-due { font-size: 0.85rem; margin-bottom: 12px; }
.reminder-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: #DCFCE7;
  color: #16A34A;
}
.reminder-pill--upcoming { background: #FEF3C7; color: #D97706; }

.timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
}
.timeline-track {
  position: absolute;
  top: 27px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  text-align: center;
}
.timeline-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue-600);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--blue-600);
  margin-bottom: 4px;
}
.timeline-item strong { font-size: 0.85rem; color: var(--ink-900); }
.timeline-item small { font-size: 0.75rem; color: var(--ink-400); }

/* ================= SEARCH DEMO ================= */
.search-demo {
  max-width: 640px;
  margin: 0 auto;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.search-box svg { color: var(--ink-400); flex-shrink: 0; }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  background: transparent;
  color: var(--ink-900);
}
.search-results { display: flex; flex-direction: column; gap: 10px; }
.search-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  animation: fadeIn 0.25s ease;
}
.search-result-main { display: flex; flex-direction: column; gap: 2px; }
.search-result-main strong { font-size: 0.92rem; color: var(--ink-900); }
.search-result-main span { font-size: 0.82rem; color: var(--ink-400); }
.search-result .tag { flex-shrink: 0; }
.search-empty { text-align: center; padding: 24px; color: var(--ink-400); font-size: 0.92rem; }
.search-note { text-align: center; font-size: 0.8rem; color: var(--ink-400); margin-top: 18px; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= PRIVACY FLOW ================= */
.privacy-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 48px;
}
.flow-step {
  background: var(--dark-surface);
  border: 1px solid var(--dark-line);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  min-width: 220px;
  text-align: center;
}
.flow-step--end {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  border-color: transparent;
}
.flow-arrow { color: #6B7690; font-size: 1.1rem; }

.privacy-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.privacy-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #C7D0E0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-line);
  padding: 10px 18px;
  border-radius: 999px;
}
.privacy-point span {
  color: #F87171;
  font-weight: 800;
  font-size: 0.8rem;
}

/* ================= HOW IT WORKS ================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
}
.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-50);
  -webkit-text-stroke: 1.5px var(--blue-600);
  margin-bottom: 12px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; }

/* ================= ICON GRID ================= */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.icon-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.icon-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.icon-badge { width: 48px; height: 48px; display: block; margin-bottom: 10px; }
.icon-badge img { width: 40px; height: 40px; object-fit: contain; }
.icon-item h3 { font-size: 0.95rem; margin-bottom: 6px; }
.icon-item p { font-size: 0.82rem; }

/* ================= CTA ================= */
.cta-section {
  padding: 104px 0 92px;
  background: radial-gradient(760px 360px at 50% 0%, rgba(11,95,255,0.20), transparent 68%), linear-gradient(180deg, #111B31 0%, var(--ink-900) 72%);
  text-align: center;
}
.cta-inner { max-width: 760px; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.cta-inner p { color: #D1D8E6; font-size: 1.06rem; max-width: 560px; margin: 0 auto 30px; }
.cta-ctas { justify-content: center; gap: 16px; }
.cta-ctas .btn-primary { box-shadow: 0 10px 26px rgba(11, 95, 255, 0.34); }
.cta-footnote { margin-top: 28px !important; color: #B5C0D5 !important; font-size: 0.88rem !important; font-weight: 600; }

/* ================= FOOTER ================= */
.site-footer {
  background: linear-gradient(180deg, #0D1526 0%, var(--dark-bg) 100%);
  color: #C7D1E3;
  padding: 58px 0 26px;
  border-top: 1px solid var(--dark-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--dark-line);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo { width: 48px; height: 48px; object-fit: contain; margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; font-size: 1.1rem; line-height: 1.3; }
.footer-brand p { margin-top: 8px; color: #D0D9EA; }
.footer-links, .footer-contact { padding-top: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-column-title { color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.footer-links a { color: #D8E0F0; font-size: 0.92rem; transition: color 0.15s ease; }
.footer-links a:hover { color: #fff; }
.footer-contact p { color: #D8E0F0; margin-bottom: 10px; }
.footer-company { font-weight: 700; color: #fff !important; }
.footer-bottom { padding-top: 20px; font-size: 0.78rem; color: #9CAAC0; }

/* ================= BACK TO TOP ================= */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink-900);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 400;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-600); }

/* ================= SCROLL REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-ctas { justify-content: center; }
  .why-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .split-grid { grid-template-columns: 1fr; }
  .split-reverse .split-copy { order: 1; }
  .split-reverse .split-visual { order: 2; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}

@media (max-width: 700px) {
  .why-grid, .feature-grid { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .phone { width: 260px; }
  .phone-medium { width: 240px; }
  .float-card { display: none; }
  .timeline { flex-direction: column; align-items: flex-start; gap: 22px; padding-left: 10px; }
  .timeline-track { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; }
  .timeline-item { flex-direction: row; text-align: left; align-items: center; }
  .timeline-dot { margin-bottom: 0; margin-right: 12px; }
  .cta-section { padding: 80px 0 72px; }
  .cta-inner h2 { font-size: 2rem; }
  .cta-inner p { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-links, .footer-contact { padding-top: 0; }
  .footer-grid { padding-bottom: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .icon-grid { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: 13px 22px; font-size: 0.92rem; }
  .hero h1 { font-size: 2rem; }
  .phone { width: min(300px, calc(100vw - 42px)); max-width: none; }
}

/* =========================================================
   LEGAL PAGES (Privacy Policy / Terms & Conditions)
   ========================================================= */
.legal-hero {
  padding: 56px 0 40px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}
.legal-hero .container { text-align: center; }
.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.legal-updated {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-600);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: flex-start;
  padding: 64px 0 96px;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.legal-toc-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 14px;
}
.legal-toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--line);
}
.legal-toc-list a {
  display: block;
  padding: 7px 0 7px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-600);
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.legal-toc-list a:hover { color: var(--ink-900); }
.legal-toc-list a.active {
  color: var(--blue-600);
  border-left-color: var(--blue-600);
  font-weight: 700;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 0 0 14px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal-section {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-section p {
  font-size: 1rem;
  max-width: 68ch;
}
.legal-intro-note {
  background: var(--blue-50);
  border: 1px solid #D6E4FF;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--blue-700);
  font-weight: 500;
  margin-bottom: 40px;
}

.legal-mobile-toc {
  display: none;
  margin-bottom: 32px;
}
.legal-mobile-toc summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 18px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  list-style: none;
}
.legal-mobile-toc summary::-webkit-details-marker { display: none; }
.legal-mobile-toc summary::after {
  content: "▾";
  float: right;
  color: var(--ink-400);
}
.legal-mobile-toc[open] summary::after { content: "▴"; }
.legal-mobile-toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 4px 4px;
}
.legal-mobile-toc-list a {
  display: block;
  padding: 9px 14px;
  font-size: 0.9rem;
  color: var(--ink-600);
  border-radius: 8px;
}
.legal-mobile-toc-list a:hover { background: var(--surface-alt); color: var(--ink-900); }

.legal-contact-card {
  margin-top: 8px;
  background: var(--dark-bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.legal-contact-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.legal-contact-card p { color: #A9B2C4; margin-bottom: 18px; }
.legal-contact-card a.btn { margin: 0 auto; }

@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; gap: 0; padding: 40px 0 72px; }
  .legal-toc { display: none; }
  .legal-mobile-toc { display: block; }
}

@media (max-width: 480px) {
  .legal-hero { padding: 40px 0 28px; }
}
