/* One-screen homepage */
/* Desktop: no vertical scroll on homepage */
html.home body { overflow-y: hidden; }
html.home .page-top { padding: 0; }
/* Footer in normal flow for precise spacing */
html.home .site-footer { display: none !important; }
html.home .back-to-top { display: none !important; }
html.home .scroll-progress { display: none; }
/* Compute header/footer heights dynamically; use safe area */
/* Heights are updated dynamically via JS for exact fit */
html.home { --header-h: 72px; --footer-h: 140px; }
html.home .hero { height: calc(100vh - var(--header-h) - var(--footer-h)); }
@supports (height: 100dvh) {
  html.home .hero { height: calc(100dvh - var(--header-h) - var(--footer-h)); }
}
html.home .page-top { padding: 0; }
html.home .hero-inner { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0)); }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 1000px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.pricing-card { position: relative; display: grid; gap: 10px; padding: 14px; border-radius: 16px; border: 1px solid rgba(124,92,255,0.28); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); box-shadow: 0 10px 30px rgba(0,0,0,0.35); overflow: hidden; transition: 240ms ease; }
.pricing-card { display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-2px); border-color: rgba(124,92,255,0.45); box-shadow: 0 18px 46px rgba(0,0,0,0.38); }
.pricing-card::after { content: ""; position: absolute; inset: -1px; pointer-events: none; opacity: .6; background: radial-gradient(320px 160px at -10% -10%, rgba(124,92,255,0.22), transparent), radial-gradient(320px 160px at 110% -10%, rgba(39,225,255,0.18), transparent); }
.pricing-card.ios::after { background: radial-gradient(320px 160px at -10% -10%, rgba(124,92,255,0.22), transparent), radial-gradient(320px 160px at 110% -10%, rgba(39,225,255,0.18), transparent); }
.pricing-card.android::after { background: radial-gradient(320px 160px at -10% -10%, rgba(39,225,255,0.22), transparent), radial-gradient(320px 160px at 110% -10%, rgba(124,92,255,0.18), transparent); }
.pricing-head { display: grid; gap: 6px; }
.pricing-head h3 { margin: 0; font-size: clamp(18px, 2.2vw, 22px); }
.pricing-head .badge { align-self: start; width: max-content; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #0b0e16; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.pricing-head .badge.ios { background: linear-gradient(135deg, #7c5cff, #27e1ff); }
.pricing-head .badge.android { background: linear-gradient(135deg, #27e1ff, #7cffc8); }
.pricing-head .badge.pc { background: linear-gradient(135deg, #63a4ff, #83eaf1); }
.pricing-head .subtitle { color: var(--muted); margin: 0; font-size: 13px; }
.pricing-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); }
.pricing-features { flex: 1; }
.pricing-features li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(124,92,255,0.25); }
.pricing-features li:last-child { border-bottom: 0; }
.pricing-features li .feat { font-weight: 600; color: #e6eaf2; }
.pricing-features li .val { font-weight: 800; color: #bcd7ff; letter-spacing: .3px; }
.pricing-features li::before { content: none; }
.pricing-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.pricing-cta .price { margin: 0; line-height: 1; font-weight: 800; letter-spacing: .3px; }
.pricing-cta .price, .pricing-cta .btn { align-self: center; }
.pricing-cta .btn { width: auto; padding: 10px 14px; border-radius: 12px; }
:root {
  --bg: #0b0e16;
  --surface: #121826;
  --card: #141b2d;
  --text: #e6eaf2;
  --muted: #a7b0c0;
  --primary: #7c5cff;
  --primary-2: #27e1ff;
  --accent: #00ffa3;
  --danger: #ff6b6b;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

html {
  background: var(--bg);
  overflow-x: hidden;
  height: 100%;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  box-sizing: border-box;
}

* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}
html, body { 
  height: 100%; 
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
  box-sizing: border-box;
  position: relative;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Prevent horizontal scrollbar entirely */
html, body { 
  overflow-x: hidden; 
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Global animated background overlays - Enhanced */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(1200px 720px at 18% 8%, rgba(124,92,255,0.22), transparent 60%),
    radial-gradient(1200px 720px at 82% -6%, rgba(39,225,255,0.18), transparent 60%),
    radial-gradient(900px 640px at 50% 92%, rgba(0,255,163,0.10), transparent 60%),
    conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0.06), rgba(255,255,255,0) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0) 75%, rgba(255,255,255,0.06) 100%);
  filter: blur(70px) saturate(110%);
  transform: translate3d(var(--bg-ox, 0), var(--bg-oy, 0), 0) scale(1.02);
  animation: bgDrift 46s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
}

/* Subtle dot grid overlay */
body::after {
  content: none; /* remove noisy dot grid for a cleaner look */
  display: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
/* Skip link for a11y */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  z-index: 200;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: #0b0e16;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Scrollbar styling */
*::-webkit-scrollbar { width: 10px; height: 0; }
*::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--primary-2)); border-radius: 999px; }
*::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Header - Enhanced Premium Design */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,14,22,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(124,92,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo { 
  display: inline-flex; 
  align-items: center; 
  gap: 12px; 
  font-weight: 800; 
  transition: transform 300ms ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-mark {
  width: 48px; 
  height: 48px; 
  border-radius: 14px;
  display: grid; 
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
  color: #0b0e16; 
  font-weight: 800; 
  font-size: 18px;
  transition: all 300ms ease;
}
.logo-mark i { font-size: 20px; }

.logo-mark:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(124,92,255,0.4), 0 0 0 1px rgba(255,255,255,0.15);
}

.logo-mark img { 
  width: 30px; 
  height: 30px; 
}

.logo-mark i { 
  font-size: 20px; 
}

.logo-text { 
  letter-spacing: 0.5px; 
  font-size: 18px;
  background: linear-gradient(135deg, #fff, #d7d4ff, #9adfff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}

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

.nav-links a { 
  position: relative; 
  color: var(--muted); 
  padding: 10px 14px; 
  border-radius: 10px; 
  transition: all 300ms ease; 
  font-weight: 600;
  font-size: 15px;
}

.nav-links a:hover { 
  color: var(--text); 
  background: rgba(124,92,255,0.12); 
  transform: translateY(-2px);
}

.nav-links a::after { 
  content: ""; 
  position: absolute; 
  left: 14px; 
  right: 14px; 
  bottom: 6px; 
  height: 3px; 
  background: linear-gradient(90deg, var(--primary), var(--primary-2)); 
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform 300ms ease; 
  border-radius: 2px;
}

.nav-links a:hover::after, .nav-links a.active::after { 
  transform: scaleX(1); 
}

.nav-links a.active { 
  color: #fff; 
  background: rgba(124,92,255,0.2); 
  box-shadow: 0 4px 16px rgba(124,92,255,0.3);
}
.nav-toggle { display: none; background: transparent; border: 0; color: var(--text); font-size: 22px; }

@media (max-width: 820px) {
  .nav-links { position: fixed; right: 16px; top: 68px; background: rgba(18,24,38,0.95); border: 1px solid rgba(124,92,255,0.25); border-radius: 12px; padding: 12px; flex-direction: column; gap: 4px; display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
}

/* Hero - Enhanced Premium Design */
.hero { 
  position: relative; 
  overflow: visible; 
  min-height: calc(100vh - 72px); 
  display: flex; 
  flex-direction: column;
  align-items: center;
  flex: 1;
  background: radial-gradient(1200px 800px at 20% 20%, rgba(124,92,255,0.08), transparent 60%),
              radial-gradient(1200px 800px at 80% 0%, rgba(39,225,255,0.06), transparent 60%);
}

.gradient-bg { position: absolute; inset: 0; z-index: -1; background: transparent; }

.hero::before { 
  content: ""; 
  position: absolute; 
  inset: -20%; 
  z-index: -2; 
  background: none; 
  animation: none; 
}

.hero-inner { 
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 0 0;
  flex: 1;
  justify-content: center;
}

/* Ensure hero content sits above particles and animates smoothly */
.hero-text { position: relative; z-index: 1; }

.hero-text h1 {
  font-size: clamp(32px, 5vw, 52px); 
  line-height: 1.1; 
  margin: 0 0 12px;
  background: linear-gradient(135deg, #fff, #d7d4ff, #9adfff, #7cffc8, #fff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-text p {
  color: var(--muted); 
  margin: 0 auto 14px; 
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  max-width: 700px;
}

.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto 14px;
}

.hero-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 12px;
  width: min(960px, 100%);
  margin: 0 auto 10px;
}
.panel-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(124,92,255,0.28);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  transition: 220ms ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22) inset;
  will-change: transform, box-shadow, border-color;
  transform: translateZ(0);
  backface-visibility: hidden;
  overflow: hidden;
}
.panel-card::before { content: ""; position: absolute; inset: -1px; opacity: 0; pointer-events: none; background: radial-gradient(260px 120px at -10% -10%, rgba(124,92,255,0.22), transparent), radial-gradient(260px 120px at 110% -10%, rgba(39,225,255,0.18), transparent); z-index: 0; transition: opacity .2s ease; }
.panel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,0.12), rgba(255,255,255,0) 60%); transform: translateX(-120%); transition: transform .6s ease; pointer-events: none; will-change: transform; z-index: 1; }
.panel-card > * { position: relative; z-index: 2; }
.panel-card:hover::after { transform: translateX(120%); }
.panel-card:hover::before { opacity: .6; }
.panel-card:hover { transform: translateY(-2px); border-color: rgba(124,92,255,0.45); box-shadow: 0 18px 46px rgba(0,0,0,0.32), inset 0 -2px 0 rgba(255,255,255,0.05); }
.panel-card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #0b0e16; box-shadow: 0 6px 18px rgba(0,0,0,0.28); }
.panel-card .texts { display: grid; gap: 4px; text-align: left; }
.panel-card .title { font-weight: 900; letter-spacing: .2px; }
.panel-card .desc { color: var(--muted); font-size: 13px; line-height: 1.4; }
.panel-card .go { color: var(--muted); transition: transform .2s ease; }
.panel-card:hover .go { transform: translate(2px, -2px); }

