/* ===========================
   FAR-Pad LP — Construction B2B Professional
   =========================== */

:root {
  --white: #ffffff;
  --bg: #fafafa;
  --bg-gray: #f3f4f6;
  --text: #111827;
  --text-sub: #4b5563;
  --text-muted: #9ca3af;
  --border: #d1d5db;
  --border-light: #e5e7eb;
  --accent: #1e40af;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --green: #16a34a;
  --orange: #ea580c;
  --red: #dc2626;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
  --font: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== AOS SAFETY: visible by default, AOS will animate in ===== */
[data-aos] {
  /* Override AOS default opacity:0 — will be re-set once AOS.init() runs */
}
html.aos-fallback [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ===== RESET ===== */
*, *::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.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17,24,39,0.4);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--border-light);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo-img {
  height: 28px;
  transition: filter 0.4s;
}
.header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  transition: color 0.3s;
  position: relative;
}
.nav a:hover { color: var(--text); }
.header:not(.scrolled) .nav a { color: rgba(255,255,255,0.75); }
.header:not(.scrolled) .nav a:hover { color: #fff; }
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: 0.3s;
}
.header:not(.scrolled) .hamburger span { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(251,251,253,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 2px;
  z-index: 99;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-sub);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--text); }
.mobile-nav a:last-child { border-bottom: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  font-size: 16px;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  padding: 15px 30px;
  font-size: 17px;
}
.btn-secondary:hover { text-decoration: underline; }

/* Hero-specific button override */
.hero .btn-secondary {
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 8px;
}
.hero .btn-secondary:hover {
  text-decoration: none;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
}

.btn-dark {
  background: var(--text);
  color: var(--white);
  transition: background 0.3s, color 0.3s, opacity 0.2s;
}
.btn-dark:hover { opacity: 0.85; }
.header:not(.scrolled) .btn-dark {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.header:not(.scrolled) .btn-dark:hover {
  background: rgba(255,255,255,0.25);
  opacity: 1;
}

.btn-white {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.btn-white:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 17px 36px;
  font-size: 17px;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 160px 0 60px;
  text-align: center;
  overflow: hidden;
  background: #000;
}

/* Hero Background Video */
.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(17,24,39,0.75) 0%, rgba(17,24,39,0.6) 100%);
  z-index: 1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 2;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,64,175,0.1), transparent 70%);
  top: -200px;
  right: -100px;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52,199,89,0.08), transparent 70%);
  bottom: -100px;
  left: -150px;
}
.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(175,130,255,0.08), transparent 70%);
  top: 200px;
  left: 30%;
}

.hero-container { position: relative; z-index: 3; max-width: 800px; margin: 0 auto; padding: 0 24px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52,199,89,0.2);
  animation: badge-pulse 2s ease infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52,199,89,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(52,199,89,0); }
}

.hero h1 {
  margin-top: 24px;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-sub {
  margin-top: 24px;
  font-size: 19px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 3;
  margin-top: 72px;
  padding: 0 24px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== iPAD REALISTIC SVG FRAME ===== */
.ipad-realistic {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  /* Lock aspect ratio: 1024 x 748 */
  aspect-ratio: 1024 / 748;
}

/* Fallback for browsers without aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
  .ipad-realistic::before {
    content: '';
    display: block;
    padding-top: 73.046875%; /* 748 / 1024 * 100 */
  }
}

.ipad-frame-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.35));
}

.ipad-screen-content {
  position: absolute;
  /* Match the screen rect in the SVG: x=18, y=18, w=988, h=712 out of 1024x748 */
  top: 2.406%;     /* 18/748 */
  left: 1.758%;    /* 18/1024 */
  width: 96.484%;  /* 988/1024 */
  height: 95.187%; /* 712/748 */
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* Toolbar inside iPad */
.ipad-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
  gap: 8px;
}

.ipad-tb-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ipad-tb-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
}
.ipad-tb-file {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--white);
  border: 1px solid var(--border-light);
}

/* Action buttons (undo, upload, pdf) */
.ipad-tb-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}
.ipad-action-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border: 1px solid var(--border-light);
  background: var(--white);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-sub);
  cursor: default;
  transition: background 0.2s;
}

/* Mode switcher (追加/削除/閲覧) */
.ipad-tb-tools {
  display: flex;
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 3px;
}

.ipad-tool {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border: none;
  background: transparent;
  border-radius: 7px;
  color: var(--text-muted);
  cursor: default;
  transition: background 0.25s, color 0.25s;
  font-size: 11px;
  font-weight: 700;
}
.ipad-tool-add.active {
  background: var(--green);
  color: var(--white);
}
.ipad-tool-delete.active {
  background: var(--red);
  color: var(--white);
}
.ipad-tool-browse.active {
  background: var(--accent);
  color: var(--white);
}

