/* Smart Life — Landing Page */

:root {
  --blue: #3b71f3;
  --blue-dark: #2a5ad4;
  --blue-soft: #e8f0fe;
  --navy: #12141c;
  --black: #07080c;
  --bg: #f3f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --green: #059669;
  --green-soft: #d1fae5;
  --red: #e11d48;
  --red-soft: #ffe4e6;
  --orange: #ea580c;
  --orange-soft: #ffedd5;
  --gradient-brand: linear-gradient(135deg, #ff4d6d 0%, #ff6b35 50%, #ff8c42 100%);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 70% 15%, rgba(59, 113, 243, 0.28), transparent),
    radial-gradient(ellipse 45% 50% at 15% 85%, rgba(255, 77, 109, 0.16), transparent);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.16);
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 74px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.site-header:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.78);
}

.nav-links a:hover,
.site-header:not(.scrolled) .nav-links a:hover {
  color: var(--blue);
}

.site-header:not(.scrolled) .nav-links a:hover {
  color: #fff;
}

.nav-mobile-only {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 12px;
  padding: 0.68rem 1.2rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(59, 113, 243, 0.35);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.site-header:not(.scrolled) .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.site-header:not(.scrolled) .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 0.9rem 1.7rem;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  padding-inline: 0.4rem;
  font-weight: 600;
}

.btn-ghost-light:hover {
  color: #fff;
}

.btn-block {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
}

.site-header:not(.scrolled) .menu-toggle {
  color: #fff;
}

/* Hero */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 4.5rem) 0 5.5rem;
  background: var(--black);
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.hero-orb-a {
  width: 420px;
  height: 420px;
  top: -80px;
  right: 8%;
  background: rgba(59, 113, 243, 0.35);
  animation: floaty 9s ease-in-out infinite;
}

.hero-orb-b {
  width: 320px;
  height: 320px;
  bottom: -60px;
  left: 5%;
  background: rgba(255, 77, 109, 0.22);
  animation: floaty 11s ease-in-out infinite reverse;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(18px); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.25rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.35rem;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.25);
}

.hero h1 {
  font-size: clamp(2.35rem, 4.8vw, 3.55rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 1.2rem;
}

.hero h1 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 33rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.85rem;
}

.hero-pills span {
  font-size: 0.74rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

/* Dashboard mock */

.preview-wrap {
  position: relative;
}

.preview-glow {
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(59, 113, 243, 0.28), transparent 65%);
  filter: blur(42px);
  pointer-events: none;
}

.float-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  animation: floaty 6.5s ease-in-out infinite;
}

