﻿/* ============================================
   NEVYRA DX Landing Page - style.css
   Design System: NEVYRA共通ブランドトークン準拠
   Color: #0B0E14 base, Sky Blue accent（メインHPと統一）
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Core palette（メインHPと同系統だが、より濃く・コントラスト強めに調整） */
  --bg-primary:    #08090D;
  --bg-secondary:  #131A28;
  --bg-tertiary:   #1B2436;
  --bg-card:       rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.10);
  --bg-glass:      rgba(255,255,255,0.05);

  /* Text */
  --text-primary:   rgba(245,248,255,0.95);
  --text-secondary: rgba(214,224,242,0.72);
  --text-tertiary:  rgba(185,199,224,0.48);
  --text-inverse:   #0B0E14;

  /* Accent -single colour */
  --accent:         #3BC7FF;
  --accent-light:   #89DAFF;
  --accent-dim:     rgba(59,199,255,0.16);
  --accent-glow:    rgba(59,199,255,0.5);

  /* Borders */
  --border-subtle:  rgba(255,255,255,0.10);
  --border-card:    rgba(255,255,255,0.18);

  /* Radius（メインHPと統一） */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16,1,0.3,1);
  --duration-base: 0.5s;

  /* Spacing scale (rem) */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 6rem;
  --sp-2xl: 10rem;

  /* Z-index */
  --z-bg: 0;
  --z-content: 1;
  --z-nav: 100;
  --z-modal: 200;
}

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

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

