/* =====================================================
   TechNeural — Core Styles
   LIGHT premium theme · classic purple → magenta brand
   ===================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg: #f6f4fc;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1ecfb;
  --stroke: rgba(91, 33, 182, 0.12);
  --stroke-strong: rgba(124, 58, 237, 0.32);

  /* Brand (classic palette) */
  --deep: #3b0da0;
  --purple: #5b21b6;
  --violet: #7c3aed;
  --magenta: #c026d3;
  --pink: #d946ef;

  --grad: linear-gradient(120deg, #7c3aed 0%, #c026d3 58%, #d946ef 100%);
  --grad-deep: linear-gradient(135deg, #3b0da0 0%, #7c3aed 50%, #c026d3 100%);
  --grad-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(192, 38, 211, 0.12));

  /* Text */
  --text: #1c1133;
  --muted: #5b5470;
  --faint: #8a83a0;

  /* Effects */
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 9999px;
  --shadow: 0 24px 60px rgba(91, 33, 182, 0.14);
  --shadow-sm: 0 10px 30px rgba(91, 33, 182, 0.1);
  --glow: 0 0 40px rgba(192, 38, 211, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1200px;
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html:not(.lenis) {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
::selection {
  background: rgba(192, 38, 211, 0.2);
  color: var(--deep);
}

/* Ambient light background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(60% 45% at 50% -8%, rgba(124, 58, 237, 0.14), transparent 70%),
    radial-gradient(50% 45% at 100% 100%, rgba(192, 38, 211, 0.1), transparent 70%),
    radial-gradient(45% 40% at 0% 60%, rgba(217, 70, 239, 0.08), transparent 70%), var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 78%);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.section {
  padding-block: 76px;
  position: relative;
}
.section--tight {
  padding-block: 40px;
}

/* Prevent double padding when sections stack consecutively */
.section + .section,
.section + .section--tight,
.section--tight + .section,
.section--tight + .section--tight {
  padding-top: 0;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section__head {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}
.section__head--left {
  margin-inline: 0;
  text-align: left;
}
.section__title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 16px;
}
.section__lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: var(--grad-soft);
  border: 1px solid var(--stroke-strong);
  color: var(--violet);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.tag--light {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.tag i {
  width: 15px;
  height: 15px;
}

/* ---------- Glass / surface card ---------- */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s,
    border-color 0.35s, color 0.35s;
  position: relative;
  overflow: hidden;
}
.btn i {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}
.btn--lg {
  padding: 15px 28px;
  font-size: 1rem;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 28px rgba(192, 38, 211, 0.3);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(192, 38, 211, 0.42);
}
.btn--primary:hover::after {
  transform: translateX(120%);
}
.btn--primary:hover i {
  transform: translateX(4px);
}
.btn--ghost {
  background: var(--surface);
  border-color: var(--stroke-strong);
  color: var(--violet);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  background: var(--surface-2);
  transform: translateY(-3px);
}

/* =====================================================
   NAVBAR
   ===================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--nav-h);
  margin-top: 16px;
  padding: 8px 8px 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, margin 0.4s;
}
.nav.is-scrolled .nav__inner {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow-sm);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo img {
  height: 40px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__links a {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.nav__links a.is-active {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 16px rgba(192, 38, 211, 0.3);
}
.nav__cta i {
  width: 16px;
  height: 16px;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--stroke);
}
.nav__burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(246, 244, 252, 0.97);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s;
}
.mobile-menu a:hover,
.mobile-menu a.is-active {
  color: var(--violet);
}
.mobile-menu .btn {
  margin-top: 12px;
  font-size: 1rem;
}

/* =====================================================
   HERO (home)
   ===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 60px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.hero__glow--1 {
  width: 540px;
  height: 540px;
  background: rgba(124, 58, 237, 0.18);
  top: -160px;
  left: -120px;
}
.hero__glow--2 {
  width: 500px;
  height: 500px;
  background: rgba(192, 38, 211, 0.16);
  bottom: -200px;
  right: -120px;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--grad-soft);
  border: 1px solid var(--stroke-strong);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 22px;
}
.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
  animation: pulse-dot 1.6s ease infinite;
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 22px;
}
.hero__sub {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  max-width: 38rem;
  margin-bottom: 34px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__trust {
  margin-top: 36px;
  align-items: center;
  color: var(--faint);
  font-size: 0.92rem;
}
.hero__trust strong {
  color: var(--text);
}
.hero__avatars {
  display: flex;
}
.hero__avatars span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border: 2px solid var(--bg);
  margin-left: -11px;
}
.hero__avatars span:first-child {
  margin-left: 0;
}

/* Hero visual */
.hero__visual {
  position: relative;
  height: 480px;
  width: 100%;
}
.hero__card {
  position: absolute;
  padding: 18px;
  box-shadow: var(--shadow);
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  will-change: transform;
}
.hero__card--main {
  width: 300px;
  top: 30px;
  left: 0;
  z-index: 3;
}
.hero__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.hero__card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.hero__card-title i {
  width: 16px;
  height: 16px;
  color: var(--violet);
}
.pill {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
}
.pill--green {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
}
.hero__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
}
.hero__chart span {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 0 0;
  background: var(--grad);
  opacity: 0.9;
}
.hero__card--ai {
  width: 260px;
  top: 0;
  right: 0;
  z-index: 4;
}
.hero__ai-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__ai-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--stroke-strong);
  flex-shrink: 0;
}
.hero__ai-avatar i {
  width: 20px;
  height: 20px;
  color: var(--magenta);
}
.hero__ai-row strong {
  font-size: 0.92rem;
}
.hero__ai-row p {
  font-size: 0.78rem;
  color: var(--faint);
}
.hero__card--stat {
  width: 150px;
  bottom: 40px;
  left: 40px;
  z-index: 4;
  text-align: center;
  padding: 22px 18px;
}
.hero__stat-num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__stat-label {
  font-size: 0.78rem;
  color: var(--faint);
}
.hero__card--code {
  width: 250px;
  bottom: 0;
  right: 20px;
  z-index: 3;
  font-family: "Space Grotesk", monospace;
}
.hero__code-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.hero__code-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--stroke);
}
.hero__card--code code {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.9;
}
.c-key {
  color: var(--violet);
}
.c-str {
  color: var(--magenta);
}
.c-ok {
  color: #059669;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  color: var(--faint);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  animation: bob 2.4s ease infinite;
}
.hero__scroll i {
  width: 20px;
  height: 20px;
}

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  position: relative;
  text-align: center;
  padding: calc(var(--nav-h) + 70px) 0 50px;
  overflow: hidden;
}
.page-hero__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 320px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16), transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 16px;
}
.page-hero p {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.1rem;
}
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--faint);
  margin-bottom: 18px;
}
.crumb a {
  color: var(--violet);
  font-weight: 600;
}
.crumb i {
  width: 13px;
  height: 13px;
}

