/* Base */
:root {
  --bg: #0b0b10;
  --surface: #0f1117;
  --text: #e6e8ef;
  --muted: #a8b0c0;
  --primary: #7c3aed; /* violet-600 */
  --primary-2: #00d4ff; /* cyan */
  --ring: rgba(124, 58, 237, 0.35);
  --glass: rgba(255, 255, 255, 0.06);
  --card: rgba(255, 255, 255, 0.04);
  --radius: 14px;
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 20px 60px rgba(0, 0, 0, 0.45);
  --maxw: 100%;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 64px;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: var(--text);
  background-color: #070910;
}

/* 背景画像を常に固定 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url('../imadio_top_1.jpg');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

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

a { color: inherit; text-decoration: none; }

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: saturate(140%) blur(10px);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(11,12,20,.95) 0%, rgba(11,12,20,.82) 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}
.brand { display: flex; align-items: center; gap: 0; font-weight: 700; letter-spacing: .2px; color: #f9f9ff; }
.brand-logo {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.brand-logo.small {
  height: 54px;
  width: auto;
}
.brand-logo-link {
  display: inline-flex;
  align-items: center;
}
.brand-logo-link:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.6);
  outline-offset: 4px;
  border-radius: 6px;
}

.brand-name { font-size: 18px; }

.nav-menu { display: flex; gap: 12px; align-items: center; list-style: none; flex-wrap: nowrap; margin: 0; padding: 0; }
.nav-menu a {
  padding: 8px 10px;
  color: rgba(250, 252, 255, 0.92);
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transition: color .2s ease, background .3s ease, box-shadow .3s ease;
}
.nav-menu a:hover {
  color: #ffffff;
  background: rgba(255,255,255,.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}
.nav-menu a:focus-visible {
  outline: 2px solid rgba(124,58,237,.6);
  outline-offset: 2px;
}
.nav-menu a.primary {
  color: #f6f8ff;
  font-weight: 600;
  border: 1.5px solid transparent;
  background:
    linear-gradient(135deg, rgba(16, 18, 28, 0.95), rgba(12, 14, 24, 0.9)) padding-box,
    linear-gradient(135deg, rgba(124, 58, 237, 0.7), rgba(0, 212, 255, 0.7)) border-box;
  box-shadow: 0 10px 22px rgba(5, 8, 16, 0.32);
}
.nav-menu a.primary:hover,
.nav-menu a.primary:focus-visible {
  background:
    linear-gradient(135deg, rgba(18, 20, 32, 0.95), rgba(13, 15, 26, 0.92)) padding-box,
    linear-gradient(135deg, rgba(124, 58, 237, 0.85), rgba(0, 212, 255, 0.85)) border-box;
  box-shadow: 0 14px 28px rgba(5, 8, 16, 0.4);
  color: #ffffff;
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 14, 22, 0.85);
  color: #f0f3ff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(18, 20, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.nav-toggle__bars {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: background .25s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform .25s ease, top .25s ease, opacity .25s ease;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle.is-open .nav-toggle__bars { background: transparent; }
.nav-toggle.is-open .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle.is-open .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: transparent;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.38;
  mix-blend-mode: screen;
}
.hero-bg::before {
  width: 52vmax;
  height: 52vmax;
  top: -18vmax;
  left: -12vmax;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.45) 0%, rgba(124, 58, 237, 0) 60%);
}
.hero-bg::after {
  width: 45vmax;
  height: 45vmax;
  bottom: -20vmax;
  right: -12vmax;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, rgba(0, 212, 255, 0) 60%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 64px);
  padding: 110px 24px 96px;
}

.hero--minimal .hero-inner {
  justify-content: center;
}

.hero-headline {
  margin: 0;
  font-size: clamp(18px, 6.5vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.025em;
  color: #f6f8ff;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  max-width: 100%;
  overflow: visible;
}

.hero-subtitle {
  margin: 16px 0 0;
  font-size: clamp(10px, 2.2vw, 20px);
  line-height: 1.6;
  font-weight: 400;
  color: rgba(246, 248, 255, 0.75);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  max-width: 100%;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  opacity: 0.85;
}
.scroll-indicator span {
  display: block;
  width: 26px;
  height: 42px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  position: relative;
}
.scroll-indicator span::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: wheel 1.2s ease-in-out infinite;
}

@keyframes wheel {
  0% {
    opacity: 0.2;
    transform: translate(-50%, 0);
  }
  60% {
    opacity: 1;
    transform: translate(-50%, 14px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 22px);
  }
}

.cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: var(--text); transition: transform .12s ease, background .3s ease, box-shadow .3s ease; }
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.06); box-shadow: var(--shadow-1); }
.btn.primary {
  position: relative;
  border: 1.5px solid transparent;
  background:
    linear-gradient(135deg, rgba(16, 18, 28, 0.95), rgba(11, 13, 22, 0.9)) padding-box,
    linear-gradient(135deg, rgba(124, 58, 237, 0.7), rgba(0, 212, 255, 0.7)) border-box;
  color: #f6f8ff;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(5, 8, 16, 0.36);
}
.btn.primary:hover,
.btn.primary:focus-visible {
  background:
    linear-gradient(135deg, rgba(18, 20, 32, 0.95), rgba(12, 14, 24, 0.92)) padding-box,
    linear-gradient(135deg, rgba(124, 58, 237, 0.85), rgba(0, 212, 255, 0.85)) border-box;
  box-shadow: 0 16px 32px rgba(5, 8, 16, 0.45);
  color: #ffffff;
}

.btn.ghost { background: transparent; }
.btn.lg { padding: 14px 22px; font-size: 17px; border-radius: 16px; }

.pill { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #cdd3df; }

/* Sections */
.section {
  position: relative;
  padding: 96px clamp(28px, 5vw, 88px) 88px;
  margin: 0;
  border-top: 1px solid rgba(124, 58, 237, 0.22);
  border-bottom: 1px solid rgba(0, 212, 255, 0.16);
  background: linear-gradient(180deg, rgba(18, 20, 32, 0.68) 0%, rgba(11, 13, 24, 0.42) 60%, rgba(9, 10, 18, 0.25) 100%);
  box-shadow: 0 28px 60px rgba(6, 8, 18, 0.48);
  border-radius: 0;
}
.section:first-of-type { margin-top: 0; }

