:root {
  --bg: #020617;
  --bg-soft: #081120;
  --surface: #0b1220;
  --surface-soft: rgba(15, 23, 42, 0.82);
  --line: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #8b5cf6;
  --primary-2: #22d3ee;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 24%),
    linear-gradient(180deg, #020617 0%, #040916 40%, #020617 100%);
  color: var(--text);
  line-height: 1.65;
}

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

button {
  font: inherit;
  border: none;
}

.site-header,
.nav-wrap,
.brand,
.main-nav,
.header-cta,
.btn,
.hero-section,
.hero-bg,
.hero-inner,
.hero-copy,
.hero-form,
.hero-form-row,
.hero-stats,
.stat-box,
.carousel-section,
.hero-carousel,
.carousel-viewport,
.carousel-track,
.carousel-slide,
.carousel-arrow,
.carousel-dots,
.dot,
.logo-section,
.logo-grid,
.logo-card,
.content-section,
.feature-grid,
.feature-card,
.review-grid,
.review-card,
.cta-section,
.cta-card,
.faq-card,
.site-footer,
.footer-wrap,
.footer-links,
.floating-contact {
  box-sizing: border-box;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(2, 6, 23, 0.62);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy span {
  font-size: 0.8rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a,
.footer-links a,
.footer-mail,
.header-cta,
.btn,
.partner-pill,
.floating-contact {
  cursor: pointer;
}

.main-nav a,
.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.footer-links a:hover,
.footer-mail:hover {
  color: var(--text);
}

/* ===== Hamburger Menu ===== */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 30;
  padding: 8px;
  border-radius: 12px;
  transition: background .2s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.06);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .35s ease, opacity .25s ease;
}

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

/* Hamburger → X morph */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile overlay backdrop */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 18;
  opacity: 0;
  transition: opacity .3s ease;
}

.nav-overlay.is-active {
  display: block;
  opacity: 1;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.header-cta {
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.btn {
  min-width: 152px;
  padding: 14px 24px;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  box-shadow: 0 18px 36px rgba(99, 102, 241, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.btn.large {
  min-width: 180px;
}

.header-cta:hover,
.btn:hover,
.dot:hover {
  transform: translateY(-2px);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0 30px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148,163,184,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.25));
}

.hero-inner,
.hero-carousel,
.feature-card,
.review-card,
.cta-card,
.faq-card {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: flex;
  justify-content: center;
}

.hero-copy {
  max-width: 860px;
  text-align: center;
}

.hero-kicker,
.section-kicker,
.slide-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  color: #d8b4fe;
  border: 1px solid rgba(139, 92, 246, 0.2);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}

.hero-copy p,
.section-title p,
.feature-card p,
.review-card p,
.cta-card p,
.faq-card p,
.stat-box span {
  color: var(--muted);
}

.hero-copy p {
  max-width: 860px;
  font-size: 1.18rem;
  margin: 0 auto 28px;
}

.hero-form {
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: left;
}

.hero-form label {
  display: block;
  margin-bottom: 10px;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-form-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-form input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(11, 18, 32, 0.88);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.hero-form input::placeholder {
  color: #64748b;
}

.hero-form input:focus {
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.hero-form .btn {
  min-width: 132px;
  height: 56px;
}

.hero-partners {
  width: min(100%, 900px);
  margin: 30px auto 0;
}

.hero-partners-title {
  margin-bottom: 14px;
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-partners-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.partner-pill {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 18px;
  background: rgba(11, 18, 32, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.partner-pill:hover {
  transform: translateY(-4px);
  background: rgba(18, 28, 48, 0.96);
  border-color: rgba(96, 165, 250, 0.34);
  box-shadow: 0 20px 44px rgba(34, 211, 238, 0.12);
}

.partner-pill img {
  max-width: 100%;
  width: auto;
  height: 70px;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.partner-pill:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.stat-box,
.logo-card,
.feature-card,
.review-card,
.cta-card,
.faq-card,
.hero-carousel {
  background: rgba(11, 18, 32, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stats-section {
  padding: 18px 0 72px;
}

.hero-stats-section .section-title {
  margin-bottom: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 820px);
  margin: 0 auto;
}

.stat-box {
  padding: 22px;
  border-radius: 22px;
}

.stat-box strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 4px;
}

.carousel-section {
  padding: 0 0 20px;
  margin-top: -24px;
}

.section-title {
  margin-bottom: 32px;
}

.section-title.center {
  text-align: center;
}

.section-title.compact {
  margin-bottom: 20px;
}

.section-title h2,
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
}

.hero-carousel {
  position: relative;
  padding: 28px 72px 58px;
  border-radius: 28px;
  overflow: hidden;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 22px;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 42px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 20%),
    linear-gradient(135deg, rgba(76, 29, 149, 0.92), rgba(15, 23, 42, 0.96));
}

.carousel-slide h3 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  margin-bottom: 12px;
}

.carousel-slide p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.75);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.carousel-arrow:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(37, 99, 235, 0.95));
  border-color: rgba(147, 197, 253, 0.45);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.26);
}