/* Keyboard focus */
.panel-card:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(39,225,255,0.35), 0 10px 30px rgba(0,0,0,0.22) inset; border-color: rgba(39,225,255,0.6); }

@media (max-width: 820px) {
  .hero-panels { grid-template-columns: 1fr; }
  /* Mobile: allow scroll to avoid clipping */
  html.home body { overflow-y: auto; }
}

/* Mobile refinements */
@media (max-width: 600px) {
  .hero-inner { gap: 12px; padding-top: 22px; }
  .logo-orb { width: 120px; height: 120px; }
  .logo-orb i { font-size: 42px; }
  .hero-text h1 { font-size: clamp(26px, 8vw, 36px); margin-bottom: 8px; }
  .hero-text p { max-width: 92%; margin-bottom: 12px; }
  .hero-cta { gap: 8px; flex-wrap: nowrap; width: min(420px, 92%); justify-content: center; }
  .hero-cta .btn { padding: 12px 16px; font-size: 15px; flex: 1 1 0; min-width: 0; text-align: center; }
  .panel-card { grid-template-columns: 44px 1fr 16px; gap: 10px; padding: 12px 14px; }
  .panel-card .desc { font-size: 12.5px; }
  /* Stack engagement cards vertically on small phones */
  .engagement-services .grid-4 { grid-template-columns: 1fr !important; gap: 12px; }
  /* Keep hero pills on one row */
  .hero-pills { flex-wrap: nowrap; gap: 8px; width: min(420px, 92%); justify-content: center; }
  .hero-pills li { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
}

.hero-cta .btn {
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  transition: all 300ms ease;
  transform: translateY(0);
}

.hero-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(124,92,255,0.3);
}

