:root {
  --blue-900: #0c2340;
  --blue-800: #123a5c;
  --blue-600: #1e6bb8;
  --blue-500: #2b7fd4;
  --blue-100: #e8f2fc;
  --orange-600: #e85d04;
  --orange-500: #f48c06;
  --orange-400: #faa307;
  --white: #ffffff;
  --gray-100: #f4f6f9;
  --gray-500: #64748b;
  --gray-700: #334155;
  --shadow: 0 8px 32px rgba(12, 35, 64, 0.12);
  --shadow-lg: 0 20px 50px rgba(12, 35, 64, 0.18);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-size: clamp(15px, 0.25vw + 14px, 17px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-600);
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.container.narrow {
  width: min(760px, 100% - 2.5rem);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(12, 35, 64, 0.06);
  transition: box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--blue-900);
  font-weight: 700;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.logo__mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.logo__accent {
  color: var(--orange-600);
}

.logo--footer .logo__mark {
  width: 2rem;
  height: 2rem;
  font-size: 0.95rem;
}

/* Theme toggle (sáng / tối) */
.theme-toggle {
  position: relative;
  width: 3.25rem;
  height: 1.85rem;
  padding: 0;
  border: 1px solid rgba(12, 35, 64, 0.12);
  border-radius: 999px;
  background: var(--gray-100);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), border-color 0.25s;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: rgba(30, 107, 184, 0.35);
  background: var(--blue-100);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.theme-toggle__track {
  display: none;
}

.theme-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 1.35rem;
  height: calc(100% - 6px);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(12, 35, 64, 0.15);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background 0.25s;
}

[data-theme="dark"] .theme-toggle__thumb {
  transform: translateX(1.42rem);
  background: #1e293b;
}

.theme-toggle__icon {
  position: absolute;
  color: var(--orange-500);
}

.theme-toggle__icon--sun {
  opacity: 1;
}

.theme-toggle__icon--moon {
  opacity: 0;
  color: #94a3b8;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  opacity: 0;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  opacity: 1;
}

@media (min-width: 1025px) {
  .nav {
    margin-left: auto;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    margin-left: auto;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  background: var(--blue-100);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0 auto;
  background: var(--blue-900);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
}

.nav > a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.nav > a:hover,
.nav > a:focus-visible {
  color: var(--blue-600);
}

.nav__cta-wrap {
  margin-left: 0.25rem;
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem 2rem;
    background: var(--white);
    border-top: 1px solid rgba(12, 35, 64, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.3s, visibility 0.3s;
    overflow-y: auto;
    gap: 0;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav > a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 1rem;
  }

  .nav__cta-wrap {
    margin-left: 0;
    margin-top: 1rem;
  }

  .dropdown__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--gray-100);
    margin-top: 0.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(232, 93, 4, 0.35);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.45);
  filter: brightness(1.05);
}

.btn--outline {
  background: transparent;
  color: var(--blue-800);
  border-color: var(--blue-600);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--blue-100);
}

.btn--ghost {
  background: var(--white);
  color: var(--blue-800);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--blue-100);
  border-color: var(--blue-600);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown__btn {
  border: none;
}

.dropdown__chev {
  margin-left: 0.15rem;
  transition: transform 0.25s var(--ease);
}

.dropdown.is-open .dropdown__chev {
  transform: rotate(180deg);
}

.dropdown__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 200px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(12, 35, 64, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s var(--ease);
  z-index: 50;
}

.dropdown.is-open .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__menu a {
  display: block;
  padding: 0.65rem 0.85rem;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
}

