/* ============ TOKENS ============ */
:root {
  --purple: #7b6ef6;       /* nút / accent chính */
  --accent: #9d91f8;       /* chữ nhấn ".vn", tiêu đề */
  --bg: #0d0d1a;
  --glow: rgba(123, 110, 246, 0.45);
  --nav-h: 72px;
  --maxw: 1160px;
  --f-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

.logo-white  { color: #fff; }
.logo-accent { color: var(--accent); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; }

/* ============ GLOBAL ANIMATIONS ============ */
@keyframes cardGlow {
  0%,100% { box-shadow: 0 0 20px rgba(123,110,246,0.2); }
  50%     { box-shadow: 0 0 34px rgba(123,110,246,0.45); }
}
@keyframes iconGlow {
  0%,100% { border-color: rgba(123,110,246,0.5); box-shadow: 0 0 26px rgba(123,110,246,0.45); }
  50%     { border-color: rgba(123,110,246,0.85); box-shadow: 0 0 10px rgba(123,110,246,0.18); }
}
@keyframes glowPulse { 0%,100% { opacity: .55; } 50% { opacity: .75; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ============ BUTTONS ============ */
.btn-cta {
  font-family: var(--f-body); font-weight: 700; font-size: 14px; color: #fff; cursor: pointer;
  background: var(--purple); border: none; border-radius: 8px; padding: 10px 22px;
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s;
}
.btn-cta:hover  { transform: scale(1.04); box-shadow: 0 0 24px var(--glow); }
.btn-cta:active { transform: scale(.97); }
.btn-cta--block { width: 100%; padding: 16px; border-radius: 12px; font-size: 15px; }

/* ============ SECTION 1 — NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  background: rgba(8,8,22,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav__inner {
  height: 100%; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
}
.nav__logo { font-family: var(--f-head); font-size: 23px; font-weight: 800; white-space: nowrap; display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; transition: opacity .2s ease; }
.nav__logo:hover { opacity: 0.85; }
.nav__logomark { height: 42px; width: auto; margin-right: 2px; margin-top: -2px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__link {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6); text-decoration: none;
  position: relative; padding: 4px 0; white-space: nowrap; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s cubic-bezier(.22,1,.36,1);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: #fff; }
.nav__link.active::after { width: 100%; }
.nav__cta { margin-left: 12px; margin-right: -10px; white-space: nowrap; }
/* "Liên hệ hợp tác" — black bg with a clear border */
.nav__cta, .mobile-menu__cta {
  background: #0b0b14; color: #fff; border: 2px solid var(--purple);
  box-shadow: 0 0 0 1px rgba(123,110,246,0.25);
}
.nav__cta:hover, .mobile-menu__cta:hover {
  background: rgba(123,110,246,0.12); border-color: var(--accent);
  box-shadow: 0 0 22px var(--glow), 0 0 0 1px rgba(157,145,248,0.4);
}

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.hamburger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 99;
  background: rgba(13,13,26,0.98); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
  opacity: 0; visibility: hidden; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu__link { font-size: 20px; font-weight: 600; color: #fff; text-decoration: none; }
.mobile-menu__link:hover { color: var(--accent); }

/* ============ SECTION 2 — HERO ============ */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 60px; min-height: 100vh;
  padding: 130px 48px 110px; max-width: 1260px; margin: 0 auto;
}
.hero__col { flex: 1; position: relative; z-index: 2; transform: translateY(-48px); }
.hero__pre { text-transform: uppercase; font-size: clamp(22px, 2.5vw, 36px); font-weight: 800; color: #fff; letter-spacing: 1px; transform: translateY(-40px); }
.hero__title { font-family: var(--f-head); text-transform: uppercase; font-size: clamp(38px, 4.8vw, 62px); font-weight: 800; color: var(--accent); white-space: nowrap; text-shadow: 0 0 40px var(--glow); line-height: 1.05; margin-bottom: 26px; transform: translateY(-26px); }
.hero__tagline {
  display: inline-block; background: rgba(123,110,246,0.08);
  border: 1.5px solid rgba(123,110,246,0.7); border-radius: 10px; padding: 8px 14px;
  margin-bottom: 32px; animation: cardGlow 3s ease-in-out infinite;
  transform: translateY(-16px); white-space: nowrap;
}
.stats { display: flex; gap: 14px; flex-wrap: wrap; }
.stat {
  flex: 1; min-width: 140px; display: flex; align-items: flex-start; gap: 11px;
  border: 1.5px solid rgba(123,110,246,0.5); border-radius: 12px; padding: 13px 16px;
  position: relative; overflow: hidden; background: rgba(255,255,255,0.015);
  animation: statGlow 2.1s ease-in-out infinite;
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.stat:nth-child(2) { animation-delay: .35s; }
.stat:nth-child(3) { animation-delay: .7s; }
/* strong glow pulse (wave across the 3 cards) */
@keyframes statGlow {
  0%,100% { border-color: rgba(123,110,246,0.4);  box-shadow: 0 0 0 rgba(123,110,246,0); }
  50%     { border-color: rgba(157,145,248,1);     box-shadow: 0 0 30px rgba(123,110,246,0.5), inset 0 0 22px rgba(123,110,246,0.1); }
}
/* techy light sweep across each card, staggered */
.stat::before {
  content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(140,128,255,0.38), transparent);
  transform: translateX(-220%); pointer-events: none; z-index: 0;
  animation: statSweep 3.2s ease-in-out infinite;
}
.stat:nth-child(2)::before { animation-delay: .55s; }
.stat:nth-child(3)::before { animation-delay: 1.1s; }
@keyframes statSweep { 0% { transform: translateX(-220%); } 60%, 100% { transform: translateX(340%); } }
.stat__icon, .stat__body { position: relative; z-index: 1; }
/* icon flicker glow, wave-synced with the cards */
.stat__icon { animation: iconFlicker 2.1s ease-in-out infinite; }
.stat:nth-child(2) .stat__icon { animation-delay: .35s; }
.stat:nth-child(3) .stat__icon { animation-delay: .7s; }
@keyframes iconFlicker {
  0%,100% { color: rgba(255,255,255,0.55); filter: drop-shadow(0 0 0 transparent); }
  50%     { color: rgba(170,158,255,1);    filter: drop-shadow(0 0 8px rgba(123,110,246,0.75)); }
}
.stat:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(157,145,248,1);
  box-shadow: 0 20px 44px rgba(123,110,246,0.4), 0 0 30px rgba(123,110,246,0.3);
  background: rgba(123,110,246,0.08);
}
.stat:hover .stat__icon { transform: scale(1.12); }
.stat__icon { flex: none; color: rgba(255,255,255,0.6); align-self: flex-start; margin-top: 9px; transition: color .3s ease, transform .3s cubic-bezier(.22,1,.36,1); }
.stat__icon svg { width: 44px; height: 44px; stroke-width: 1.4; }
/* award icon's glyph is smaller within its viewBox — scale it up to match */
.stat:nth-child(3) .stat__icon svg { transform: scale(1.2); }
.stat__num { font-size: 22px; font-weight: 800; color: #fff; }
.stat__unit { font-weight: 700; color: #fff; }
.stat__label { font-size: 11px; color: rgba(255,255,255,0.55); }

/* blobs */
.blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.blob--tr { top: -180px; right: -160px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(123,110,246,0.3), transparent 65%); animation: glowPulse 5s ease-in-out infinite; }
.blob--bl { bottom: -120px; left: -140px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(123,110,246,0.12), transparent 65%); }

/* iPhone mockup */
.hero__mockup { display: flex; flex-direction: column; align-items: center; gap: 22px; transform: translateY(-8px) translateX(0); }

/* store download buttons */
.stores { display: flex; gap: 16px; justify-content: center; width: 100%; max-width: 460px; }
.store-btn {
  flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 13px;
  background: rgba(255,255,255,0.03); border: 1.5px solid rgba(123,110,246,0.5);
  border-radius: 12px; padding: 8px 18px; text-decoration: none;
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px var(--glow); }
.store-btn__icon { flex: none; width: 36px; height: 36px; display: grid; place-items: center; }
.store-btn__icon svg { width: 33px; height: 33px; }
.store-btn__img { width: 34px; height: 34px; display: block; border-radius: 7px; }
.store-btn__text { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; white-space: nowrap; }
.store-btn__text small { font-size: 10px; color: rgba(255,255,255,0.6); }
.store-btn__text strong { font-size: 15px; color: #fff; font-weight: 700; }
/* keep wide buttons from overflowing on smaller desktops */
@media (max-width: 1400px) { .stores { max-width: 360px; } }
.iphone {
  width: 270px; height: 530px; border-radius: 54px; padding: 12px; flex: none;
  background: linear-gradient(160deg, #1c1c2b, #12121c 55%, #0a0a12);
  border: 4px solid #0b0b13;
  box-shadow:
    0 0 0 1.5px rgba(175,175,205,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 16px 44px rgba(0,0,0,0.65),
    0 0 46px rgba(123,110,246,0.4),
    0 0 90px rgba(123,110,246,0.16);
  position: relative;
}
.iphone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: #0c0c16; border-radius: 0 0 16px 16px; z-index: 2; }
.iphone__screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: linear-gradient(180deg, #14142a, #0a0a16); }
/* home indicator bar */
.iphone__screen::after {
  content: ""; position: absolute; z-index: 5; bottom: 9px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.55);
}
.app { padding: 42px 16px 18px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.app__bar { font-family: var(--f-head); font-weight: 800; font-size: 17px; text-align: center; }
.app__scene { background: rgba(123,110,246,0.12); border: 1px solid rgba(123,110,246,0.4); border-radius: 14px; padding: 14px; }
.app__tag { font-size: 10px; letter-spacing: 2px; font-weight: 700; color: var(--accent); }
.app__q { font-size: 14px; font-weight: 600; margin-top: 6px; }
.app__choice { font-size: 13px; padding: 11px 12px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.app__choice--active { background: var(--purple); color: #fff; border-color: var(--purple); box-shadow: 0 4px 16px var(--glow); }
.app__foot { margin-top: auto; text-align: center; font-size: 12px; color: var(--accent); }

/* splash screen (ảnh 2) */
.app--splash {
  justify-content: center; align-items: center; gap: 22px; padding: 0 0 56px;
  background: radial-gradient(120% 80% at 50% 30%, #26224a 0%, #171733 45%, #0c0c1c 100%);
}
/* soft pulsing aura behind the icon */
.app--splash::before {
  content: ""; position: absolute; top: 38%; left: 50%; width: 180px; height: 180px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(123,110,246,0.45), transparent 65%);
  filter: blur(6px); animation: auraPulse 3.2s ease-in-out infinite; pointer-events: none;
}
@keyframes auraPulse {
  0%,100% { opacity: .45; transform: translate(-50%,-50%) scale(.9); }
  50%     { opacity: .85; transform: translate(-50%,-50%) scale(1.12); }
}
.splash__icon {
  width: 100px; height: 100px; border-radius: 24px; overflow: hidden; position: relative;
  background: #2b2b31; z-index: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  animation: iconBreath 3.2s ease-in-out infinite;
}
@keyframes iconBreath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
/* light sweep across the icon */
.splash__icon::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,0.22) 50%, transparent 66%);
  transform: translateX(-130%); animation: iconShine 3.6s ease-in-out infinite;
}
@keyframes iconShine {
  0%, 55% { transform: translateX(-130%); }
  100%    { transform: translateX(130%); }
}
.splash__img { position: absolute; top: 50%; left: 50%; width: 120%; height: auto; transform: translate(-50%, -50%) translate(-4px, 3px); display: block; z-index: 1; }
.splash__name {
  font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 40px; letter-spacing: .5px; z-index: 1;
  background: linear-gradient(110deg, #9a9aab 20%, #ffffff 42%, #f2f2f8 50%, #ffffff 58%, #9a9aab 80%);
  background-size: 240% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #cfcfe0;
  animation: nameShine 3.6s linear infinite;
}
@keyframes nameShine { to { background-position: -240% center; } }
/* loading dots */
.splash__dots { display: flex; gap: 7px; z-index: 1; margin-top: -6px; }
.splash__dots span {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(157,145,248,0.9);
  animation: dotPulse 1.2s ease-in-out infinite;
}
.splash__dots span:nth-child(2) { animation-delay: .18s; }
.splash__dots span:nth-child(3) { animation-delay: .36s; }
@keyframes dotPulse {
  0%,100% { opacity: .3; transform: translateY(0); }
  50%     { opacity: 1; transform: translateY(-5px); }
}

/* ============ SECTIONS SHARED ============ */
.section { padding: 56px 48px 96px; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-start; }
.section .container { max-width: 1100px; margin: 0 auto; width: 100%; }
.sec-title-wrap { display: flex; justify-content: center; margin-bottom: 60px; }
.sec-title-wrap--mb { margin-bottom: 60px; }
.sec-title {
  font-family: var(--f-head); font-size: 28px; font-weight: 700; color: #fff;
  padding: 6px 16px; border-radius: 8px; border: 1.5px solid rgba(123,110,246,0.5);
  animation: iconGlow 2.5s ease-in-out infinite;
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ============ SECTION 3 — HOW (redesigned) ============ */
.section--how { padding: 40px 40px 72px; }
.section--how .container { max-width: 1340px; }
.section--how .sec-title-wrap { margin-bottom: 30px; }
/* ===== ĐỘI NGŨ PHÁT TRIỂN — team grid ===== */
.section--team { justify-content: flex-start; padding-top: 30px; padding-bottom: 34px; }
.section--team .container { max-width: 1340px; }
.section--team .sec-title { font-size: 21px; padding: 5px 13px; }
.section--team .sec-title-wrap { margin-bottom: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: 100%; max-width: none; margin: 0 auto; }
.tmcard {
  position: relative; overflow: hidden; text-align: center; border-radius: 0; padding: 20px 28px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid rgba(123,110,246,0.3); box-shadow: 0 18px 44px rgba(0,0,0,0.35);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .4s ease;
}
.tmcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, #22d3ee, var(--accent), transparent); background-size: 200% 100%;
  opacity: .8; animation: tmLine 4.5s linear infinite; }
@keyframes tmLine { to { background-position: -200% 0; } }
.tmcard::after { content: ""; position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 72%; height: 55%; background: radial-gradient(circle, rgba(123,110,246,0.18), transparent 70%); pointer-events: none; transition: opacity .4s ease; }
.tmcard:hover { transform: translateY(-6px); border-color: rgba(94,234,212,0.7);
  box-shadow: 0 26px 60px rgba(0,0,0,0.5), 0 0 30px rgba(123,110,246,0.3), 0 0 46px rgba(34,211,238,0.16); }
.tmcard__num {
  position: absolute; top: 14px; right: 16px; z-index: 3; font-size: 11px; font-weight: 800; letter-spacing: 1px;
  color: var(--accent); background: rgba(123,110,246,0.14); border: 1px solid rgba(123,110,246,0.4); border-radius: 999px; padding: 2px 9px;
  transition: color .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
.tmcard:hover .tmcard__num { color: #5eead4; border-color: rgba(94,234,212,0.65); background: rgba(34,211,238,0.15); box-shadow: 0 0 14px rgba(34,211,238,0.45); }
.tmcard__avatar {
  position: relative; z-index: 1; width: 186px; height: 186px; margin: 2px auto 8px; border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #1a1830, #0a0912 72%);
  border: 1px solid rgba(157,145,248,0.35);
  box-shadow: inset 0 0 24px rgba(0,0,0,0.65), 0 0 0 6px rgba(123,110,246,0.06);
  display: grid; place-items: center;
  transition: border-color .4s ease, box-shadow .4s ease, transform .4s cubic-bezier(.22,1,.36,1);
}
/* rotating conic glow ring — appears on hover */
.tmcard__avatar::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0%, #22d3ee 14%, transparent 33%, #a78bfa 55%, transparent 76%, #22d3ee 100%);
  opacity: 0; transition: opacity .45s ease; animation: tmSpin 4.5s linear infinite;
}
.tmcard:hover .tmcard__avatar { border-color: rgba(94,234,212,0.7); box-shadow: inset 0 0 24px rgba(0,0,0,0.5), 0 0 24px rgba(94,234,212,0.28); transform: scale(1.03); }
.tmcard:hover .tmcard__avatar::after { opacity: 0.95; }
@keyframes tmSpin { to { transform: rotate(360deg); } }
.tmcard__avatar svg { width: 88px; height: 88px; color: rgba(157,145,248,0.42); }
.tmcard__avatar--photo { background: #0a0912; }
.tmcard__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 50%; display: block; }
.tmcard__name { font-family: var(--f-head); font-size: 18.5px; font-weight: 700; letter-spacing: 0.2px; color: #e9e6ff; margin-bottom: 9px; position: relative; z-index: 1; }
.tmcard__role {
  font-family: var(--f-body); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2px;
  white-space: nowrap; line-height: 1.85; padding-top: 3px; position: relative; z-index: 1;
  background: linear-gradient(100deg, #a78bfa 0%, #5eead4 42%, #7dd3fc 55%, #a78bfa 100%); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: tmRole 5s linear infinite;
}
@keyframes tmRole { to { background-position: 220% center; } }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 560px)  { .team-grid { grid-template-columns: 1fr; } }
.how__grid {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 52px;
  max-width: 1340px; margin: 0 auto; align-items: stretch;
}

/* problem -> solution connector arrow */
.how__arrow {
  position: absolute; left: 50%; top: 90px; transform: translate(-50%, 0);
  width: 46px; height: 46px; border-radius: 50%; z-index: 3;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, #2a2550, #14122a);
  border: 1px solid rgba(157,145,248,0.55);
  box-shadow: 0 0 0 6px rgba(13,13,26,0.9), 0 0 22px rgba(123,110,246,0.45);
  animation: arrowNudge 2.4s ease-in-out infinite;
}
.how__arrow svg { width: 22px; height: 22px; }
@keyframes arrowNudge { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-42%,0); } }

/* problem/solution cards */
.pcard {
  --c: #9d91f8; --cglow: rgba(157,145,248,0.16); --csoft: #c4bcff; --cborder: rgba(157,145,248,0.5);
  position: relative; overflow: hidden; border-radius: 20px; padding: 30px 36px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 44px rgba(0,0,0,0.35);
  transition: opacity .6s ease, transform .45s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .4s ease;
}
.pcard--problem { --c: #f2795f; --cglow: rgba(242,121,95,0.16); --csoft: #ffb3a1; --cborder: rgba(242,121,95,0.5); }
/* top accent line with moving sheen */
.pcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--c), transparent);
  opacity: .9;
}
/* soft corner aura */
.pcard::after {
  content: ""; position: absolute; top: -30%; right: -18%; width: 55%; height: 70%;
  background: radial-gradient(circle, var(--cglow), transparent 68%);
  pointer-events: none;
}
.pcard:hover {
  transform: translateY(-6px);
  border-color: var(--cborder);
  box-shadow: 0 26px 60px rgba(0,0,0,0.45), 0 0 30px var(--cglow);
}
/* tech corner brackets */
.pcard__corner { position: absolute; width: 16px; height: 16px; border: 2px solid var(--c); opacity: .55; z-index: 2; }
.pcard__corner--tl { top: 12px; left: 12px; border-right: none; border-bottom: none; border-top-left-radius: 6px; }
.pcard__corner--br { bottom: 12px; right: 12px; border-left: none; border-top: none; border-bottom-right-radius: 6px; }

.pcard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.07); position: relative; z-index: 1; }
.pcard__icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  color: var(--c); background: var(--cglow); border: 1px solid var(--cborder);
  box-shadow: inset 0 0 14px var(--cglow);
}
.pcard__icon svg { width: 26px; height: 26px; }
.pcard__tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--c); margin-bottom: 3px; }
.pcard__title { font-family: var(--f-head); font-size: 21px; font-weight: 700; color: #fff; }
.pcard__body { position: relative; z-index: 1; }
.pcard__body p { font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,0.7); text-align: left; letter-spacing: 0.1px; }
/* lead paragraph — slightly brighter/larger for hierarchy */
.pcard__body p:first-child { font-size: 14.5px; line-height: 1.8; color: rgba(255,255,255,0.85); }
.pcard__body p + p { position: relative; margin-top: 22px; padding-top: 22px; }
.pcard__body p + p::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--c), transparent); opacity: .8; }
.pcard__body b { color: var(--csoft); font-weight: 700; }