/* 黒系の背景（背景画像が薄く見えるように透過度を上げる） */
.section--dark {
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.65) 0%, rgba(4, 4, 7, 0.58) 60%, rgba(3, 3, 6, 0.52) 100%);
  border-top: 2px solid rgba(255, 165, 0, 0.45);
  border-bottom: 2px solid rgba(255, 165, 0, 0.45);
}

/* section--dark内の要素の色調整 */
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #ffffff;
  font-weight: 700;
}

.section--dark p,
.section--dark .card p {
  color: #e6e8ef;
  font-weight: 400;
}

.section--dark .section-head {
  background: linear-gradient(150deg, rgba(18, 20, 32, 1), rgba(12, 14, 24, 1));
  border: 1px solid rgba(124, 58, 237, 0.28);
  box-shadow: 0 26px 56px rgba(6, 8, 18, 0.55);
}

.section--dark .section-head h2 {
  color: #ffffff;
}

.section--dark .section-head p {
  color: #e6e8ef;
}

.section--dark .card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-1);
}

.section--dark .card:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

.section--dark .card h3 {
  color: #ffffff;
  font-weight: 700;
}

.greeting-message {
  line-height: 2;
  padding: 0 clamp(16px, 6vw, 72px);
  padding-left: clamp(32px, 10vw, 160px);
}

/* 透明背景（背景画像が見える） */
.section--transparent {
  background: transparent;
  border-top: 2px solid rgba(255, 165, 0, 0.25);
  border-bottom: 2px solid rgba(255, 165, 0, 0.25);
}

/* 紺系の背景（背景画像が薄く見えるように透過度を上げる） */
.section--navy {
  background: linear-gradient(180deg, rgba(20, 25, 50, 0.62) 0%, rgba(15, 20, 42, 0.55) 60%, rgba(12, 16, 35, 0.48) 100%);
  border-top: 2px solid rgba(255, 165, 0, 0.45);
  border-bottom: 2px solid rgba(255, 165, 0, 0.45);
}

/* section--navy内の要素の色調整 */
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: #ffffff;
  font-weight: 700;
}

.section--navy p,
.section--navy .card p {
  color: #e6e8ef;
  font-weight: 400;
}

.section--navy .section-head {
  background: linear-gradient(150deg, rgba(18, 20, 32, 1), rgba(12, 14, 24, 1));
  border: 1px solid rgba(124, 58, 237, 0.28);
  box-shadow: 0 26px 56px rgba(6, 8, 18, 0.55);
}

.section--navy .section-head h2 {
  color: #ffffff;
}

.section--navy .section-head p {
  color: #e6e8ef;
}

