:root {
  --bg: #f7f9fc;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-solid: #ffffff;
  --text: #111827;
  --text-soft: #4b5563;
  --primary: #4f46e5;
  --primary-soft: #7c7af8;
  --accent: #06b6d4;
  --line: rgba(17, 24, 39, 0.08);
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
  --shadow-soft: 0 12px 32px rgba(17, 24, 39, 0.08);
  --shadow-strong: 0 30px 80px rgba(17, 24, 39, 0.14);
  --radius-xl: 28px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% -10%, #e8eeff, transparent 45%),
    radial-gradient(circle at 90% 0%, #d8f7ff, transparent 30%), var(--bg);
  scroll-behavior: smooth;
}

body {
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 0;
  background-image: radial-gradient(#000 0.4px, transparent 0.4px);
  background-size: 4px 4px;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.blur-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.36;
  animation: float 12s ease-in-out infinite alternate;
}

.orb-1 {
  top: -80px;
  left: -40px;
  background: #b9c5ff;
}

.orb-2 {
  right: -100px;
  top: 160px;
  background: #aef3ff;
  animation-delay: 1.4s;
}

@keyframes float {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(-20px) translateX(14px);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(247, 249, 252, 0.7);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}
.brand img,
.brand svg{
  width: auto;
  height: 50px;
  object-fit: cover;
}

.brand-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

nav a {
  color: var(--text-soft);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

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

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(79, 70, 229, 0.28);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 82px 0 68px;
  isolation: isolate;
}

.hero-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 640px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: var(--surface);
  font-size: 13px;
  backdrop-filter: blur(10px);
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  margin: 18px 0 20px;
  letter-spacing: -0.03em;
}

.lead {
  color: var(--text-soft);
  max-width: 640px;
  font-size: clamp(1.04rem, 1.9vw, 1.2rem);
  line-height: 1.68;
}

.hero-note {
  margin-top: 14px;
  color: #64748b;
  font-size: 0.95rem;
}

.actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  box-shadow: 0 12px 25px rgba(79, 70, 229, 0.28);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface-solid);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(79, 70, 229, 0.35);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-soft);
}

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(79, 70, 229, 0.2);
}

.hero-insight {
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 255, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.12);
}

.insight-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.insight-head p {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.insight-trend {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  background: transparent;
  border: 0;
}

.insight-head-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.insight-live {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #0f172a;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.insight-live strong {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  color: #0f172a;
}

.insight-live strong::after {
  content: "·";
  margin-left: 6px;
  color: #94a3b8;
}

.insight-live span {
  font-size: 0.82rem;
  line-height: 1;
  color: #64748b;
}

.chart {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(79, 70, 229, 0.12);
  background: linear-gradient(180deg, #ffffff, #f8faff);
}

.chart-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(79, 70, 229, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79, 70, 229, 0.08) 1px, transparent 1px);
  background-size: 56px 44px;
}

.chart svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.chart-line-path {
  fill: none;
  stroke: url(#chartLine);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  animation: chartLineDraw 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.chart-area-path {
  fill: url(#chartFill);
  transform-origin: left center;
  transform: scaleX(0.05);
  opacity: 0.45;
  animation: chartAreaReveal 1.35s ease 0.24s forwards;
}

@keyframes chartLineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes chartAreaReveal {
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.chart-focus {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.chart-focus-line {
  position: absolute;
  top: 0;
  left: 20px;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.35), rgba(79, 70, 229, 0.08));
}

.chart-focus-dot {
  position: absolute;
  left: 20px;
  top: 180px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 7px rgba(79, 70, 229, 0.16), 0 0 0 12px rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%);
}

.chart-points {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.chart-point {
  position: absolute;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.chart-point::after {
  content: none;
}

.chart-point:hover,
.chart-point:focus-visible {
  background: rgba(79, 70, 229, 0.06);
}

.chart-point:focus-visible {
  outline: 2px solid rgba(79, 70, 229, 0.45);
  outline-offset: 2px;
}

.insight-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.insight-metrics article {
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(79, 70, 229, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.insight-metrics strong {
  display: block;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.insight-metrics span {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.insight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.insight-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #334155;
  border: 1px solid rgba(79, 70, 229, 0.12);
  background: rgba(255, 255, 255, 0.94);
}

.insight-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.section {
  position: relative;
  z-index: 1;
  padding: 62px 0;
}

.stories {
  padding-top: 68px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.story {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-tag {
  display: inline-flex;
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid rgba(79, 70, 229, 0.12);
}

.story h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
}

.story strong {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
}

.quote p {
  font-size: 1.08rem;
  line-height: 1.6;
}

.quote span {
  color: #64748b;
  font-size: 0.92rem;
}

.section-head {
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.section p {
  color: var(--text-soft);
  margin: 0;
}

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

.service {
  padding: 22px;
}

.service h3 {
  margin: 8px 0 10px;
  font-size: 1.15rem;
}

.service p {
  color: var(--text-soft);
  margin: 0;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.25);
}

.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.case {
  padding: 24px;
}

.case strong {
  font-size: 1.8rem;
  display: block;
  margin: 8px 0 0;
}

.timeline {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 14px;
  padding: 16px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 700;
  background: #eef0ff;
}

.cta {
  padding: 30px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f6f8ff);
}

footer {
  padding: 36px 0 50px;
  color: #6b7280;
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.signal-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42));
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
  justify-content: center;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(79, 70, 229, 0.13);
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.signal-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.24);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 980px) {
  .hero-grid,
  .story-grid,
  .grid-3,
  .cases {
    grid-template-columns: 1fr;
  }

  .hero-insight {
    padding: 14px;
  }

  .insight-metrics {
    grid-template-columns: 1fr;
  }

  .insight-head {
    flex-direction: column;
    gap: 10px;
  }

  .insight-head-meta {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  nav {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  .header-cta {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
