/* ============================================================
   Hikari Pay — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ── Tokens ── */
:root {
  --bg:        oklch(99% 0.004 245);
  --bg-2:      oklch(97% 0.006 245);
  --bg-3:      oklch(94% 0.008 245);
  --border:    oklch(88% 0.012 245);
  --border-hi: oklch(72% 0.06 235);

  --blue:      oklch(62% 0.22 240);
  --blue-hi:   oklch(72% 0.20 235);
  --blue-dim:  oklch(50% 0.18 245);
  --cyan:      oklch(74% 0.16 200);
  --glow:      oklch(62% 0.22 240 / 0.35);

  --text:      oklch(12% 0.020 245);
  --text-2:    oklch(35% 0.025 245);
  --text-3:    oklch(58% 0.018 245);

  --radius:    12px;
  --radius-lg: 20px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  --font-head: 'DM Sans', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', 'DM Sans', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }



/* ── Container ── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}
nav.scrolled {
  background: oklch(99% 0.004 245 / 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 24px oklch(50% 0.05 245 / 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--glow);
  flex-shrink: 0;
}
.logo-mark svg { width: 18px; height: 18px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
}
.btn-ghost {
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hi);
  background: var(--bg-3);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 24px var(--glow);
}
.btn-primary:hover {
  background: var(--blue-hi);
  box-shadow: 0 0 36px oklch(72% 0.20 235 / 0.5);
  transform: translateY(-1px);
}
.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
  border-radius: 10px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  transition: all var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: oklch(12% 0.025 245 / 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  z-index: 99;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  z-index: 1;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, oklch(62% 0.22 240 / 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, oklch(74% 0.16 200 / 0.04) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-hi);
  background: oklch(62% 0.22 240 / 0.08);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--blue-hi), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  width: 100%;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  flex: 1;
  padding: 28px 0;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-item {}
.stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-num span { color: var(--blue-hi); }
.stat-label {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.03em;
}

/* Hero visual */
.hero-visual {
  position: relative;
}
.payment-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 40px oklch(50% 0.05 245 / 0.10);
}
.payment-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-dim), transparent);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
}
.card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--cyan);
  font-weight: 500;
}
.status-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.card-amount {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.card-amount-sub {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 28px;
}
.card-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}
.tx-list { display: flex; flex-direction: column; gap: 12px; }
.tx-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  animation: slideIn 0.5s ease both;
}
.tx-item:nth-child(1) { animation-delay: 0.1s; }
.tx-item:nth-child(2) { animation-delay: 0.25s; }
.tx-item:nth-child(3) { animation-delay: 0.4s; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
.tx-left { display: flex; align-items: center; gap: 12px; }
.tx-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: oklch(62% 0.22 240 / 0.15);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.tx-info {}
.tx-name { font-size: 13px; font-weight: 500; }
.tx-date { font-size: 11px; color: var(--text-3); }
.tx-amount {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--cyan);
}
.tx-amount.negative { color: var(--text-2); }

/* Floating badge */
.float-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px oklch(50% 0.05 245 / 0.15);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.float-text .float-label { font-size: 11px; color: var(--text-3); }
.float-text .float-val { font-size: 13px; font-weight: 600; font-family: var(--font-head); }

/* ============================================================
   SECTION COMMON
   ============================================================ */
section {
  position: relative;
  z-index: 1;
}
.section-pad {
  padding: 100px 0;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-hi);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--blue-hi);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 560px;
}
.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin: 0 auto; }
.section-head.center .section-label { justify-content: center; }
.section-head.center .section-label::before { display: none; }

/* ============================================================
   FEATURES
   ============================================================ */
#features {
  background: oklch(97.5% 0.006 245);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: var(--bg-2);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.feature-card:hover { background: var(--bg-3); }
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--glow), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: oklch(62% 0.22 240 / 0.12);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: box-shadow var(--transition);
}
.feature-card:hover .feature-icon {
  box-shadow: 0 0 20px var(--glow);
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--blue-hi); stroke-width: 1.8; fill: none; }
.feature-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}
.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue-hi);
  text-transform: uppercase;
}

/* Large feature items */
.features-large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.feature-large {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-large:hover {
  border-color: var(--border-hi);
  background: var(--bg-3);
}
.feature-large-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: oklch(62% 0.22 240 / 0.12);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-large-icon svg { width: 24px; height: 24px; stroke: var(--blue-hi); stroke-width: 1.8; fill: none; }
.feature-large h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-large p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ============================================================
   TRUST / NUMBERS
   ============================================================ */
#trust {
  overflow: hidden;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 64px;
}
.trust-item {
  background: var(--bg);
  padding: 36px 32px;
  text-align: center;
}
.trust-num {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--blue-hi));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.trust-label {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ============================================================
   FLOW (How it works)
   ============================================================ */
#flow {
  background: oklch(97.5% 0.006 245);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue-dim), var(--cyan), var(--blue-dim));
  opacity: 0.5;
}
.flow-step {
  padding: 0 24px;
  text-align: center;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-hi);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.flow-step h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ============================================================
   FAQ
   ============================================================ */
#faq {}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item {
  background: var(--bg-2);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--bg-3); }
.faq-arrow {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-arrow {
  transform: rotate(45deg);
  background: var(--blue);
  border-color: var(--blue);
}
.faq-arrow svg { width: 12px; height: 12px; stroke: var(--text-2); stroke-width: 2; }
.faq-item.open .faq-arrow svg { stroke: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a-inner {
  padding: 0 28px 24px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
#cta {
  text-align: center;
}
.cta-box {
  background: oklch(97.5% 0.006 245);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 40px oklch(50% 0.05 245 / 0.07);
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--blue), transparent);
  opacity: 0.6;
}
.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, oklch(62% 0.22 240 / 0.05), transparent 70%);
  pointer-events: none;
}
.cta-box .section-title { margin-bottom: 16px; }
.cta-box .section-desc { margin: 0 auto 40px; }
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-3);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.footer-brand .nav-logo { margin-bottom: 0; }
.footer-tagline { display: none; }
.footer-bottom {
  display: none;
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--text); }

.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: var(--text-3);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--text-2); }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
#tweaks-panel {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  z-index: 200;
  box-shadow: 0 20px 60px oklch(50% 0.05 245 / 0.18);
}
#tweaks-panel.visible { display: block; }
.tweaks-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.tweak-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.tweak-row label { font-size: 12px; color: var(--text-2); }
.tweak-row input[type=range] {
  width: 100%;
  accent-color: var(--blue);
}
.tweak-row select {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 6px 10px;
  font-size: 13px;
  font-family: inherit;
}
.tweak-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.tweak-toggle-row label { font-size: 12px; color: var(--text-2); }
.toggle-switch {
  width: 36px; height: 20px;
  background: var(--border);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}
.toggle-switch.on { background: var(--blue); }
.toggle-switch::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  top: 3px; left: 3px;
  transition: transform var(--transition);
}
.toggle-switch.on::after { transform: translateX(16px); }

/* ============================================================
   ANIMATIONS & UTILS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .flow-steps::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .features-large { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-box { padding: 48px 24px; }
  .section-pad { padding: 72px 0; }
  #tweaks-panel { bottom: 16px; right: 16px; width: calc(100vw - 32px); }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .float-badge { display: none; }
}
