/*
 * SystemH2O landing styles — one-page redesign.
 *
 * Design tokens mirror the canonical locked values from
 * `packages/shared/design-tokens/src/colors.ts` (ALGORITHM Section 6).
 * The landing surface is static HTML/CSS/JS with no runtime framework
 * (DEC-054). No imports from Company or Vendor app packages.
 */

/* ─── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  --primary: #5b4be8;
  --primary-strong: #4c3fd1;
  --primary-light: #ede9fe;
  --primary-lighter: #f5f3ff;
  --accent: #7c3aed;
  --background: #f7f7fb;
  --surface: #ffffff;
  --text: #18181b;
  --muted: #71717a;
  --border: #e4e4e7;
  --success: #15803d;
  --success-bg: #dcfce7;
  --danger: #b91c1c;
  --danger-bg: #fee2e2;
  --warning: #b45309;
  --warning-bg: #fef3c7;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;

  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.04);
  --shadow-md: 0 4px 12px 0 rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 30px 0 rgb(0 0 0 / 0.1), 0 4px 8px -4px rgb(0 0 0 / 0.07);

  --container: 1200px;
  --nav-h: 68px;

  --transition: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ─── UTILITIES ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--primary-strong);
  box-shadow: 0 4px 16px rgb(91 75 232 / 0.35);
}

.btn--secondary {
  background: var(--primary-light);
  color: var(--primary);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: #ddd6fe;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--white {
  background: #fff;
  color: var(--primary);
}

.btn--white:hover,
.btn--white:focus-visible {
  background: #f5f3ff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.12);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover,
.btn--outline-white:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn--lg {
  padding: 15px 30px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ─── NAVBAR ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.nav__logo {
  flex-shrink: 0;
}

.nav__logo-img {
  height: 32px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav__link {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text);
  background: var(--background);
}

.nav__ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(160deg, #fff 0%, var(--primary-lighter) 50%, #fff 100%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.hero__title--accent {
  color: var(--primary);
}

.hero__desc {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.hero__trust-item svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Hero visuals */
.hero__visuals {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero__dashboard-wrap {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px var(--border);
  max-width: 520px;
  width: 100%;
}

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

.hero__mobile-wrap {
  position: absolute;
  right: -24px;
  bottom: -40px;
  z-index: 3;
  width: 160px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px var(--border);
}

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

/* ─── BENEFIT STRIP ──────────────────────────────────────────────────────── */
.strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.strip__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.strip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.strip__icon--1 {
  background: #ede9fe;
  color: var(--primary);
}
.strip__icon--2 {
  background: #e0f2fe;
  color: #0369a1;
}
.strip__icon--3 {
  background: #dcfce7;
  color: #16a34a;
}
.strip__icon--4 {
  background: #fef3c7;
  color: #d97706;
}
.strip__icon--5 {
  background: #fce7f3;
  color: #db2777;
}
.strip__icon--6 {
  background: #ede9fe;
  color: var(--accent);
}

/* ─── MODULES ────────────────────────────────────────────────────────────── */
.modules {
  background: var(--background);
}

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

.mod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.mod-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.mod-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.mod-card__icon--1 {
  background: #ede9fe;
  color: var(--primary);
}
.mod-card__icon--2 {
  background: #e0f2fe;
  color: #0369a1;
}
.mod-card__icon--3 {
  background: #fce7f3;
  color: #db2777;
}
.mod-card__icon--4 {
  background: #fef3c7;
  color: #d97706;
}
.mod-card__icon--5 {
  background: #dcfce7;
  color: #16a34a;
}
.mod-card__icon--6 {
  background: #fff7ed;
  color: #ea580c;
}
.mod-card__icon--7 {
  background: #f0fdf4;
  color: #15803d;
}
.mod-card__icon--8 {
  background: #ede9fe;
  color: var(--accent);
}

.mod-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.mod-card__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── SHOWCASES ──────────────────────────────────────────────────────────── */
.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase--reversed .showcase__inner {
  direction: rtl;
}

.showcase--reversed .showcase__inner > * {
  direction: ltr;
}

.showcase--alt {
  background: linear-gradient(180deg, #f8f7fe 0%, #fff 100%);
}

.showcase__text {
  max-width: 520px;
}

.showcase__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}

.showcase__desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.showcase__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.showcase__list li svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 3px;
}

.showcase__img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px var(--border);
}

.showcase__img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase__badge-float {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border);
}

.showcase__badge-float--filter svg {
  color: var(--warning);
}

.showcase__stat-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.showcase__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.showcase__stat-val {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.showcase__stat-val--success {
  color: var(--success);
}

.showcase__stat-val--danger {
  color: var(--danger);
}

.showcase__stat-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Accounting KPI card */
.showcase__kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
}

.kpi-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.kpi-card__header svg {
  color: var(--primary);
}

.kpi-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15px;
}

.kpi-card__row span {
  color: var(--muted);
  font-weight: 500;
}

.kpi-card__row strong {
  font-weight: 700;
  font-size: 17px;
}

.kpi-card__row--income strong {
  color: var(--success);
}
.kpi-card__row--expense strong {
  color: var(--danger);
}
.kpi-card__row--net {
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.kpi-card__row--net span {
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
}
.kpi-card__row--net strong {
  color: var(--primary);
  font-size: 20px;
}

.kpi-card__divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.kpi-card__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-top: 24px;
  padding: 0 8px;
}

.kpi-chart-bar {
  flex: 1;
  background: var(--success-bg);
  border-radius: 4px 4px 0 0;
  position: relative;
}

.kpi-chart-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--success);
  border-radius: 4px 4px 0 0;
}