/* ============ SECTION 4 — FEATURES (redesigned) ============ */
.features { display: grid; grid-template-columns: 1fr auto 1fr; gap: 150px; align-items: center; max-width: 1520px; margin: 0 auto; }
.features__col { display: flex; flex-direction: column; gap: 84px; justify-content: center; }
.features__col--left  { align-items: flex-end; }
.features__col--right { align-items: flex-start; }
.features__center { display: flex; justify-content: center; }
.phone-shot {
  position: relative; width: 278px; height: 545px; border-radius: 44px; overflow: hidden;
  border: 4px solid #0b0b13;
  animation: float 5s ease-in-out infinite, shotGlow 3.2s ease-in-out infinite;
}
.app-shot { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* crisp iPhone frame edge + pulsing glow */
@keyframes shotGlow {
  0%,100% { box-shadow: 0 0 0 1.5px rgba(175,175,205,0.5), inset 0 0 0 1px rgba(255,255,255,0.06), 0 22px 55px rgba(0,0,0,0.65), 0 0 26px rgba(123,110,246,0.28); }
  50%     { box-shadow: 0 0 0 1.5px rgba(175,175,205,0.5), inset 0 0 0 1px rgba(255,255,255,0.06), 0 22px 55px rgba(0,0,0,0.65), 0 0 54px rgba(123,110,246,0.6); }
}
/* diagonal light sweep across the screen */
.phone-shot::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.12) 50%, transparent 62%);
  transform: translateX(-125%); animation: shotShine 4.6s ease-in-out infinite;
}
@keyframes shotShine { 0%, 58% { transform: translateX(-125%); } 100% { transform: translateX(125%); } }
/* scanning line sweeping down */
.phone-shot__scan {
  position: absolute; left: 0; right: 0; top: -70px; height: 70px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(140,128,255,0.22), transparent);
  animation: shotScan 3.8s linear infinite;
}
@keyframes shotScan { 0% { top: -70px; } 100% { top: 100%; } }