.section--navy .card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-1);
}

.section--navy .card:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

.section--navy .card h3 {
  color: #ffffff;
  font-weight: 700;
}

.section--navy .case-card,
.section--dark .case-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f0f2f5;
  border: 1px solid rgba(120, 132, 156, 0.35);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.section--navy .service-card {
  background: #ffffff;
  border: 1px solid rgba(158, 168, 255, 0.25);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.section--navy .case-card h3,
.section--dark .case-card h3 {
  color: #1a1a2e;
}

.section--navy .case-card p,
.section--dark .case-card p {
  color: rgba(26, 26, 46, 0.78);
}

.section--navy .case-card:hover,
.section--dark .case-card:hover {
  background: #f0f2f5;
  border-color: rgba(120, 132, 156, 0.35);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.case-card__image {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #1a1a2e;
}

.case-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}

.case-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  background: rgba(26, 26, 46, 0.45);
}

.case-card__overlay span {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
}

.case-card__image:hover img {
  opacity: 0.4;
}

.case-card__image:hover .case-card__overlay {
  opacity: 1;
}

.section-wide {
  position: relative;
  padding: 96px clamp(28px, 5vw, 88px) 88px;
  margin: 0;
  border-top: 1px solid rgba(124, 58, 237, 0.22);
  border-bottom: 1px solid rgba(0, 212, 255, 0.16);
  background: linear-gradient(180deg, rgba(13, 15, 26, 0.58) 0%, rgba(9, 11, 20, 0.38) 60%, rgba(7, 9, 16, 0.2) 100%);
  box-shadow: 0 28px 60px rgba(6, 8, 18, 0.48);
}

/* 黒系の背景 (wide) */
.section-wide--dark {
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.88) 0%, rgba(4, 4, 7, 0.82) 60%, rgba(3, 3, 6, 0.75) 100%);
  border-top: 2px solid rgba(255, 165, 0, 0.45);
  border-bottom: 2px solid rgba(255, 165, 0, 0.45);
}

/* 紺系の背景 (wide) */
.section-wide--navy {
  background: linear-gradient(180deg, rgba(20, 25, 50, 0.85) 0%, rgba(15, 20, 42, 0.78) 60%, rgba(12, 16, 35, 0.72) 100%);
  border-top: 2px solid rgba(255, 165, 0, 0.45);
  border-bottom: 2px solid rgba(255, 165, 0, 0.45);
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.4vw, 36px);
}
.section p { color: var(--muted); margin: 0; }

.section-break {
  position: relative;
  width: min(480px, 78%);
  height: 5px;
  margin: 0 auto 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0), rgba(124, 58, 237, 0.85), rgba(0, 212, 255, 0.85), rgba(124, 58, 237, 0));
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.45), 0 0 32px rgba(0, 212, 255, 0.35);
}
.section-break::after {
  content: '';
  position: absolute;
  inset: -16px 18%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.16), rgba(0, 212, 255, 0.1));
  filter: blur(22px);
  opacity: 0.8;
}

.section-head {
  position: relative;
  text-align: center;
  margin: 0 auto 52px;
  padding: 34px 26px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(18, 20, 32, 1), rgba(12, 14, 24, 1));
  border: 1px solid rgba(124, 58, 237, 0.28);
  box-shadow: 0 26px 56px rgba(6, 8, 18, 0.55);
  max-width: min(760px, 92%);
}
.section-head::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0), rgba(124, 58, 237, 0.9), rgba(0, 212, 255, 0.9), rgba(124, 58, 237, 0));
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.55);
}


.grid { display: grid; gap: 18px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.value-section {
  position: relative;
  padding: 96px 0 90px;
  overflow: hidden;
}
/* 紫のグラデーション効果を無効化 */
.value-section::before,
.value-section::after {
  display: none;
}
.value-section .container {
  position: relative;
  z-index: 1;
}

.value-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1200px) {
  .value-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.card--about {
  padding: 40px 48px;
  text-align: center;
  background: #0c0e18 !important;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

.card--about .about-description {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.8;
  color: var(--text);
  font-weight: 400;
}

.card--service {
  padding: 32px;
  display: grid;
  gap: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(124,58,237,0.08));
  border: 1px solid rgba(124, 58, 237, 0.18);
}
.card--service h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0;
}