.dropdown__menu a:hover,
.dropdown__menu a:focus-visible {
  background: var(--blue-100);
  color: var(--blue-800);
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem clamp(3rem, 8vw, 5rem);
  background: linear-gradient(165deg, var(--blue-100) 0%, var(--white) 45%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(43, 127, 212, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero__grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__copy {
    order: 1;
  }

  .hero__visual {
    order: 0;
  }

  .hero__actions {
    justify-content: center;
  }
}

.hero__badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  background: var(--white);
  border: 1px solid rgba(43, 127, 212, 0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-800);
  letter-spacing: 0.02em;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.2;
}

.hero__subtitle {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 34rem;
}

@media (max-width: 900px) {
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Phone mockup */
.phone-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: end;
}

@media (max-width: 900px) {
  .phone-mockup {
    justify-self: center;
  }
}

.phone-mockup__frame {
  width: min(280px, 78vw);
  aspect-ratio: 9 / 18.5;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  position: relative;
}

.phone-mockup__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 22px;
  background: #0d0d0d;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #e8f4ff 0%, #f8fafc 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.phone-mockup__caption {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  max-width: 260px;
}

.app-ui {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 10px;
}

.app-ui__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 36px 12px 10px;
  background: var(--blue-800);
  color: var(--white);
}

.app-ui__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
}

.app-ui__title {
  font-weight: 600;
  flex: 1;
  text-align: center;
  padding-right: 14px;
}

.app-ui__map {
  flex: 1;
  margin: 10px;
  border-radius: 12px;
  background: linear-gradient(160deg, #b8d9f5 0%, #d4e8f9 40%, #a8d5a8 100%);
  position: relative;
  min-height: 120px;
}

.app-ui__pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.app-ui__pin--1 {
  background: var(--orange-600);
  top: 28%;
  left: 35%;
}

.app-ui__pin--2 {
  background: var(--blue-600);
  top: 52%;
  left: 58%;
  width: 10px;
  height: 10px;
}

.app-ui__pin--3 {
  background: var(--blue-800);
  top: 40%;
  left: 72%;
  width: 9px;
  height: 9px;
}

.app-ui__cards {
  padding: 0 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-ui__card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(12, 35, 64, 0.08);
}

.app-ui__card--dim {
  opacity: 0.72;
}

.app-ui__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-800));
  flex-shrink: 0;
}

.app-ui__avatar--2 {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
}

.app-ui__name {
  font-weight: 700;
  color: var(--blue-900);
}

.app-ui__stars {
  color: var(--orange-500);
  font-size: 9px;
}

.app-ui__stars span {
  color: var(--gray-500);
  margin-left: 4px;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5rem) 1.25rem;
}

.section--muted {
  background: var(--gray-100);
}

.section--dark {
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 100%);
  color: rgba(255, 255, 255, 0.88);
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--blue-900);
  text-align: center;
}

.section__title--light {
  color: var(--white);
}

.section__intro {
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--gray-500);
  max-width: 520px;
  font-size: 1.05rem;
}

.section__intro--light {
  color: rgba(255, 255, 255, 0.75);
}

.section__lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--gray-700);
}

.section__lead strong {
  color: var(--blue-800);
}

.section__subheading {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-600);
  text-align: center;
}

.origin-story {
  margin: 0 auto 1.75rem;
  max-width: 40rem;
}

.origin-story p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--gray-700);
  text-align: justify;
  hyphens: auto;
}

@media (max-width: 520px) {
  .origin-story p {
    text-align: left;
    hyphens: none;
  }
}

/* Feature grid — 5 thẻ: mobile 1 cột; tablet 2+2+1 căn giữa; desktop 3+2 cân đối */
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid > .feature-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 28rem;
    width: 100%;
    margin-inline: auto;
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .feature-grid > .feature-card {
    grid-column: span 2;
  }

  .feature-grid > .feature-card:nth-child(4),
  .feature-grid > .feature-card:nth-child(5) {
    grid-column: span 3;
  }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 35, 64, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.feature-card--dark p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-card--dark:hover {
  background: rgba(255, 255, 255, 0.09);
}

.feature-grid--orange .feature-card--dark {
  border-top: 3px solid var(--orange-500);
}

.feature-card__icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.65rem;
}

.feature-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-900);
}

.feature-card--dark .feature-card__title {
  color: var(--white);
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-500);
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  max-width: 640px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-600), var(--orange-500));
  border-radius: 3px;
}

@media (max-width: 520px) {
  .timeline::before {
    left: 16px;
  }
}