.ipad-tb-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ipad-tb-status {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  transition: all 0.3s;
}
.ipad-status-add {
  color: #15803d;
  background: #dcfce7;
}
.ipad-status-delete {
  color: #b91c1c;
  background: #fee2e2;
}
.ipad-status-browse {
  color: var(--accent);
  background: var(--accent-light);
}
.ipad-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 4px rgba(52, 199, 89, 0.5);
  flex-shrink: 0;
}

/* Bottom status bar */
.ipad-bottombar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: var(--bg-gray);
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
}
.ipad-bottom-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border: 1px solid var(--border-light);
  background: var(--white);
  border-radius: 5px;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-sub);
  cursor: default;
}
.ipad-device-name {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Canvas */
.ipad-canvas {
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  min-height: 200px;
}

.ipad-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('img/blueprint-bg.png') no-repeat;
  /* Zoom into center-mid area of the blueprint */
  background-size: 280%;
  background-position: 50% 55%;
}

/* Static pre-existing markers (actual mark shapes) */
.static-marker {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.smark-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid var(--red);
  background: rgba(255,59,48,0.08);
  opacity: 0.55;
}
.smark-square {
  width: 26px;
  height: 26px;
  border-radius: 3px;
  border: 2.5px solid var(--accent);
  background: rgba(30,64,175,0.06);
  opacity: 0.55;
}
.smark-num {
  font-size: 10px;
  font-weight: 800;
  color: inherit;
  opacity: 0.7;
}

/* Animated cursor */
.anim-cursor {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transition: opacity 0.3s;
}
.anim-cursor.visible { opacity: 1; }

/* Legacy mark classes (kept for compatibility) */

/* ===== Animated mark wrap (contains shape + arrow) ===== */
.anim-mark-wrap {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 3px;
  pointer-events: none;
  z-index: 5;
}

/* Base mark shape */
.anim-mark-shape {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- Size variants (大/中/小) ---- */
.anim-mark-circle.sz-lg { width: 34px; height: 34px; }
.anim-mark-circle.sz-md { width: 24px; height: 24px; }
.anim-mark-circle.sz-sm { width: 16px; height: 16px; }

.anim-mark-triangle.sz-lg { width: 34px; height: 30px; padding-top: 8px; }
.anim-mark-triangle.sz-md { width: 24px; height: 21px; padding-top: 6px; }
.anim-mark-triangle.sz-sm { width: 16px; height: 14px; padding-top: 4px; }
.anim-mark-triangle .anim-mark-num { color: #1d1d1f; }

.anim-mark-square.sz-lg { width: 32px; height: 32px; }
.anim-mark-square.sz-md { width: 22px; height: 22px; }
.anim-mark-square.sz-sm { width: 14px; height: 14px; }

.anim-mark-diamond.sz-lg { width: 28px; height: 28px; }
.anim-mark-diamond.sz-md { width: 20px; height: 20px; }
.anim-mark-diamond.sz-sm { width: 13px; height: 13px; }

.anim-mark-cross.sz-lg { width: 30px; height: 30px; }
.anim-mark-cross.sz-md { width: 22px; height: 22px; }
.anim-mark-cross.sz-sm { width: 14px; height: 14px; }
.anim-mark-cross.sz-lg::before, .anim-mark-cross.sz-lg::after { width: 28px; }
.anim-mark-cross.sz-md::before, .anim-mark-cross.sz-md::after { width: 20px; }
.anim-mark-cross.sz-sm::before, .anim-mark-cross.sz-sm::after { width: 12px; }

/* ---- Shape styles ---- */
.anim-mark-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid var(--red);
  background: rgba(255,59,48,0.08);
}
.anim-mark-triangle {
  width: 24px;
  height: 21px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6px; /* push number toward visual center of triangle */
}
.anim-mark-square {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  border: 2.5px solid var(--accent);
  background: rgba(30,64,175,0.06);
}
.anim-mark-diamond {
  width: 20px;
  height: 20px;
  border: 2.5px solid #8b5cf6;
  background: rgba(139,92,246,0.08);
  transform: rotate(45deg);
}
.anim-mark-diamond .anim-mark-num {
  transform: rotate(-45deg);
}
.anim-mark-cross {
  width: 22px;
  height: 22px;
  position: relative;
}
.anim-mark-cross::before,
.anim-mark-cross::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--green);
  border-radius: 2px;
}
.anim-mark-cross::before {
  width: 20px;
  height: 3px;
  transform: translate(-50%, -50%) rotate(45deg);
}
.anim-mark-cross::after {
  width: 20px;
  height: 3px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.anim-mark-num {
  font-size: 10px;
  font-weight: 800;
  color: inherit;
  line-height: 1;
}
.anim-mark-circle.sz-lg .anim-mark-num { font-size: 13px; }
.anim-mark-circle.sz-sm .anim-mark-num { font-size: 7px; }
.anim-mark-square.sz-lg .anim-mark-num { font-size: 13px; }

/* Arrow next to mark */
.anim-arrow {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-sub);
  line-height: 1;
  flex-shrink: 0;
}
.anim-arrow.arrow-up,
.anim-arrow.arrow-down {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.anim-arrow.arrow-up { bottom: 105%; }
.anim-arrow.arrow-down { top: 105%; }
.anim-arrow.arrow-right { margin-left: 1px; }
.anim-arrow.arrow-left { order: -1; margin-right: 1px; }

/* ===== Count panel (range aggregation) ===== */
.anim-count-panel {
  position: absolute;
  background: rgba(255,255,255,0.97);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  font-size: 13px;
  color: var(--text);
  z-index: 25;
  min-width: 160px;
  pointer-events: none;
}
.acp-title {
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}
.acp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
}
.acp-shape { font-size: 15px; width: 18px; text-align: center; }
.acp-name { flex: 1; font-weight: 600; }
.acp-val { font-weight: 800; font-size: 16px; color: var(--accent); }
.acp-total {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--border-light);
  font-weight: 800;
  text-align: right;
  font-size: 15px;
}

