/* ===== CSS Custom Properties ===== */
:root {
  --primary: #3171B8;
  --primary-rgb: 49, 113, 184;
  --secondary: #4873B9;
  --secondary-rgb: 72, 115, 185;
  --accent: #8FD3F5;
  --accent-rgb: 143, 211, 245;
  --sub-accent: #E5F3FC;
  --bg: #FFFFFF;
  --text: #1F2937;
  --text-sub: #6B7280;
  --gradient-start: #3171B8;
  --gradient-end: #4873B9;
  --hero-bg: linear-gradient(160deg, #0F1E33 0%, #1B3D64 40%, #3171B8 100%);
  --card-shadow: 0 1px 3px rgba(49, 113, 184, 0.08);
  --card-shadow-hover: 0 20px 40px rgba(49, 113, 184, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== Utility ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-sub);
  max-width: 640px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== Scroll Animation ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ===== Header / Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.nav-logo-img {
  height: 60px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-sub);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--hero-bg);
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 24px 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-headline {
  grid-column: 1 / -1;
  color: #fff;
}

.hero-body {
  grid-column: 1;
  grid-row: 2;
  color: #fff;
  align-self: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--secondary-rgb), 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.9);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

/* Hero Visual - Conversion Diagram */
.hero-visual {
  grid-column: 2;
  grid-row: 2;
  position: relative;
}