.carousel-arrow.prev {
  left: 16px;
}

.carousel-arrow.next {
  right: 16px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  cursor: pointer;
}

.dot.is-active {
  width: 34px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.logo-section,
.content-section,
.cta-section {
  padding: 88px 0;
}

.services-section {
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.08), transparent 26%);
  pointer-events: none;
}

.reviews-section {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(139, 92, 246, 0.05));
}

.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.12), transparent 24%);
  pointer-events: none;
}

.alt-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45), rgba(2, 6, 23, 0));
}

.faq-section {
  position: relative;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(15, 23, 42, 0.3));
}

.logo-grid,
.feature-grid,
.review-grid {
  display: grid;
  gap: 22px;
}

.logo-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.logo-card {
  min-height: 88px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #e2e8f0;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.feature-grid.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-showcase {
  display: grid;
  gap: 24px;
}

.services-lead-card {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.82));
  border: 1px solid rgba(96, 165, 250, 0.16);
  box-shadow: var(--shadow);
}

.mini-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  font-size: 0.8rem;
  font-weight: 700;
}

.services-lead-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.services-lead-card p {
  max-width: 760px;
  color: var(--muted);
}

.service-media-stack {
  display: grid;
  gap: 22px;
}

.service-media-card {
  display: grid;
  grid-template-columns: minmax(0, 1.20fr) minmax(0, 1.05fr);
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(10, 16, 28, 0.96), rgba(17, 24, 39, 0.88));
  border: 1px solid rgba(96, 165, 250, 0.14);
  box-shadow: var(--shadow);
}

.service-media-card.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.20fr);
}

.service-media-card.reverse .service-media-visual {
  order: 2;
}

.service-media-card.reverse .service-media-content {
  order: 1;
}

.service-media-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.service-media-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.06), rgba(2, 6, 23, 0.28));
}

.service-media-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
  transform: scale(1.2);
}

.service-media-card:hover .service-media-visual img {
  transform: scale(1.25);
}

.service-media-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
}

.service-media-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  color: #d8b4fe;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
}

.service-media-content h3 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  margin-bottom: 14px;
}

.service-media-content p {
  margin-bottom: 24px;
  color: #cbd5e1;
}

.service-media-content .btn {
  width: fit-content;
}

.insights-section {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(34, 211, 238, 0.04));
}

.insights-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.12), transparent 24%);
  pointer-events: none;
}

.insights-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.insight-card {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.92), rgba(10, 16, 28, 0.84));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: var(--shadow);
}

.insight-media {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.insight-media.small {
  min-height: 220px;
}

.insight-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.34));
}

.insight-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.insight-card:hover .insight-media img {
  transform: scale(1.04);
}

.insight-content {
  padding: 28px;
}

.insight-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
}

.insight-content h3 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  margin-bottom: 12px;
}

.insight-content p {
  color: #cbd5e1;
}

.insight-contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.tg-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}

.tg-link:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(34, 211, 238, 0.2));
  border-color: rgba(59, 130, 246, 0.4);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.tg-icon {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}