.feat { display: flex; align-items: center; gap: 16px; position: relative; max-width: 340px; }
.feat--left  { text-align: right; }
.feat--right { text-align: left; }

.feat__text { display: flex; flex-direction: column; gap: 5px; }
.feat__label { font-family: var(--f-head); font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .3px; }
.feat__desc { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,0.5); }

.feat__box {
  position: relative; flex: none; width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(30,26,60,0.9), rgba(12,12,24,0.9));
  border: 1.5px solid rgba(123,110,246,0.55); color: var(--accent);
  box-shadow: inset 0 0 16px rgba(123,110,246,0.12);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
  animation: iconGlow 2.6s ease-in-out infinite;
}
.feat__box svg { width: 32px; height: 32px; }
.feat__num {
  position: absolute; top: -8px; font-size: 10px; font-weight: 800; letter-spacing: 1px;
  color: var(--accent); background: #14122a; border: 1px solid rgba(123,110,246,0.5);
  border-radius: 999px; padding: 1px 7px;
}
.feat--left  .feat__num { right: -8px; }
.feat--right .feat__num { left: -8px; }

/* animated connector wire (data flowing toward the phone) */
.feat__box::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%); width: 200px; height: 2px;
  background:
    radial-gradient(circle 3px at 0% 50%, #d7d0ff, rgba(215,208,255,0) 70%),
    linear-gradient(90deg, rgba(123,110,246,0.55), rgba(123,110,246,0.12));
  background-repeat: no-repeat; background-size: 100% 100%, 100% 100%;
  animation: wireFlow 2.4s linear infinite;
}
.feat--left  .feat__box::after { left: 100%; }
.feat--right .feat__box::after { right: 100%; transform: translateY(-50%) scaleX(-1); }
@keyframes wireFlow {
  0%   { background-position: 0% 50%, 0 0; }
  100% { background-position: 100% 50%, 0 0; }
}

