
:root {
  --bg: #f5f7ff;
  --bg-elevated: rgba(255, 255, 255, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.72);
  --accent: #4b6fff;
  --accent-soft: #e3e7ff;
  --accent-strong: #8a5bff;
  --accent-hot: #ff7ac4;
  --text-main: #151826;
  --text-soft: #4b4f65;
  --border-subtle: rgba(120, 130, 180, 0.12);
  --shadow-soft: 0 18px 45px rgba(18, 24, 46, 0.16);
  --radius-lg: 22px;
  --radius-xl: 26px;
  --radius-pill: 999px;
  --max-width: 1120px;
  --nav-height: 72px;
  --transition-fast: 180ms ease-out;
}

/* Global reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(75, 111, 255, 0.22), transparent 58%),
    radial-gradient(circle at 120% 0%, rgba(255, 122, 196, 0.28), transparent 55%),
    linear-gradient(135deg, #f3f5ff, #f9fbff);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

p {
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0 0 0.9rem;
  font-size: 0.98rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.7rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page {
  position: relative;
  padding-top: var(--nav-height);
  padding-bottom: 3rem;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(88, 119, 255, 0.35), transparent 55%),
    radial-gradient(circle at 90% 15%, rgba(255, 122, 196, 0.35), transparent 52%);
  opacity: 0.18;
  z-index: -2;
}

/* Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(245, 247, 255, 0.98), rgba(245, 247, 255, 0.85));
  border-bottom: 1px solid var(--border-subtle);
}

.nav-bar {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.8rem 0.35rem 0.3rem;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.45), transparent 60%);
}

.brand img {
  height: 34px;
  width: auto;
}

.brand span {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.nav-links a {
  opacity: 0.78;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav-links a.nav-link-active {
  opacity: 1;
  font-weight: 600;
}

.nav-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Primary CTA */

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at 0 0, #ffffff, transparent 55%), linear-gradient(135deg, var(--accent), var(--accent-strong), var(--accent-hot));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.96rem;
  box-shadow: 0 14px 32px rgba(91, 104, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  letter-spacing: -0.02em;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, filter 120ms ease-out;
  white-space: nowrap;
}

.primary-cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 18px 40px rgba(75, 111, 255, 0.55);
  filter: saturate(1.2);
}

.primary-cta:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 8px 24px rgba(75, 111, 255, 0.4);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.35rem;
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: #23263a;
  transition: transform var(--transition-fast), opacity var(--transition-fast), translate var(--transition-fast);
}

.nav-toggle span + span {
  margin-top: 4px;
}

.nav-toggle.nav-open span:nth-child(1) {
  transform: rotate(42deg);
  translate: 0 3px;
}

.nav-toggle.nav-open span:nth-child(2) {
  transform: rotate(-42deg);
  translate: 0 -3px;
}

/* Hero */

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem 0.28rem 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(129, 139, 196, 0.28);
  box-shadow: 0 12px 30px rgba(40, 44, 82, 0.12);
  margin-bottom: 0.9rem;
}

.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-hot);
  box-shadow: 0 0 0 6px rgba(255, 122, 196, 0.18);
}

.hero-kicker span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.hero h1 {
  font-size: clamp(2.15rem, 3.1vw, 3.1rem);
}

.hero-lead {
  font-size: 1.02rem;
  max-width: 32rem;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.hero-badge {
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(164, 170, 215, 0.5);
}

.hero-visual {
  position: relative;
}

.hero-orbit {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.7rem;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.65)),
    linear-gradient(140deg, rgba(255, 255, 255, 0.82), rgba(244, 244, 255, 0.98));
  border: 1px solid rgba(170, 174, 220, 0.55);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(75, 111, 255, 0.12), transparent 60%),
    radial-gradient(circle at 100% 0%, rgba(255, 122, 196, 0.18), transparent 68%);
  opacity: 0.95;
  pointer-events: none;
}

.hero-orbit-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.4rem;
}

.hero-metric-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mini-card {
  padding: 0.7rem 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(199, 204, 240, 0.8);
  box-shadow: 0 16px 34px rgba(31, 38, 89, 0.18);
}

.mini-card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  margin-bottom: 0.32rem;
}

.mini-card-value {
  font-size: 1.35rem;
  font-weight: 650;
}