.about-hero-section {
  position: relative;
  overflow: hidden;
}

.about-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.16), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(34, 211, 238, 0.1), transparent 24%);
  pointer-events: none;
}

.about-hero-grid,
.about-story-grid,
.about-values-grid,
.about-mini-stats {
  position: relative;
  z-index: 1;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: center;
}

.about-hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.about-hero-copy p {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.about-hero-panel-card,
.about-info-card,
.about-story-card,
.about-process-card {
  border-radius: 28px;
  background: rgba(11, 18, 32, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: var(--shadow);
}

.about-hero-panel-card {
  padding: 34px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.82));
  border-color: rgba(96, 165, 250, 0.18);
}

.about-hero-panel-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

.about-hero-panel-card p,
.about-info-card p,
.about-story-card p,
.about-process-item p {
  color: var(--muted);
}

.about-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.about-mini-stat {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.about-mini-stat strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.about-mini-stat span {
  color: #cbd5e1;
  font-size: 0.94rem;
}

.about-values-section {
  position: relative;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-info-card {
  padding: 30px;
}

.about-info-card h3,
.about-process-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.about-story-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.38), rgba(2, 6, 23, 0));
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.about-story-card,
.about-process-card {
  padding: 34px;
}

.about-story-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 14px;
}

.about-process-list {
  display: grid;
  gap: 18px;
}

.about-process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}

.about-process-item strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.16);
  color: #fff;
  font-size: 1.2rem;
}

.about-cta-card {
  background: linear-gradient(135deg, rgba(11, 18, 32, 0.94), rgba(21, 29, 47, 0.88));
}

.feature-card,
.faq-card {
  padding: 30px;
  border-radius: 24px;
}

.services-section .feature-card {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.92), rgba(10, 16, 28, 0.82));
}

.alt-section .feature-card {
  background: linear-gradient(180deg, rgba(21, 29, 47, 0.92), rgba(12, 18, 34, 0.88));
  border-color: rgba(139, 92, 246, 0.14);
}

.service-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  align-items: stretch;
}

.timeline-index {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.16);
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
}

.timeline-body {
  padding: 28px 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(21, 29, 47, 0.92), rgba(12, 18, 34, 0.88));
  border: 1px solid rgba(139, 92, 246, 0.14);
  box-shadow: var(--shadow);
}

.timeline-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.timeline-body p {
  color: var(--muted);
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  z-index: 100;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

/* ===== Animation Keyframes ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes blurIn {
  from { opacity: 0; filter: blur(12px); transform: translateY(20px); }
  to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -40px) scale(1.1); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-25px, 35px) scale(1.05); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: .55; }
  50%      { opacity: .85; }
}

/* ===== Animation Base States ===== */
.anim-fade-up   { opacity: 0; transform: translateY(40px); }
.anim-fade-left { opacity: 0; transform: translateX(-60px); }
.anim-fade-right{ opacity: 0; transform: translateX(60px); }
.anim-scale-up  { opacity: 0; transform: scale(0.85); }
.anim-blur-in   { opacity: 0; filter: blur(12px); transform: translateY(20px); }

/* ===== Animation Trigger ===== */
.anim-fade-up.is-visible    { animation: fadeUp .8s cubic-bezier(.16,1,.3,1) forwards;    animation-delay: var(--delay, 0s); }
.anim-fade-left.is-visible  { animation: fadeLeft .8s cubic-bezier(.16,1,.3,1) forwards;  animation-delay: var(--delay, 0s); }
.anim-fade-right.is-visible { animation: fadeRight .8s cubic-bezier(.16,1,.3,1) forwards; animation-delay: var(--delay, 0s); }
.anim-scale-up.is-visible   { animation: scaleUp .7s cubic-bezier(.16,1,.3,1) forwards;   animation-delay: var(--delay, 0s); }
.anim-blur-in.is-visible    { animation: blurIn .9s cubic-bezier(.16,1,.3,1) forwards;    animation-delay: var(--delay, 0s); }

/* ===== Hero Parallax ===== */
.hero-section {
  will-change: transform;
}

/* Hero floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  top: -80px;
  left: -120px;
  background: rgba(139, 92, 246, 0.25);
  animation: float1 8s ease-in-out infinite, pulseGlow 4s ease-in-out infinite;
}

.hero-orb-2 {
  width: 340px;
  height: 340px;
  bottom: -60px;
  right: -100px;
  background: rgba(34, 211, 238, 0.18);
  animation: float2 10s ease-in-out infinite, pulseGlow 5s ease-in-out infinite;
}

/* Highlights section */
.highlights-section {
  position: relative;
}

.highlights-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.08), transparent 40%);
  pointer-events: none;
}