.feat:hover .feat__box {
  transform: translateY(-4px);
  border-color: rgba(157,145,248,1);
  box-shadow: 0 12px 28px rgba(123,110,246,0.35), inset 0 0 18px rgba(123,110,246,0.2);
}

/* ============ SECTION 5 — SCENARIOS ============ */
.section--scenarios { background: rgba(123,110,246,0.04); }
.tree { display: block; width: 100%; max-width: 1000px; height: 150px; margin: -30px auto 0; }
.tree--3 { height: 48px; margin: 6px auto 0; }
/* flowing pulse along the customers tree branches (data flow) */
.tree__flow { stroke-dasharray: 30 370; stroke-dashoffset: 400; stroke-linecap: round; animation: treeFlow 2.6s linear infinite; }
.tree__flow--teal   { color: #7ff0e0; filter: drop-shadow(0 0 5px #34c8b8); }
.tree__flow--purple { color: #c4bcff; filter: drop-shadow(0 0 5px #9d91f8); }
@keyframes treeFlow { to { stroke-dashoffset: 0; } }
.customers { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; max-width: 1120px; margin: 0 auto; }

/* customer group cards (color-coded) */
.ccard {
  --c: #9d91f8; --cglow: rgba(157,145,248,0.16); --cborder: rgba(157,145,248,0.5); --csoft: #c4bcff;
  position: relative; overflow: hidden; border-radius: 22px; padding: 30px 30px 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 44px rgba(0,0,0,0.35);
  transition: opacity .6s ease, transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .4s ease;
}
.ccard--creator { --c: #34c8b8; --cglow: rgba(52,200,184,0.16); --cborder: rgba(52,200,184,0.5); --csoft: #7fe4d9; }
.ccard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--c), transparent);
  background-size: 55% 100%; background-repeat: no-repeat; opacity: .95;
  animation: lineShimmer 3.4s linear infinite;
}
@keyframes lineShimmer { 0% { background-position: -70% 0; } 100% { background-position: 170% 0; } }
.ccard::after { content: ""; position: absolute; top: -28%; right: -16%; width: 52%; height: 66%; background: radial-gradient(circle, var(--cglow), transparent 68%); pointer-events: none; }
.ccard:hover { transform: translateY(-6px); border-color: var(--cborder); box-shadow: 0 26px 60px rgba(0,0,0,0.45), 0 0 30px var(--cglow); }
.ccard__corner { position: absolute; width: 16px; height: 16px; border: 2px solid var(--c); opacity: .55; z-index: 2; }
.ccard__corner--tl { top: 12px; left: 12px; border-right: none; border-bottom: none; border-top-left-radius: 6px; }
.ccard__corner--br { bottom: 12px; right: 12px; border-left: none; border-top: none; border-bottom-right-radius: 6px; }