.card--service .service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.card--service .service-list li {
  position: relative;
  background: linear-gradient(150deg, rgba(14, 16, 26, 0.95) 0%, rgba(11, 13, 22, 0.72) 100%);
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: 18px;
  padding: 24px 24px 24px 30px;
  box-shadow: 0 18px 40px rgba(6, 8, 18, 0.45);
  display: grid;
  gap: 14px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card--service .service-list li::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.5);
}
.card--service .service-list li:hover {
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 22px 48px rgba(6, 8, 18, 0.5);
  transform: translateY(-2px);
}
.card--service .service-list li:hover::before {
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.65);
}
.card--service .service-list h4 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #f0f3ff;
}
.card--service .service-list p {
  margin: 0 0 8px;
  color: var(--muted);
}
.card--service .service-list p.example {
  font-size: 14px;
  color: rgba(197,205,225,0.95);
}
.card--service .service-actions {
  display: flex;
  justify-content: flex-start;
}
.card--service .service-actions .btn {
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(135deg, rgba(16, 18, 28, 0.95), rgba(12, 14, 24, 0.92)) padding-box,
    linear-gradient(135deg, rgba(124, 58, 237, 0.75), rgba(0, 212, 255, 0.75)) border-box;
  color: #f6f8ff;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(5, 8, 16, 0.32);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.card--service .service-actions .btn:hover,
.card--service .service-actions .btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(5, 8, 16, 0.42);
  filter: brightness(1.05);
}

.feature-panel,
.comparison-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-1);
  background: rgba(10, 12, 20, 0.6);
  padding: 32px;
}



.feature-list {
  counter-reset: feature;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.feature-list li {
  position: relative;
  padding: 18px 18px 18px 58px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.feature-list li::before {
  counter-increment: feature;
  content: counter(feature);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  color: #0c101a;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.feature-list__title {
  display: block;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: #f4f6ff;
}

.feature-list p {
  margin: 0;
  color: rgba(214, 219, 233, 0.9);
  font-size: 15px;
}

.comparison-panel {
  background: rgba(8, 10, 18, 0.72);
  border: 1px solid rgba(124, 58, 237, 0.28);
  padding: 32px 28px;
  box-shadow: var(--shadow-1);
}

.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 16px;
  font-size: 15px;
}

.comparison-table thead th {
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  color: rgba(226, 231, 247, 0.92);
  background: rgba(12, 14, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.comparison-table thead th:first-child {
  text-align: center;
  background: linear-gradient(135deg, rgba(38, 40, 52, 0.9), rgba(28, 30, 42, 0.9));
  color: rgba(218, 223, 236, 0.95);
  border-color: rgba(255, 255, 255, 0.06);
}
.comparison-table thead th:nth-child(2),
.comparison-table thead th:nth-child(3) {
  position: relative;
  padding-left: 48px;
}
.comparison-table thead th:nth-child(2) {
  color: rgba(200, 207, 223, 0.95);
  background: rgba(9, 11, 18, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(12, 14, 24, 0.4);
}
.comparison-table thead th:nth-child(3) {
  color: #f6f8ff;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(0, 212, 255, 0.16));
  border-color: rgba(124, 58, 237, 0.32);
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.2);
}
.comparison-table thead th:nth-child(2)::before,
.comparison-table thead th:nth-child(3)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 20px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}
.comparison-table thead th:nth-child(2)::before {
  background: rgba(190, 198, 216, 0.7);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M5 11h14a1 1 0 1 1 0 2H5a1 1 0 0 1 0-2Z"/></svg>') center/contain no-repeat;
}
.comparison-table thead th:nth-child(3)::before {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20.285 6.707a1 1 0 0 0-1.57-1.246l-7.46 9.4-3.97-3.97a1 1 0 0 0-1.414 1.414l4.8 4.8a1 1 0 0 0 1.48-.07l8.134-10.328Z"/></svg>') center/contain no-repeat;
}
.comparison-table thead th:first-child,
.comparison-table thead th:last-child {
  border-radius: 0;
}

.comparison-table tbody tr {
  transition: transform .22s ease, box-shadow .22s ease;
}

.comparison-table tbody th,
.comparison-table tbody td {
  padding: 18px 20px;
  vertical-align: top;
  border: none;
  background: rgba(13, 15, 24, 0.82);
  line-height: 1.6;
  transition: transform .22s ease, box-shadow .22s ease;
}

.comparison-table tbody th {
  font-weight: 700;
  color: rgba(228, 231, 242, 0.96);
  border: 1px solid rgba(180, 184, 202, 0.18);
  border-right: none;
  border-radius: 0;
  min-width: 180px;
  background: linear-gradient(135deg, rgba(44, 46, 58, 0.92), rgba(34, 36, 48, 0.88));
}

.comparison-table tbody td:nth-child(2),
.comparison-table tbody td:nth-child(3) {
  position: relative;
  padding-left: 50px;
}

.comparison-table tbody td:nth-child(2) {
  background: rgba(9, 11, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-right: none;
  color: rgba(190, 198, 216, 0.92);
}

.comparison-table tbody td:nth-child(2)::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 20px;
  width: 18px;
  height: 18px;
  background: rgba(190, 198, 216, 0.6);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M5 11h14a1 1 0 1 1 0 2H5a1 1 0 0 1 0-2Z"/></svg>') center/contain no-repeat;
  opacity: 0.55;
}

.comparison-table tbody td:nth-child(3) {
  color: #f6f8ff;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(0, 212, 255, 0.16));
  border: 1px solid rgba(124, 58, 237, 0.32);
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.22), 0 12px 26px rgba(8, 10, 18, 0.42);
}

.comparison-table tbody td:nth-child(3)::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 20px;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20.285 6.707a1 1 0 0 0-1.57-1.246l-7.46 9.4-3.97-3.97a1 1 0 0 0-1.414 1.414l4.8 4.8a1 1 0 0 0 1.48-.07l8.134-10.328Z"/></svg>') center/contain no-repeat;
}