body {
  font-family: 'Montserrat', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
.t-display {
  font-family: 'Exo 2', 'Noto Sans JP', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.t-h1 {
  font-family: 'Exo 2', 'Noto Sans JP', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.t-h2 {
  font-family: 'Exo 2', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.t-h3 {
  font-family: 'Exo 2', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}
.t-body   { font-size: 1rem;   line-height: 1.7; }
.t-body-l { font-size: 1.125rem; line-height: 1.7; }
.t-small  { font-size: 0.875rem; line-height: 1.6; }
.t-label  {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Utility ---------- */
.text-accent    { color: var(--accent-light); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary  { color: var(--text-tertiary); }
.text-center    { text-align: center; }
.mx-auto        { margin-inline: auto; }
.max-w-narrow   { max-width: 640px; }
.max-w-mid      { max-width: 860px; }
.max-w-wide     { max-width: 1100px; }
.max-w-full     { max-width: 1320px; }
.accent-word {
  color: var(--accent-light);
  text-shadow: 0 0 18px var(--accent-glow);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}
.section {
  padding-block: clamp(5rem, 12vh, 10rem);
  position: relative;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 1rem 0;
  transition: background var(--duration-base) var(--ease-out-expo),
              backdrop-filter var(--duration-base) var(--ease-out-expo);
}
.nav.scrolled {
  background: rgba(11,14,20,0.82);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--border-subtle);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__logo .logo-mark {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}
.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav__links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out-expo);
}
.nav__links a:hover::after { width: 100%; }
.nav__logo .brand {
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 0.08em;
}
.brand .xi { color: var(--accent); }


/* Mobile hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11,14,20,0.96);
  backdrop-filter: blur(24px);
  z-index: calc(var(--z-nav) - 1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.nav__mobile a:hover { color: var(--text-primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: visible;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 34px rgba(59,199,255,0.7), 0 0 110px rgba(59,199,255,0.4);
  filter: drop-shadow(0 0 14px rgba(59,199,255,0.35));
}
.btn--primary:hover {
  background: var(--accent-light);
  box-shadow: 0 10px 54px rgba(59,199,255,0.85), 0 0 140px rgba(59,199,255,0.55);
  transform: translateY(-2px);
}
.btn--primary:active { transform: translateY(0); }
.btn--primary::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(59,199,255,0.35), transparent 70%);
  opacity: 0.6;
  filter: blur(16px);
  z-index: -1;
  transition: opacity 0.3s var(--ease-out-expo);
}
.btn--primary:hover::after { opacity: 0.85; }

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}
.btn--outline:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn--ghost:hover { color: var(--text-primary); }
.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.8125rem; }
.btn--lg { padding: 1.125rem 2.5rem; font-size: 1rem; }

.btn .arrow {
  transition: transform 0.3s var(--ease-out-expo);
}
.btn:hover .arrow { transform: translateX(4px); }
.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.arrow svg {
  width: 1em;
  height: 1em;
}
.problem-card__icon svg {
  width: 24px;
  height: 24px;
}
.service-card__icon svg {
  width: 28px;
  height: 28px;
}
.case-card__arrow-col .arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ---------- Section Label ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}
.section-label .dot {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 1px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-bg);
  will-change: transform;
}
.hero__grid {
  position: relative;
  z-index: var(--z-content);
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  text-align: left;
  pointer-events: none;
}
.hero__content {
  max-width: 560px;
  will-change: transform, opacity;
  pointer-events: none;
}
.hero__content .hero__actions {
  pointer-events: auto;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.hero__tag .pulse {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 1px;
}
.hero__heading {
  font-size: clamp(3.2rem, 7vw, 6.75rem);
  margin-bottom: 1.5rem;
}
.hero__heading .accent-word {
  position: relative;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px var(--accent-glow));
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 0 1.75rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.hero__note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* Hero visual panel — illustrative dashboard mockup */
.hero__panel {
  position: relative;
  pointer-events: none;
  padding: 0.5rem 1.5rem 1.75rem 0.5rem;
}
.hero__panel-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  background: linear-gradient(180deg, var(--bg-card-hover), var(--bg-card));
  backdrop-filter: blur(20px);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.5),
    0 0 90px rgba(59,199,255,0.14),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
}

/* Floating proof badge overlapping the panel corner */
.hero__panel-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.1rem 0.7rem 0.7rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-card-hover));
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.hero__panel-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-light);
  flex-shrink: 0;
}
.hero__panel-badge strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}
.hero__panel-badge span {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  margin-top: 0.1rem;
  white-space: nowrap;
}
.hero__panel-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
}
.hero__panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-card);
}
.hero__panel-label {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}
.hero__panel-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero__panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.hero__panel-stat {
  padding: 0.85rem 0.4rem;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  text-align: center;
}
.hero__panel-stat-val {
  display: block;
  font-family: 'Exo 2', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1.1;
}
.hero__panel-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.65rem;
  color: var(--text-tertiary);
}
.hero__panel-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 84px;
}
.hero__panel-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  opacity: 0.85;
  transform-origin: bottom;
  animation: chart-grow 0.9s var(--ease-out-expo) both;
}
.hero__panel-chart span:nth-child(1) { animation-delay: .05s; }
.hero__panel-chart span:nth-child(2) { animation-delay: .12s; }
.hero__panel-chart span:nth-child(3) { animation-delay: .19s; }
.hero__panel-chart span:nth-child(4) { animation-delay: .26s; }
.hero__panel-chart span:nth-child(5) { animation-delay: .33s; }
.hero__panel-chart span:nth-child(6) { animation-delay: .4s; }
@keyframes chart-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.hero__panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero__panel-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  background: var(--bg-glass);
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  animation: float 3s ease-in-out infinite;
  will-change: transform, opacity;
}
.hero__scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes scroll-line {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* Gradient orb behind hero text */
.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(100px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 1.75rem;
}
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  text-align: center;
}
.trust-strip__label {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.trust-strip__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
}
.trust-strip__chips li {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  color: var(--text-secondary);
}

/* ---------- Problems ---------- */
.problems {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.problems__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.problem-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.problem-card:hover::before { opacity: 1; }
.problem-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59,199,255,0.15);
  transform: translateY(-4px);
}
.problem-card__num {
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  font-family: 'Exo 2', 'Noto Sans JP', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  pointer-events: none;
}
.problem-card__icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
.problem-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.problem-card__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- Solution ---------- */
.solution {
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}
.solution__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.solution__intro {
  text-align: left;
  position: sticky;
  top: 8rem;
}
.solution__list {
  display: flex;
  flex-direction: column;
}
.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  text-align: left;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.solution-item:first-child { padding-top: 0; }
.solution-item:last-child { border-bottom: none; }
.solution-item__num {
  flex-shrink: 0;
  font-family: 'Exo 2', 'Noto Sans JP', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--border-card);
}
.solution-item__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.solution-item__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Arrow between solutions */
.solution__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 1.5rem;
}