.ccard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; position: relative; z-index: 1; }
.ccard__ic { flex: none; width: 94px; height: 94px; display: grid; place-items: center; border-radius: 20px; background: var(--cglow); border: 1px solid var(--cborder); color: var(--c); box-shadow: inset 0 0 14px var(--cglow); animation: ccIconPulse 2.8s ease-in-out infinite; }
@keyframes ccIconPulse {
  0%,100% { box-shadow: inset 0 0 14px var(--cglow), 0 0 0 rgba(0,0,0,0); border-color: var(--cborder); }
  50%     { box-shadow: inset 0 0 16px var(--cglow), 0 0 18px var(--cglow); border-color: var(--c); }
}
.ccard__ic svg { width: 24px; height: 24px; }
.ccard__ic--photo { overflow: hidden; }
.ccard__ic--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 19px; display: block; }
.ccard__group { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--c); font-weight: 700; margin-bottom: 3px; }
.ccard__title { font-family: var(--f-head); font-size: 20px; font-weight: 700; color: #fff; }

.items { list-style: none; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.item {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px; padding: 13px 18px;
  background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px;
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease, background .3s ease;
}
/* light sweep across each item, staggered down the list */
.item::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.07) 50%, transparent 60%);
  transform: translateX(-130%); animation: itemShine 5s ease-in-out infinite;
}
.item:nth-child(2)::before { animation-delay: .5s; }
.item:nth-child(3)::before { animation-delay: 1s; }
@keyframes itemShine { 0%, 62% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.item > * { position: relative; z-index: 1; }
.item:hover { transform: translateX(6px); border-color: var(--cborder); background: rgba(0,0,0,0.2); }
.item__ic {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  background: var(--cglow); color: var(--c); animation: itemIconGlow 3s ease-in-out infinite;
}
.item:nth-child(2) .item__ic { animation-delay: .5s; }
.item:nth-child(3) .item__ic { animation-delay: 1s; }
@keyframes itemIconGlow {
  0%,100% { box-shadow: 0 0 0 rgba(0,0,0,0); }
  50%     { box-shadow: 0 0 14px var(--cglow); }
}
.item__ic svg { width: 20px; height: 20px; }
.item__text { display: flex; flex-direction: column; gap: 2px; }
.item__text b { font-size: 15px; font-weight: 700; color: #fff; }
.item__text small { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ============ SECTION 6 — PRICING / VISION (redesigned) ============ */
.section--pricing { padding: 28px 60px 44px; }
.section--pricing .sec-title-wrap--mb { margin-bottom: 0; }
/* branching connector: title -> Tầm nhìn / Sứ mệnh, with flowing current */
.pricing-connect { max-width: 1140px; height: 42px; margin: 0 auto; }
.pricing-connect svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pc-base { fill: none; stroke: rgba(157,145,248,0.28); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pc-flow {
  fill: none; stroke: url(#pcGrad); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 14 300; filter: drop-shadow(0 0 5px rgba(123,110,246,0.85));
  animation: pcFlow 2.4s linear infinite;
}
.pc-flow--2 { animation-delay: 1.2s; }
@keyframes pcFlow { from { stroke-dashoffset: 314; } to { stroke-dashoffset: 0; } }
.vision-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: 16px; max-width: 1140px; margin: 0 auto; }

/* shared techy card base */
.vision-card, .mission-card, .core {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid rgba(123,110,246,0.3);
  box-shadow: 0 18px 44px rgba(0,0,0,0.35);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .4s ease;
}
.vision-card::before, .mission-card::before, .core::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .85;
}
.vision-card::after, .mission-card::after {
  content: ""; position: absolute; top: -24%; right: -14%; width: 48%; height: 62%;
  background: radial-gradient(circle, rgba(123,110,246,0.16), transparent 68%); pointer-events: none;
}
.vision-card:hover, .mission-card:hover, .core:hover {
  transform: translateY(-5px); border-color: rgba(157,145,248,0.85);
  box-shadow: 0 26px 58px rgba(0,0,0,0.45), 0 0 30px rgba(123,110,246,0.25);
}
/* tech corner brackets (shared) */
.tc { position: absolute; width: 14px; height: 14px; border: 2px solid var(--accent); opacity: .5; z-index: 2; }
.tc--tl { top: 12px; left: 12px; border-right: none; border-bottom: none; border-top-left-radius: 5px; }
.tc--br { bottom: 12px; right: 12px; border-left: none; border-top: none; border-bottom-right-radius: 5px; }

.vision-card { border-radius: 18px; padding: 13px 24px; }
.mission-card { border-radius: 18px; padding: 13px 24px; display: flex; flex-direction: column; justify-content: center; }
.vision__head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; color: var(--accent); position: relative; z-index: 1; }
.vision__ic svg { width: 18px; height: 18px; }
.vision__kicker { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
.vision__year { font-size: 34px; font-weight: 900; color: rgba(157,145,248,0.6); letter-spacing: -2px; text-shadow: 0 0 40px var(--glow); line-height: 1; margin: 1px 0 5px; position: relative; z-index: 1; }
.vision__desc { font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.45; position: relative; z-index: 1; }
.vision__desc .accent { color: var(--accent); }
.mission__quote { border-left: 3px solid var(--accent); padding-left: 20px; margin: 0; font-family: var(--f-head); font-size: 20px; font-weight: 800; white-space: nowrap; position: relative; z-index: 1; }

.core-label { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100%; margin-top: 18px; color: var(--purple); font-size: 13.5px; letter-spacing: 4.5px; text-transform: uppercase; font-weight: 700; }
.core-label__text { line-height: 1; }
.core-stars { display: inline-flex; gap: 11px; }
.core-stars svg { width: 15px; height: 15px; color: var(--accent); animation: starTwinkle 2.2s ease-in-out infinite; }
.core-stars svg:nth-child(1) { animation-delay: 0s; }
.core-stars svg:nth-child(2) { animation-delay: .22s; }
.core-stars svg:nth-child(3) { animation-delay: .44s; }
.core-stars svg:nth-child(4) { animation-delay: .66s; }
.core-stars svg:nth-child(5) { animation-delay: .88s; }
@keyframes starTwinkle {
  0%,100% { opacity: .4;  transform: scale(.85); filter: drop-shadow(0 0 2px rgba(123,110,246,0.3)); }
  50%     { opacity: 1;   transform: scale(1.12); filter: drop-shadow(0 0 9px rgba(157,145,248,0.9)); }
}

.core-values { display: flex; align-items: stretch; gap: 8px; max-width: 1140px; margin: 0 auto; }
.core { flex: 1; border-radius: 16px; padding: 13px 18px; }
.core__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; position: relative; z-index: 1; }
.core__num { flex: none; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--accent); background: rgba(123,110,246,0.14); border: 1px solid rgba(123,110,246,0.4); border-radius: 999px; padding: 2px 9px; }
.core h4 { font-family: var(--f-head); font-size: 14.5px; font-weight: 700; color: #fff; margin: 0; }
.core p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.55; position: relative; z-index: 1; }
.core__head { margin-bottom: 8px; }
.core-dots { display: flex; align-items: center; gap: 4px; align-self: center; }
.core-dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(123,110,246,0.6); }