.comparison-table tbody tr:hover th,
.comparison-table tbody tr:hover td {
  transform: translateY(-1px);
}

.comparison-table tbody tr:hover td:nth-child(2) {
  box-shadow: 0 12px 26px rgba(8, 10, 18, 0.35);
}

.comparison-table tbody tr:hover td:nth-child(3) {
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.32), 0 12px 26px rgba(8, 10, 18, 0.45);
}

@media (max-width: 780px) {
  .comparison-panel {
    padding: 24px 18px;
  }
  .comparison-table-wrapper {
    margin: 0 -4px;
    padding-bottom: 12px;
  }
  .comparison-table {
    min-width: 640px;
    border-spacing: 0 12px;
    font-size: 14px;
  }
  .comparison-table thead th,
  .comparison-table tbody th,
  .comparison-table tbody td {
    padding: 14px 16px;
  }
  .comparison-table tbody th {
    min-width: 160px;
  }
}


.workflow {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.workflow-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 16px;
  position: relative;
}

.workflow-node {
  position: relative;
  padding: 20px;
  border-radius: 18px;
  background: rgba(10, 12, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-1);
  min-height: 168px;
  z-index: 1;
}

.workflow-node::after,
.workflow-node::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -14px;
  pointer-events: none;
}

.workflow-node::after {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.75), rgba(0, 212, 255, 0.75));
}

.workflow-node::before {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid rgba(124, 58, 237, 0.85);
  right: -22px;
}

.workflow-node:nth-child(1) { z-index: 6; }
.workflow-node:nth-child(2) { z-index: 5; }
.workflow-node:nth-child(3) { z-index: 4; }
.workflow-node:nth-child(4) { z-index: 3; }
.workflow-node:nth-child(5) { z-index: 2; }

.workflow-node:last-child::after,
.workflow-node:last-child::before {
  display: none;
}

.workflow-node__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.workflow-node__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.28);
  color: #efeaff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.workflow-node__header .workflow-node__index {
  margin-bottom: 0;
}

.workflow-node__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8cf6ff;
  background: rgba(0, 212, 255, 0.2);
  text-transform: uppercase;
}

.workflow-node h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.workflow-node p {
  margin: 0;
  color: rgba(214, 219, 233, 0.88);
  font-size: 14px;
  line-height: 1.5;
}

.workflow-node--optional {
  border-color: rgba(0, 212, 255, 0.32);
  background: rgba(10, 18, 24, 0.7);
}

.workflow-node--final {
  border-color: rgba(124, 58, 237, 0.32);
  background: rgba(20, 17, 32, 0.72);
  box-shadow: 0 20px 46px rgba(7, 10, 22, 0.45);
}

.workflow-loop-card {
  padding: 20px 24px;
  border-radius: 18px;
  border: 1px solid rgba(124, 58, 237, 0.24);
  background: rgba(14, 16, 26, 0.75);
  box-shadow: 0 16px 32px rgba(5, 8, 18, 0.32);
}

.workflow-loop-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.workflow-loop-card p {
  margin: 0 0 12px;
  color: rgba(214, 219, 233, 0.88);
  font-size: 14px;
}