/* ---------- Services ---------- */
.services {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: rgba(59,199,255,0.2);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px var(--accent-dim);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(59,199,255,0.1);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.service-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.service-card__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-light);
  transition: gap 0.3s var(--ease-out-expo);
}
.service-card:hover .service-card__link { gap: 0.75rem; }

/* ---------- Case Studies ---------- */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.case-card {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,199,255,0.15);
}
.case-card__badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-light);
  background: var(--accent-dim);
  border-radius: 100px;
  margin-bottom: 1rem;
}
.case-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.case-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.metric {
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  text-align: center;
}
.metric__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1.2;
}
.metric__label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 0.25rem;
}
.case-card__detail {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: start;
}
.case-card__before, .case-card__after {
  font-size: 0.875rem;
  line-height: 1.6;
}
.case-card__before { color: var(--text-tertiary); }
.case-card__after  { color: var(--text-secondary); }
.case-card__arrow-col {
  display: flex;
  align-items: center;
  padding-top: 1.25rem;
  color: var(--accent);
  font-size: 1.25rem;
}
.case-card__before-label,
.case-card__after-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}
.case-card__before-label { color: var(--text-tertiary); }
.case-card__after-label  { color: var(--accent-light); }

/* ---------- Flow ---------- */
.flow {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.flow__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}
.flow__line {
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent), var(--accent-dim));
  z-index: 0;
  opacity: 0.3;
}
.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.flow-step__num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-light);
  margin: 0 auto 1.25rem;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.flow-step:hover .flow-step__num {
  background: var(--accent-dim);
  box-shadow: 0 0 30px var(--accent-glow);
}
.flow-step__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.flow-step__desc {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 760px;
  margin: 3rem auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.3s;
}
.faq-item__q:hover { color: var(--accent-light); }
.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out-expo), background 0.3s;
}
.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
  background: var(--accent-dim);
  border-color: var(--accent);
}
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), opacity 0.3s;
  opacity: 0;
}
.faq-item.active .faq-item__a {
  max-height: 300px;
  opacity: 1;
}
.faq-item__a p {
  padding-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */
.cta-final {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 65%);
  opacity: 0.2;
  pointer-events: none;
}
.cta-final .t-display {
  position: relative;
}
.cta-final__sub {
  position: relative;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 1.5rem auto 2.5rem;
  font-size: 1.125rem;
}
.cta-final__actions {
  position: relative;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 4.5rem 0 2.5rem;
  background: var(--bg-primary);
  color: var(--text-secondary);
  overflow: hidden;
}
.footer__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(59,199,255,0.1), transparent 52%),
    radial-gradient(circle at 85% 85%, rgba(137,218,255,0.1), transparent 57%);
  pointer-events: none;
  opacity: 0.38;
}
.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer__logo .logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 16px rgba(59,199,255,0.2));
}
.footer__logo .brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-family: 'Exo 2', sans-serif;
}
.footer__tagline {
  color: var(--text-secondary);
  text-shadow: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}
.footer__tagline-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 14px var(--accent-glow);
}
.footer__desc {
  color: var(--text-secondary);
  max-width: 320px;
  font-size: 0.9375rem;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}