/* Animated range selection */
.anim-range-box {
  position: absolute;
  border: 2px dashed var(--accent);
  background: rgba(30,64,175,0.05);
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  z-index: 10;
}
.anim-range-box.show { opacity: 1; }

/* Animated pin labels */
.anim-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.7) translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 15;
}
.anim-pin.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.anim-pin-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(30,64,175,0.25);
}
.anim-pin-label {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--text);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.trust-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.trust-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.trust-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}
.trust-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 0;
}
.section-gray { background: var(--bg-gray); }

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

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-center h2 {
  margin-top: 12px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.75;
}

/* ===== METRICS ===== */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.metric-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.metric-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.counter {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.metric-unit {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}
.metric-label {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== PROBLEMS ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.2s, box-shadow 0.2s;
}
.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.problem-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff0f0;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.problem-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== PHOTO BANNER (Solo work — full-width) ===== */
.photo-banner {
  position: relative;
  height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-banner-img {
  position: absolute;
  inset: 0;
}
.photo-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%;
}
.photo-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 100%);
}
.photo-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}
.photo-banner-eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.photo-banner-content h3 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.photo-banner-content p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.85;
}

/* ===== PHOTO SPLIT (Team work — 50/50) ===== */
.photo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  overflow: hidden;
}
.photo-split-img {
  overflow: hidden;
}
.photo-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo-split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  background: var(--bg-gray);
}
.photo-split-eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.photo-split-content h3 {
  margin-top: 8px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
.photo-split-content p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.75;
}

/* ===== SHOWCASE ===== */
.showcase {
  overflow: hidden;
}
.showcase-item { padding: 0; }

.showcase-blue {
  background: #1e3a5f;
  color: var(--white);
  padding: 100px 0;
}

.showcase-dark {
  background: #111827;
  color: var(--white);
  padding: 100px 0;
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.showcase-reverse { direction: rtl; }
.showcase-reverse > * { direction: ltr; }

.showcase-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.showcase-eyebrow-light {
  font-size: 13px;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-text h3 {
  margin-top: 8px;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.showcase-desc {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.75;
  opacity: 0.8;
}

.showcase-list {
  margin-top: 24px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.showcase-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.9;
}

/* Cloud Illustration */
.cloud-illustration {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto;
}

.cloud-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cloud-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.cloud-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
/* Initial positions — fully overridden by JS orbit animation */
.cn-1, .cn-2, .cn-3 {
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
}

/* Report Stack */
.report-stack {
  position: relative;
  width: 260px;
  height: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  color: var(--text);
}

.rc-1 { width: 230px; height: 290px; bottom: 0; left: 15px; z-index: 3; }
.rc-2 { width: 215px; height: 260px; bottom: 16px; left: 32px; z-index: 2; opacity: 0.85; }
.rc-3 { width: 200px; height: 230px; bottom: 32px; left: 50px; z-index: 1; opacity: 0.65; }

.rc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.rc-line {
  height: 8px;
  border-radius: 4px;
  background: var(--border-light);
  margin-bottom: 10px;
}
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; }
.w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }

.rc-rows { display: flex; flex-direction: column; gap: 8px; }
.rc-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
}
.rc-row::before, .rc-row::after {
  content: '';
  height: 8px;
  border-radius: 4px;
  background: var(--border-light);
}
.rc-row::before { grid-column: 1; }