.workflow-loop-steps {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(232, 235, 246, 0.9);
}

.workflow-loop-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.26);
  color: #efeaff;
  font-size: 14px;
}

@media (max-width: 1200px) {
  .workflow-track {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    position: absolute;
    top: 64px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(9, 11, 18, 0.94);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
    width: min(280px, calc(100% - 32px));
    z-index: 200;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    width: 100%;
    text-align: left;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 960px) {
  .comparison-panel,
  .feature-panel {
    padding: 26px;
  }

  .comparison-table {
    min-width: 0;
  }

  .workflow {
    gap: 16px;
  }

  .workflow-track {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
  }

  .workflow-node {
    min-height: 0;
    padding: 18px;
  }

  .workflow-node::after,
  .workflow-node::before {
    display: none;
  }

  .workflow-loop-card {
    text-align: left;
  }

  .workflow-loop-steps {
    flex-wrap: wrap;
    row-gap: 8px;
  }
}

@media (max-width: 640px) {
  .feature-list li {
    padding: 16px 16px 16px 52px;
  }

  .feature-list li::before {
    left: 16px;
  }

  .workflow-track {
    grid-template-columns: 1fr;
  }

  .workflow-loop-steps {
    justify-content: center;
  }

  .value-section {
    padding: 72px 0 64px;
  }

  .value-cards {
    gap: 18px;
  }

  .value-card {
    padding: 24px 22px 26px;
  }

  .value-card__meta {
    align-items: flex-start;
  }

  .value-card__badge {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
}

.card { background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-1); transition: transform .18s ease, background .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-4px); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }

.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

.value-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px 26px 30px;
  border-radius: 24px;
  border: 1px solid rgba(124, 58, 237, 0.28);
  background: linear-gradient(160deg, #1d2236 0%, #161b2c 52%, #1e1b36 100%);
  box-shadow: 0 24px 48px rgba(6, 8, 18, 0.5);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  --value-card-primary: rgba(124, 58, 237, 0.6);
  --value-card-secondary: rgba(0, 212, 255, 0.45);
  --badge-bg: rgba(124, 58, 237, 0.18);
  --badge-border: rgba(124, 58, 237, 0.32);
}
.value-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 65%);
  opacity: 0.7;
  pointer-events: none;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 32px 54px rgba(5, 8, 18, 0.55);
}

.value-card__meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.value-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: rgba(223, 228, 245, 0.9);
  box-shadow: 0 10px 24px rgba(6, 8, 18, 0.45);
}

.value-card h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 22px);
  letter-spacing: 0.01em;
  color: #f5f7ff;
  position: relative;
  z-index: 1;
}

.value-card p {
  margin: 0;
  color: rgba(208, 214, 232, 0.86);
  position: relative;
  z-index: 1;
}

.value-card--pilot {
  --value-card-primary: rgba(124, 58, 237, 0.62);
  --value-card-secondary: rgba(0, 212, 255, 0.48);
  --badge-bg: rgba(124, 58, 237, 0.22);
  --badge-border: rgba(124, 58, 237, 0.36);
}
.value-card--team {
  --value-card-primary: rgba(20, 184, 166, 0.62);
  --value-card-secondary: rgba(56, 189, 248, 0.48);
  --badge-bg: rgba(20, 184, 166, 0.22);
  --badge-border: rgba(20, 184, 166, 0.36);
}
.value-card--hybrid {
  --value-card-primary: rgba(244, 114, 182, 0.62);
  --value-card-secondary: rgba(56, 189, 248, 0.48);
  --badge-bg: rgba(244, 114, 182, 0.22);
  --badge-border: rgba(244, 114, 182, 0.34);
}
.value-card--support {
  --value-card-primary: rgba(250, 204, 21, 0.55);
  --value-card-secondary: rgba(124, 58, 237, 0.5);
  --badge-bg: rgba(250, 204, 21, 0.24);
  --badge-border: rgba(250, 204, 21, 0.4);
}