.footer__title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}
.footer__list {
  display: grid;
  gap: 0.75rem;
}
.footer__list a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s, transform 0.3s;
}
.footer__list a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer__list--meta li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.footer__list--meta span {
  min-width: 5.5rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer__list--meta strong {
  color: var(--text-secondary);
  font-weight: 600;
}
.footer__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(59,199,255,0.6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, rgba(59,199,255,0.16), rgba(137,218,255,0.08));
  box-shadow:
    0 0 16px rgba(59,199,255,0.35),
    0 0 32px rgba(137,218,255,0.25);
  text-shadow: 0 0 12px rgba(137,218,255,0.6);
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.footer__contact:hover {
  background: linear-gradient(135deg, rgba(59,199,255,0.28), rgba(137,218,255,0.18));
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(137,218,255,0.9);
  box-shadow:
    0 0 22px rgba(59,199,255,0.6),
    0 0 48px rgba(137,218,255,0.45);
}
.footer__bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.footer__links a:hover { color: #fff; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo),
              filter 0.8s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition: opacity 0.6s var(--ease-out-expo),
              transform 0.6s var(--ease-out-expo),
              filter 0.6s var(--ease-out-expo);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* Apply visible state only when parent has visible class */
.reveal-stagger:not(.visible) > * {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
}

/* Sticky CTA (mobile) */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 1rem 1.25rem;
  background: rgba(11,14,20,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out-expo);
}
.sticky-cta.show {
  transform: translateY(0);
}
.sticky-cta .btn { width: 100%; }

/* ---------- Counters ---------- */
.counter-row {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 3rem;
  flex-wrap: wrap;
}
.counter-item { text-align: center; }
.counter-item__val {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1.1;
}
.counter-item__label {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: 0.25rem;
}

/* ---------- Policy Pages ---------- */
.policy-hero {
  padding: clamp(8rem, 18vh, 11rem) 0 clamp(4rem, 10vh, 6rem);
  background:
    radial-gradient(600px 280px at 15% 15%, rgba(59,199,255,0.18), transparent 60%),
    radial-gradient(420px 320px at 85% 20%, rgba(59,199,255,0.12), transparent 65%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.policy-hero__inner {
  display: grid;
  gap: 1.25rem;
}
.policy__meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}
.policy {
  padding-top: clamp(4rem, 10vh, 6rem);
}
.policy__grid {
  display: grid;
  gap: 1.5rem;
}
.policy__card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}
.policy__card h2 {
  margin-bottom: 0.75rem;
}
.policy__list {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.75rem;
  color: var(--text-secondary);
}
.policy__list li {
  position: relative;
  padding-left: 1.1rem;
}
.policy__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 12px var(--accent-glow);
}
.policy__note {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
}
.policy__note a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Show/hide utilities ---------- */
.sp-only { display: none; }
.pc-only { display: inline; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .solution__layout { grid-template-columns: 1fr; }
  .solution__intro { position: static; margin-bottom: 1rem; }
  .solution__arrow { display: none; }
  .flow__steps { grid-template-columns: repeat(2, 1fr); }
  .flow__line { display: none; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: 640px; margin-inline: auto; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__panel { max-width: 480px; margin-inline: auto; width: 100%; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .sticky-cta { display: block; }
  body.has-sticky-cta {
    padding-bottom: calc(var(--sticky-cta-height, 0px) + 1rem);
  }
  .hero { min-height: 100svh; padding-block: 6rem 3rem; }
  .hero__glow { width: 350px; height: 350px; }
  .hero__scroll { display: none; }
  .hero__panel-stat-label { font-size: 0.6rem; }
  .flow__steps { grid-template-columns: 1fr 1fr; }
  .cases__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
}

@media (max-width: 480px) {
  .problems__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .flow__steps { grid-template-columns: 1fr; }
  .case-card__metrics { grid-template-columns: 1fr; }
  .case-card__detail { grid-template-columns: 1fr; }
  .case-card__arrow-col { transform: rotate(90deg); justify-content: center; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__panel-stats { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
  .hero__panel-stat { padding: 0.6rem 0.3rem; }
  .hero__panel-card { transform: none; }
  .hero__panel-badge { padding: 0.55rem 0.85rem 0.55rem 0.55rem; gap: 0.5rem; }
  .hero__panel-badge-icon { width: 26px; height: 26px; }
  .hero__panel-badge strong { font-size: 0.7rem; }
  .hero__panel-badge span { font-size: 0.6rem; }
  .footer__bottom { align-items: center; text-align: center; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .reveal-stagger > * { opacity: 1; transform: none; filter: none; }
}