.timeline__item {
  position: relative;
  padding-left: 4.5rem;
  margin-bottom: 2rem;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__step {
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(30, 107, 184, 0.4);
  border: 3px solid var(--white);
}

@media (max-width: 520px) {
  .timeline__item {
    padding-left: 3.75rem;
  }

  .timeline__step {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .timeline::before {
    left: 18px;
  }
}

.timeline__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--blue-900);
}

.timeline__body p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* Tech list */
.tech-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .tech-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tech-item {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--orange-500);
  background: var(--white);
  box-shadow: var(--shadow);
}

.tech-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: var(--blue-900);
}

.tech-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* Categories */
.category-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.35rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid rgba(43, 127, 212, 0.15);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--blue-900);
  text-align: center;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.category-card:hover {
  border-color: var(--orange-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-card__emoji {
  font-size: 1.75rem;
}

/* Footer CTA */
.footer-cta {
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem;
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-900) 50%, #0a1628 100%);
  color: var(--white);
}

.footer-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 800px) {
  .footer-cta__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-cta__btns {
    justify-content: center;
  }

  .footer-cta__qr {
    justify-content: center;
  }
}

.footer-cta__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
}

.footer-cta__copy p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
}

.footer-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-cta__qr {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.qr-block {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.qr-block__placeholder {
  width: 112px;
  height: 112px;
  margin: 0 auto 0.5rem;
  border-radius: 12px;
  background: repeating-linear-gradient(
      90deg,
      var(--white) 0px,
      var(--white) 8px,
      var(--gray-100) 8px,
      var(--gray-100) 16px
    ),
    repeating-linear-gradient(
      0deg,
      var(--white) 0px,
      var(--white) 8px,
      var(--gray-100) 8px,
      var(--gray-100) 16px
    );
  background-blend-mode: multiply;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}

/* Footer */
.footer {
  background: #070f18;
  color: rgba(255, 255, 255, 0.75);
  padding: 0 1.25rem;
}

.footer__contact-premium {
  padding: 2.75rem 0 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__contact-premium__inner {
  text-align: center;
}

.footer__contact-premium__line {
  width: 72px;
  height: 2px;
  margin: 0 auto 1.35rem;
  background: linear-gradient(90deg, transparent, #c9a227, #e8d48b, #c9a227, transparent);
  border-radius: 2px;
}

.footer__contact-premium__name {
  margin: 0 0 1.5rem;
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 400;
  color: #d4b84a;
  text-shadow: 0 0 40px rgba(201, 162, 39, 0.25);
  line-height: 1.2;
}

.footer__contact-premium__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
}

.footer__contact-premium__link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.footer__contact-premium__link:hover,
.footer__contact-premium__link:focus-visible {
  color: #f0d78a;
}

.footer__contact-premium__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.95);
  transition: border-color 0.2s, background 0.2s;
}

.footer__contact-premium__link:hover .footer__contact-premium__icon,
.footer__contact-premium__link:focus-visible .footer__contact-premium__icon {
  border-color: #d4b84a;
  background: rgba(212, 184, 74, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 2rem;
  padding: 2.75rem 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--orange-400);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__company {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer__company-muted {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.footer__heading {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-400);
}

.footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__contact p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.social-row {
  display: flex;
  gap: 0.65rem;
}

.social {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, transform 0.2s;
}

.social:hover,
.social:focus-visible {
  background: var(--blue-600);
  transform: translateY(-2px);
}

.footer__bottom {
  padding: 1.25rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__bottom p {
  margin: 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .feature-card:hover,
  .category-card:hover {
    transform: none;
  }

  .btn:active {
    transform: none;
  }

  .theme-toggle__thumb {
    transition: none;
  }
}

/* ========== Giao diện tối (dark) ========== */
[data-theme="dark"] {
  color-scheme: dark;
}

[data-theme="dark"] body {
  background: #0b1220;
  color: #cbd5e1;
}

[data-theme="dark"] a {
  color: #7cb8f5;
}

[data-theme="dark"] .header {
  background: rgba(11, 18, 32, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .header.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .logo {
  color: #f1f5f9;
}

[data-theme="dark"] .nav > a {
  color: #cbd5e1;
}

[data-theme="dark"] .nav > a:hover,
[data-theme="dark"] .nav > a:focus-visible {
  color: #7cb8f5;
}

[data-theme="dark"] .nav-toggle {
  background: rgba(30, 41, 59, 0.9);
}

[data-theme="dark"] .nav-toggle span {
  background: #f1f5f9;
}

@media (max-width: 1024px) {
  [data-theme="dark"] .nav {
    background: #0f172a;
    border-top-color: rgba(255, 255, 255, 0.08);
  }

  [data-theme="dark"] .nav > a {
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  [data-theme="dark"] .dropdown__menu {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
  }
}

[data-theme="dark"] .theme-toggle {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .theme-toggle:focus-visible {
  background: #334155;
  border-color: rgba(124, 184, 245, 0.35);
}

[data-theme="dark"] .dropdown__menu {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .dropdown__menu a {
  color: #e2e8f0;
}

[data-theme="dark"] .dropdown__menu a:hover,
[data-theme="dark"] .dropdown__menu a:focus-visible {
  background: rgba(43, 127, 212, 0.2);
  color: #fff;
}

[data-theme="dark"] .btn--outline {
  color: #e2e8f0;
  border-color: #7cb8f5;
}

[data-theme="dark"] .btn--outline:hover,
[data-theme="dark"] .btn--outline:focus-visible {
  background: rgba(43, 127, 212, 0.15);
}

[data-theme="dark"] .btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .btn--ghost:hover,
[data-theme="dark"] .btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .hero {
  background: linear-gradient(165deg, #0f172a 0%, #0b1220 50%, #0b1220 100%);
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(circle, rgba(43, 127, 212, 0.15) 0%, transparent 65%);
}

[data-theme="dark"] .hero::after {
  background: linear-gradient(to top, #0b1220, transparent);
}

[data-theme="dark"] .hero__badge {
  background: #1e293b;
  border-color: rgba(124, 184, 245, 0.3);
  color: #94a3b8;
}

[data-theme="dark"] .hero__title {
  color: #f8fafc;
}

[data-theme="dark"] .hero__subtitle {
  color: #94a3b8;
}

[data-theme="dark"] .section__title {
  color: #f1f5f9;
}

[data-theme="dark"] .section__intro {
  color: #94a3b8;
}

[data-theme="dark"] .section__lead {
  color: #cbd5e1;
}

[data-theme="dark"] .section__lead strong {
  color: #7cb8f5;
}

[data-theme="dark"] .section__subheading {
  color: #7cb8f5;
}

[data-theme="dark"] .origin-story p {
  color: #cbd5e1;
}

[data-theme="dark"] .section--muted {
  background: #0f172a;
}

[data-theme="dark"] .section--dark {
  background: linear-gradient(160deg, #020617 0%, #0f172a 100%);
}

[data-theme="dark"] .feature-card {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .feature-card__title {
  color: #f8fafc;
}

[data-theme="dark"] .feature-card p {
  color: #94a3b8;
}

[data-theme="dark"] .feature-card--dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .timeline__body h3 {
  color: #f1f5f9;
}

[data-theme="dark"] .timeline__body p {
  color: #94a3b8;
}

[data-theme="dark"] .timeline__step {
  border-color: #0f172a;
}

[data-theme="dark"] .tech-item {
  background: #1e293b;
  border-left-color: var(--orange-500);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .tech-item h3 {
  color: #f1f5f9;
}

[data-theme="dark"] .tech-item p {
  color: #94a3b8;
}

[data-theme="dark"] .category-card {
  background: #1e293b;
  border-color: rgba(124, 184, 245, 0.25);
  color: #e2e8f0;
}

[data-theme="dark"] .footer-cta {
  background: linear-gradient(135deg, #0c1929 0%, #020617 100%);
}

[data-theme="dark"] .qr-block__placeholder {
  border-color: #334155;
}
