/* =========================================================
   Duta Global Tech — Landing Page
   ========================================================= */

:root {
  --navy-900: #040f2b;
  --navy-800: #061639;
  --navy-700: #0a2358;
  --navy-600: #0e3380;
  --blue-600: #1554d9;
  --blue-500: #1f7bff;
  --blue-400: #3a95ff;
  --cyan-400: #34c3ff;
  --cyan-300: #7fdcff;
  --ink: #0b1b3f;
  --muted: #5b6b8c;
  --line: #e2eaf7;
  --bg-soft: #f3f7fd;
  --white: #ffffff;
  --wa: #1fae5b;
  --wa-dark: #128c4a;

  --radius: 18px;
  --shadow-sm: 0 4px 14px rgba(13, 42, 107, 0.08);
  --shadow-md: 0 14px 40px rgba(13, 42, 107, 0.14);
  --shadow-lg: 0 30px 70px rgba(2, 10, 35, 0.45);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Montserrat", "Poppins", sans-serif;
  --font-script: "Caveat", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-400) 55%, #6fb6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-blue { color: var(--blue-500); }

.ic { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--wa {
  background: linear-gradient(135deg, #25c26a, var(--wa-dark));
  color: #fff;
  box-shadow: 0 10px 30px rgba(31, 174, 91, .4);
}
.btn--wa:hover { box-shadow: 0 14px 36px rgba(31, 174, 91, .55); }
.btn--ghost {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--light {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: #fff;
  box-shadow: 0 8px 22px rgba(31,123,255,.35);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.header.is-scrolled {
  background: rgba(4, 15, 43, .88);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 30px;
  letter-spacing: -2px;
  line-height: 1;
  padding-right: 2px;
  background: linear-gradient(180deg, #ffffff 0%, #cfe4ff 55%, var(--cyan-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(52,195,255,.35));
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.brand__text small { font-size: 12px; letter-spacing: 2.5px; color: var(--cyan-300); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  color: rgba(255,255,255,.82);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--cyan-400);
  border-radius: 2px;
  transition: width .25s ease;
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(31,123,255,.28), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  padding: 150px 0 170px;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.glow--1 { width: 460px; height: 460px; background: rgba(52,195,255,.22); top: -120px; right: 10%; }
.glow--2 { width: 380px; height: 380px; background: rgba(21,84,217,.35); bottom: -80px; left: -100px; }
.stripe {
  position: absolute;
  height: 140%;
  width: 160px;
  top: -20%;
  transform: rotate(28deg);
  background: linear-gradient(180deg, rgba(58,149,255,.0), rgba(58,149,255,.18), rgba(58,149,255,0));
}
.stripe--1 { left: 38%; }
.stripe--2 { left: 48%; width: 60px; opacity: .7; }
.grid-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, #000, transparent 55%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero__tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 26px; }
.hero__tags li {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  position: relative;
}
.hero__tags li + li::before {
  content: "";
  position: absolute;
  left: -13px; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan-400);
  transform: translateY(-50%);
}

.hero__kicker { font-size: clamp(17px, 1.6vw, 21px); color: rgba(255,255,255,.9); max-width: 430px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: -1px;
  margin: 12px 0 22px;
  font-size: clamp(42px, 6vw, 76px);
}
.hero__title span { display: block; }
.hero__desc { color: rgba(226,236,255,.82); max-width: 520px; font-size: 16px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 38px; }

.hero__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 540px;
}
.hero__features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255,255,255,.92);
}
.hero__features li + li { border-left: 1px solid rgba(255,255,255,.18); }
.hero__features svg {
  width: 34px; height: 34px;
  fill: none;
  stroke: var(--cyan-400);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Device mockups ---------- */
.hero__visual { position: relative; min-height: 440px; }

.laptop { position: relative; width: 88%; max-width: 560px; margin-left: auto; margin-top: 40px; }
.laptop__screen {
  background: #0c1426;
  border: 10px solid #1b2233;
  border-bottom-width: 14px;
  border-radius: 18px 18px 6px 6px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.laptop__base {
  height: 16px;
  width: 112%;
  margin-left: -6%;
  background: linear-gradient(180deg, #c7cfdd, #8d97aa);
  border-radius: 0 0 20px 20px;
  position: relative;
}
.laptop__base::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 18%; height: 6px;
  transform: translateX(-50%);
  background: #7a8497;
  border-radius: 0 0 8px 8px;
}

.mock-site {
  height: 100%;
  background: linear-gradient(180deg, #f5f9ff, #e8f0fd);
  color: var(--ink);
  font-size: 9px;
  display: flex;
  flex-direction: column;
}
.mock-site__nav {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mock-site__nav b { font-size: 10px; margin-right: auto; color: var(--navy-700); }
.mock-site__nav span { color: var(--muted); }
.mock-site__nav i { font-style: normal; background: var(--blue-500); color: #fff; padding: 3px 8px; border-radius: 99px; }
.mock-site__hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: linear-gradient(120deg, #0a2358, #1554d9);
  color: #fff;
  overflow: hidden;
}
.mock-site__copy { padding: 16px 16px; display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.mock-site__copy strong { font-size: clamp(11px, 1.3vw, 16px); line-height: 1.2; font-family: var(--font-display); }
.mock-site__copy small { font-size: 8px; opacity: .8; }
.mock-site__copy i { font-style: normal; align-self: flex-start; background: var(--cyan-400); color: var(--navy-800); font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.mock-site__city { align-self: end; width: 100%; height: 100%; }
.mock-site__cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 10px 14px;
}
.mock-site__cards span {
  background: #fff;
  border-radius: 6px;
  padding: 6px 4px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  color: var(--navy-700);
  font-weight: 600;
  display: flex; flex-direction: column; gap: 2px; align-items: center;
}
.mock-site__cards em { font-style: normal; font-size: 11px; }

.phone {
  position: absolute;
  width: 150px;
  aspect-ratio: 9 / 19;
  right: -12px;
  bottom: -26px;
  background: #0f1523;
  border-radius: 26px;
  padding: 7px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3245;
  z-index: 2;
}
.phone__notch {
  position: absolute; top: 10px; left: 50%;
  width: 40%; height: 12px;
  transform: translateX(-50%);
  background: #0f1523;
  border-radius: 0 0 10px 10px;
  z-index: 3;
}
.phone__screen { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #f4f8ff; }

.mock-dash { padding: 22px 9px 9px; color: var(--ink); font-size: 8px; display: flex; flex-direction: column; gap: 7px; height: 100%; }
.mock-dash__top { display: flex; justify-content: space-between; font-size: 10px; }
.mock-dash__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.mock-dash__stats div { background: #fff; border-radius: 7px; padding: 5px; box-shadow: 0 2px 6px rgba(0,0,0,.05); display: flex; flex-direction: column; }
.mock-dash__stats small { color: var(--muted); font-size: 6.5px; }
.mock-dash__stats b { font-size: 9px; }
.mock-dash__stats em { font-style: normal; color: #14a05a; font-size: 6.5px; }
.mock-dash__chart { background: #fff; border-radius: 7px; height: 56px; width: 100%; padding: 4px; }
.mock-dash__list { background: #fff; border-radius: 7px; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.mock-dash__list small { font-weight: 600; font-size: 7px; }
.mock-dash__list p { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 7px; }
.mock-dash__list i { width: 12px; height: 12px; border-radius: 4px; background: #dbe8ff; flex-shrink: 0; }

.mug {
  position: absolute;
  left: -2%;
  bottom: -40px;
  width: 92px; height: 104px;
  background: linear-gradient(90deg, #0d0f15, #252a36 60%, #11141c);
  border-radius: 8px 8px 16px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.mug::after {
  content: "";
  position: absolute;
  left: -20px; top: 22px;
  width: 26px; height: 46px;
  border: 7px solid #1b1f29;
  border-right: none;
  border-radius: 20px 0 0 20px;
}
.mug span { color: #e8eefc; font-size: 9.5px; font-weight: 600; line-height: 1.25; }

.script-note {
  font-family: var(--font-script);
  font-weight: 700;
  line-height: 1.05;
  transform: rotate(-7deg);
}
.script-note--hero {
  position: absolute;
  top: -58px;
  left: 0;
  font-size: 23px;
  color: #d9ebff;
  z-index: 3;
}
.script-note--hero::after {
  content: "";
  display: block;
  width: 70%;
  height: 8px;
  margin-top: 4px;
  border-bottom: 2.5px solid var(--cyan-400);
  border-radius: 0 0 60% 40%;
}

.float { animation: float 6s ease-in-out infinite; }
.float--delay { animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 12px;
}
.eyebrow::after {
  content: "";
  width: 80px; height: 2px;
  background: linear-gradient(90deg, var(--blue-500), transparent);
}
.eyebrow--light { color: var(--cyan-400); }
.eyebrow--light::after { background: linear-gradient(90deg, var(--cyan-400), transparent); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.5px;
  color: var(--navy-800);
}
.section-title span { display: block; }
.section-title--light { color: #fff; }

/* ---------- Services ---------- */
.services {
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(31,123,255,.07), transparent 70%),
    var(--bg-soft);
  padding: 70px 0 120px;
  margin-top: -40px;
}
.section-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.section-head__desc {
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 28px;
  max-width: 460px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 26px 24px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31,123,255,.35);
}
.service-card__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue-400), var(--blue-600));
  box-shadow: 0 10px 22px rgba(21,84,217,.35), inset 0 1px 0 rgba(255,255,255,.3);
}
.service-card__icon svg {
  width: 28px; height: 28px;
  fill: none; stroke: #fff; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--navy-800); }
.service-card__line {
  display: block; width: 34px; height: 3px; margin: 9px 0 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  transition: width .3s ease;
}
.service-card:hover .service-card__line { width: 64px; }
.service-card p { font-size: 14px; color: var(--muted); padding-right: 18px; }
.service-card__go {
  position: absolute;
  right: 18px; bottom: 18px;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-500);
  color: #fff;
  transition: transform .25s ease, background .25s ease;
}
.service-card__go svg { width: 16px; height: 16px; }
.service-card:hover .service-card__go { transform: translateX(3px); background: var(--blue-600); }

/* ---------- Why us ---------- */
.why {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700) 60%, var(--navy-600));
  padding: 130px 0 120px;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  margin-top: -70px;
  overflow: hidden;
}
.why__bg { position: absolute; inset: 0; pointer-events: none; }
.glow--3 { width: 520px; height: 520px; background: rgba(31,123,255,.3); right: -120px; bottom: -160px; }
.stripe--3 { left: 58%; width: 120px; }
.why__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why__visual { position: relative; padding-bottom: 20px; }
.laptop--wide { width: 90%; margin: 0 0 0 auto; }

.mock-app { display: grid; grid-template-columns: 26% 1fr; height: 100%; font-size: 8.5px; }
.mock-app__side {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  padding: 12px 8px;
  display: flex; flex-direction: column; gap: 6px;
  color: rgba(255,255,255,.7);
}
.mock-app__side b { color: #fff; font-size: 10px; margin-bottom: 6px; }
.mock-app__side span { padding: 4px 6px; border-radius: 5px; }
.mock-app__side .active { background: var(--blue-500); color: #fff; }
.mock-app__main { background: #f3f7fd; padding: 12px; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.mock-app__head { display: flex; flex-direction: column; gap: 8px; }
.mock-app__head strong { font-family: var(--font-display); font-size: clamp(11px, 1.3vw, 15px); line-height: 1.15; color: var(--navy-800); }
.mock-app__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-app__kpis div { background: #fff; border-radius: 6px; padding: 5px 6px; box-shadow: 0 2px 6px rgba(0,0,0,.05); display: flex; flex-direction: column; }
.mock-app__kpis small { color: var(--muted); font-size: 7px; }
.mock-app__kpis b { font-size: 9.5px; }
.mock-app__charts { flex: 1; display: grid; grid-template-columns: 1fr 34%; gap: 6px; min-height: 0; }
.mock-app__charts > svg { background: #fff; border-radius: 6px; padding: 6px; width: 100%; height: 100%; }

.phone--shop { left: 0; right: auto; bottom: -10px; width: 128px; }
.mock-shop { padding: 22px 8px 8px; color: var(--ink); font-size: 8px; display: flex; flex-direction: column; gap: 6px; height: 100%; }
.mock-shop b { font-size: 10px; }
.mock-shop__search { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 3px 7px; color: var(--muted); font-size: 7px; }
.mock-shop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.mock-shop__grid span { background: #fff; border-radius: 6px; padding: 4px; display: flex; flex-direction: column; gap: 3px; font-weight: 600; font-size: 7px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.mock-shop__grid i { display: block; height: 38px; border-radius: 4px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); }
.mock-shop em { font-style: normal; margin-top: auto; background: var(--blue-500); color: #fff; text-align: center; border-radius: 99px; padding: 4px; font-weight: 600; }

.checklist { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.checklist li {
  display: flex; align-items: center; gap: 14px;
  font-size: 16px;
  color: rgba(235,242,255,.95);
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231554d9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: 0 0 0 4px rgba(52,195,255,.18);
}
.script-note--why {
  font-size: 30px;
  color: #fff;
  margin: 26px 0 0 auto;
  width: max-content;
}

/* ---------- CTA ---------- */
.cta { padding: 70px 0 60px; background: #fff; }
.cta__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 26px 34px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fff, #f5f9ff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22bd65, var(--wa-dark));
  color: #fff;
  box-shadow: 0 14px 32px rgba(18,140,74,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-pill:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(18,140,74,.45); }
.wa-pill__icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: #fff; color: var(--wa);
  display: grid; place-items: center;
}
.wa-pill__icon svg { width: 34px; height: 34px; }
.wa-pill__text { display: flex; flex-direction: column; line-height: 1.15; }
.wa-pill__text small { font-size: 13px; opacity: .95; }
.wa-pill__text strong { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: .5px; }
.wa-pill__arrow {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  display: grid; place-items: center;
}
.wa-pill__arrow svg { width: 16px; height: 16px; }

.cta__points { display: flex; justify-content: center; gap: 0; }
.cta__points li {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 0 26px;
  text-align: center;
  font-size: 13px; font-weight: 500; line-height: 1.3;
  color: var(--navy-800);
}
.cta__points li + li { border-left: 1px solid var(--line); }
.cta__points svg {
  width: 30px; height: 30px;
  fill: none; stroke: var(--navy-700); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.script-note--cta { font-size: 25px; color: var(--navy-800); text-align: center; }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(90deg, var(--navy-900), var(--navy-700));
  color: rgba(255,255,255,.8);
  padding: 30px 0;
}
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.brand--footer .brand__mark { font-size: 24px; }
.brand--footer .brand__text strong { font-size: 15px; }
.footer__site {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 500; color: #fff;
}
.footer__site svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.6; }
.footer__site:hover { color: var(--cyan-300); }
.footer__copy { font-size: 13px; }

/* ---------- Floating WA ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(18,140,74,.45);
  z-index: 60;
  transition: transform .25s ease;
}
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--wa);
  animation: pulse 2.2s ease-out infinite;
  z-index: -1;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .wa-float::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .cta__card { grid-template-columns: 1fr 1fr; }
  .script-note--cta { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(300px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 96px 28px 28px;
    background: rgba(4,15,43,.97);
    backdrop-filter: blur(14px);
    box-shadow: -20px 0 50px rgba(0,0,0,.35);
    transform: translateX(105%);
    transition: transform .35s ease;
  }
  .nav.is-open { transform: none; }
  .nav__link { font-size: 18px; }
  .nav-toggle { position: relative; z-index: 2; }

  .hero { padding: 130px 0 150px; clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
  .hero__inner { grid-template-columns: 1fr; gap: 90px; }
  .hero__visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .laptop { width: 92%; margin-left: 0; }

  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head__desc { border-left: none; padding-left: 0; }

  .why { clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%); padding-top: 110px; }
  .why__inner { grid-template-columns: 1fr; gap: 50px; }
  .why__content { order: -1; }
  .why__visual { max-width: 560px; width: 100%; margin: 0 auto; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .brand__mark { font-size: 26px; }
  .brand__text strong { font-size: 15px; }
  .brand__text small { font-size: 10.5px; letter-spacing: 2px; }

  .hero__features { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .hero__features li:nth-child(3) { border-left: none; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }

  .hero__visual { min-height: 0; padding-bottom: 40px; }
  .script-note--hero { font-size: 19px; top: -64px; }
  .phone { width: 112px; right: -4px; bottom: 0; }
  .mug { display: none; }

  .service-grid { grid-template-columns: 1fr; }

  .phone--shop { width: 100px; }

  .cta__card { grid-template-columns: 1fr; padding: 22px 18px; gap: 26px; text-align: center; }
  .wa-pill { justify-self: center; }
  .cta__points li { padding: 0 12px; }

  .footer__inner { flex-direction: column; text-align: center; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

@media (max-width: 400px) {
  .wa-pill { gap: 10px; padding-right: 12px; }
  .wa-pill__icon { width: 46px; height: 46px; }
  .wa-pill__icon svg { width: 26px; height: 26px; }
  .wa-pill__arrow { display: none; }
}

/* =========================================================
   Shared helpers (section heads, labels)
   ========================================================= */
.section-head--center {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 900px; margin: 0 auto 36px; gap: 0;
}
.eyebrow--center::before { content: ""; width: 50px; height: 2px; background: linear-gradient(270deg, var(--blue-500), transparent); }
.eyebrow--center::after { width: 50px; }
.section-sub { color: var(--muted); margin-top: 14px; max-width: 620px; }
.section-sub strong { color: var(--navy-800); }

.ps-persona {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--blue-600);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 10px;
}
.ps-persona svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.ps-solution__label {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--navy-800); background: var(--cyan-400);
  padding: 5px 12px; border-radius: 999px;
}
.checklist--sm { gap: 10px; margin: 18px 0; }
.checklist--sm li { font-size: 14px; gap: 12px; }
.checklist--sm li::before { width: 20px; height: 20px; background-size: 12px; box-shadow: 0 0 0 3px rgba(52,195,255,.18); }
.ps-result {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; padding: 14px; margin-bottom: 20px;
}
.ps-result svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--cyan-400); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.ps-result p { font-size: 14px; color: #eaf3ff; }
.ps-result strong { color: var(--cyan-300); }
.step__out {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--blue-600);
  background: #eaf2ff; padding: 5px 10px; border-radius: 999px;
}
.step__out svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   Problem sections (satu section per layanan)
   ========================================================= */
.problems { position: relative; background: #fff; padding-bottom: 120px; }
.problems + .why { margin-top: -90px; }
.pain-intro { padding: 110px 0 20px; }

.pain-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pain-jump__item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 13.5px; font-weight: 600; color: var(--navy-800);
  transition: transform .25s, background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.pain-jump__item span {
  font-family: var(--font-display); font-weight: 800; font-size: 11px;
  color: #fff; background: var(--blue-500);
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
}
.pain-jump__item svg { width: 18px; height: 18px; fill: none; stroke: var(--blue-500); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pain-jump__item:hover { transform: translateY(-3px); background: #fff; border-color: rgba(31,123,255,.4); box-shadow: var(--shadow-sm); }

.pain {
  --card: var(--bg-soft);
  position: relative;
  padding: 90px 0;
  overflow-x: clip;
}
.pain--reverse { --card: #fff; background: linear-gradient(180deg, #fff, var(--bg-soft) 18%, var(--bg-soft) 82%, #fff); }
.pain__inner { display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: center; }
.pain--reverse .pain__visual { order: 2; }

/* visual */
.pain__visual { position: relative; }
.pain__num {
  position: absolute; top: -78px; left: -24px;
  font-family: var(--font-display); font-weight: 900; font-size: 170px; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(31,123,255,.14);
  z-index: 0; pointer-events: none;
  transform: translateY(var(--py, 0px));
}
.pain--reverse .pain__num { left: auto; right: -24px; }
.pain__photo {
  position: relative; z-index: 1;
  border-radius: 28px; overflow: hidden;
  aspect-ratio: 4 / 3.25;
  box-shadow: 0 30px 60px rgba(10, 35, 88, .22);
}
.pain__photo img { width: 100%; height: 100%; object-fit: cover; transition: filter .8s ease, transform 1.4s cubic-bezier(.2,.8,.2,1); }
.pain__tint::before, .pain__tint::after {
  content: ""; position: absolute; inset: 0; transition: opacity .8s ease;
}
.pain__tint::before { background: linear-gradient(200deg, rgba(224,67,77,0) 35%, rgba(120,16,28,.45)); }
.pain__tint::after { background: linear-gradient(200deg, rgba(52,195,255,.12), rgba(10,35,88,.35)); opacity: 0; }
.pain[data-state="problem"] .pain__photo img { filter: grayscale(.6) contrast(1.05) brightness(.88); }
.pain[data-state="solution"] .pain__photo img { filter: none; transform: scale(1.05); }
.pain[data-state="solution"] .pain__tint::before { opacity: 0; }
.pain[data-state="solution"] .pain__tint::after { opacity: 1; }

/* floating chips */
.pain__chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--navy-800);
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(10, 35, 88, .2);
  opacity: 0;
  transform: translateY(18px) scale(.85);
  transition: opacity .45s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
}
.chip svg { width: 28px; height: 28px; padding: 5px; border-radius: 9px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.chip--bad svg { background: #ffe9ea; stroke: #e0434d; }
.chip--good svg { background: #dff7ea; stroke: #14a05a; }
.chip--bad { border: 1px solid #ffd3d6; }
.chip--good { border: 1px solid #c9f0da; }
.chip--1 { top: 9%; left: -7%; transition-delay: 0s; }
.chip--2 { top: 44%; right: -8%; transition-delay: .12s; }
.chip--3 { bottom: 9%; left: 6%; transition-delay: .24s; }
.pain--reverse .chip--1 { left: auto; right: -7%; }
.pain--reverse .chip--2 { right: auto; left: -8%; }
.pain--reverse .chip--3 { left: auto; right: 6%; }

.pain.is-in[data-state="problem"] .chip--bad,
.pain.is-in[data-state="solution"] .chip--good { opacity: 1; transform: none; }
.pain.is-in[data-state="problem"] .chip--bad { animation: jitter 3.2s ease-in-out infinite; }
.pain.is-in[data-state="solution"] .chip--good { animation: bob 4s ease-in-out infinite; }
.chip--2 { animation-delay: -1.1s !important; }
.chip--3 { animation-delay: -2.2s !important; }
@keyframes jitter {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  8% { translate: -2px 0; rotate: -1.5deg; }
  12% { translate: 2px 0; rotate: 1.5deg; }
  16% { translate: -1px 0; rotate: -.5deg; }
  20%, 60% { translate: 0 0; rotate: 0deg; }
  80% { translate: 0 -5px; }
}
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* content */
.pain__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pain__count { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--blue-500); }
.pain__count small { color: #9aa8c2; font-size: 13px; }
.pain__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.3px;
  color: var(--navy-800);
  margin: 14px 0 22px;
}

.switch {
  position: relative;
  display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 5px; margin-bottom: 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
}
.pain--reverse .switch { background: #fff; }
.switch__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b73, #e0434d);
  box-shadow: 0 8px 20px rgba(224,67,77,.35);
  transition: transform .5s cubic-bezier(.65,0,.35,1), background .5s ease, box-shadow .5s ease;
}
.pain[data-state="solution"] .switch__thumb {
  transform: translateX(100%);
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  box-shadow: 0 8px 20px rgba(21,84,217,.4);
}
.switch__btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 14px; font-weight: 600;
  padding: 11px 22px;
  border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); cursor: pointer;
  transition: color .35s ease;
}
.switch__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.switch__btn[aria-pressed="true"] { color: #fff; }
.switch__btn:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 2px; }
.pain.hint .switch__btn[data-view="solution"] { animation: hintPulse 1.8s ease-in-out infinite; }
@keyframes hintPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,123,255,0); color: var(--muted); }
  50% { box-shadow: 0 0 0 6px rgba(31,123,255,.18); color: var(--blue-500); }
}

.pain__views { display: grid; }
.pain__view {
  grid-area: 1 / 1;
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1), visibility 0s linear 0s;
}
.pain[data-state="problem"] .pain__view--solution,
.pain[data-state="solution"] .pain__view--problem {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .4s ease, visibility 0s linear .4s;
}
.pain[data-state="problem"] .pain__view--solution { transform: translateX(40px); }
.pain[data-state="solution"] .pain__view--problem { transform: translateX(-40px); }

.pain-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.pain-list li {
  display: flex; gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s;
  transition-delay: calc(var(--d) * 110ms + 250ms), calc(var(--d) * 110ms + 250ms), 0s, 0s;
}
.pain-list li:hover { border-color: #ffc2c6; box-shadow: 0 10px 24px rgba(224,67,77,.1); }
.pain-list__n {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
  background: #ffecec; color: #e0434d;
}
.pain-list h4 { margin: 0 0 4px; font-size: 14.5px; line-height: 1.3; color: var(--navy-800); }
.pain-list p { font-size: 13px; line-height: 1.55; color: var(--muted); }

.pain__view--solution {
  display: flex; flex-direction: column;
  border-radius: 24px; padding: 28px; color: #fff;
  background:
    radial-gradient(360px 220px at 100% 0%, rgba(52,195,255,.28), transparent 70%),
    linear-gradient(150deg, var(--navy-800), var(--navy-600));
  box-shadow: var(--shadow-md);
}
.pain__sol-text { color: rgba(226,236,255,.88); font-size: 14.5px; margin-top: 14px; }
.pain__view--solution .btn { align-self: flex-start; }
.pain__view--solution > * { transition: opacity .5s ease, transform .5s ease; }
.pain[data-state="solution"] .pain__view--solution > * { opacity: 1; transform: none; }
.pain[data-state="solution"] .pain__view--solution > :nth-child(2) { transition-delay: .08s; }
.pain[data-state="solution"] .pain__view--solution > :nth-child(3) { transition-delay: .16s; }
.pain[data-state="solution"] .pain__view--solution > :nth-child(4) { transition-delay: .24s; }
.pain[data-state="solution"] .pain__view--solution > :nth-child(5) { transition-delay: .32s; }
.pain[data-state="problem"] .pain__view--solution > * { opacity: 0; transform: translateY(12px); }

/* scroll-in states (only when JS is running) */
.js .pain__photo { clip-path: inset(0 100% 0 0 round 28px); transition: clip-path 1.1s cubic-bezier(.77,0,.18,1); }
.js .pain--reverse .pain__photo { clip-path: inset(0 0 0 100% round 28px); }
.js .pain.is-in .pain__photo { clip-path: inset(0 0 0 0 round 28px); }
.js .pain__content > .pain__meta,
.js .pain__content > .pain__title,
.js .pain__content > .switch { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .pain__content > .pain__title { transition-delay: .1s; }
.js .pain__content > .switch { transition-delay: .2s; }
.js .pain.is-in .pain__content > * { opacity: 1; transform: none; }
.js .pain-list li { opacity: 0; transform: translateY(24px); }
.js .pain.is-in .pain-list li { opacity: 1; transform: none; }

/* side rail */
.pain-rail {
  position: fixed; left: 26px; top: 50%;
  transform: translate(-12px, -50%);
  z-index: 40;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.pain-rail.is-visible { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.pain-rail a { position: relative; display: flex; align-items: center; }
.pain-rail i {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid #9fb3d6; background: #fff;
  transition: transform .3s, background .3s, border-color .3s, box-shadow .3s;
}
.pain-rail a.is-active i { background: var(--blue-500); border-color: var(--blue-500); transform: scale(1.35); box-shadow: 0 0 0 5px rgba(31,123,255,.16); }
.pain-rail span {
  position: absolute; left: 24px;
  white-space: nowrap;
  font-size: 12.5px; font-weight: 600; color: var(--navy-800);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 10px; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.pain-rail a:hover span, .pain-rail a:focus-visible span { opacity: 1; transform: none; }

/* =========================================================
   Process timeline (animated on scroll)
   ========================================================= */
.process {
  padding: 110px 0 100px;
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(31,123,255,.08), transparent 70%),
    var(--bg-soft);
  overflow-x: clip;
}
.tl { position: relative; margin-top: 10px; }
.tl__track {
  position: absolute; left: 50%; top: 0; height: 100%;
  width: 4px; transform: translateX(-50%);
  background: #d9e4f5; border-radius: 4px;
}
.tl__fill {
  position: absolute; inset: 0;
  border-radius: 4px;
  transform-origin: top;
  transform: scaleY(var(--p, 0));
  background: linear-gradient(180deg, var(--blue-500), var(--cyan-400));
  box-shadow: 0 0 14px rgba(52,195,255,.6);
}
.tl__head {
  position: absolute; left: 50%;
  top: calc(var(--p, 0) * 100%);
  width: 46px; height: 46px; border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--cyan-400), var(--blue-600));
  box-shadow: 0 0 0 7px rgba(31,123,255,.14), 0 10px 26px rgba(21,84,217,.45);
  z-index: 3;
}
.tl.is-done .tl__head { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
.tl__head { transition: opacity .35s ease, transform .35s ease; }
.tl__head svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(135deg); }

.tl__list { list-style: none; margin: 0; padding: 0; }
.tl__item {
  position: relative;
  display: grid; grid-template-columns: 1fr 100px 1fr; align-items: center;
  padding: 18px 0;
}
.tl__node {
  grid-column: 2; grid-row: 1; justify-self: center;
  position: relative; z-index: 2;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 3px solid #d9e4f5;
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #9aa8c2;
  transition: background .45s, border-color .45s, color .45s, box-shadow .45s, transform .45s cubic-bezier(.34,1.56,.64,1);
}
.tl__item.is-active .tl__node {
  background: linear-gradient(145deg, var(--blue-400), var(--blue-600));
  border-color: #fff; color: #fff; transform: scale(1.1);
  box-shadow: 0 0 0 7px rgba(31,123,255,.14), 0 10px 24px rgba(21,84,217,.4);
}
.tl__card {
  grid-row: 1;
  position: relative;
  width: 100%; max-width: 440px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s;
}
.tl__item--left .tl__card { grid-column: 1; justify-self: end; }
.tl__item--right .tl__card { grid-column: 3; justify-self: start; }
.tl__card::before {
  content: ""; position: absolute; top: 50%;
  width: 14px; height: 14px; background: inherit;
  border: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
}
.tl__item--left .tl__card::before { right: -8px; border-left: 0; border-bottom: 0; }
.tl__item--right .tl__card::before { left: -8px; border-right: 0; border-top: 0; }
.tl__item.is-active .tl__card { border-color: rgba(31,123,255,.35); box-shadow: var(--shadow-md); }

.tl__card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tl__icon {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue-400), var(--blue-600));
  box-shadow: 0 10px 20px rgba(21,84,217,.3);
}
.tl__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tl__item.is-active .tl__icon { animation: iconPop .7s cubic-bezier(.34,1.56,.64,1); }
@keyframes iconPop { 0% { transform: scale(.6) rotate(-20deg); } 100% { transform: none; } }
.tl__step { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-500); }
.tl__card h3 { font-size: 19px; font-weight: 700; color: var(--navy-800); margin-bottom: 6px; }
.tl__card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.tl__item--key .tl__card {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  border-color: transparent;
}
.tl__item--key .tl__card::before { background: var(--navy-700); border-color: transparent; }
.tl__item--key .tl__card h3 { color: #fff; }
.tl__item--key .tl__card p { color: rgba(226,236,255,.85); }
.tl__item--key .tl__step { color: var(--cyan-400); }
.tl__item--key .step__out { background: var(--cyan-400); color: var(--navy-800); }

.tl__end { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-top: 28px; }
.tl__live {
  position: relative;
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #2fd27a, var(--wa-dark));
  box-shadow: 0 16px 36px rgba(18,140,74,.4);
  transition: transform .7s cubic-bezier(.34,1.56,.64,1), filter .5s;
}
.tl__live b { font-family: var(--font-display); font-weight: 900; font-size: 20px; letter-spacing: 1px; color: #fff; position: relative; z-index: 1; }
.tl__live::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid #2fd27a; opacity: 0;
}
.tl__live i {
  position: absolute; left: 50%; top: 50%;
  width: 5px; height: 16px; margin: -8px 0 0 -2.5px; border-radius: 3px;
  background: var(--cyan-400); opacity: 0;
  transform: rotate(var(--a)) translateY(-50px) scaleY(0);
}
.tl__live i:nth-child(odd) { background: #2fd27a; }
.tl__end p { color: var(--muted); font-size: 15px; }
.tl__end strong { font-family: var(--font-display); font-size: 21px; color: var(--navy-800); }
.tl.is-done .tl__live::after { animation: ring 1.8s ease-out infinite; }
.tl.is-done .tl__live i { animation: burst .9s ease-out forwards; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes burst {
  0% { opacity: 1; transform: rotate(var(--a)) translateY(-50px) scaleY(0); }
  40% { opacity: 1; transform: rotate(var(--a)) translateY(-66px) scaleY(1); }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(-86px) scaleY(.3); }
}

.js .tl__item--left .tl__card { opacity: 0; transform: translateX(-70px) rotate(-3deg); }
.js .tl__item--right .tl__card { opacity: 0; transform: translateX(70px) rotate(3deg); }
.js .tl__item.is-in .tl__card { opacity: 1; transform: none; }
.js .tl__live { transform: scale(.55); filter: grayscale(1) opacity(.45); }
.js .tl.is-done .tl__live { transform: none; filter: none; }

.process__note {
  margin-top: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 30px; border-radius: 20px;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  color: rgba(226,236,255,.9);
}
.process__note strong { color: #fff; }
.process__note p { max-width: 720px; }

/* ---------- Responsive (new sections) ---------- */
@media (min-width: 761px) { .tl__item + .tl__item { margin-top: -70px; } }
@media (max-width: 1320px) { .pain-rail { display: none; } }
@media (min-width: 961px) and (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav__link { font-size: 14px; }
}
@media (max-width: 960px) {
  .pain { padding: 60px 0; }
  .pain__inner { grid-template-columns: 1fr; gap: 40px; }
  .pain--reverse .pain__visual { order: 0; }
  .pain__visual { max-width: 620px; width: 100%; margin: 0 auto; }
  .pain__num { font-size: 120px; top: -56px; }
}
@media (max-width: 760px) {
  .tl__track { left: 27px; transform: none; margin-left: -2px; }
  .tl__head { width: 40px; height: 40px; }
  .tl__item { grid-template-columns: 54px 1fr; column-gap: 18px; padding: 12px 0; }
  .tl__node { grid-column: 1; }
  .tl__item--left .tl__card, .tl__item--right .tl__card { grid-column: 2; justify-self: stretch; max-width: none; }
  .tl__item--left .tl__card::before, .tl__item--right .tl__card::before {
    left: -8px; right: auto; border: 1px solid var(--line); border-right: 0; border-top: 0;
  }
  .tl__item--key .tl__card::before { border-color: transparent; }
  .js .tl__item--left .tl__card, .js .tl__item--right .tl__card { transform: translateX(50px); }
  .js .tl__item.is-in .tl__card { transform: none; }
  .tl__end { align-items: flex-start; text-align: left; flex-direction: row; gap: 18px; padding-left: 0; }
  .tl__live { width: 54px; height: 54px; flex-shrink: 0; }
  .tl__live b { font-size: 12px; }
  .tl__live i { width: 4px; height: 10px; margin: -5px 0 0 -2px; }
  .tl__end strong { font-size: 18px; }
}
@media (max-width: 640px) {
  .pain-intro { padding: 80px 0 10px; }
  .pain-jump { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .pain-jump::-webkit-scrollbar { display: none; }
  .pain-jump__item { flex-shrink: 0; }
  .pain__num { font-size: 96px; top: -44px; left: -6px; }
  .pain--reverse .pain__num { right: -6px; }
  .pain__photo { border-radius: 22px; }
  .chip { font-size: 12px; padding: 7px 12px 7px 7px; gap: 7px; border-radius: 12px; }
  .chip svg { width: 24px; height: 24px; padding: 4px; }
  .chip--1, .pain--reverse .chip--1 { left: -4px; right: auto; top: 7%; }
  .chip--2, .pain--reverse .chip--2 { right: -4px; left: auto; top: 44%; }
  .chip--3, .pain--reverse .chip--3 { left: 12px; right: auto; bottom: 7%; }
  .switch { display: grid; width: 100%; }
  .switch__btn { padding: 11px 10px; }
  .pain-list { grid-template-columns: 1fr; }
  .pain__view--solution { padding: 22px 18px; border-radius: 20px; }
  .pain__view--solution .btn { align-self: stretch; justify-content: center; }
  .process { padding: 80px 0 70px; }
  .tl__card { padding: 18px; }
  .process__note { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .process__note .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .js .pain__photo, .js .pain--reverse .pain__photo { clip-path: none; }
  .js .pain__content > *, .js .pain-list li, .js .tl__item--left .tl__card, .js .tl__item--right .tl__card { opacity: 1; transform: none; }
  .chip { animation: none !important; transition: opacity .2s; }
  .js .tl__live { transform: none; filter: none; }
}