.highlights-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.highlight-card {
  padding: 36px 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.92), rgba(10, 16, 28, 0.82));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 24px 60px rgba(139, 92, 246, 0.12);
}

.highlight-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.16);
  color: #d8b4fe;
}

.highlight-icon svg {
  width: 28px;
  height: 28px;
}

.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.highlight-card p {
  color: var(--muted);
  font-size: .95rem;
}

/* Counter animation glow */
.stat-box strong {
  transition: color .3s ease;
}

.stat-box.is-counting strong {
  color: #d8b4fe;
}


.faq-section .faq-card {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.78), rgba(11, 18, 32, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.faq-stack {
  display: grid;
  gap: 16px;
}

.faq-card.wide {
  padding: 26px 28px;
}

.faq-card.wide h3 {
  margin-bottom: 8px;
}

.feature-card.tall {
  min-height: 240px;
}

.feature-card h3,
.faq-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

.review-card {
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 25, 42, 0.96), rgba(11, 18, 32, 0.86));
  border: 1px solid rgba(139, 92, 246, 0.12);
}

.review-card p {
  color: #e2e8f0;
  font-size: 1.06rem;
}

.cta-card {
  border-radius: 30px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 18, 32, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
  z-index: 40;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-contact img {
  width: 78px;
  height: 78px;
  display: block;
}

.floating-contact:hover {
  transform: translateY(-6px) scale(1.06);
  background: rgba(24, 35, 63, 0.96);
  box-shadow: 0 24px 52px rgba(34, 211, 238, 0.16);
}


.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-mail,
.footer-copy {
  color: var(--muted);
}

.footer-copy {
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 960px)
   ============================================================ */
@media (max-width: 960px) {

  /* ---- Navigation drawer ---- */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    z-index: 25;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 88px 28px 32px;
    background: rgba(8, 17, 32, 0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: -16px 0 60px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.16,1,.3,1), visibility 0s .4s;
    visibility: hidden;
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .4s cubic-bezier(.16,1,.3,1), visibility 0s 0s;
  }

  .main-nav a {
    padding: 16px 0;
    font-size: 1.05rem;
    color: var(--text);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  }

  .main-nav a:last-child {
    border-bottom: none;
    margin-top: 12px;
  }

  .main-nav .header-cta {
    text-align: center;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    border: none;
    padding: 14px;
    margin-top: 8px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.25);
  }

  /* ---- Grid collapses ---- */
  .hero-stats,
  .logo-grid,
  .feature-grid.three-col,
  .review-grid,
  .cta-card,
  .insights-grid,
  .highlights-grid,
  .about-values-grid,
  .about-mini-stats,
  .about-hero-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  /* ---- Service cards stack ---- */
  .service-media-card,
  .service-media-card.reverse {
    grid-template-columns: 1fr;
  }

  .service-media-card.reverse .service-media-visual,
  .service-media-card.reverse .service-media-content {
    order: initial;
  }

  .service-media-visual {
    min-height: 240px;
  }

  /* ---- Process / Timeline ---- */
  .timeline-item,
  .about-process-item {
    grid-template-columns: 1fr;
  }

  .timeline-index,
  .about-process-item strong {
    min-height: 64px;
  }

  /* ---- Layout adjustments ---- */
  .cta-card,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-carousel {
    padding: 24px 20px 54px;
  }

  .carousel-arrow {
    display: none;
  }

  /* ---- Partner logos: 3 columns on tablet ---- */
  .hero-partners-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* ---- Reduce section padding ---- */
  .logo-section,
  .content-section,
  .cta-section {
    padding: 64px 0;
  }

  .hero-stats-section {
    padding: 18px 0 56px;
  }
}