/* =====================================================
   STATS
   ===================================================== */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--stroke-strong);
}
.stat-card__num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-card__label {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--faint);
  letter-spacing: 0.03em;
}

/* =====================================================
   SERVICES
   ===================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
  will-change: transform;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--stroke-strong);
  margin-bottom: 22px;
  transition: transform 0.45s var(--ease);
}
.service-card:hover .service-card__icon {
  transform: scale(1.08) rotate(-4deg);
}
.service-card__icon i {
  width: 26px;
  height: 26px;
  color: var(--violet);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}
.mini-list {
  margin: 16px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.mini-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--muted);
}
.mini-list i {
  width: 16px;
  height: 16px;
  color: var(--magenta);
  flex-shrink: 0;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--violet);
}
.service-card__link i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.service-card:hover .service-card__link i {
  transform: translateX(4px);
}

/* =====================================================
   SPLIT (about story, alternating)
   ===================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split__media {
  order: 2;
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
}
.split__media img {
  width: 100%;
  display: block;
}
.split h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}
.split p {
  color: var(--muted);
  margin-bottom: 14px;
}

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 26px 0 30px;
}
.why__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.why__list i {
  width: 18px;
  height: 18px;
  color: #059669;
  flex-shrink: 0;
}
.why__cards,
.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.features__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.feature-card {
  padding: 26px 22px;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow);
}
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--stroke-strong);
  margin-bottom: 16px;
}
.feature-card__icon i {
  width: 22px;
  height: 22px;
  color: var(--magenta);
}
.feature-card h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* =====================================================
   PROCESS
   ===================================================== */