.rc-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
  margin-top: 12px;
}
.rc-bar {
  flex: 1;
  background: linear-gradient(to top, #1e40af, #60a5fa);
  border-radius: 4px 4px 0 0;
}

/* ===== Report Scatter → Consolidate Animation ===== */
.rpt-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
}
.rpt-name { color: var(--text-sub); }

.rpt-tap-btn {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(30,64,175,0.3);
  opacity: 0;
  z-index: 5;
  cursor: default;
}

.rpt-result {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  color: var(--text);
  opacity: 0;
  z-index: 6;
  min-width: 200px;
}
.rpt-result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
.rpt-result-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rpt-result-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
}

/* ===== COMPARE TABLE ===== */
.compare-wrap {
  margin-top: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  padding: 18px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.compare-table thead th {
  background: var(--bg-gray);
  font-size: 14px;
  font-weight: 700;
  position: relative;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  width: 28%;
}

.col-muted { color: var(--text-muted) !important; }
.col-highlight {
  color: var(--accent) !important;
}

.th-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr { transition: background 0.15s; }
.compare-table tbody tr:hover { background: rgba(30,64,175,0.02); }

.td-highlight { background: rgba(30,64,95,0.03); }

/* Compare icons (pure HTML, no JS dependency) */
.cmp-o { color: var(--green); font-weight: 800; font-size: 20px; }
.cmp-x { color: #d2d2d7; font-size: 18px; }
.cmp-t { color: #ff9500; font-weight: 700; font-size: 18px; }
.cmp-label { font-weight: 600; color: #86868b; font-size: 13px; }
.cmp-best { font-weight: 800; color: var(--accent); font-size: 15px; }

.tr-unique { background: rgba(30,64,175,0.03); }
.tr-unique:hover { background: rgba(30,64,175,0.06) !important; }
.cmp-unique-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  vertical-align: middle;
  margin-left: 6px;
}

/* Legacy (keep for JS-rendered fallback) */
.icon-check { color: #34c759; }
.icon-cross { color: #d2d2d7; }
.icon-partial { color: #ff9500; }
.cell-label { font-weight: 600; color: #86868b; font-size: 13px; }
.cell-best { font-weight: 800; color: #0071e3; font-size: 15px; }

/* ===== FLOW ===== */
.flow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.flow-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.flow-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.flow-connector {
  position: absolute;
  top: 26px;
  left: calc(50% + 32px);
  width: calc(100% - 64px);
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.flow-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: var(--shadow-sm);
}

.flow-step h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ===== VOICE SWIPER ===== */
.voice-swiper {
  margin-top: 56px;
  padding-bottom: 56px;
}

.voice-card {
  background: var(--bg-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.voice-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--orange);
}

.voice-card blockquote {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: normal;
}

.voice-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.voice-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-name { font-size: 15px; font-weight: 700; }
.voice-role { font-size: 13px; color: var(--text-muted); }

.voice-swiper .swiper-pagination-bullet {
  background: var(--border);
  opacity: 1;
  width: 8px;
  height: 8px;
}
.voice-swiper .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
}
.faq-question:hover { color: var(--accent); }

.faq-chevron {
  transition: transform 0.3s;
  color: var(--text-muted);
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
}

.pricing-featured-badge {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 4px 16px 6px;
  border-radius: 0 0 10px 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pricing-card-header {
  padding: 32px 28px 20px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pricing-card-featured .pricing-card-icon {
  background: var(--accent);
  color: var(--white);
}

.pricing-card-header h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pricing-card-desc {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-card-body {
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  gap: 12px;
}
.pricing-item:last-child { border-bottom: none; }

.pricing-item.highlight {
  background: rgba(52,199,89,0.04);
  margin: 0 -28px;
  padding: 14px 28px;
  border-radius: 0;
}

.pricing-item.main-price {
  padding: 18px 0;
}

.pricing-item-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
}
.pricing-item-label i { color: var(--text-muted); flex-shrink: 0; }

.pricing-item-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}

.price-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}
.price-num.large {
  font-size: 32px;
}
.price-num.free {
  color: var(--green);
}
.price-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: #1e3a5f;
  color: var(--white);
  text-align: center;
}
.cta h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}
.cta-sub {
  margin-top: 16px;
  font-size: 18px;
  opacity: 0.8;
  line-height: 1.7;
}
.cta-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 24px;
  font-size: 14px;
  opacity: 0.45;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-gray);
  border-top: 1px solid var(--border-light);
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}
.footer-logo { height: 28px; margin-bottom: 14px; opacity: 0.6; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */

/* --- Tablet landscape & small desktop (≤1024px) --- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 46px; }
  .section-center h2, .cta h2 { font-size: 36px; }
  .showcase-text h3 { font-size: 32px; }

  .features-grid, .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-left: auto; margin-right: auto; }
  .pricing-card-featured { grid-column: 1 / -1; } /* featured card spans full width */
  .metrics-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .showcase-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .showcase-reverse { direction: ltr; }
  .showcase-text { text-align: center; }
  .showcase-list { align-items: center; }
  .showcase-desc br { display: none; }
  .flow-row { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .flow-connector { display: none; }

  .nav { display: none; }
  .header-actions { display: none; }
  .hamburger { display: flex; }

  .ipad-action-btn span { display: none; }
  .ipad-action-btn { padding: 3px 6px; }

  .cloud-illustration { width: 320px; height: 320px; }

  .photo-banner { height: 400px; }
  .photo-banner-content h3 { font-size: 36px; }
  .photo-split-content { padding: 48px 40px; }
  .photo-split-content h3 { font-size: 34px; }
}

/* --- Tablet portrait & large phone (≤768px) --- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .showcase-blue, .showcase-dark { padding: 72px 0; }
  .cta { padding: 80px 0; }

  .hero { padding: 110px 0 40px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .hero-sub br { display: none; }
  .hero-visual { margin-top: 48px; padding: 0 4px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; }

  /* iPad mockup toolbar simplification */
  .ipad-screen-content { border-radius: 4px; }
  .ipad-toolbar { padding: 4px 8px; gap: 4px; }
  .ipad-tb-file { display: none; }
  .ipad-tb-actions { display: none; }
  .ipad-tb-status { display: none; }
  .ipad-online-dot { display: none; }
  .ipad-bottombar { display: none; }
  .ipad-tool { padding: 3px 8px; font-size: 9px; }
  .ipad-tb-title { font-size: 10px; }

  /* Count panel smaller on tablet */
  .anim-count-panel { padding: 10px 14px; min-width: 130px; border-radius: 10px; }
  .acp-title { font-size: 11px; margin-bottom: 6px; }
  .acp-row { font-size: 11px; gap: 5px; padding: 2px 0; }
  .acp-shape { font-size: 12px; }
  .acp-val { font-size: 13px; }
  .acp-total { font-size: 12px; }

  .section-center h2, .cta h2 { font-size: 30px; }
  .section-sub { font-size: 15px; }
  .showcase-text h3 { font-size: 26px; }
  .showcase-desc { font-size: 15px; }

  .metrics-row { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .metric-card { padding: 24px 16px; }
  .counter { font-size: 40px; }
  .metric-unit { font-size: 20px; }

  .problem-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { padding: 28px 22px; }
  .feature-card h3 { font-size: 18px; }
  .feature-card p { font-size: 14px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-card-featured { grid-column: auto; }
  .flow-row { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }

  /* Compare table: fit within screen, no horizontal scroll */
  .compare-wrap { overflow-x: visible; }
  .compare-table { min-width: 0; font-size: 12px; table-layout: fixed; width: 100%; }
  .compare-table th, .compare-table td { padding: 12px 8px; word-break: break-word; }
  .compare-table th:first-child, .compare-table td:first-child { width: 40%; }
  .cmp-unique-badge { font-size: 8px; padding: 1px 4px; margin-left: 2px; }
  .compare-table { font-size: 13px; min-width: 520px; }
  .compare-table th, .compare-table td { padding: 14px 12px; }

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

  .cloud-illustration { width: 280px; height: 280px; }
  .cloud-node { padding: 10px 16px; font-size: 12px; gap: 6px; }
  .cloud-hub { width: 64px; height: 64px; }

  .report-stack { width: 240px; height: 280px; }
  .rpt-card { padding: 8px 12px; font-size: 10px; }
  .rpt-result { padding: 16px 18px; min-width: 170px; }
  .rpt-tap-btn { padding: 10px 20px; font-size: 12px; }

  .photo-banner { height: 360px; }
  .photo-banner-content h3 { font-size: 30px; }
  .photo-banner-content p { font-size: 15px; }
  .photo-split { grid-template-columns: 1fr; }
  .photo-split-img { height: 280px; }
  .photo-split-content { padding: 40px 28px; text-align: center; }
  .photo-split-content h3 { font-size: 28px; }
  .photo-split-content p { font-size: 15px; }

  .hide-sp { display: none; }
}

/* --- Phone (≤480px) --- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .showcase-blue, .showcase-dark { padding: 56px 0; }
  .cta { padding: 64px 0; }

  .hero { padding: 100px 0 32px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 14px; }
  .hero-visual { margin-top: 36px; padding: 0; }
  .hero-actions { gap: 12px; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; text-align: center; font-size: 14px; padding: 13px 24px; }

  .section-center h2, .cta h2 { font-size: 24px; }
  .section-sub { font-size: 14px; }
  .showcase-text h3 { font-size: 22px; }
  .showcase-desc { font-size: 14px; }
  .showcase-list li { font-size: 13px; }

  /* iPad mockup: minimal toolbar */
  .ipad-toolbar { padding: 3px 6px; }
  .ipad-tool { padding: 2px 6px; font-size: 8px; }
  .ipad-tb-title { font-size: 9px; }
  .ipad-tb-tools { padding: 2px; gap: 1px; }

  /* Count panel compact */
  .anim-count-panel { padding: 8px 10px; min-width: 110px; border-radius: 8px; }
  .acp-title { font-size: 9px; margin-bottom: 4px; padding-bottom: 3px; }
  .acp-row { font-size: 9px; gap: 4px; padding: 1px 0; }
  .acp-shape { font-size: 10px; width: 14px; }
  .acp-val { font-size: 11px; }
  .acp-total { font-size: 10px; margin-top: 4px; padding-top: 3px; }

  .metrics-row { grid-template-columns: 1fr; gap: 10px; }
  .metric-card { padding: 24px 20px; display: flex; align-items: center; gap: 16px; text-align: left; }
  .metric-icon { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
  .metric-value { justify-content: flex-start; }
  .counter { font-size: 36px; }
  .metric-unit { font-size: 18px; }
  .metric-label { margin-top: 2px; font-size: 13px; }

  .problem-grid, .features-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 22px 18px; }
  .feature-card { padding: 24px 20px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card p { font-size: 13px; }

  .flow-row { grid-template-columns: 1fr; gap: 24px; }

  .compare-table { font-size: 11px; }
  .compare-table th, .compare-table td { padding: 10px 6px; }
  .th-badge { font-size: 8px; padding: 2px 5px; }
  .cmp-unique-badge { font-size: 7px; padding: 1px 3px; margin-left: 1px; }

  .pricing-grid { max-width: 100%; }
  .pricing-card-header h3 { font-size: 18px; }

  .trust-stats { gap: 20px; }
  .trust-stat-num { font-size: 22px; }
  .trust-stat-label { font-size: 11px; }
  .trust-stat-divider { height: 32px; }

  .cloud-illustration { width: 240px; height: 240px; }
  .cloud-node { padding: 8px 12px; font-size: 11px; gap: 5px; }
  .cloud-hub { width: 52px; height: 52px; }
  .cloud-hub i, .cloud-hub svg { width: 28px !important; height: 28px !important; }

  .report-stack { width: 200px; height: 250px; }
  .rpt-card { padding: 6px 10px; font-size: 9px; }
  .rpt-tap-btn { padding: 8px 16px; font-size: 11px; }
  .rpt-result { padding: 14px 16px; min-width: 150px; }
  .rpt-result-header { font-size: 12px; }
  .rpt-result-row { font-size: 11px; }

  .cta-sub { font-size: 15px; }
  .cta-note { font-size: 12px; }

  .footer-brand p { font-size: 13px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-col h4 { font-size: 13px; }
  .footer-col a { font-size: 13px; }
  .footer-bottom { font-size: 11px; }

  .photo-banner { height: 300px; }
  .photo-banner-content h3 { font-size: 26px; }
  .photo-banner-content p { font-size: 14px; }
  .photo-banner-eyebrow { font-size: 12px; }
  .photo-split-img { height: 240px; }
  .photo-split-content { padding: 32px 20px; }
  .photo-split-content h3 { font-size: 24px; }
  .photo-split-content p { font-size: 14px; }
  .photo-split-eyebrow { font-size: 12px; }

  .sim-wrap { grid-template-columns: 1fr; }
  .sim-result { border-left: none; border-top: 1px solid var(--border-light); }
  .options-row { justify-content: center; }
}

/* ===== PRICING PLAN CARDS ===== */
.pricing-grid-plans {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

/* 新料金体系：基本料金 + iPadレンタルの2カラム */
.pricing-grid-base {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 初回利用限定 特別価格 ===== */
.launch-offer {
  margin-top: 56px;
  padding: 36px 32px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #dbeafe;
  position: relative;
  overflow: hidden;
}
.launch-offer-head {
  text-align: center;
  margin-bottom: 28px;
}
.launch-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.launch-offer-title {
  margin-top: 14px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}
.launch-offer-sub {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-sub);
}
.launch-offer-sub strong { color: var(--accent); font-weight: 800; }

.launch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.launch-table-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.launch-table-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border-light);
}
.launch-table-head i { color: var(--accent); }
.launch-table {
  width: 100%;
  border-collapse: collapse;
}
.launch-table th,
.launch-table td {
  padding: 11px 16px;
  text-align: right;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
}
.launch-table th:first-child,
.launch-table td:first-child {
  text-align: left;
  color: var(--text-sub);
  font-weight: 600;
}
.launch-table thead th {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.launch-table .lt-old {
  color: var(--text-muted);
  text-decoration: line-through;
  white-space: nowrap;
}
.launch-table .lt-new {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}
.launch-table tfoot td {
  border-bottom: none;
  border-top: 2px solid var(--border);
  font-size: 14px;
  font-weight: 800;
  background: var(--accent-light);
}
.launch-table tfoot td:first-child { color: var(--text); }
.launch-table .lt-total {
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}
.launch-offer-note {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .pricing-grid-base { grid-template-columns: 1fr; max-width: 420px; }
  .launch-grid { grid-template-columns: 1fr; }
  .launch-offer { padding: 28px 16px 22px; }
  .launch-offer-title { font-size: 22px; }
  .launch-table th, .launch-table td { padding: 10px 12px; font-size: 12px; }
}

.pricing-card-footer {
  padding: 0 28px 28px;
  text-align: center;
}

.price-discount {
  font-weight: 800;
  color: var(--accent);
}
.discount-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: #dbeafe;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  vertical-align: middle;
  margin-left: 4px;
}

.btn-outline-sm {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-sub);
  transition: all 0.25s;
  width: 100%;
  text-align: center;
}
.btn-outline-sm:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.pricing-card-featured .btn-primary.btn-sm {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.metric-static {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ===== OPTIONS BAR ===== */
.options-bar {
  margin-top: 48px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}
.options-bar h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0.04em;
}
.options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.option-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-gray);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-sub);
  white-space: nowrap;
}
.option-chip strong {
  color: var(--text);
  font-weight: 800;
}
.option-chip-free {
  background: rgba(22,163,74,0.06);
  border-color: rgba(22,163,74,0.2);
}
.option-chip-free strong {
  color: var(--green);
}

.pricing-notices {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-notice-warn, .pricing-notice-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.6;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
}
.pricing-notice-warn {
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
}
.pricing-notice-warn i { color: #d97706; flex-shrink: 0; margin-top: 1px; }
.pricing-notice-info {
  color: var(--text-sub);
  background: var(--bg-gray);
  border: 1px solid var(--border-light);
}
.pricing-notice-info i { color: var(--text-muted); flex-shrink: 0; margin-top: 1px; }

/* ===== SIMULATOR ===== */
.sim-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sim-inputs {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sim-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.sim-label i { color: var(--text-muted); }

.sim-radio-group {
  display: flex;
  gap: 8px;
}
.sim-radio {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.sim-radio:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.sim-radio.active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

.sim-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.sim-step-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-sub);
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sim-step-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.sim-step-btn:active {
  background: var(--accent);
  color: var(--white);
}
.sim-step-val {
  min-width: 56px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  padding: 0 4px;
  background: var(--white);
}

.sim-result {
  background: #1e3a5f;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border-light);
}
.sim-result-inner {
  text-align: center;
  width: 100%;
}
.sim-result-plan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.sim-result-plan-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sim-result-plan-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.sim-result-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 4px;
}
.sim-result-yen {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.sim-result-num {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.sim-result-unit {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.sim-result-breakdown {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sim-bd-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.sim-bd-row span:last-child {
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}
.sim-result-note {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.sim-result-cta {
  margin-top: 20px;
  display: inline-block;
  width: 100%;
}

.sim-note-ipad {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--bg-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-sub);
}
.sim-note-ipad i { color: var(--text-muted); flex-shrink: 0; }

/* ===== BLOG SECTION ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.blog-card-category {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
}
.blog-card h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 4px 0;
}
.blog-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  flex-grow: 1;
}
.blog-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.blog-more {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .blog-card { padding: 24px; }
  .blog-card h3 { font-size: 17px; }
}

/* ===== LEGAL / BLOG PAGES ===== */
.legal-content, .blog-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 100px;
}
.legal-content h1, .blog-content h1 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal-content .legal-meta, .blog-content .blog-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.legal-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  letter-spacing: -0.01em;
}
.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--text);
}
.legal-content p, .blog-content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
  margin-bottom: 14px;
}
.legal-content ul, .legal-content ol, .blog-content ul, .blog-content ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
.legal-content li, .blog-content li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-sub);
  margin-bottom: 6px;
}
.legal-content strong, .blog-content strong {
  color: var(--text);
  font-weight: 700;
}
.blog-article {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-light);
}
.blog-article:last-child { border-bottom: none; }
.blog-article h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.blog-article .blog-article-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.blog-article .blog-card-category {
  margin-bottom: 10px;
}
.legal-toc {
  padding: 20px 24px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  margin-bottom: 40px;
}
.legal-toc h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.legal-toc ol {
  margin: 0;
  padding-left: 1.4em;
}
.legal-toc li {
  font-size: 14px;
  margin-bottom: 4px;
}
.legal-toc a {
  color: var(--accent);
  text-decoration: none;
}
.legal-toc a:hover {
  text-decoration: underline;
}

