/* ZoomApps 2026 v2 — Base (UnifiedInfotech-grade) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: white; }

img, video, svg, picture { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--d-fast) var(--ease-out); }
ul, ol { list-style: none; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tighter);
  color: var(--text-primary);
}
h1 {
  font-size: clamp(48px, 9vw, 116px);
  line-height: 0.96;
  letter-spacing: var(--ls-tightest);
  font-weight: var(--fw-extrabold);
}
h2 {
  font-size: clamp(36px, 5.5vw, 65px);
  line-height: 1.0;
  letter-spacing: var(--ls-tighter);
}
h3 {
  font-size: clamp(24px, 3vw, 37px);
  line-height: 1.1;
  letter-spacing: var(--ls-tight);
}
h4 {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: var(--ls-tight);
}

p { margin: 0 0 var(--space-paragraph); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--text-secondary); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-tertiary);
  margin-bottom: var(--sp-6);
}
.eyebrow--accent { color: var(--accent); }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-accent { color: var(--accent); }

/* === Layout === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}
.container--narrow { max-width: 960px; }
.container--reading { max-width: 720px; }

.section {
  padding-top: var(--space-section-y);
  padding-bottom: var(--space-section-y);
  position: relative;
}
.section--first {
  padding-top: clamp(80px, 14vw, 200px);
}
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-on-dark); }
.section--dark .text-secondary { color: var(--text-on-dark-2); }
.section--dark .text-tertiary { color: var(--text-on-dark-3); }
.section--dark .eyebrow { color: var(--text-on-dark-3); }
.section--soft { background: var(--bg-soft); }
.section--tight-top { padding-top: clamp(20px, 2.5vw, 48px); }
.section--tight-bottom { padding-bottom: clamp(20px, 2.5vw, 48px); }

.section__head {
  max-width: 880px;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title { margin-bottom: var(--sp-6); }
.section__subtitle {
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 56ch;
}

/* === Grids === */
.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.grid--asym-7-5 { grid-template-columns: 1fr; gap: var(--sp-12); }
.grid--asym-8-4 { grid-template-columns: 1fr; gap: var(--sp-12); }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
  .grid--asym-7-5 { grid-template-columns: 7fr 5fr; align-items: center; gap: var(--sp-16); }
  .grid--asym-8-4 { grid-template-columns: 8fr 4fr; gap: var(--sp-16); }
}
@media (min-width: 1280px) {
  .grid--3 { gap: var(--sp-12); }
}

/* === Site Header (sticky, mega-menu, with top bar) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  transition: all var(--d-fast) var(--ease-out);
}
.header__bar-top {
  background:
    linear-gradient(180deg, #0A0A0C 0%, #131316 100%);
  color: white;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.header__bar-top::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 168, 118, 0.42) 50%, transparent 100%);
  pointer-events: none;
}
.header__bar-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: var(--sp-6);
}
.header__bar-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  letter-spacing: 0.2px;
}
.header__bar-tag-text { white-space: nowrap; }
.header__bar-tag-text b {
  color: #C8A876;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.header__bar-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #C8A876;
  box-shadow: 0 0 10px rgba(200, 168, 118, 0.85), 0 0 0 0 rgba(200, 168, 118, 0.6);
  animation: pulseGold 2.4s ease-in-out infinite;
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 8px rgba(200, 168, 118, 0.7), 0 0 0 0 rgba(200, 168, 118, 0.5); }
  50% { box-shadow: 0 0 14px rgba(200, 168, 118, 1), 0 0 0 6px rgba(200, 168, 118, 0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.header__bar-meta {
  display: none;
  align-items: center;
  gap: 18px;
}
@media (min-width: 768px) { .header__bar-meta { display: inline-flex; } }
@media (max-width: 767px) {
  .header__bar-top-inner { justify-content: center; height: 34px; }
  .header__bar-tag-text { font-size: 11px; }
}

/* Social icons — premium gold (top bar right) */
.header__bar-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header__bar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: #C8A876;
  background: rgba(232, 184, 95, 0.06);
  border: 1px solid rgba(229, 200, 150, 0.18);
  transition: all 0.3s var(--ease-out);
}
.header__bar-social a:hover {
  color: #F0DDB4;
  background: rgba(232, 184, 95, 0.18);
  border-color: rgba(229, 200, 150, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -2px rgba(200, 168, 118, 0.40);
}
.header__bar-social svg { width: 13px; height: 13px; }
.site-header.is-scrolled { box-shadow: var(--sh-sm); }
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  height: 88px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  transition: transform var(--d-base) var(--ease-out);
}
.header__logo:hover { transform: scale(1.04); }
.header__logo-img { height: 42px; width: auto; display: block; }
@media (max-width: 767px) {
  .header__logo-img { height: 38px; }
  .header__inner { height: 72px; }
}
.header__nav {
  display: none;
  flex: 1;
}
@media (min-width: 1024px) { .header__nav { display: flex; align-items: center; gap: var(--sp-2); } }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
  color: var(--text-primary);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  transition: all var(--d-fast) var(--ease-out);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: var(--sp-4);
  right: var(--sp-4);
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2, var(--accent)));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--d-base) var(--ease-out);
}
.nav-link:hover::after,
.nav-item--mega:hover .nav-link::after,
.nav-item--mega:focus-within .nav-link::after { transform: scaleX(1); }
.nav-link:hover { color: var(--accent); }
.nav-link.is-new::before {
  content: 'NEW';
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: white;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  padding: 2px 5px;
  border-radius: 4px;
  line-height: 1;
}
.nav-chev {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--d-base) var(--ease-out);
  margin-left: 2px;
}
.nav-item--mega:hover .nav-chev,
.nav-item--mega:focus-within .nav-chev { transform: rotate(225deg) translateY(-2px); }