.process__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.process-step {
  padding: 28px 22px;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.process-step:hover {
  transform: translateY(-8px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow);
}
.process-step__num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.process-step__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid var(--stroke-strong);
  margin: 16px 0 14px;
}
.process-step__icon i {
  width: 22px;
  height: 22px;
  color: var(--violet);
}
.process-step h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* =====================================================
   TIMELINE (about)
   ===================================================== */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 36px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--violet), var(--magenta), transparent);
}
.tl-item {
  position: relative;
  margin-bottom: 34px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.12);
}
.tl-item__year {
  color: var(--magenta);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.tl-item h4 {
  font-size: 1.2rem;
  margin: 4px 0 6px;
}
.tl-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* =====================================================
   SERVICE DETAIL PAGE
   ===================================================== */
.svc-detail-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.svc-detail-hero__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--grad);
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}
.svc-detail-hero__icon i {
  width: 34px;
  height: 34px;
}
.svc-detail__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.svc-detail__highlights {
  padding: 36px;
}
.svc-highlight-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.svc-highlight-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.97rem;
  color: var(--text);
  font-weight: 500;
}
.svc-highlight-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad-soft);
  border: 1px solid var(--stroke);
  flex-shrink: 0;
}
.svc-highlight-icon i {
  width: 18px;
  height: 18px;
  color: var(--violet);
}

/* =====================================================
   TEAM (about)
   ===================================================== */
.team__grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.team-card {
  width: 100%;
  max-width: 320px;
}
.team-card {
  text-align: center;
  padding: 30px 22px;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow);
}
.team-card__av {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--glow);
}
.team-card h4 {
  font-size: 1.12rem;
}
.team-card__role {
  display: block;
  color: var(--magenta);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.team-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* =====================================================
   WORK / PORTFOLIO
   ===================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.25s;
}
.filter-btn:hover {
  border-color: var(--stroke-strong);
  color: var(--text);
}
.filter-btn.is-active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(192, 38, 211, 0.28);
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work-card {
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow);
}
.work-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.work-card:hover .work-card__media img {
  transform: scale(1.07);
}
.work-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--stroke-strong);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--violet);
  backdrop-filter: blur(6px);
}
.work-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: linear-gradient(to top, rgba(59, 13, 160, 0.78), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.work-card:hover .work-card__overlay {
  opacity: 1;
}
.work-card__overlay a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}
.work-card__overlay i {
  width: 16px;
  height: 16px;
}
.work-card__body {
  padding: 22px;
}
.work-card__body h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.work-card__body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.work-card__tags span {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  color: var(--violet);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials__swiper {
  padding: 8px 24px 60px;
  max-width: 980px;
  margin-inline: auto;
}
.testimonial {
  padding: 38px 34px;
  height: 100%;
}
.testimonial p {
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--text);
}
.testimonial footer {
  display: flex;
  align-items: center;
  gap: 13px;
}
.testimonial__av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  flex-shrink: 0;
}
.testimonial cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  color: var(--faint);
}
.testimonial cite strong {
  color: var(--text);
  font-size: 0.98rem;
}
.swiper-pagination-bullet {
  background: var(--muted);
}
.swiper-pagination-bullet-active {
  background: var(--magenta);
  width: 22px;
  border-radius: var(--radius-pill);
}

/* =====================================================
   BLOG
   ===================================================== */