/* ===== Hub & Spoke: Card Styles ===== */
.spoke-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.spoke-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(var(--accent-rgb), 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.spoke-card .card-dot {
  width: 8px; height: 8px; border-radius: 50%;
  position: absolute; top: 14px; right: 12px;
}
.spoke-card .card-tag {
  display: inline-block; font-size: 0.5rem; font-weight: 700;
  padding: 2px 6px; border-radius: 4px; margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.spoke-card .card-tag.input { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }
.spoke-card .card-tag.output { background: rgba(var(--accent-rgb), 0.15); color: var(--accent); }
.spoke-card .card-title { font-size: 0.78rem; font-weight: 700; color: #fff; }
.spoke-card .card-sub { font-size: 0.58rem; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* ===== Hub Center ===== */
.hub-center-block {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hub-icon-circle {
  width: 90px; height: 90px;
  border-radius: 50%; overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: 0 0 50px rgba(var(--accent-rgb), 0.3), 0 0 100px rgba(var(--accent-rgb), 0.12);
  background: #fff;
  display: flex; align-items: flex-start; justify-content: center;
}
.hub-icon-circle img { width: 71%; height: auto; object-fit: contain; margin-left: 4px;margin-top: 0px;}
.hub-name { font-size: 0.78rem; font-weight: 700; color: #fff; }
.hub-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 100px; padding: 3px 10px;
  font-size: 0.58rem; font-weight: 600; color: var(--accent);
}
.hub-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Glow Rings */
.glow-ring, .glow-ring-2 {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
}
.glow-ring {
  width: 120px; height: 120px;
  border: 1.5px solid rgba(var(--accent-rgb), 0.15);
  animation: glow-pulse 3s ease-in-out infinite;
}
.glow-ring-2 {
  width: 150px; height: 150px;
  border: 1px solid rgba(var(--accent-rgb), 0.08);
  animation: glow-pulse 3s ease-in-out infinite 1s;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.06); }
}

/* ===== Hub & Spoke: CSS Grid ===== */
.hero-mock {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 10px 16px;
  min-height: 320px;
  align-items: center;
}

.spoke-card.in-1 { grid-column: 1; grid-row: 1; }
.spoke-card.in-2 { grid-column: 1; grid-row: 2; }
.spoke-card.in-3 { grid-column: 1; grid-row: 3; }

.hub-wrap {
  grid-column: 2; grid-row: 1 / 4;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: 0 8px;
}

.spoke-card.out-1 { grid-column: 3; grid-row: 1; }
.spoke-card.out-2 { grid-column: 3; grid-row: 2; }
.spoke-card.out-3 { grid-column: 3; grid-row: 3; }

/* SVG Overlay */
.connections-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.connections-svg line {
  stroke: rgba(143, 211, 245, 0.2);
  stroke-width: 1.2;
}
.connections-svg line.center-line {
  stroke: rgba(143, 211, 245, 0.3);
  stroke-width: 1.5;
}

/* Animated Dots */
.anim-dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.spoke-card, .hub-wrap { position: relative; z-index: 2; }

/* Mobile labels (always hidden) */
.m-label, .m-arrow { display: none; }

/* ===== Hero Responsive ===== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 60px 24px 40px;
    gap: 32px;
  }
  .hero-headline { grid-column: 1; }
  .hero-body { grid-column: 1; grid-row: auto; }
  .hero-visual { grid-column: 1; grid-row: auto; }
  .hero-mock { gap: 8px 12px; min-height: 280px; }
  .spoke-card { padding: 10px 12px; border-radius: 10px; }
  .spoke-card .card-title { font-size: 0.72rem; }
  .spoke-card .card-sub { font-size: 0.52rem; }
  .spoke-card .card-tag { font-size: 0.46rem; padding: 1px 5px; margin-bottom: 3px; }
  .spoke-card .card-dot { width: 7px; height: 7px; top: 12px; right: 10px; }
  .hub-icon-circle { width: 80px; height: 80px; }
  .glow-ring { width: 110px; height: 110px; }
  .glow-ring-2 { width: 140px; height: 140px; }
  .hub-name { font-size: 0.72rem; }
  .hub-badge { font-size: 0.52rem; padding: 3px 8px; }
  .hub-badge-dot { width: 4px; height: 4px; }
  .hub-wrap { padding: 0 4px; }
  .hub-center-block { gap: 6px; }
  .anim-dot { width: 5px; height: 5px; }
}

@media (max-width: 600px) {
  .hero-mock { gap: 6px 10px; min-height: 240px; }
  .spoke-card { padding: 8px 10px; border-radius: 8px; }
  .spoke-card .card-title { font-size: 0.66rem; }
  .spoke-card .card-sub { font-size: 0.48rem; }
  .spoke-card .card-tag { font-size: 0.42rem; padding: 1px 4px; margin-bottom: 2px; }
  .spoke-card .card-dot { width: 6px; height: 6px; top: 10px; right: 8px; }
  .hub-icon-circle { width: 70px; height: 70px; }
  .glow-ring { width: 96px; height: 96px; }
  .glow-ring-2 { width: 120px; height: 120px; }
  .hub-name { font-size: 0.66rem; }
  .hub-badge { font-size: 0.48rem; padding: 2px 7px; }
  .hub-badge-dot { width: 3px; height: 3px; }
  .hub-center-block { gap: 5px; }
  .anim-dot { width: 4px; height: 4px; }
}

@media (max-width: 380px) {
  .hero-mock { gap: 5px 6px; min-height: 200px; }
  .spoke-card { padding: 6px 7px; border-radius: 7px; }
  .spoke-card .card-title { font-size: 0.58rem; }
  .spoke-card .card-sub { font-size: 0.42rem; }
  .spoke-card .card-tag { font-size: 0.38rem; padding: 1px 3px; margin-bottom: 2px; }
  .spoke-card .card-dot { width: 5px; height: 5px; top: 8px; right: 6px; }
  .hub-icon-circle { width: 56px; height: 56px; border-width: 2px; }
  .glow-ring { width: 76px; height: 76px; }
  .glow-ring-2 { width: 96px; height: 96px; }
  .hub-name { font-size: 0.58rem; }
  .hub-badge { font-size: 0.42rem; padding: 2px 5px; }
  .hub-badge-dot { width: 3px; height: 3px; }
  .hub-center-block { gap: 4px; }
  .anim-dot { width: 3px; height: 3px; }
  .connections-svg line { stroke-width: 1; }
  .connections-svg line.center-line { stroke-width: 1.2; }
}

/* ===== Trust / Media Section ===== */
.trust-section {
  background: #F7F8FA;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding: 48px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.trust-badge-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #EFF8FF 0%, #D6EDFB 100%);
  box-shadow: 0 2px 8px rgba(49, 113, 184, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  stroke: url(#iconGrad);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-badge-source {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.trust-badge-date {
  font-size: 0.75rem;
  color: var(--text-sub);
}

.trust-quote {
  flex: 1;
  max-width: 480px;
}

.trust-quote blockquote {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 0;
}

.trust-org {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.trust-org-name {
  font-size: 0.8rem;
  color: var(--text-sub);
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .trust-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .trust-quote blockquote {
    border-left: none;
    padding-left: 0;
    border-top: 3px solid var(--accent);
    padding-top: 16px;
  }
}

/* ===== News Topics ===== */
.news-section {
  background: #FAFBFC;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.news-section .section { padding: 80px 0; }

.news-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.news-item {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.2s;
}

.news-item:first-child {
  border-top: 1px solid rgba(0,0,0,0.06);
}

.news-date {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-sub);
  white-space: nowrap;
  min-width: 100px;
}

.news-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.news-tag-press {
  background: var(--sub-accent);
  color: var(--primary);
}

.news-tag-seminar {
  background: #FEF3C7;
  color: #92400E;
}

.news-tag-info {
  background: #D1FAE5;
  color: #065F46;
}

.news-text {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.news-text a {
  transition: color 0.2s;
}

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

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    gap: 8px;
  }
  .news-date { min-width: auto; }
}

/* ===== CTA Inline ===== */
.cta-inline {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.04), rgba(var(--accent-rgb), 0.08));
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  margin: 80px 0 0;
}

.cta-inline h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.cta-inline p {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.7;
}

.cta-inline-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cta-secondary:hover {
  background: var(--sub-accent);
}

/* ===== Challenges ===== */
.pain-section {
  background: #fff;
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .pain-cards { grid-template-columns: 1fr; }
}

.pain-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 32px;
  transition: box-shadow 0.3s, transform 0.3s;
}

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

.pain-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #EFF8FF 0%, #D6EDFB 100%);
  box-shadow: 0 2px 8px rgba(49, 113, 184, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.3s;
}

.pain-card-icon::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.pain-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  stroke: url(#iconGrad);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.pain-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.pain-bottom {
  margin-top: 48px;
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03), rgba(var(--accent-rgb), 0.06));
  border-radius: 16px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}