/* Simulator responsive */
@media (max-width: 1024px) {
  .pricing-grid-plans { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin-left: auto; margin-right: auto; }
  .pricing-grid-plans .pricing-card-featured { grid-column: 1 / -1; }
  .sim-wrap { grid-template-columns: 1fr 320px; }
}
@media (max-width: 768px) {
  .pricing-grid-plans { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-grid-plans .pricing-card-featured { grid-column: auto; }
  .sim-wrap { grid-template-columns: 1fr; }
  .sim-result { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }
  .sim-inputs { padding: 28px 20px; gap: 22px; }
  .sim-result { padding: 32px 20px; }
  .sim-result-num { font-size: 38px; }
  .options-bar { padding: 24px 16px; }
  .option-chip { font-size: 12px; padding: 8px 12px; }
}

/* ===== TRUST (E-E-A-T) SECTION ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.trust-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  border-color: rgba(10,102,194,0.25);
}
.trust-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.trust-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.trust-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}
.trust-company-card {
  margin-top: 32px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 28px 32px;
}
.trust-company-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.trust-company-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}
.trust-company-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}
.trust-company-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.7;
}
.trust-company-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 4px;
}
.trust-company-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.trust-company-link:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-company-row { grid-template-columns: 1fr; text-align: center; }
  .trust-company-logo { justify-self: center; }
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: none;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
}
.sticky-cta .btn {
  padding: 12px 10px;
  font-size: 13px;
  white-space: nowrap;
  min-width: 0;
}
.sticky-cta .btn i { width: 14px; height: 14px; }
@media (max-width: 1024px) {
  .sticky-cta { display: block; }
  .cta, footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 480px) {
  .sticky-cta .btn { padding: 11px 8px; font-size: 12px; }
}

/* ===== SAFE RESPONSIVE GUARDS ===== */
img, video { max-width: 100%; height: auto; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ===== LARGE DESKTOP (≥1440px) ===== */
@media (min-width: 1440px) {
  .container { max-width: 1280px; }
}

/* ===== LANDSCAPE PHONE ===== */
@media (max-width: 896px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 88px 0 40px; }
}

/* ===== BLOG / LEGAL RESPONSIVE ===== */
.blog-content table,
.legal-content table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  max-width: 100%;
}
.blog-article h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--text);
}
@media (max-width: 768px) {
  .legal-content, .blog-content { padding: 32px 16px 80px; }
  .legal-content h1, .blog-content h1 { font-size: 26px; }
  .blog-article h2 { font-size: 20px; }
  .blog-article h3 { font-size: 16px; }
  .blog-article .blog-article-meta { flex-wrap: wrap; gap: 8px; font-size: 12px; }
  .blog-content table, .legal-content table { font-size: 12px; white-space: normal; }
}
@media (max-width: 480px) {
  .legal-content h1, .blog-content h1 { font-size: 22px; }
  .blog-article { padding: 32px 0; }
}

/* ===== TABLET (iPad) OPTIMIZATION ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 40px; line-height: 1.15; }
}

/* ===== HEADER nav safety for tablet ===== */
@media (max-width: 1100px) {
  .nav { gap: 12px; font-size: 13px; }
}

/* ===== TOUCH-FRIENDLY TAP TARGETS ===== */
@media (hover: none) {
  .btn, .nav a, .mobile-nav a, .footer-col a, .option-chip { min-height: 40px; }
  .sim-step-btn { min-width: 40px; min-height: 40px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-video { display: none; }
}

/* ===== FAQ item spacing on mobile ===== */
@media (max-width: 480px) {
  .faq-item { padding: 14px 16px; }
  .faq-q { font-size: 14px; }
  .faq-a { font-size: 13px; }
}