.hero-pills {
  list-style: none; 
  padding: 0;
  margin: 0 auto 4px;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}

.hero-pills li { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  padding: 10px 16px; 
  border-radius: 999px; 
  background: rgba(255,255,255,0.08); 
  border: 1px solid rgba(124,92,255,0.3); 
  font-size: 14px;
  font-weight: 600;
  transition: all 300ms ease;
  backdrop-filter: blur(10px);
}

.hero-pills li:hover {
  background: rgba(124,92,255,0.15);
  border-color: rgba(124,92,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(124,92,255,0.2);
}

.hero-pills i { 
  color: var(--primary-2); 
  font-size: 16px;
}

/* Remove secondary hero media on home */
.hero-media { display: none; }

.hero-brand { display: grid; place-items: center; margin-bottom: 8px; }
.logo-orb { width: 160px; height: 160px; display: grid; place-items: center; border-radius: 999px; background: radial-gradient(60% 60% at 30% 30%, rgba(124,92,255,0.35), transparent), radial-gradient(60% 60% at 70% 30%, rgba(39,225,255,0.28), transparent), rgba(255,255,255,0.06); border: 1px solid rgba(124,92,255,0.35); box-shadow: 0 22px 56px rgba(0,0,0,0.4); }
.logo-orb i { font-size: 52px; color: #0b0e16; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.45)); }

.hero-media::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(400px 200px at 50% 50%, rgba(124,92,255,0.15), transparent 70%);
  border-radius: 24px;
  z-index: -1;
  opacity: 0.6;
  animation: pulse 4s ease-in-out infinite;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(600px 300px at 50% 50%, rgba(39,225,255,0.08), transparent 70%);
  border-radius: 32px;
  z-index: -2;
  opacity: 0.4;
  animation: pulse 6s ease-in-out infinite reverse;
}

.hero-media img { 
  border-radius: 20px; 
  box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg); 
  transition: all 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: brightness(1.1) contrast(1.1);
}

.hero-media img:hover { 
  transform: perspective(1000px) rotateY(-2deg) rotateX(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 35px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.15);
}

.shape { display: none; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 18px; }
}