.mini-card-pill {
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(237, 240, 255, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.mini-card-pill span:first-child {
  font-size: 0.9rem;
}

.hero-radial {
  position: relative;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 30% 10%, #ffffff, rgba(255, 255, 255, 0.2)),
    radial-gradient(circle at 50% 120%, rgba(75, 111, 255, 0.7), rgba(138, 91, 255, 0.7));
  box-shadow: 0 18px 40px rgba(46, 52, 104, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-radial-inner {
  width: 76%;
  height: 76%;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: radial-gradient(circle at 25% 0%, rgba(255, 255, 255, 0.9), transparent 55%);
  position: relative;
}

.hero-radial-inner::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: inherit;
  border: 1px dashed rgba(255, 255, 255, 0.8);
}

.hero-radial-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.55);
}

.hero-radial-dot.dot-1 { top: 4%; left: 50%; transform: translateX(-50%); }
.hero-radial-dot.dot-2 { bottom: 6%; left: 18%; }
.hero-radial-dot.dot-3 { bottom: 8%; right: 14%; }

/* Sections */

.section {
  padding: 2.4rem 0 1.6rem;
}

.section-header {
  max-width: 36rem;
  margin-bottom: 1.6rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.55rem;
}

.section-subtitle {
  font-size: 0.96rem;
}

/* Cards / grids */

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  position: relative;
  padding: 1.4rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid rgba(184, 190, 235, 0.8);
  box-shadow: 0 14px 36px rgba(24, 31, 85, 0.16);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.7), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.9rem;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(227, 231, 255, 0.9);
  font-size: 0.78rem;
  margin-bottom: 0.55rem;
}

/* Pill list */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.6rem 0 0.3rem;
}

.pill {
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(175, 182, 226, 0.8);
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* CTA band */

.cta-band {
  margin-top: 2.4rem;
  margin-bottom: 1.2rem;
  padding: 1.7rem 1.6rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.3), transparent 55%),
    linear-gradient(130deg, #151826, #1c2140, #272149);
  color: #f5f5ff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  justify-content: space-between;
  box-shadow: 0 18px 42px rgba(12, 15, 36, 0.8);
}

.cta-band h2 {
  color: inherit;
  font-size: 1.35rem;
}

.cta-band p {
  color: rgba(226, 229, 255, 0.9);
  max-width: 25rem;
}

.cta-band .primary-cta {
  box-shadow: 0 18px 40px rgba(75, 111, 255, 0.8);
}

/* Two-column layout */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
}

/* Lists / content formatting */

ul {
  padding-left: 1.1rem;
  margin: 0.2rem 0 0.8rem;
}

li {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 0.28rem;
}

/* Timeline */

.timeline {
  position: relative;
  padding-left: 1.2rem;
  margin: 0.7rem 0 0.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-hot));
  opacity: 0.4;
}

.timeline-step {
  position: relative;
  margin-bottom: 0.7rem;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(75, 111, 255, 0.2);
}

/* Case study cards */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.case-card {
  position: relative;
  padding: 1.3rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid rgba(184, 190, 235, 0.95);
  box-shadow: 0 14px 34px rgba(26, 34, 86, 0.2);
}

.case-metric {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(227, 231, 255, 0.96);
  margin-bottom: 0.6rem;
}

/* Contact page */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 2rem;
}

.contact-panel {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid rgba(175, 182, 226, 0.9);
  box-shadow: 0 16px 36px rgba(32, 39, 92, 0.18);
}

.field-group {
  margin-bottom: 0.9rem;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.field-note {
  font-size: 0.74rem;
  color: var(--text-soft);
  opacity: 0.85;
  margin-bottom: 0.15rem;
}

.input-shell {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(170, 176, 226, 0.75);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(21, 28, 73, 0.14);
  padding: 0.45rem 0.75rem;
}

.input-shell input,
.input-shell textarea {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.9rem;
  padding: 0.35rem 0.2rem;
  background: transparent;
  color: var(--text-main);
  font-family: inherit;
  resize: vertical;
  min-height: 38px;
}

/* Footer */

.site-footer {
  padding: 1.4rem 0 1.5rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.75rem;
  background: rgba(245, 247, 255, 0.92);
  backdrop-filter: blur(12px);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Utility */

.text-accent {
  color: var(--accent-strong);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  background: rgba(227, 231, 255, 0.98);
  font-size: 0.78rem;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-orbit-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-radial {
    width: 140px;
    height: 140px;
  }

  .card-grid-3,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    background: linear-gradient(to bottom, rgba(245, 247, 255, 0.98), rgba(245, 247, 255, 0.96));
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 1.25rem 1.4rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }

  .nav-links.nav-open {
    transform: translateY(0%);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.25rem 0;
  }

  .hero-grid {
    gap: 2.1rem;
  }

  .cta-band {
    padding: 1.4rem 1.3rem;
  }

  .card-grid-3,
  .case-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .nav-bar {
    gap: 0.6rem;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .hero {
    padding: 2.2rem 0 1.7rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .primary-cta {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding-top: 2rem;
  }
}