.icon { width: 40px; height: 40px; border-radius: 12px; background: radial-gradient(60% 60% at 30% 30%, rgba(255,255,255,.3), rgba(255,255,255,.06)), linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: inset 0 0 20px rgba(255,255,255,.18), 0 10px 22px rgba(0,0,0,.35); }
.i-bot { mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2a1 1 0 0 1 1 1v1.055a8 8 0 0 1 6 7.945V17a3 3 0 0 1-3 3h-1a3 3 0 0 1-6 0H8a3 3 0 0 1-3-3v-4.999A8 8 0 0 1 11 4.055V3a1 1 0 0 1 1-1Zm-4 9a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2H8Z"/></svg>') center/70% no-repeat; }
.i-flow { mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M5 5h14v4H5zM7 10h10v4H7zM9 15h6v4H9z"/></svg>') center/70% no-repeat; }
.i-data { mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M3 5c0-1.657 4.03-3 9-3s9 1.343 9 3-4.03 3-9 3-9-1.343-9-3Zm0 7c0-1.657 4.03-3 9-3s9 1.343 9 3-4.03 3-9 3-9-1.343-9-3Zm0 7c0-1.657 4.03-3 9-3s9 1.343 9 3-4.03 3-9 3-9-1.343-9-3Z"/></svg>') center/70% no-repeat; }
.i-ai { mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2a5 5 0 0 1 5 5v3h1a3 3 0 1 1 0 6h-1v1a5 5 0 1 1-10 0v-1H6a3 3 0 1 1 0-6h1V7a5 5 0 0 1 5-5Z"/></svg>') center/70% no-repeat; }
.i-viz { mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M3 13h4v8H3zM10 3h4v18h-4zM17 9h4v12h-4z"/></svg>') center/70% no-repeat; }
.i-cloud { mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7 18a5 5 0 1 1 2.9-9.1 6 6 0 1 1 8.6 7.1H7Z"/></svg>') center/70% no-repeat; }

.case-card { background: linear-gradient(180deg, rgba(124,58,237,.10), rgba(255,255,255,.02)); border: 1px solid rgba(124,58,237,.25); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-1); }
.case-card .badge { display: inline-flex; align-items:center; justify-content:center; width: 50px; height: 28px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: 12px; margin-bottom: 8px; color: #dfe6f5; }

/* About */
.about { 
  display: grid; 
  gap: clamp(12px, 2vw, 28px); 
  grid-template-columns: 1.1fr .9fr; 
  align-items: center; 
}
.about-visual { 
  position: relative; 
  height: clamp(200px, 30vw, 360px); 
  border-radius: 20px; 
  overflow: hidden; 
  border: 1px solid rgba(255,255,255,.08); 
  background: #0c0f16; 
}
.about-visual__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-copy .bullets { 
  margin: 12px 0 0; 
  padding: 0 0 0 18px; 
  color: var(--muted); 
  font-size: clamp(12px, 1.5vw, 16px);
}
.about-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(16px, 2.5vw, 22px);
  color: #f5f7ff;
  letter-spacing: 0.02em;
}

/* Contact */
.contact { background: linear-gradient(90deg, rgba(124,58,237,.25), rgba(0,212,255,.25)); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: center; }
.contact-meta {
  align-self: stretch;
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 20, 0.6);
  box-shadow: var(--shadow-1);
}
.contact-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: rgba(212, 217, 232, 0.95);
  font-size: 14px;
  line-height: 1.7;
}
.contact-points li {
  position: relative;
  padding-left: 18px;
}
.contact-points li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}
.contact-points strong {
  color: #f6f8ff;
  font-weight: 700;
}

/* Footer */
.site-footer { padding: 26px 0; border-top: 1px solid rgba(255,255,255,.08); background: rgba(10,10,16,.75); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-copy { display: flex; gap: 14px; color: var(--muted); }
.foot-copy a { color: var(--muted); }

/* Timeline */
/* Pricing */
.pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card { background: var(--card); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-1); display: grid; gap: 10px; }
.price-card.highlight { border-color: rgba(124,58,237,.35); background: linear-gradient(180deg, rgba(124,58,237,.12), rgba(255,255,255,.03)); }
.price-card .price { font-size: 24px; font-weight: 800; }
.price-card ul { margin: 0 0 8px; padding-left: 18px; color: var(--muted); }
.note { color: var(--muted); text-align: center; margin-top: 10px; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] { border-color: rgba(124,58,237,.35); box-shadow: var(--shadow-1); }
.faq details > div { color: var(--muted); padding-top: 8px; }

/* Forms */
.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; color: #d6dbea; font-size: 14px; }
.form input, .form select, .form textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--text); outline: none; box-shadow: inset 0 1px 2px rgba(0,0,0,.2); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ring); box-shadow: 0 0 0 4px rgba(124,58,237,.12); }
.form .consent {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  width: fit-content;
  margin: 0;
  cursor: pointer;
}
.form .consent input { 
  margin: 0; 
  width: auto;
  flex-shrink: 0;
  cursor: pointer;
}
.form .privacy-note { margin: 8px 0 0; font-size: 12px; color: rgba(214, 219, 233, 0.7); }
.form .privacy-note a { color: inherit; text-decoration: underline; }