/* Sections */
.section-head { text-align: center; margin: 24px 0 12px; }
.section-head h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 32px); background: linear-gradient(90deg, #fff, #d7d4ff, #9adfff, #7cffc8, #fff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradientShift 10s ease infinite; }
.section-head p { margin: 0; color: var(--muted); }

.features { padding: 20px 0 10px; }
.highlight { background: transparent; padding: 10px 0 40px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-list.pro { display: grid; grid-template-columns: 1fr; gap: 12px; }
.product-line .pro-inner { display: grid; gap: 10px; padding: 14px; }
.pro-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pro-title { display: inline-flex; align-items: center; gap: 10px; }
.pro-badge { padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #0b0e16; }
.pro-badge.ios { background: linear-gradient(135deg, #7c5cff, #27e1ff); }
.pro-badge.android { background: linear-gradient(135deg, #27e1ff, #7cffc8); }
.pro-cta { display: inline-flex; align-items: center; gap: 12px; }
.pro-features { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pro-features .chip { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid rgba(124,92,255,0.25); border-radius: 999px; padding: 6px 10px; font-size: 13px; }

@media (min-width: 1000px) {
  .product-list.pro { grid-template-columns: 1fr 1fr; }
}
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
@media (max-width: 960px) { .grid-3, .grid-2-1 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(124,92,255,0.18);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.card.spotlight::before { content: ""; position: absolute; inset: -1px; background: radial-gradient(220px 120px at var(--mx, 50%) var(--my, 50%), rgba(124,92,255,0.18), transparent 70%); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.card.spotlight:hover::before { opacity: 1; }
.card::after { content: ""; position: absolute; inset: -1px; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s ease; pointer-events: none; }
.card:hover::after { transform: translateX(120%); }
.card.feature { text-align: center; padding: 24px; }
.card.feature i { font-size: 28px; color: var(--primary-2); margin-bottom: 10px; }

.card.product img, .card.course img { aspect-ratio: 16/9; object-fit: cover; }
.card.product .media { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; }
.card.product .media i { font-size: 46px; color: #0b0e16; filter: drop-shadow(0 4px 18px rgba(0,0,0,0.35)); z-index: 1; }
.card.product .media::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(600px 240px at 20% 20%, rgba(255,255,255,0.22), transparent 60%), radial-gradient(600px 240px at 80% 0%, rgba(255,255,255,0.14), transparent 60%); mix-blend-mode: overlay; opacity: .7; }
.card.product .media::after { content: ""; position: absolute; inset: 0; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.16), transparent 30%); animation: mediaShine 2.4s linear infinite; opacity: 0.6; }

/* Reuse media style for courses */
.card.course .media { display: none; }

/* Courses — clean, image-free layout */
.courses .grid-3, #courseList {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.courses .grid-3 > .card, #courseList > .card {
  height: 100%;
}
.card.course {
  border-color: rgba(124,92,255,0.22);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  display: flex;
  flex-direction: column;
}
.card.course::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-2)); opacity: .9; }
.card.course .card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card.course h3 {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 22px);
}
.card.course p {
  margin: 0;
  color: var(--muted);
}
.card.course .bullet-list { margin: 8px 0 0; padding-left: 0; display: grid; gap: 8px; color: var(--muted); }
.card.course .bullet-list li { list-style: none; position: relative; padding-left: 18px; }
.card.course .bullet-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 0 0 2px rgba(124,92,255,0.25); }
.card.course .meta {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
}
.card.course .meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(124,92,255,0.25);
  font-size: 13px;
}
.card.course .meta i {
  color: var(--primary-2);
}
.card.course .price-row {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(124,92,255,0.25);
}
.card.course .price-row .price {
  font-weight: 900;
  font-size: 18px;
}

.media.theme-violet { background: linear-gradient(135deg, #8856ff, #27e1ff); }
.media.theme-cyan { background: linear-gradient(135deg, #27e1ff, #7cffc8); }
.media.theme-green { background: linear-gradient(135deg, #7cffc8, #27e1ff); }
.media.theme-orange { background: linear-gradient(135deg, #ffb86b, #7c5cff); }
.media.theme-blue { background: linear-gradient(135deg, #63a4ff, #83eaf1); }
.media.theme-pink { background: linear-gradient(135deg, #ff6bd6, #7c5cff); }

@keyframes mediaShine { to { transform: rotate(360deg); } }
.card-body { padding: 16px; }
.card .price { margin: 8px 0 14px; font-weight: 600; color: #fff; }
.card .price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.feature-list { margin: 8px 0 12px; padding-left: 18px; display: grid; gap: 6px; color: var(--muted); }
.card:hover { transform: translateY(-3px); transition: 250ms ease; box-shadow: 0 15px 40px rgba(124,92,255,0.18), 0 6px 20px rgba(0,0,0,0.3); border-color: rgba(124,92,255,0.35); }

/* Stats */
.stats { padding: 6px 0 4px; }
.about-highlights { padding: 8px 0 8px; }
.hl-card { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 12px; padding: 16px; }
.hl-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #0b0e16; box-shadow: 0 6px 16px rgba(0,0,0,0.25); font-size: 22px; }
.hl-text h3 { margin: 0 0 6px; }
.hl-text p { margin: 0; color: var(--muted); }
.stat-card { display: grid; gap: 6px; place-items: start; padding: 18px; border: 1px solid rgba(124,92,255,0.25); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); }
.stat-card i { font-size: 20px; color: var(--primary-2); }
.stat-card .stat-num { font-size: clamp(20px, 3vw, 28px); font-weight: 800; letter-spacing: .3px; }
.stat-card .stat-label { color: var(--muted); }

/* Testimonials */
.testimonials { padding: 6px 0 6px; }
.testimonial-track { display: grid; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.testimonial-card { min-width: 280px; scroll-snap-align: start; }
.testimonial-card .author { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 13px; }
.testimonial-card .author img { width: 28px; height: 28px; border-radius: 999px; }

/* FAQ */
.faq { padding: 8px 0 2px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid rgba(124,92,255,0.25); border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); }
.faq-q { width: 100%; text-align: left; padding: 14px 16px; background: none; border: 0; color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.faq-a { display: none; padding: 0 16px 14px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* CTA banner */
.cta-banner { padding: 4px 0 20px; }
.cta-inner { display: grid; grid-template-columns: 2fr 1fr; align-items: center; gap: 16px; padding: 18px; }
/* Extra breathing room at bottom of product sections */
.social-services + .engagement-services { margin-bottom: 12px; }
.cta-text h3 { margin: 0 0 6px; }
.cta-actions { display: inline-flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { justify-content: center; }
}

/* Buttons - Enhanced Premium Design */
.btn { 
  position: relative; 
  overflow: hidden; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 10px; 
  padding: 12px 20px; 
  border-radius: 14px; 
  border: 1px solid transparent; 
  cursor: pointer; 
  font-weight: 700; 
  font-size: 15px;
  transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1); 
  isolation: isolate;
  letter-spacing: 0.3px;
}

.btn-primary { 
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); 
  color: #0b0e16; 
  box-shadow: 0 8px 24px rgba(124,92,255,0.3), inset 0 -2px 0 rgba(0,0,0,0.2);
}

.btn-primary:hover { 
  filter: brightness(1.05); 
  transform: translateY(-3px); 
  box-shadow: 0 15px 40px rgba(124,92,255,0.5);
}

.btn-secondary { 
  background: rgba(124,92,255,0.15); 
  color: #fff; 
  border-color: rgba(124,92,255,0.35); 
  backdrop-filter: blur(10px);
}

.btn-secondary:hover { 
  background: rgba(124,92,255,0.25); 
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124,92,255,0.3);
}

.btn-ghost { 
  background: rgba(255,255,255,0.05); 
  color: var(--text); 
  border-color: rgba(255,255,255,0.2); 
  backdrop-filter: blur(10px);
}

.btn-ghost:hover { 
  background: rgba(255,255,255,0.1); 
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,255,255,0.1);
}

.btn .ripple { 
  position: absolute; 
  width: 12px; 
  height: 12px; 
  background: rgba(255,255,255,0.6); 
  border-radius: 999px; 
  transform: translate(-50%,-50%) scale(0); 
  pointer-events: none; 
  animation: ripple .7s ease-out forwards; 
  mix-blend-mode: overlay; 
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 600ms ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

/* Button group for multiple buttons */
.button-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.button-group .btn {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

/* Page spacing */
.page-top { padding: 18px 0 16px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 20px; }
.chip { background: rgba(255,255,255,0.06); color: var(--muted); border: 1px solid rgba(124,92,255,0.25); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.chip.active, .chip:hover { color: #fff; background: rgba(124,92,255,0.25); }

/* Forms */
form.card { padding: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(124,92,255,0.25);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(39,225,255,0.15); }
.radio-group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.error { color: var(--danger); min-height: 16px; font-size: 12px; }
.span-2 { grid-column: span 2; }
.checkout-actions { display: flex; gap: 12px; margin-top: 10px; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } .span-2 { grid-column: span 1; } }

.success { padding: 16px; text-align: center; }
.hidden { display: none; }

/* About (new style) */
.about { padding: 14px 0 26px; }
.about-simple { padding: 18px; display: grid; gap: 12px; }
.about-simple-head { display: grid; gap: 8px; justify-items: center; text-align: center; }
.about-simple-head h2 { margin: 0; font-size: clamp(24px, 3.2vw, 36px); }
.about-simple-body { display: grid; gap: 10px; color: var(--muted); max-width: 860px; margin: 0 auto; text-align: center; }
.about-head h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 38px); background: linear-gradient(90deg, #fff, #d7d4ff, #9adfff, #7cffc8, #fff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradientShift 10s ease infinite; text-align: center; }
/* New modern about layout */
.about-modern { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: center; }
.about-stack { display: grid; gap: 16px; }
.features-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-panel .panel-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; padding: 16px; }
.panel-left h3 { margin: 0 0 10px; font-size: clamp(20px, 2.6vw, 26px); }
.panel-left p { margin: 0 0 10px; color: var(--muted); }
@media (max-width: 960px) {
  .features-row { grid-template-columns: 1fr; }
  .about-panel .panel-body { grid-template-columns: 1fr; }
}
.about-side h3 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); }
.about-side p { margin: 0 0 12px; color: var(--muted); }
.pill-list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(124,92,255,0.25); }
.pill-list i { color: var(--primary-2); }
.stat-row { display: flex; gap: 14px; margin: 6px 0 12px; }
.stat { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(124,92,255,0.22); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); }
.stat .num { font-weight: 900; font-size: 20px; }
.stat .label { color: var(--muted); font-size: 12px; }
.about-cta { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.about-illus { display: grid; place-items: center; }
.illus-frame { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 46px rgba(0,0,0,0.38); border: 1px solid rgba(124,92,255,0.28); }
.illus-frame img { display: block; width: 100%; height: auto; max-width: 520px; }
@media (max-width: 960px) { .about-modern { grid-template-columns: 1fr; } }

/* About features (keep original content, new layout) */
.about-features { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; }
.feature-card .about-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #0b0e16; box-shadow: 0 6px 16px rgba(0,0,0,0.25); margin-bottom: 8px; }

/* Premium About layout */
.about-pro .about-pro-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; padding: 18px; align-items: stretch; }
.about-left h3 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); }
.about-left p { margin: 0 0 10px; color: var(--muted); }
.metrics-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 12px; }
.metric-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(124,92,255,0.25); }
.metric-chip .num { font-weight: 900; }
.about-right { display: grid; }
.pro-media { display: grid; gap: 14px; justify-items: stretch; width: 100%; align-content: stretch; height: 100%; }
.logo-orb { width: 160px; height: 160px; display: grid; place-items: center; border-radius: 999px; background: radial-gradient(60% 60% at 30% 30%, rgba(124,92,255,0.35), transparent), radial-gradient(60% 60% at 70% 30%, rgba(39,225,255,0.28), transparent), rgba(255,255,255,0.06); border: 1px solid rgba(124,92,255,0.35); box-shadow: 0 18px 46px rgba(0,0,0,0.38); }
.logo-orb img { width: 84px; height: 84px; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35)); }
.feature-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); gap: 12px; width: 100%; height: 100%; }
.mini-card { display: grid; grid-template-columns: 40px 1fr; align-items: center; align-content: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(124,92,255,0.24); box-shadow: 0 10px 24px rgba(0,0,0,0.18) inset; height: 100%; }
.mini-card.glass { background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); backdrop-filter: blur(6px) saturate(140%); }
.mini-card i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #0b0e16; font-size: 18px; box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.mini-card .title { font-weight: 700; }
.mini-card .desc { color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .about-pro .about-pro-inner { grid-template-columns: 1fr; } .logo-orb { width: 140px; height: 140px; } .feature-grid { grid-template-rows: none; height: auto; } }