/* ============================================================
   RESPONSIVE — Phone (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {

  .container {
    width: min(100% - 24px, 1120px);
  }

  /* ---- Header ---- */
  .nav-wrap {
    min-height: 60px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

  .brand-copy span {
    font-size: 0.7rem;
  }

  /* ---- Hero section ---- */
  .hero-section {
    padding: 28px 0 24px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 14px;
  }

  .hero-copy p {
    font-size: 1rem;
    margin-bottom: 22px;
  }

  .hero-kicker {
    font-size: 0.76rem;
    padding: 6px 12px;
    margin-bottom: 14px;
  }

  .hero-orb-1 { width: 180px; height: 180px; top: -40px; left: -60px; }
  .hero-orb-2 { width: 140px; height: 140px; bottom: -30px; right: -50px; }

  /* ---- Form ---- */
  .hero-form-row,
  .about-hero-actions {
    flex-direction: column;
  }

  .hero-form input {
    height: 50px;
    font-size: 0.95rem;
    padding: 0 16px;
  }

  .hero-form .btn {
    height: 50px;
    min-width: auto;
  }

  /* ---- Buttons full width ---- */
  .header-cta,
  .btn,
  .btn.large {
    width: 100%;
  }

  /* ---- Partner pills: 2 columns ---- */
  .hero-partners-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .partner-pill {
    min-height: 52px;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .partner-pill img {
    height: 42px;
  }

  /* ---- Stats ---- */
  .hero-stats {
    gap: 12px;
  }

  .stat-box {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .stat-box strong {
    font-size: 1.6rem;
  }

  .stat-box span {
    font-size: 0.88rem;
  }

  /* ---- Section titles ---- */
  .section-title h2,
  .cta-card h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .section-title {
    margin-bottom: 24px;
  }

  /* ---- Cards padding ---- */
  .stat-box,
  .feature-card,
  .faq-card,
  .review-card,
  .cta-card,
  .carousel-slide,
  .service-media-content,
  .insight-content,
  .highlight-card,
  .about-hero-panel-card,
  .about-info-card,
  .about-story-card,
  .about-process-card {
    padding: 22px 20px;
  }

  /* ---- Service cards ---- */
  .service-media-visual {
    min-height: 200px;
  }

  .service-media-content h3 {
    font-size: 1.2rem;
  }

  /* ---- Insight cards ---- */
  .insight-media,
  .insight-media.small {
    min-height: 180px;
  }

  .insight-content h3 {
    font-size: 1.15rem;
  }

  /* ---- Highlight cards ---- */
  .highlight-icon {
    width: 48px;
    height: 48px;
  }

  .highlight-icon svg {
    width: 24px;
    height: 24px;
  }

  /* ---- FAQ ---- */
  .faq-card.wide {
    padding: 20px 18px;
  }

  .faq-card h3 {
    font-size: 1.05rem;
  }

  /* ---- About page ---- */
  .about-hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .about-hero-panel-card h2 {
    font-size: 1.3rem;
  }

  .about-mini-stat strong {
    font-size: 1.25rem;
  }

  .about-process-item {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .about-process-item strong {
    min-height: 52px;
    font-size: 1rem;
    border-radius: 14px;
  }

  /* ---- Floating contact button ---- */
  .floating-contact {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
  }

  .floating-contact img {
    width: 42px;
    height: 42px;
  }

  /* ---- Footer ---- */
  .footer-wrap {
    gap: 12px;
  }

  .footer-copy {
    font-size: 0.82rem;
  }

  /* ---- Section padding ---- */
  .logo-section,
  .content-section,
  .cta-section {
    padding: 56px 0;
  }

  .hero-stats-section {
    padding: 14px 0 48px;
  }
}