.blog-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  overflow: hidden;
  margin-bottom: 40px;
}
.blog-feature__img {
  min-height: 320px;
  overflow: hidden;
}
.blog-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-feature__body {
  padding: 40px;
}
.blog-feature__body h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 12px 0 14px;
}
.blog-feature__body p {
  color: var(--muted);
  margin-bottom: 22px;
}
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow);
}
.blog-card__img {
  height: 190px;
  overflow: hidden;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card__img img {
  transform: scale(1.07);
}
.blog-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--faint);
  margin-bottom: 12px;
}
.blog-tag {
  color: var(--magenta);
  font-weight: 700;
}
.blog-card__body h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card__body p {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}
.blog-author__av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.method:hover {
  transform: translateX(6px);
  border-color: var(--stroke-strong);
}
.method__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  flex-shrink: 0;
}
.method__icon i {
  width: 22px;
  height: 22px;
}
.method h4 {
  font-size: 0.8rem;
  color: var(--faint);
  font-weight: 600;
  margin-bottom: 2px;
}
.method .val {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}
.form-card {
  padding: 36px;
}
.form-card > h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.form-card > p {
  color: var(--muted);
  margin-bottom: 28px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  background: #fff;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.field .err {
  display: block;
  color: #dc2626;
  font-size: 0.78rem;
  margin-top: 6px;
  min-height: 1em;
}

/* =====================================================
   FAQ
   ===================================================== */
.faq__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.is-open {
  border-color: var(--stroke-strong);
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
}
.faq-item__q i {
  width: 20px;
  height: 20px;
  color: var(--violet);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.faq-item.is-open .faq-item__q i {
  transform: rotate(135deg);
}
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-item__a p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* =====================================================
   FINAL CTA (bold gradient band)
   ===================================================== */
.cta__panel {
  position: relative;
  text-align: center;
  padding: 72px 32px;
  border-radius: var(--radius-lg);
  background: var(--grad-deep);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(124, 58, 237, 0.3);
}
.cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
  pointer-events: none;
}
.cta__panel > * {
  position: relative;
}
.cta__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 16px;
  color: #fff;
}
.cta__title .grad {
  background: linear-gradient(120deg, #ffffff, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta__sub {
  max-width: 40rem;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
}
.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta__actions .btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: none;
}
.cta__actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 70px 0 30px;
  background: linear-gradient(180deg, transparent, rgba(241, 236, 251, 0.7));
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer__brand img {
  height: 50px;
  margin-bottom: 14px;
}
.footer__brand p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 300px;
  margin-bottom: 20px;
}
.footer__socials {
  display: flex;
  gap: 10px;
}
.footer__socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--stroke);
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.footer__socials a:hover {
  transform: translateY(-3px);
  background: var(--grad);
  color: #fff;
}
.footer__socials i {
  width: 18px;
  height: 18px;
}
.footer__col h4 {
  font-size: 0.98rem;
  margin-bottom: 16px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__col a,
.footer__col span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.25s, padding 0.25s;
}
.footer__col a:hover {
  color: var(--violet);
  padding-left: 4px;
}
.footer__col i {
  width: 16px;
  height: 16px;
  color: var(--faint);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--stroke);
  color: var(--faint);
  font-size: 0.85rem;
}
.footer__legal {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__legal a {
  color: var(--faint);
  transition: color 0.25s;
}
.footer__legal a:hover {
  color: var(--violet);
}

/* =====================================================
   LEGAL PAGES (Privacy / Terms)
   ===================================================== */
.legal-body {
  padding: 56px 48px;
  max-width: 860px;
  margin: 0 auto;
}
.legal-intro {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--stroke);
}
.legal-body h2 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--violet);
}
.legal-body p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-left: 4px;
}
.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.65;
}
.legal-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  margin-top: 9px;
  flex-shrink: 0;
}
.legal-contact {
  margin-top: 8px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--grad-soft);
  border: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-contact p {
  margin-bottom: 0;
  font-size: 0.97rem;
}
.legal-contact a {
  color: var(--violet);
  font-weight: 500;
  transition: color 0.2s;
}
.legal-contact a:hover {
  color: var(--magenta);
}
.legal-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 0;
}
.legal-placeholder > i {
  width: 56px;
  height: 56px;
  color: var(--violet);
  opacity: 0.7;
}
.legal-placeholder h2 {
  font-size: 1.6rem;
  border-left: none;
  padding-left: 0;
}
.legal-placeholder p {
  color: var(--muted);
  max-width: 380px;
  margin-bottom: 8px;
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 28px rgba(192, 38, 211, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  transform: translateY(-4px) scale(1.06);
}
.to-top i {
  width: 20px;
  height: 20px;
}

/* =====================================================
   TOAST
   ===================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 200;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--ease);
  max-width: 90vw;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