.form-status {
  margin: 12px 0 0;
  font-size: 14px;
  min-height: 20px;
  color: var(--muted);
}
.form-status.is-success {
  color: #4ade80;
}
.form-status.is-error {
  color: #f87171;
}

/* Active nav state */
.nav-menu a.active { color: var(--text); background: rgba(255,255,255,.10); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.reveal-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .section {
    margin: 0;
    padding: 80px clamp(20px, 6vw, 56px) 72px;
    border-radius: 0;
  }
  .section-wide {
    margin: 0;
    padding: 80px clamp(20px, 6vw, 56px) 72px;
  }
  .section-break { width: min(420px, 85%); height: 4px; margin-bottom: 32px; }
  .section-head { padding: 28px 22px; margin-bottom: 44px; }
  .hero-inner { min-height: calc(100vh - 64px); padding: 96px 24px 80px; }
  .cards, .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-section { padding: 88px 0 76px; }
  .value-card { padding: 26px 24px 28px; }
  .pricing { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-meta { padding: 22px; }
}
@media (max-width: 640px) {
  .section {
    margin: 0;
    padding: 68px clamp(16px, 6vw, 40px) 60px;
    border-radius: 0;
  }
  .section-wide {
    margin: 0;
    padding: 68px clamp(16px, 6vw, 40px) 60px;
  }
  .section-break { width: 70%; height: 3px; margin-bottom: 26px; }
  .section-head { padding: 24px 20px; margin-bottom: 36px; }
  .section-head::after { bottom: -14px; width: 110px; }
  body { padding-top: 60px; }
  .nav { height: 60px; padding: 0 16px; }
  .nav-toggle { padding: 8px 12px; }
  .nav-menu {
    left: 12px;
    right: 12px;
    top: 60px;
    width: auto;
    padding: 14px 16px;
    gap: 8px;
  }
  .nav-menu a { padding: 10px 12px; border-radius: 10px; }
  .hero-inner { min-height: calc(100vh - 60px); padding: 80px 16px 72px; }
  .hero-headline { font-size: clamp(16px, 7vw, 48px); }
  .hero-subtitle { font-size: clamp(9px, 2.5vw, 18px); margin-top: 12px; }
  .cards, .cases { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Prototype Examples */
.prototype-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prototype-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.prototype-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

.prototype-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.prototype-detail-btn {
  width: 100%;
  margin-top: auto;
}

/* Pricing */
.pricing-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.card--pricing {
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  text-align: center;
}

.card--pricing h3 {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-2);
}

.price-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.price-original {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 8px;
}

.price-arrow {
  font-size: 20px;
  color: var(--primary-2);
  margin: 4px 0;
}

.price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.price-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.price-description {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.campaign-badge {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  color: white;
  padding: 16px;
  border-radius: 8px;
  margin-top: auto;
}

.campaign-badge strong {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.campaign-badge p {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  margin: 32px 0;
  padding: 20px;
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  border-radius: 4px;
}

.pricing-note p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .price-amount {
    font-size: 28px;
  }
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal[aria-hidden="false"] {
  display: flex;
  visibility: visible;
  opacity: 1;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal-content {
  position: relative;
  max-width: 800px;
  max-height: 70vh;
  z-index: 1001;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  line-height: 1;
  padding: 0;
}

.video-modal-close:hover {
  color: var(--primary-2);
}

.video-modal video,
.video-modal img {
  display: none;
  width: 100%;
  max-width: 760px;
  max-height: 60vh;
  border-radius: 8px;
}

.video-modal.is-video-open video {
  display: block;
}

.video-modal.is-image-open img {
  display: block;
  object-fit: contain;
  background: #0f172a;
}

.video-modal-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted, #64748b);
}

.achievement-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.achievement-gallery .btn {
  flex: 1 1 220px;
  justify-content: center;
}

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

@media (max-width: 640px) {
  .prototype-examples {
    grid-template-columns: 1fr;
  }
  
  .video-modal-content {
    max-width: 95vw;
    padding: 16px;
  }
  
  .video-modal-close {
    top: -35px;
    font-size: 32px;
  }

  .achievement-gallery .btn {
    flex: 1 1 100%;
  }
}