/* development roadmap (9-stage timeline with alternating labels) */
.roadmap { position: relative; max-width: 1160px; margin: 16px auto 0; transform: scale(1.06); transform-origin: center top; }
/* faint rainbow arc linking the title ends down to nodes 1 and 9 */
.roadmap__arc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.roadmap__arc path {
  fill: none; stroke: url(#arcGrad); stroke-width: 1.4; stroke-linecap: round;
  opacity: 0.32; filter: drop-shadow(0 0 5px rgba(157,145,248,0.35));
  animation: arcGlow 4.5s ease-in-out infinite;
}
@keyframes arcGlow { 0%,100% { opacity: 0.2; } 50% { opacity: 0.42; } }
.roadmap__cap { position: relative; z-index: 1; display: block; text-align: center; font-size: 13.5px; letter-spacing: 4.5px; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 2px; }
.roadmap__track { position: relative; display: flex; align-items: center; padding: 34px 0; }
.roadmap__track::before {
  content: ""; position: absolute; left: 5.6%; right: 96px; top: 50%; transform: translateY(-50%); height: 2px;
  background: linear-gradient(90deg, rgba(157,145,248,0.85), rgba(157,145,248,0.6));
}
.roadmap__arrow { position: relative; z-index: 1; flex: none; margin: 0 -34px 0 12px; transform: translateX(-9px); width: 0; height: 0;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 13px solid var(--accent);
  filter: drop-shadow(0 0 6px rgba(123,110,246,0.8)); }
/* completed portion — green electric current, opposite of the purple, stopping at node 5 */
.roadmap__progress {
  position: absolute; left: 5.6%; top: 50%; transform: translateY(-50%); z-index: 0;
  width: 50.4%; height: 3px; border-radius: 3px; overflow: hidden;
  background: linear-gradient(90deg, rgba(47,230,183,0.9), rgba(47,230,183,0.98));
  box-shadow: 0 0 12px rgba(47,230,183,0.7);
}
.roadmap__progress::after {
  content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 42%;
  background: linear-gradient(90deg, transparent, rgba(190,255,238,0.98), transparent);
  animation: roadFlow 2s linear infinite;
}
@keyframes roadFlow {
  0%   { transform: translateX(-130%); }
  100% { transform: translateX(360%); }
}
/* final goal node (IPO) — bigger, glowing */
.rstage--goal { flex: none; margin-left: 0; }
.rnode.rnode--goal {
  width: 58px; height: 58px; font-size: 21px; color: #fff;
  background: radial-gradient(circle at 50% 35%, #6b5ff0, #2c2560);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px #0d0d1a, 0 0 26px 4px rgba(123,110,246,0.75), inset 0 0 14px rgba(255,255,255,0.15);
  animation: goalGlow 2s ease-in-out infinite;
}
.rnode.rnode--goal:hover { transform: scale(1.08); border-color: #fff; }
@keyframes goalGlow {
  0%,100% { box-shadow: 0 0 0 6px #0d0d1a, 0 0 22px 3px rgba(123,110,246,0.6), inset 0 0 14px rgba(255,255,255,0.15); }
  50%     { box-shadow: 0 0 0 6px #0d0d1a, 0 0 42px 9px rgba(123,110,246,1), inset 0 0 16px rgba(255,255,255,0.25); }
}
.rstage--goal .rstage__label--goal { bottom: 100%; top: auto; margin-bottom: 16px; margin-top: 0; }
.rstage__label--goal b { color: var(--accent); font-size: 13px; }
.rstage { position: relative; flex: 1; display: flex; justify-content: center; }
.rstage__label { position: absolute; left: 50%; transform: translateX(-50%); width: 118px; text-align: center; line-height: 1.2; }
.rstage:nth-child(odd)  .rstage__label { bottom: 100%; margin-bottom: 12px; }
.rstage:nth-child(even) .rstage__label { top: 100%; margin-top: 12px; }
.rstage__label b { display: block; font-size: 11.5px; font-weight: 700; color: #fff; }
.rstage__label small { display: block; font-size: 9px; color: rgba(255,255,255,0.5); margin-top: 2px; line-height: 1.25; }
.rnode {
  position: relative; z-index: 1; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: #14122a; border: 2px solid rgba(157,145,248,0.7);
  color: var(--accent); font-weight: 800; font-size: 13px;
  box-shadow: 0 0 0 5px #0d0d1a, 0 0 12px rgba(123,110,246,0.3);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
  animation: rnodePulse 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .18s);
}
.rnode:hover { transform: translateY(-4px) scale(1.1); border-color: var(--accent); color: #fff; background: rgba(123,110,246,0.5); box-shadow: 0 0 0 5px #0d0d1a, 0 0 22px rgba(123,110,246,0.75); }
@keyframes rnodePulse {
  0%,100% { box-shadow: 0 0 0 5px #0d0d1a, 0 0 6px rgba(123,110,246,0.2); }
  50%     { box-shadow: 0 0 0 5px #0d0d1a, 0 0 18px rgba(123,110,246,0.6); }
}
/* nodes 1–5 = completed stages (green) — opaque fill so the line only meets the border */
.roadmap__track > .rstage:nth-child(-n+5) .rnode {
  border-color: rgba(47,230,183,0.95); color: #2fe6b7; background: #0f2a24;
  box-shadow: 0 0 0 5px #0d0d1a, 0 0 14px rgba(47,230,183,0.55);
  animation: rnodeDone 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .18s);
}
.roadmap__track > .rstage:nth-child(-n+5) .rnode:hover {
  border-color: #7cffdd; color: #fff; background: #14382f;
  box-shadow: 0 0 0 5px #0d0d1a, 0 0 22px rgba(47,230,183,0.85);
}
.roadmap__track > .rstage:nth-child(-n+5) .rstage__label b { color: #6fe9c9; }
/* small green check badge = completed */
.roadmap__track > .rstage:nth-child(-n+5) .rnode::after {
  content: "\2713"; position: absolute; top: -5px; right: -5px; z-index: 2;
  width: 16px; height: 16px; border-radius: 50%;
  background: #2fe6b7; color: #06231c; font-size: 10px; font-weight: 900; line-height: 1;
  display: grid; place-items: center;
  box-shadow: 0 0 0 2px #0d0d1a, 0 0 8px rgba(47,230,183,0.85);
}
@keyframes rnodeDone {
  0%,100% { transform: translateY(0);    box-shadow: 0 0 0 5px #0d0d1a, 0 0 8px rgba(47,230,183,0.35); }
  50%     { transform: translateY(-4px); box-shadow: 0 0 0 5px #0d0d1a, 0 0 20px rgba(47,230,183,0.7); }
}

/* ============ BRAND BAND (giant glowing LIVARY) ============ */
.brand-band { max-width: none; margin: 70px auto 0; padding: 0; height: 820px; }
.brand-band svg { display: block; width: 100%; height: 100%; overflow: visible; }
.bb-fill, .bb-stroke, .bb-flow { font-family: var(--f-head); font-weight: 800; text-anchor: middle; text-transform: uppercase; font-size: 320px; }
.bb-fill   { fill: rgba(157,145,248,0.05); }
.bb-stroke { fill: none; stroke: rgba(157,145,248,0.16); stroke-width: 1; }
.bb-flow   { fill: none; stroke: url(#bbGrad); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 70 1600; filter: drop-shadow(0 0 6px rgba(123,110,246,0.9));
  animation: bbFlow 5s linear infinite; }
@keyframes bbFlow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1670; } }

/* ============ FOOTER ============ */
.footer { padding: 0 32px 56px; margin-top: 130px; }
.footer__grid {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: start;
  max-width: 1600px; margin: 0 auto; padding: 58px 70px;
  border: 1px solid rgba(123,110,246,0.3); border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  box-shadow: 0 22px 54px rgba(0,0,0,0.4);
}
.footer__grid::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .8; }
.footer__watermark {
  position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  font-size: 168px; line-height: 1; white-space: nowrap; user-select: none; pointer-events: none;
  color: rgba(157,145,248,0.055);
}
.footer__col, .footer__social { position: relative; z-index: 1; }
.footer__social { display: flex; gap: 12px; }
.social-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(123,110,246,0.28); color: rgba(255,255,255,0.85);
  transition: transform .25s cubic-bezier(.22,1,.36,1), background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.social-btn svg { width: 23px; height: 23px; }
.social-btn:hover { transform: translateY(-3px); background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(123,110,246,0.4); }
.footer__logo { font-family: var(--f-head); font-size: 22px; font-weight: 800; }
.footer__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
.footer__row { display: flex; align-items: center; gap: 12px; font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 16px; white-space: nowrap; }
.footer__ic { flex: none; color: rgba(255,255,255,0.4); display: grid; place-items: center; }
.footer__ic svg { width: 17px; height: 17px; }
.footer__row a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color .2s; }
.footer__row a:hover { color: #fff; }

/* ============ MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); }
.modal__card { position: relative; z-index: 1; width: 560px; max-width: 90vw; background: var(--bg); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 40px; animation: fadeUp .3s ease; }
.modal__close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: rgba(255,255,255,0.5); font-size: 24px; line-height: 1; cursor: pointer; transition: color .2s; }
.modal__close:hover { color: #fff; }
.modal__title { font-size: 22px; font-weight: 800; }
.modal__desc { font-size: 14px; color: rgba(255,255,255,0.45); margin: 8px 0 24px; }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.modal input, .modal textarea {
  width: 100%; font-family: var(--f-body); font-size: 14px; color: #fff;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
  padding: 13px 16px; transition: border-color .2s;
}
.modal textarea { height: 110px; resize: vertical; margin-bottom: 16px; }
.modal input::placeholder, .modal textarea::placeholder { color: rgba(255,255,255,0.35); }
.modal input:focus, .modal textarea:focus { outline: none; border-color: var(--purple); }
.modal input.invalid, .modal textarea.invalid { border-color: #ff5d5d; }
#submitBtn.sent  { background: #2fbf71; }
#submitBtn.error { background: #e5484d; }

/* ============ RESPONSIVE ≤768px ============ */
/* ===== TABLET / MOBILE — nav collapses, single-column layout ===== */
@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .hamburger { display: flex; }

  .hero { flex-direction: column; padding: 104px 22px 56px; gap: 30px; min-height: auto; max-width: 100%; }
  .hero__col, .hero__pre, .hero__title, .hero__tagline { transform: none; }
  .hero__title { white-space: normal; }
  .hero__tagline { white-space: normal; }
  .hero__mockup { display: none; }

  .section, .section--how, .section--pricing, .section--team, .section--scenarios { padding: 56px 22px; min-height: auto; }
  .section--how .container, .section--pricing .container, .section--team .container { max-width: 100%; }

  .how__grid { grid-template-columns: 1fr; gap: 22px; }
  .how__arrow { position: static; transform: rotate(90deg); margin: -4px auto; animation: none; }
  .pcard { padding: 24px 22px; }

  .features { grid-template-columns: 1fr; gap: 28px; }
  .features__col { flex-direction: column; gap: 20px; align-items: stretch; order: 2; }
  .features__center { order: 1; }
  .feat { max-width: 100%; text-align: left; }
  .feat--left { flex-direction: row-reverse; }
  .feat--left .feat__text, .feat--right .feat__text { align-items: flex-start; text-align: left; }
  .feat__box::after { display: none; }
  .feat--left .feat__num { right: auto; left: -8px; }

  .customers { grid-template-columns: 1fr; gap: 32px; }
  .tree { display: none; }

  .vision-grid { grid-template-columns: 1fr; }
  .pricing-connect { display: none; }
  .vision__year { font-size: 52px; }
  .mission__quote { white-space: normal; }
  .core-values { flex-direction: column; }
  .core-dots { display: none; }

  /* development roadmap is a wide timeline → let it scroll horizontally */
  .roadmap { transform: none; margin-top: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .roadmap__track { min-width: 700px; }

  /* giant LIVARY band + footer watermark — scaled down for phones */
  .brand-band { height: 240px; margin-top: 54px; }
  .footer { margin-top: 80px; padding: 0 16px 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .footer__row { white-space: normal; }
  .footer__watermark { font-size: 62px; padding: 0 8px; }

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

/* ===== small phones ===== */
@media (max-width: 480px) {
  .hero__title { font-size: clamp(30px, 8vw, 40px); }
  .sec-title { font-size: 22px; }
  .stat { min-width: 100%; }
  .stores { max-width: 100%; }
}