.float-card .float-label {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.float-card strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.float-card-a {
  top: 12%;
  left: -8%;
  color: var(--green);
}

.float-card-b {
  bottom: 14%;
  right: -6%;
  animation-delay: -2s;
}

.dashboard-mock {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-chrome {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 1rem 0.35rem;
  background: #f8fafc;
}

.mock-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e2e8f0;
}

.mock-chrome span:nth-child(1) { background: #fca5a5; }
.mock-chrome span:nth-child(2) { background: #fcd34d; }
.mock-chrome span:nth-child(3) { background: #86efac; }

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.25rem 0.9rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.mock-topbar .greeting {
  font-weight: 800;
  color: var(--blue);
  font-size: 0.95rem;
}

.mock-topbar .sub {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.mock-currency {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}

.mock-body {
  padding: 1.15rem;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  border-left: 3px solid var(--blue);
  box-shadow: var(--shadow-sm);
}

.stat-card .label {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.stat-card .value {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-card .value.green { color: var(--green); }
.stat-card .value.red { color: var(--red); }

.mock-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.mock-mod {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.7rem 0.75rem;
  border-top: 2px solid var(--blue);
}

.mock-mod.accent-finance { border-top-color: var(--green); }
.mock-mod.accent-habits { border-top-color: var(--orange); }
.mock-mod.accent-calendar { border-top-color: var(--blue); }
.mock-mod.accent-backup { border-top-color: #6366f1; }

.mock-mod strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 0.12rem;
}

.mock-mod span {
  font-size: 0.64rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Trust bar */

.trust-bar {
  padding: 0;
  margin-top: -2.25rem;
  position: relative;
  z-index: 5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-md);
}

.trust-item {
  text-align: center;
  padding: 0.35rem 0.5rem;
}

.trust-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.trust-item span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Sections */

section {
  padding: 5.75rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 0.95rem;
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 3.25rem;
}

.section-header .section-desc {
  margin-inline: auto;
}

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #c7d7fe;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  font-size: 1.35rem;
}

.feature-icon.blue { background: var(--blue-soft); }
.feature-icon.green { background: var(--green-soft); }
.feature-icon.red { background: var(--red-soft); }

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Modules */

.modules-section {
  background:
    linear-gradient(180deg, #eaf0f9 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 3px solid var(--blue);
}

.module-card.accent-green { border-top-color: var(--green); }
.module-card.accent-red { border-top-color: var(--red); }

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.module-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.module-card.accent-green .module-icon { background: var(--green-soft); }
.module-card.accent-red .module-icon { background: var(--red-soft); }

.module-head h3 {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.module-head p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.module-count {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
}

.module-card.accent-green .module-count {
  color: var(--green);
  background: var(--green-soft);
}

.module-card.accent-red .module-count {
  color: var(--red);
  background: var(--red-soft);
}

.module-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.75rem;
}

.module-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.module-list svg {
  width: 14px;
  height: 14px;
  fill: var(--blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.module-card.accent-green .module-list svg { fill: var(--green); }
.module-card.accent-red .module-list svg { fill: var(--red); }

/* Finance */

.finance-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow-x: clip;
}

.finance-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.finance-layout > * {
  min-width: 0;
}

.finance-list {
  list-style: none;
  margin-top: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.finance-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.finance-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 1px;
}

.finance-panel {
  background: linear-gradient(165deg, #f8fafc, #eef3fb);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-width: 100%;
}

.finance-panel .panel-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.panel-stat {
  background: var(--surface);
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--border);
  text-align: center;
  min-width: 0;
}

.panel-stat .lbl {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.panel-stat .amt {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.panel-stat .amt.green { color: var(--green); }
.panel-stat .amt.red { color: var(--red); }

.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.voucher-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.voucher-table th {
  text-align: left;
  padding: 0.7rem 0.85rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

.voucher-table td {
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid var(--border);
  font-weight: 550;
}

.voucher-table tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.badge.expense,
.badge.borrow { background: #dbeafe; color: #1d4ed8; }
.badge.lend { background: #ede9fe; color: #6d28d9; }
.badge.income { background: var(--green-soft); color: #047857; }

/* Lifestyle */

.lifestyle-section {
  background: var(--bg);
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.lifestyle-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.45rem;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}

.lifestyle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.lifestyle-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.lifestyle-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
}

.lifestyle-badge.green {
  background: var(--green-soft);
  color: var(--green);
}

.lifestyle-badge.blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.lifestyle-badge.red {
  background: var(--red-soft);
  color: var(--red);
}

.lifestyle-visual {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.1;
}

.lifestyle-visual span {
  font-size: 1rem;
  font-weight: 800;
}

.lifestyle-visual small {
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.8;
}

.habits-visual {
  background: var(--orange-soft);
  color: var(--orange);
}

.calendar-visual {
  background: var(--blue-soft);
  color: var(--blue);
}

.backup-visual {
  background: var(--green-soft);
  color: var(--green);
}

.lifestyle-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.lifestyle-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.05rem;
}

.lifestyle-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lifestyle-card li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.86rem;
  color: var(--text);
  font-weight: 600;
}

.lifestyle-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* Benefits */

.benefits-section {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.benefit-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}

.benefit-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 10px 24px rgba(255, 77, 109, 0.32);
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* CTA */

.cta-section {
  padding: 0 0 5.5rem;
}

.cta-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(59, 113, 243, 0.28), transparent),
    radial-gradient(ellipse 40% 60% at 10% 100%, rgba(255, 77, 109, 0.18), transparent);
  pointer-events: none;
}

.cta-box > * {
  position: relative;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  max-width: 30rem;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-box .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.cta-box .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Footer */

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.6);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 18rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive */

@media (max-width: 1040px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .finance-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .features-grid,
  .steps-grid,
  .lifestyle-grid {
    grid-template-columns: 1fr;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .module-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .preview-wrap {
    order: -1;
  }

  .float-card-a {
    left: 0;
  }

  .float-card-b {
    right: 0;
  }
}

@media (min-width: 721px) and (max-width: 960px) {
  .modules-grid,
  .lifestyle-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1160px, calc(100% - 1.5rem));
  }

  .nav-links,
  .header-actions .btn-outline-light,
  .header-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 0.85rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open .nav-mobile-only {
    display: block;
    margin-top: 0.5rem;
  }

  .nav-links.open a {
    color: var(--text) !important;
  }

  .trust-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-col h4 {
    font-size: 0.72rem;
    margin-bottom: 0.75rem;
  }

  .footer-col a {
    font-size: 0.84rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .mock-stats {
    grid-template-columns: 1fr;
  }

  .finance-panel .panel-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .finance-panel {
    padding: 1rem;
  }

  .panel-stat {
    padding: 0.7rem 0.45rem;
  }

  .panel-stat .lbl {
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .panel-stat .amt {
    font-size: 0.92rem;
  }

  .finance-list {
    margin-top: 1.35rem;
    gap: 0.75rem;
  }

  .finance-list li {
    font-size: 0.88rem;
  }

  /* Stack voucher rows as cards — no cramped 4-col table */
  .table-responsive {
    overflow: visible;
    border: 0;
    background: transparent;
    border-radius: 0;
  }

  .voucher-table {
    min-width: 0;
    width: 100%;
  }

  .voucher-table thead {
    display: none;
  }

  .voucher-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .voucher-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "type amount"
      "desc desc"
      "date date";
    gap: 0.35rem 0.75rem;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 0.9rem;
  }

  .voucher-table td {
    display: block;
    padding: 0;
    border: 0;
    font-size: 0.84rem;
  }

  .voucher-table td[data-label="Date"] {
    grid-area: date;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
  }

  .voucher-table td[data-label="Type"] {
    grid-area: type;
  }

  .voucher-table td[data-label="Description"] {
    grid-area: desc;
    font-weight: 650;
    color: var(--text);
  }

  .voucher-table td[data-label="Amount"] {
    grid-area: amount;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
  }

  .voucher-table tr:last-child td {
    border-bottom: none;
  }

  .cta-box {
    padding: 2.25rem 1.35rem;
  }

  .float-card {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 2.75rem);
  }
}