.pain-bottom p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.pain-bottom strong {
  color: var(--primary);
}

/* ===== Solution (Before/After) ===== */
.solution-section {
  background: linear-gradient(180deg, #F9FAFB 0%, #fff 100%);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .before-after {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.ba-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
}

.ba-card-before {
  border-color: rgba(220, 80, 80, 0.2);
  background: #FFF5F5;
}

.ba-card-after {
  border-color: rgba(var(--accent-rgb), 0.3);
  background: #F0F7FF;
}

.ba-label {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.ba-label-before {
  background: #FEE2E2;
  color: #991B1B;
}

.ba-label-after {
  background: var(--sub-accent);
  color: var(--primary);
}

.ba-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.ba-list {
  text-align: left;
}

.ba-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
  padding: 6px 0;
}

.ba-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}

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

.ba-arrow svg {
  width: 48px;
  height: 48px;
}

@media (max-width: 768px) {
  .ba-arrow svg {
    transform: rotate(90deg);
  }
}

/* Solution Steps */
.solution-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
  position: relative;
}

.solution-steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0px, var(--accent) 8px, transparent 8px, transparent 16px);
  opacity: 0.3;
  z-index: 0;
}

@media (max-width: 768px) {
  .solution-steps { grid-template-columns: 1fr; }
  .solution-steps::before { display: none; }
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.15);
}

.step-icon-box {
  width: 160px;
  height: 120px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #EFF8FF 0%, #D6EDFB 100%);
  box-shadow: 0 2px 8px rgba(49, 113, 184, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.step-icon-box::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.25) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.6;
  pointer-events: none;
}

.step-icon-box .step-mascot {
  width: auto;
  height: 72px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(49, 113, 184, 0.1));
}

