/* ========================================
   Shared tokens (non-color)
   ======================================== */
:root {
  --font-heading: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-accent: "Inter", "Noto Sans JP", sans-serif;
  --container: 1200px;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--on-surface);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Container
   ======================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 80px;
}

/* ========================================
   Section Spacing
   ======================================== */
.section {
  padding: 120px 0;
}

.section--hero-after {
  padding-top: 160px;
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  background: var(--primary);
  color: var(--cta-text);
}

/* ========================================
   Typography
   ======================================== */
.heading-hero {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

.heading-section {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 24px;
}

.heading-sub {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.text-large {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}

.text-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.text-caption {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.section--dark .heading-section {
  color: var(--cta-text);
}

.text-center {
  text-align: center;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--cta);
  color: var(--cta-text);
}

.btn--primary:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 125, 216, 0.3);
}

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

.btn--ghost:hover {
  background: var(--surface);
}

.btn--b-secondary {
  background: var(--b-secondary);
  color: #FFFFFF;
}

.btn--b-secondary:hover {
  background: var(--b-secondary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* ========================================
   Cards
   ======================================== */
.card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease;
  text-align: center;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card__icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin: 0 auto 16px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--on-surface);
}

.card__text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  text-align: left;
}

/* ========================================
   Grid
   ======================================== */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

/* ========================================
   Header
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: var(--background);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header--scrolled {
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-bottom-color: var(--border);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.header__logo svg {
  height: 40px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header__link:hover {
  color: var(--on-surface);
}

.header__cta {
  height: 40px;
  padding: 0 24px;
  font-size: 14px;
}

/* Hamburger */
.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--on-surface);
}

/* ========================================
   Drawer Menu
   ======================================== */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-overlay--visible {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--background);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.drawer--open {
  transform: translateX(0);
}

.drawer__close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface);
  margin-bottom: 16px;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer__link {
  font-size: 16px;
  font-weight: 600;
  color: var(--on-surface);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.drawer__link:hover {
  color: var(--secondary);
}

.drawer__cta {
  margin-top: 24px;
  width: 100%;
}

/* ========================================
   Mobile Fixed CTA Bar
   ======================================== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--background);
  padding: 12px 20px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
  border-top: 1px solid var(--border);
}

.mobile-cta-bar .btn {
  width: 100%;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(59,125,216,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(96,165,250,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 800px;
  padding: 0 20px;
}

.hero__heading {
  margin-bottom: 24px;
}

.hero__sub {
  margin-bottom: 48px;
}

/* ========================================
   Problems
   ======================================== */
.problems__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.problem-item {
  text-align: center;
}

.problem-item__icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin: 0 auto 16px;
}

.problem-item__text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--on-surface);
}

/* ========================================
   Solution
   ======================================== */
.solution__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.solution__accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 32px auto 0;
  border-radius: 2px;
}

/* ========================================
   Features
   ======================================== */
.feature-card {
  padding: 40px;
}

.feature-card__left {
  margin-bottom: 8px;
}

.feature-card__number {
  font-family: var(--font-accent);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
}

.feature-card__number span {
  font-size: 32px;
}

.feature-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--on-surface);
}

.feature-card__text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  text-align: left;
}

/* ========================================
   Stats
   ======================================== */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-accent);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--cta-text);
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

.stat-item__line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
}

/* ========================================
   Flow
   ======================================== */
.flow__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -50%;
  width: 100%;
  height: 0;
  border-top: 2px dashed var(--border);
  z-index: 0;
}

.flow-step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--cta-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.flow-step__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--on-surface);
}

.flow-step__desc {
  font-size: 14px;
  color: var(--muted);
}

/* ========================================
   Pricing
   ======================================== */
.pricing__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 48px auto 0;
}

.pricing-card {
  padding: 40px;
  text-align: center;
}

.pricing-card__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.pricing-card__price {
  font-family: var(--font-accent);
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.pricing-card__price-unit {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

.pricing-card__divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 24px auto;
}

.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-card__features li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  padding: 4px 0;
  padding-left: 24px;
  position: relative;
}