/* Contact */
.contact-info { padding: 16px; }
.contact-info ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.map-embed img { border-radius: 12px; }
.links-modern { margin-top: 8px; }
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 960px) { .link-grid { grid-template-columns: 1fr; } }
.link-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 40px 1fr 20px; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid rgba(124,92,255,0.25); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); transition: 220ms ease; backdrop-filter: saturate(150%) blur(8px); }
.link-card.premium { padding: 18px 18px; border-radius: 18px; border: 1px solid rgba(124,92,255,0.35); box-shadow: 0 18px 46px rgba(0,0,0,0.32), inset 0 -2px 0 rgba(255,255,255,0.06); }
.link-card.premium .icon { width: 44px; height: 44px; border-radius: 12px; font-size: 20px; }
.link-card.premium .title { font-weight: 900; }
.link-card.premium .url { opacity: .95; }
.link-card::after { content: ""; position: absolute; inset: -1px; opacity: .6; pointer-events: none; background: radial-gradient(220px 120px at -10% -10%, rgba(124,92,255,0.22), transparent), radial-gradient(220px 120px at 110% -10%, rgba(39,225,255,0.18), transparent); }
.link-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,0.1), rgba(255,255,255,0) 60%); transform: translateX(-120%); transition: transform .6s ease; pointer-events: none; }
.link-card:hover::before { transform: translateX(120%); }
.link-card:hover { transform: translateY(-3px); border-color: rgba(124,92,255,0.5); box-shadow: 0 18px 46px rgba(0,0,0,0.32); }
.link-card .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #0b0e16; box-shadow: 0 6px 16px rgba(0,0,0,0.25); font-size: 18px; }
.link-card .text { display: grid; gap: 2px; }
.link-card .title { font-weight: 800; letter-spacing: .2px; background: linear-gradient(90deg, #fff, #d7d4ff, #9adfff, #7cffc8, #fff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradientShift 10s ease infinite; }
.link-card .url { color: var(--muted); font-size: 13px; }
.link-card .open { color: var(--muted); transition: transform .2s ease; }
.link-card:hover .open { transform: translate(2px, -2px); }
.platform-zalo .icon { background: linear-gradient(135deg, #00b3ff, #7cffc8); }
.platform-telegram .icon { background: linear-gradient(135deg, #2aabee, #7c5cff); }
.platform-telegram.alt .icon { background: linear-gradient(135deg, #1c9bd6, #63a4ff); }

/* Fancy background halos per platform */
.link-card.premium.platform-zalo::after { background: radial-gradient(280px 160px at -10% -10%, rgba(0,179,255,0.22), transparent), radial-gradient(260px 140px at 110% -10%, rgba(124,255,200,0.18), transparent); }
.link-card.premium.platform-telegram::after { background: radial-gradient(280px 160px at -10% -10%, rgba(42,171,238,0.22), transparent), radial-gradient(260px 140px at 110% -10%, rgba(124,92,255,0.18), transparent); }
.link-card.premium.platform-telegram.alt::after { background: radial-gradient(280px 160px at -10% -10%, rgba(28,155,214,0.22), transparent), radial-gradient(260px 140px at 110% -10%, rgba(99,164,255,0.18), transparent); }

/* Platform accent bars and glow */
.platform-zalo { box-shadow: inset 3px 0 0 rgba(0,179,255,0.85); }
.platform-telegram { box-shadow: inset 3px 0 0 rgba(42,171,238,0.85); }
.platform-telegram.alt { box-shadow: inset 3px 0 0 rgba(28,155,214,0.85); }
.platform-zalo:hover { box-shadow: inset 3px 0 0 rgba(0,179,255,0.95), 0 18px 46px rgba(0,0,0,0.32); }
.platform-telegram:hover { box-shadow: inset 3px 0 0 rgba(42,171,238,0.95), 0 18px 46px rgba(0,0,0,0.32); }
.platform-telegram.alt:hover { box-shadow: inset 3px 0 0 rgba(28,155,214,0.95), 0 18px 46px rgba(0,0,0,0.32); }

/* Contact Pro layout */
.contact-pro { margin-top: 8px; }
.contact-layout { display: grid; grid-template-columns: 1.2fr 2fr; gap: 16px; align-items: start; }
.contact-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; align-items: stretch; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-panel { display: grid; gap: 10px; }
.cp-head { display: grid; gap: 8px; justify-items: start; }
.cp-head .logo-orb { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #0b0e16; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.cp-actions { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.cp-meta { list-style: none; padding: 0; margin: 0; display: inline-flex; gap: 12px; color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }

/* Make contact panel span full width above the grid and center-align */
.contact-panel { grid-column: 1 / -1; }
.contact-panel .cp-head { justify-items: center; text-align: center; }
.contact-panel .cp-actions { justify-content: center; }
.contact-panel .cp-meta { justify-content: center; }

/* Contact grid/card adjustments for even layout */
.c-card { min-height: 100px; height: 100%; }
.c-left { flex: 1; min-width: 0; }
.c-action { white-space: nowrap; align-self: center; }
.c-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid rgba(124,92,255,0.25); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); transition: 220ms ease; text-decoration: none; color: inherit; box-shadow: 0 10px 24px rgba(0,0,0,0.18) inset; }
.c-card:hover { transform: translateY(-3px); border-color: rgba(124,92,255,0.45); box-shadow: 0 18px 46px rgba(0,0,0,0.32), inset 0 -2px 0 rgba(255,255,255,0.06); }
.c-left { display: inline-flex; align-items: center; gap: 12px; }
.c-orb { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #0b0e16; box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.c-orb i { font-size: 20px; }
.c-texts { display: grid; gap: 2px; }
.c-title { font-weight: 900; letter-spacing: .2px; }
.c-sub { color: var(--muted); font-size: 13px; }
.c-action { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.c-card.zalo .c-orb { background: linear-gradient(135deg, #00b3ff, #7cffc8); }
.c-card.telegram .c-orb { background: linear-gradient(135deg, #2aabee, #7c5cff); }
.c-card.telegram.alt .c-orb { background: linear-gradient(135deg, #1c9bd6, #63a4ff); }

/* Footer */
.site-footer { 
  border-top: 1px solid rgba(124,92,255,0.15); 
  margin-top: auto; 
  margin-bottom: 0; 
  background: linear-gradient(180deg, rgba(18,24,38,0.75), rgba(11,14,22,0.85)); 
  box-shadow: 0 -10px 30px rgba(0,0,0,0.25) inset;
  position: relative;
  z-index: 10;
}
.footer-inner { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 0 14px; }
.footer-inner::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124,92,255,0.35), rgba(39,225,255,0.35), transparent); opacity: .6; }
.footer-links { display: none; }
.footer-social { display: flex; gap: 12px; font-size: 18px; opacity: .98; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(39,225,255,0.18)); border: 1px solid rgba(124,92,255,0.35); transition: 220ms ease; box-shadow: 0 10px 24px rgba(0,0,0,0.28) inset, 0 0 0 1px rgba(255,255,255,0.06) inset; }
.footer-social a:hover { transform: translateY(-2px); filter: brightness(1.05); background: linear-gradient(135deg, rgba(124,92,255,0.28), rgba(39,225,255,0.28)); border-color: rgba(124,92,255,0.5); box-shadow: 0 14px 36px rgba(0,0,0,0.32) inset, 0 0 0 1px rgba(255,255,255,0.08) inset; }
.site-footer .logo { gap: 10px; display: grid; justify-items: center; grid-auto-flow: row; }
.site-footer .logo-mark { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08) inset; }
.site-footer .logo-mark img { width: 34px; height: 34px; }
.site-footer .logo-text { font-weight: 800; letter-spacing: .3px; background: linear-gradient(90deg, #fff, #d7d4ff, #9adfff, #7cffc8, #fff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradientShift 12s ease infinite; }
.site-footer .subtle { color: #9fb0c7; font-size: 13px; text-align: center; margin: 2px 0 8px; }
.copyright { padding: 2px 0 0; margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 960px) { 
  .footer-inner { flex-direction: row; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 14px 0; }
  .footer-inner > div { display: inline-flex; align-items: center; gap: 10px; }
  .site-footer .logo { display: inline-flex; gap: 10px; order: 0; }
  .site-footer .subtle { order: 0; text-align: center; margin: 0; width: 100%; }
  .footer-social { order: 0; display: inline-flex; }
  .footer-social a { width: 36px; height: 36px; border-radius: 10px; }
}

/* Desktop: footer horizontal layout */
@media (min-width: 961px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
  .footer-inner > div:first-child { display: inline-flex; align-items: center; gap: 12px; }
  .site-footer .logo { display: inline-flex; gap: 12px; justify-items: initial; }
  .site-footer .subtle { text-align: left; margin: 0; }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(16px); transition: 700ms cubic-bezier(.2,.8,.2,1); }
.reveal.show { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 240ms; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--primary), var(--primary-2)); z-index: 100; box-shadow: 0 0 12px rgba(124,92,255,0.6); }

/* Back to top */
.back-to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #0b0e16; display: grid; place-items: center; border: 0; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: 240ms ease; z-index: 90; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Tilt helper (no extra CSS needed, but smoother) */
.tilt { will-change: transform; transition: transform 180ms ease; }

/* Page transition */
#pageTransition { 
  position: fixed !important; 
  inset: 0; 
  background: radial-gradient(1200px 800px at 20% 10%, rgba(124,92,255,0.25), transparent), 
              radial-gradient(1200px 800px at 80% 0%, rgba(39,225,255,0.2), transparent), 
              #0b0e16; 
  pointer-events: none; 
  opacity: 0; 
  transition: opacity .28s var(--easing); 
  z-index: 120; 
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
}

#pageTransition .loader {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--primary);
  border-right-color: var(--primary-2);
  animation: spin 1s linear infinite;
  box-shadow: 0 0 24px rgba(124,92,255,0.25);
  transition: transform .28s var(--easing), opacity .28s var(--easing);
  opacity: .95;
}

#pageTransition.active { 
  pointer-events: auto; 
  opacity: 1; 
}

#pageTransition.active .loader {
  transform: scale(1.02);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #pageTransition { display: none !important; }
}

/* Particles canvas */
.particles-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .65; }
.ambient-canvas { position: fixed; inset: 0; z-index: -3; pointer-events: none; opacity: .35; mix-blend-mode: screen; }

/* Keyframes */
@keyframes ripple { to { transform: translate(-50%,-50%) scale(16); opacity: 0; } }
@keyframes gradientFloat {
  0% { background-position: 0% 0%, 100% 0%, 0 0; }
  100% { background-position: 5% 2%, 95% 4%, 0 0; }
}
@keyframes bgRotate { to { transform: rotate(360deg); } }
@keyframes glowRotate { to { transform: rotate(360deg); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes bgFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.03); }
}
@keyframes bgDrift {
  0% { transform: translate3d(var(--bg-ox, 0), var(--bg-oy, 0), 0) scale(1.02) rotate(0deg); }
  100% { transform: translate3d(calc(var(--bg-ox, 0) + 2%), calc(var(--bg-oy, 0) - 2%), 0) scale(1.03) rotate(0.001turn); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Bank panel */
.bank-info { background: linear-gradient(180deg, rgba(124,92,255,0.12), rgba(39,225,255,0.10)); border: 1px dashed rgba(124,92,255,0.45); border-radius: 14px; padding: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.25) inset; }
.bank-info h4 { margin: 0 0 8px; }
.bank-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bank-lines .label { color: var(--muted); margin-right: 6px; }
.bank-lines .value { font-weight: 700; letter-spacing: .3px; }
.bank-lines .subtle { color: var(--muted); font-size: 13px; }
.btn-sm { padding: 6px 10px; border-radius: 8px; font-size: 13px; }

/* Accounts selection */
.accounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.account-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 14px; border: 1px solid rgba(124,92,255,0.35); background: rgba(255,255,255,0.04); cursor: pointer; transition: 180ms ease; text-align: left; }
.account-card:hover { background: rgba(124,92,255,0.12); transform: translateY(-1px); }
.account-card.selected { background: rgba(124,92,255,0.22); border-color: rgba(124,92,255,0.6); box-shadow: 0 10px 24px rgba(124,92,255,0.18) inset; }
.acc-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: #0b0e16; }
.acc-icon.theme-violet { background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.acc-icon.theme-pink { background: linear-gradient(135deg, #ff6bd6, #7c5cff); }
.acc-name { font-weight: 700; }
.acc-number { color: #fff; letter-spacing: 0.3px; }
.acc-actions { display: flex; align-items: center; gap: 8px; }
.chip.small { padding: 4px 8px; font-size: 12px; }

/* New checkout layout */
.checkout-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
@media (max-width: 960px) { .checkout-grid { grid-template-columns: 1fr; } }
.panel { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); border: 1px solid rgba(124,92,255,0.18); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; }
.panel.primary { background: linear-gradient(180deg, rgba(39,225,255,0.06), rgba(124,92,255,0.06)); }
.panel .panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.badge.glow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(124,92,255,0.18); border: 1px solid rgba(124,92,255,0.35); box-shadow: 0 0 18px rgba(124,92,255,0.35) inset; font-size: 12px; }
.qr-row { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: center; margin-top: 10px; }
.qr-box { display: grid; place-items: center; background: rgba(255,255,255,0.04); border: 1px dashed rgba(124,92,255,0.35); border-radius: 12px; padding: 12px; color: var(--muted); text-align: center; gap: 8px; }
.qr-box i { font-size: 42px; color: var(--primary-2); }
.note-box { display: grid; gap: 6px; }
.note-title { color: var(--muted); font-size: 13px; }
.note-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(124,92,255,0.18); border: 1px solid rgba(124,92,255,0.35); }
.steps { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.panel-foot { margin-top: 12px; color: var(--muted); font-size: 13px; }
.secure { display: inline-flex; align-items: center; gap: 8px; }

/* Pro checkout layout */
.checkout-pro { display: grid; gap: 16px; }
.pro-head { display: flex; align-items: center; justify-content: space-between; }
.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 900px) { .pay-grid { grid-template-columns: 1fr; } }
.pay-card { display: grid; gap: 12px; padding: 14px; }
.pay-card.modern { overflow: hidden; border: 1px solid rgba(124,92,255,0.25); background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); }
.pay-card.modern::before { content: ""; position: absolute; inset: -1px; background: radial-gradient(300px 140px at -10% -10%, rgba(124,92,255,0.22), transparent), radial-gradient(300px 140px at 110% -10%, rgba(39,225,255,0.18), transparent); opacity: .6; pointer-events: none; }
.brand-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 2px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #0b0e16; box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.brand-logo.theme-mb { background: linear-gradient(135deg, #7c5cff, #27e1ff); }
.brand-logo.theme-momo { background: linear-gradient(135deg, #ff6bd6, #7c5cff); }
.brand-name { font-weight: 700; letter-spacing: .2px; }
.transfer-head { display: flex; align-items: center; justify-content: space-between; }
.bank-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(124,92,255,0.18); border: 1px solid rgba(124,92,255,0.35); }
.big-number-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.big-number { font-size: clamp(20px, 3.2vw, 32px); font-weight: 800; letter-spacing: 1px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(124,92,255,0.35); }
.big-number-row .btn { white-space: nowrap; }
.meta-row { display: grid; grid-template-columns: repeat(2, auto); gap: 10px; color: var(--muted); }
.meta-row .stat { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.transfer-notice { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(124,92,255,0.25); }
.transfer-notice i { color: var(--primary-2); }
.notice-body { display: grid; gap: 4px; }
.notice-title { font-weight: 600; font-size: 13px; }
.notice-list { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; font-size: 13px; }