.step-icon-box .step-accent {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.step-icon-box .step-accent svg {
  stroke: url(#iconGrad);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Step accent badge positions */
.step-accent-tr { top: 10px; right: 14px; }
.step-accent-bl { bottom: 10px; left: 14px; }
.step-accent-br { bottom: 10px; right: 14px; }
.step-accent-tl { top: 10px; left: 14px; }

/* Glow ring behind mascot */
.step-icon-box::after {
  content: '';
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

/* ===== Numbers / Impact ===== */
.numbers-section {
  background: var(--hero-bg);
  position: relative;
  overflow: hidden;
}

.numbers-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(var(--accent-rgb), 0.1), transparent 70%);
  pointer-events: none;
}

.numbers-section .section-label { color: rgba(255,255,255,0.6); }
.numbers-section .section-title { color: #fff; }
.numbers-section .section-subtitle { color: rgba(255,255,255,0.6); }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

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

.number-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: background 0.3s;
}

.number-card:hover { background: rgba(255,255,255,0.1); }

.number-value {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.number-unit {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
}

.number-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ===== Security ===== */
.security-section {
  background: #F9FAFB;
}

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

@media (max-width: 768px) {
  .security-grid { grid-template-columns: 1fr; }
}

.security-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

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

.security-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #EFF8FF 0%, #D6EDFB 100%);
  box-shadow: 0 2px 8px rgba(49, 113, 184, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  transition: box-shadow 0.3s;
}

.security-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  border: 1.5px solid rgba(var(--primary-rgb), 0.06);
  pointer-events: none;
}

.security-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  stroke: url(#iconGrad);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.security-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== Onboarding Flow ===== */
.onboarding-section {
  background: linear-gradient(180deg, #fff 0%, #F9FAFB 100%);
}

.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.onboarding-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  opacity: 0.15;
}

@media (max-width: 768px) {
  .onboarding-grid {
    grid-template-columns: 1fr;
  }
  .onboarding-grid::before { display: none; }
}

.onboarding-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.onboarding-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.onboarding-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #EFF8FF 0%, #D6EDFB 100%);
  box-shadow: 0 2px 8px rgba(49, 113, 184, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: box-shadow 0.3s;
}

.onboarding-icon::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.onboarding-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary);
  stroke: url(#iconGrad);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.onboarding-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.onboarding-card p {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-section {
  background: #fff;
}

.faq-list {
  max-width: 780px;
  margin: 60px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
  font-family: inherit;
  line-height: 1.5;
}

.faq-question:hover { color: var(--primary); }

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EFF8FF, #D6EDFB);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #3171B8, #5A9BD5);
  box-shadow: 0 2px 8px rgba(49, 113, 184, 0.25);
}

.faq-item.open .faq-toggle svg { stroke: #fff; }

.faq-toggle svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2.5;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
}

.faq-answer-inner {
  padding-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ===== Final CTA ===== */
.cta-section {
  background: var(--hero-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.08), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-section .cta-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cta-contact {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cta-contact-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.cta-contact-info {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.cta-contact-email {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.cta-contact-email a {
  color: var(--accent);
  transition: opacity 0.2s;
}

.cta-contact-email a:hover { opacity: 0.8; }

/* Footer */
.footer {
  background: #F0F2F5;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 48px 0 32px;
  text-align: center;
}

.footer p {
  font-size: 0.75rem;
  color: var(--text-sub);
  opacity: 0.6;
}

.footer-company {
  margin-bottom: 20px;
}

.footer-company-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-company-address {
  font-size: 0.7rem;
  color: var(--text-sub);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-sub);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links-sep {
  color: rgba(0,0,0,0.15);
  font-size: 0.75rem;
}

/* ===== Icon Hover Animations ===== */
@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (hover: hover) {
  .pain-card:hover .pain-card-icon {
    box-shadow: 0 4px 16px rgba(49, 113, 184, 0.15);
  }
  .pain-card:hover .pain-card-icon svg {
    animation: icon-float 0.6s ease-in-out;
  }
  .security-card:hover .security-icon {
    box-shadow: 0 4px 16px rgba(49, 113, 184, 0.15);
  }
  .security-card:hover .security-icon svg {
    animation: icon-float 0.6s ease-in-out;
  }
  .step-card:hover .step-icon-box {
    box-shadow: 0 4px 16px rgba(49, 113, 184, 0.15);
  }
  .step-card:hover .step-icon-box .step-mascot {
    animation: icon-float 0.6s ease-in-out;
  }
  .onboarding-card:hover .onboarding-icon {
    box-shadow: 0 4px 16px rgba(49, 113, 184, 0.15);
  }
  .onboarding-card:hover .onboarding-icon svg {
    animation: icon-float 0.6s ease-in-out;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
}