.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233B7DD8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
}

.cross-banner .pricing-card__features li::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23818CF8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
}

/* ========================================
   FAQ
   ======================================== */
.faq__list {
  max-width: 800px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--on-surface);
  text-align: left;
}

.faq-item__question:hover {
  color: var(--secondary);
}

.faq-item__icon {
  font-size: 24px;
  color: var(--muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

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

.faq-item__answer {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  padding-bottom: 24px;
  display: none;
}

.faq-item--open .faq-item__answer {
  display: block;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section__content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-section__form {
  margin-top: 48px;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 6px;
}

.form-group label .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  margin-left: 4px;
}

.form-group input,
.form-group textarea,
.form-group select,
.form-field .form-field__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--background);
  color: var(--on-surface);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-field .form-field__input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(59,125,216,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 32px;
}

/* ========================================
   Form - Validation & States
   ======================================== */
.form-field {
  margin-bottom: 20px;
}

.form-field__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 6px;
}

.form-field__label .required {
  color: var(--error);
  margin-left: 4px;
  font-size: 12px;
}

.form-field__input--error {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-field__error {
  display: none;
  font-size: 13px;
  color: var(--error);
  margin-top: 4px;
}

.form-error-global {
  display: none;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: var(--error);
  font-size: 14px;
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ========================================
   Form - Success Screen
   ======================================== */
.form-success {
  text-align: center;
  padding: 24px 0;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.form-success__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 16px;
}

.form-success__text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 16px;
}

.form-success__text strong {
  color: var(--on-surface);
}

.form-success__divider {
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.form-success__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.form-success__phone {
  font-family: var(--font-accent);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
}

.form-success__phone:hover {
  opacity: 0.8;
}

.form-success__note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* ========================================
   Form - Honeypot
   ======================================== */
.form-honeypot {
  position: absolute;
  left: -9999px;
}

/* ========================================
   Cross Link Banner (Premium)
   ======================================== */
.section--cross-banner {
  padding: 56px 0 56px;
}

.cross-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 12px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.cross-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(99,102,241,0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(129,140,248,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cross-banner__content {
  position: relative;
}

.cross-banner__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--b-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.cross-banner__text {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.cross-banner__sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}

.btn--cross {
  position: relative;
  background: var(--b-secondary);
  color: #FFFFFF;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn--cross:hover {
  background: var(--b-secondary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99,102,241,0.4);
}

/* ========================================
   Cross Link Banner - Flat variant
   ======================================== */
.cross-banner--flat {
  background: var(--b-secondary);
  border-left: none;
}

.cross-banner--flat::before {
  display: none;
}

.cross-banner--flat .cross-banner__label {
  color: rgba(255,255,255,0.7);
}

.cross-banner--flat .cross-banner__text {
  color: #FFFFFF;
}

.cross-banner--flat .cross-banner__sub {
  color: rgba(255,255,255,0.7);
}

.cross-banner--flat .btn--cross {
  background: #FFFFFF;
  color: var(--b-secondary);
}

.cross-banner--flat .btn--cross:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ========================================
   Single Pricing Card (1-column, highlighted)
   ======================================== */
.pricing-single {
  max-width: 640px;
  margin: 48px auto 0;
}

.pricing-single .card {
  border: 2px solid var(--secondary);
  position: relative;
  padding: 48px 40px;
}


/* Allow badge to overflow the card */
.pricing-single .cross-banner {
  overflow: visible;
}

/* White text for features list inside dark pricing card */
.pricing-single .pricing-card__features li {
  color: rgba(255,255,255,0.85);
}

/* ========================================
   Trust Badges (安心ポイント)
   ======================================== */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.trust-badge {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border-radius: 12px;
}

.trust-badge__icon {
  width: 48px;
  height: 48px;
  color: var(--secondary);
  margin: 0 auto 16px;
}

.trust-badge__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 8px;
}

.trust-badge__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ========================================
   Industry Chips
   ======================================== */
.industry-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.industry-chip {
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 15px;
  color: var(--on-surface);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #111827;
  color: rgba(255,255,255,0.6);
  padding: 80px 0 40px;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 80px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer__logo {
  color: #FFFFFF;
}

.footer__logo svg {
  height: 20px;
  width: auto;
}

.footer__company {
  font-size: 14px;
  margin-top: 8px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: #FFFFFF;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 13px;
}

/* ========================================
   Image Placeholder
   ======================================== */
.img-placeholder {
  background: #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}

.img-placeholder__label {
  font-size: 14px;
  color: var(--muted);
}

.img-placeholder--hero {
  aspect-ratio: 16 / 9;
  max-width: 600px;
  margin: 48px auto 0;
}

/* ========================================
   Scroll Animation
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ========================================
   Responsive: Tablet
   ======================================== */
@media (max-width: 1023px) {
  .container { padding: 0 40px; }
  .header__inner { padding: 0 40px; }
  .footer__inner { padding: 0 40px; }

  .heading-hero { font-size: 44px; }
  .heading-section { font-size: 32px; }
  .feature-card__number, .stat-item__number { font-size: 48px; }
  .feature-card__number span { font-size: 24px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .problems__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   Responsive: Mobile
   ======================================== */
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .header__inner { padding: 0 20px; }
  .footer__inner { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section--hero-after { padding-top: 100px; }
  .section--cross-banner { padding: 40px 0 40px; }

  .heading-hero { font-size: 32px; }
  .heading-section { font-size: 26px; }
  .heading-sub { font-size: 20px; }
  .text-large { font-size: 16px; }
  .feature-card__number, .stat-item__number { font-size: 40px; }
  .feature-card__number span { font-size: 20px; }
  .pricing-card__price { font-size: 36px; }

  .grid-2x2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .problems__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__cards { grid-template-columns: 1fr; }

  /* Header: hide nav, show hamburger */
  .header__nav { display: none; }
  .header__hamburger { display: flex; }

  .hero { min-height: auto; padding: 80px 0; }

  /* Mobile: section description text left-align */
  .text-large { text-align: left; }
  .solution__content .text-large { text-align: left; }
  p.text-large.text-center { text-align: left; }

  /* Problems: icon left, text right */
  .problem-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }
  .problem-item__icon {
    margin: 4px 0 0;
    flex-shrink: 0;
  }

  /* Feature cards: number left, text right */
  .card.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    padding: 24px;
  }
  .feature-card__left {
    flex-shrink: 0;
    text-align: center;
    min-width: 72px;
  }
  .feature-card__right {
    flex: 1;
  }
  .feature-card__number {
    margin-bottom: 0;
  }
  .feature-card__title {
    margin-bottom: 4px;
  }
  .feature-card__text {
    text-align: left;
  }

  /* Service cards: icon left, text right */
  .card:not(.feature-card):not(.pricing-card) {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 24px;
  }
  .card:not(.feature-card):not(.pricing-card) .card__icon {
    margin: 0;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }
  .card__body {
    flex: 1;
  }
  .card__title {
    font-size: 20px;
  }

  /* Flow: full-width card layout on mobile */
  .flow__steps {
    flex-direction: column;
    gap: 16px;
  }
  .flow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    background: var(--surface);
    border-radius: 12px;
    padding: 20px 24px;
    width: 100%;
  }
  .flow-step:not(:last-child)::after { display: none; }
  .flow-step__number {
    margin-bottom: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .flow-step__body {
    flex: 1;
  }

  .btn--full-mobile { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .trust-badges { grid-template-columns: 1fr; }
  .cross-banner--flat { border-top: none; }

  .cross-banner {
    flex-direction: column;
    gap: 24px;
    text-align: left;
    padding: 32px 24px;
  }

  .footer__top { flex-direction: column; gap: 24px; }
  .footer__links { flex-direction: column; gap: 12px; }

  /* Show mobile fixed CTA bar */
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 80px; }
}