.kpi-chart-bar--expense {
  background: var(--danger-bg);
}
.kpi-chart-bar--expense::after {
  background: var(--danger);
}
.kpi-chart-bar--net {
  background: var(--primary-light);
}
.kpi-chart-bar--net::after {
  background: var(--primary);
}

.kpi-card__period {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

/* ─── MOBILE APP ─────────────────────────────────────────────────────────── */
.mobile {
  background: linear-gradient(180deg, var(--primary-lighter) 0%, #fff 100%);
}

.mobile__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mobile__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.mobile__title--accent {
  color: var(--primary);
}

.mobile__desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 48ch;
}

.mobile__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.mobile__feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.mobile__feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}

.mobile__feat div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mobile__feat strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.mobile__feat p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.mobile__badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition:
    background var(--transition),
    box-shadow var(--transition);
}

.store-badge:hover,
.store-badge:focus-visible {
  background: #27272a;
  box-shadow: var(--shadow-md);
}

.mobile__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile__phone-wrap {
  max-width: 300px;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px var(--border);
}

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

/* ─── PACKAGES ───────────────────────────────────────────────────────────── */
.packages {
  background: var(--background);
}

.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pkg-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
}

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

.pkg-card--featured {
  border-color: var(--primary);
  box-shadow:
    0 0 0 1px var(--primary),
    var(--shadow-lg);
}

.pkg-card__badge {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pkg-card__header {
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border);
}

.pkg-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.pkg-card__icon--1 {
  background: var(--primary-light);
  color: var(--primary);
}
.pkg-card__icon--2 {
  background: var(--primary);
  color: #fff;
}
.pkg-card__icon--3 {
  background: #1e1b4b;
  color: #c7d2fe;
}

.pkg-card__name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.pkg-card--featured .pkg-card__name {
  color: var(--primary);
}

.pkg-card__sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pkg-card__cta-wrap {
  display: flex;
}

.pkg-card__features {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pkg-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.pkg-card__features li svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* ─── WHY / ADVANTAGES ───────────────────────────────────────────────────── */
.why {
  background: var(--surface);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 18px;
}

.why-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.why-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── CTA BANNER ─────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #4c3fd1 0%, var(--primary) 50%, #7c3aed 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-banner__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cta-banner__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 52ch;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ─── CONTACT ────────────────────────────────────────────────────────────── */
.contact {
  background: var(--background);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.contact__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}

.contact__item-text {
  font-weight: 500;
  color: var(--text);
}

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

.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.form-input {
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-input::placeholder {
  color: var(--muted);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(91 75 232 / 0.12);
}

.form-textarea {
  min-height: 100px;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: #0f0f12;
  color: #a1a1aa;
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #27272a;
}

.footer__logo {
  height: 28px;
  width: auto;
  filter: brightness(10);
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.65;
  color: #71717a;
  margin-bottom: 24px;
  max-width: 32ch;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #27272a;
  color: #a1a1aa;
  transition:
    background var(--transition),
    color var(--transition);
}

.footer__social:hover,
.footer__social:focus-visible {
  background: var(--primary);
  color: #fff;
}

.footer__col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e4e4e7;
  margin-bottom: 16px;
}

.footer__col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  color: #71717a;
  transition: color var(--transition);
}

.footer__link:hover,
.footer__link:focus-visible {
  color: #e4e4e7;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #71717a;
  margin-bottom: 10px;
}

.footer__contact-item a {
  color: #71717a;
  transition: color var(--transition);
}

.footer__contact-item a:hover {
  color: #e4e4e7;
}

.footer__newsletter-desc {
  font-size: 13px;
  color: #71717a;
  margin-bottom: 12px;
}

.footer__newsletter-row {
  display: flex;
  gap: 8px;
}

.footer__newsletter-input {
  flex: 1;
  font-family: inherit;
  font-size: 14px;
  background: #27272a;
  border: 1.5px solid #3f3f46;
  color: #e4e4e7;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  outline: none;
  transition: border-color var(--transition);
}

.footer__newsletter-input::placeholder {
  color: #52525b;
}

.footer__newsletter-input:focus {
  border-color: var(--primary);
}

.footer__newsletter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}

.footer__newsletter-btn:hover {
  background: var(--primary-strong);
}

.footer__bottom {
  padding: 20px 0;
  background: #0a0a0d;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #52525b;
}

.footer__bottom-link {
  color: #52525b;
  transition: color var(--transition);
}

.footer__bottom-link:hover {
  color: #a1a1aa;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .modules__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visuals {
    justify-content: center;
  }

  .hero__dashboard-wrap {
    max-width: 480px;
  }

  .hero__mobile-wrap {
    width: 130px;
    right: -12px;
    bottom: -28px;
  }

  .showcase__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr !important;
  }

  .showcase--reversed .showcase__inner {
    direction: ltr;
  }

  .mobile__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mobile__visual {
    order: -1;
  }

  .mobile__phone-wrap {
    max-width: 260px;
  }

  .packages__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__actions {
    justify-content: center;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    z-index: 99;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__link {
    padding: 12px 24px;
    border-radius: 0;
  }

  .nav__ctas {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding: 64px 0 80px;
    text-align: center;
  }

  .hero__desc {
    font-size: 16px;
    margin: 0 auto 32px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__visuals {
    max-width: 360px;
    margin: 0 auto;
  }

  .hero__mobile-wrap {
    width: 110px;
  }

  .strip__list {
    gap: 8px 16px;
  }

  .strip__item {
    font-size: 13px;
  }

  .modules__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 400ms ease,
    transform 400ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__mobile-wrap {
    width: 90px;
    right: -4px;
    bottom: -16px;
  }

  .cta-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .showcase__stat-row {
    gap: 16px;
  }
}