/* Mega menu dropdown */
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(880px, 92vw);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-xl);
  padding: var(--sp-8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--d-base) var(--ease-out);
}
.mega-menu--wide {
  width: min(1040px, 94vw);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-6);
}
.mega-menu__col-title {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-tertiary);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.mega-menu__col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.mega-menu__col--cta {
  background: var(--bg-soft);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  margin: calc(var(--sp-6) * -1);
}
.nav-item--mega:hover .mega-menu,
.nav-item--mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.mega-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  transition: background var(--d-fast);
  text-decoration: none;
  color: inherit;
}
.mega-card:hover { background: var(--bg-soft); }
.mega-card__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--accent-tint);
  color: var(--accent);
}
.mega-card__icon svg { width: 24px; height: 24px; }
.mega-card__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: 2px;
}
.mega-card__desc {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  line-height: 1.4;
  margin: 0;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-left: auto;
}
.header__phone {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}
.header__phone:hover { color: var(--accent); }
@media (min-width: 1280px) { .header__phone { display: inline-flex; } }

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--touch-min);
  height: var(--touch-min);
  border-radius: var(--r-md);
}
.header__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-primary);
  transition: all var(--d-base) var(--ease-out);
}
.header__burger:hover { background: var(--bg-soft); }
@media (min-width: 1024px) { .header__burger { display: none; } }
.header__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 80px 0 0 0;
  z-index: var(--z-overlay);
  background: white;
  overflow-y: auto;
  padding: var(--sp-8) var(--container-px) var(--sp-12);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { margin-bottom: var(--sp-8); }
.mobile-menu__group { margin-bottom: var(--sp-6); }
.mobile-menu__group-title {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-tertiary);
  margin-bottom: var(--sp-3);
}
.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.mobile-menu__link svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--accent); }
.mobile-menu__actions { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-6); }

/* === Footer mega === */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: clamp(80px, 10vw, 128px) 0 var(--sp-10);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(circle at center, var(--accent) 0%, transparent 60%);
  opacity: 0.10;
  pointer-events: none;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-16);
  position: relative;
}
@media (min-width: 700px) {
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: var(--sp-10); }
}
.footer__brand h3 {
  font-size: clamp(24px, 3vw, 37px);
  margin-bottom: var(--sp-4);
  letter-spacing: var(--ls-tight);
}
.footer__brand p { color: var(--text-on-dark-2); font-size: var(--fs-sm); max-width: 36ch; }
.footer__brand-logo { height: 28px; margin-bottom: var(--sp-6); filter: brightness(0) invert(1); }

.footer__title {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-on-dark-2);
  margin-bottom: var(--sp-5);
}
.footer__list li { margin-bottom: var(--sp-3); }
.footer__list a {
  font-size: var(--fs-sm);
  color: var(--text-on-dark-2);
  transition: color var(--d-fast);
}
.footer__list a:hover { color: white; }

.footer__contact-item {
  margin-bottom: var(--sp-4);
}
.footer__contact-label {
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-on-dark-3);
  margin-bottom: var(--sp-1);
}
.footer__contact-value {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: white;
}

.footer__socials { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.footer__socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: white;
  transition: all var(--d-fast);
}
.footer__socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer__socials svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: var(--sp-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-on-dark-3);
}
.footer__legal-links { display: flex; gap: var(--sp-6); flex-wrap: wrap; }
.footer__legal-links a:hover { color: white; }

/* Sticky bottom bar mobile */
.sticky-mobile {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: flex;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: var(--sp-2) var(--sp-3) max(var(--sp-2), env(safe-area-inset-bottom));
  gap: var(--sp-2);
}
.sticky-mobile__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--touch-min);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  background: transparent;
  text-decoration: none;
}
.sticky-mobile__btn svg { width: 20px; height: 20px; }
.sticky-mobile__btn--primary {
  background: var(--text-primary); color: white;
}
.sticky-mobile__btn--primary:hover { background: var(--accent); }
@media (min-width: 768px) { .sticky-mobile { display: none; } }
@media (max-width: 767px) { main { padding-bottom: 80px; } }

/* Skip link a11y */
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  position: fixed;
  top: 12px; left: 12px;
  z-index: var(--z-toast);
  padding: var(--sp-3) var(--sp-5);
  background: var(--accent);
  color: white;
  border-radius: var(--r-md);
}
