@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   QMICS SOLUTIONS - Global Styles
   ============================================ */

/* ============================================
   HEADER COMPONENT — Topbar + Navbar
   ============================================ */

/* --- Unified Header Wrapper (single fixed element) --- */
.qmics-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1001;
  /* Safari iOS fix: prevent sub-pixel rendering gaps */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* --- Topbar --- */
.qmics-topbar {
  background: #010810;
  border-bottom: 1px solid rgba(0, 200, 212, 0.15);
  height: 44px;
  overflow: hidden;
  transition: height 0.35s ease, opacity 0.35s ease, border 0.35s ease;
  opacity: 1;
}

.qmics-header.scrolled .qmics-topbar {
  height: 0;
  opacity: 0;
  border-bottom: none;
}

.topbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #c0ccd8;
  text-decoration: none;
  transition: color 0.3s;
}

.topbar-item:hover { color: #fff; }

.topbar-item svg { color: var(--teal-light); opacity: 0.9; flex-shrink: 0; }

.topbar-divider {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: rgba(0, 200, 212, 0.2);
  margin: 0 20px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-social {
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.12);
}

.topbar-social:hover {
  background: rgba(255, 184, 0, 0.18);
  border-color: rgba(255, 184, 0, 0.35);
  color: var(--gold);
  transform: translateY(-2px);
}

/* --- Main Navbar --- */
.qmics-navbar {
  background: rgba(3, 10, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(0, 200, 212, 0.4);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.qmics-header.scrolled .qmics-navbar {
  background: rgba(2, 8, 20, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
  border-bottom: 2px solid rgba(0, 200, 212, 0.5);
}

.qmics-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.qmics-logo img {
  height: 52px;
  width: auto;
  transition: filter 0.3s;
  flex-shrink: 0;
}

.qmics-logo:hover img {
  filter: brightness(1.1) drop-shadow(0 0 10px rgba(255, 184, 0, 0.4));
}

/* Nav Links */
.qmics-nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: flex-end;
}

.qmics-nav-links > li { position: relative; }

.qmics-nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dde8f5;
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
  position: relative;
}

/* Gold underline effect — matches reference screenshot */
.qmics-nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  border-radius: 1px;
}

.qmics-nav-links > li > a:hover {
  color: #fff;
}

.qmics-nav-links > li > a:hover::after { transform: scaleX(0.7); }

/* Active nav state */
.qmics-nav-links > li > a.nav-active {
  color: var(--gold) !important;
}

.qmics-nav-links > li > a.nav-active::after {
  transform: scaleX(1) !important;
}

/* Chevron */
.nav-chevron {
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.qmics-has-mega:hover .nav-chevron { transform: rotate(180deg); }

/* ---- Mega Menu ---- */
.qmics-mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 760px;
  background: rgba(4, 12, 26, 0.98);
  border: 1px solid rgba(255, 184, 0, 0.18);
  border-radius: 14px;
  overflow: hidden;
  z-index: 200;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 184, 0, 0.06);
  backdrop-filter: blur(20px);
  animation: megaFadeIn 0.22s ease;
}

@keyframes megaFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.qmics-has-mega:hover .qmics-mega-menu { display: block; }

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 28px 28px 20px;
}

.mega-col {
  padding: 0 20px 0 0;
}

.mega-col:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding-right: 24px;
  margin-right: 4px;
}

.mega-col + .mega-col { padding-left: 24px; }

.mega-cat-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mega-cat-label.gold   { color: var(--gold); }
.mega-cat-label.teal   { color: var(--teal-light); }
.mega-cat-label.purple { color: #a78bfa; }

.mega-links { list-style: none; }

.mega-links li { margin-bottom: 2px; }

.mega-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #7a8ea4;
  text-decoration: none;
  border-radius: 7px;
  transition: all 0.25s ease;
}

.mega-links li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  padding-left: 16px;
}

.mega-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mega-dot.gold   { background: var(--gold); opacity: 0.7; }
.mega-dot.teal   { background: var(--teal-light); opacity: 0.7; }
.mega-dot.purple { background: #a78bfa; opacity: 0.7; }

/* Mega Footer */
.mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(255, 184, 0, 0.04);
  border-top: 1px solid rgba(255, 184, 0, 0.1);
}

.mega-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.3s ease;
}

.mega-view-all:hover { gap: 10px; }

.mega-footer-text {
  font-size: 0.7rem;
  color: #506070;
  letter-spacing: 0.06em;
}

/* ---- Hamburger Button ---- */
.qmics-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.3s;
}

.qmics-hamburger:hover { background: rgba(255, 184, 0, 0.08); }

.qmics-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.qmics-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.qmics-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.qmics-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Mobile Nav ---- */
.qmics-mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 92vw);
  max-width: 100vw;
  height: 100vh;
  background: #030c1a;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 40px rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 184, 0, 0.1);
  overflow-x: hidden;
  overflow-y: auto;
}

.qmics-mobile-nav.open { right: 0; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}


.mobile-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #fff;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.mobile-close-btn:hover { background: rgba(255, 255, 255, 0.12); }

.mobile-nav-body {
  flex: 1;
  padding: 12px 0;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
}

/* Mobile nav links */
.mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 16px;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a8bc;
  text-decoration: none;
  border: none;
  background: transparent;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.25s, background 0.25s;
}

.mob-link:hover, .mob-link.nav-active { color: var(--gold); background: rgba(255, 184, 0, 0.04); }

.mob-chevron { transition: transform 0.35s ease; flex-shrink: 0; }

/* Mobile sub-menu */
.mob-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  box-sizing: border-box;
}

.mob-cat {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 16px 6px 24px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 184, 0, 0.6);
  margin-top: 4px;
}

.mob-sub-link {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 16px 10px 32px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #6a80a0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: color 0.25s, background 0.25s;
}

.mob-sub-link:hover { color: #c0d4e8; background: rgba(255,255,255,0.03); }

.mobile-nav-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.mobile-nav-footer p {
  font-size: 0.75rem;
  color: #506070;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Dark overlay behind mobile nav */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0; /* Safari: avoid inset shorthand */
  background: rgba(0, 0, 0, 0.6);
  z-index: 1099;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.mobile-overlay.visible { display: block; }

/* ---- Page top offset (header takes 44+74=118px) ---- */
.page-offset {
  padding-top: 118px;
}

/* Page hero adjustment */
.page-hero {
  padding-top: 180px !important;
}

/* Hero section adjustment */
.hero {
  padding-top: 118px;
}

/* ---- Responsive ---- */
@media (max-width: 1340px) {
  .qmics-nav-inner { padding: 0 28px; }
  .topbar-inner { padding: 0 28px; }
  .qmics-nav-links > li > a {
    padding: 10px 10px;
    font-size: 0.70rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 1180px) {
  .qmics-nav-links > li > a {
    padding: 8px 7px;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 960px) {
  .qmics-hamburger { display: flex; }
  .qmics-nav-links { display: none; }
  .topbar-left .topbar-divider:last-of-type,
  .topbar-item:last-child { display: none; }
  /* Reduce topbar height on tablet */
  .qmics-topbar { height: 40px; }
  .topbar-inner { height: 40px; }
  .qmics-header.scrolled .qmics-topbar { height: 0; }
  /* Page offset for smaller topbar */
  .page-hero { padding-top: 160px !important; }
  .hero { padding-top: 114px; }
  .page-offset { padding-top: 114px; }
}

@media (max-width: 600px) {
  .topbar-inner { padding: 0 14px; }
  .qmics-nav-inner { padding: 0 14px; }
  .topbar-left .topbar-item:not(:first-child) { display: none; }
  .topbar-left .topbar-divider { display: none; }
  /* On small phones hide topbar entirely to save space */
  .qmics-topbar { display: none; }
  .qmics-header.scrolled .qmics-topbar { display: none; }
  /* Navbar sits at very top */
  .page-hero { padding-top: 100px !important; }
  .hero { padding-top: 74px; }
  .page-offset { padding-top: 74px; }
}

@media (max-width: 480px) {
  .qmics-logo img { height: 42px; }
  .qmics-nav-inner { height: 64px; }
}
/* ============================================ */

:root {
  --gold: #FFB800;
  --gold-dark: #E6A500;
  --gold-glow: rgba(255, 184, 0, 0.25);
  --teal: #1B8A9A;
  --teal-light: #00c8d4;
  --teal-glow: rgba(0, 200, 212, 0.2);
  --bg: #020b18;
  --bg-2: #050f1e;
  --bg-card: #0a1628;
  --bg-card-2: #0d1f35;
  --text: #ffffff;
  --text-muted: #7a90a8;
  --border-gold: rgba(255, 184, 0, 0.15);
  --border-teal: rgba(0, 200, 212, 0.15);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* Safari momentum scrolling */
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  /* Safari: prevent scroll bounce from showing overflow */
  position: relative;
  width: 100%;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ---- Particles Canvas ---- */
#particles-js {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Base Layout ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; position: relative; z-index: 1; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }

.text-gold { color: var(--gold); }
.text-teal { color: var(--teal-light); }

.gradient-gold {
  background: linear-gradient(135deg, #FFB800 0%, #FF7A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-teal {
  background: linear-gradient(135deg, #00c8d4 0%, #0099ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.25);
  color: var(--gold);
  margin-bottom: 18px;
}

.section-tag.teal {
  background: rgba(0, 200, 212, 0.08);
  border-color: rgba(0, 200, 212, 0.25);
  color: var(--teal-light);
}

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.section-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal-light));
  border-radius: 2px;
  margin-bottom: 20px;
}

.section-divider.center { margin: 12px auto 24px; }

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 184, 0, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 184, 0, 0.3);
}

.btn-teal {
  background: linear-gradient(135deg, #00c8d4 0%, #0099ff 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 200, 212, 0.3);
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 200, 212, 0.5);
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover::before { transform: scaleX(1); }

.card:hover {
  border-color: rgba(255, 184, 0, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 184, 0, 0.06);
  transform: translateY(-6px);
}

.card-teal {
  border-color: var(--border-teal);
}

.card-teal::before {
  background: linear-gradient(90deg, var(--teal-light), #0099ff);
}

.card-teal:hover {
  border-color: rgba(0, 200, 212, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 200, 212, 0.06);
}

/* ---- Icon Box ---- */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 18px;
}

.icon-box-gold {
  background: rgba(255, 184, 0, 0.12);
  color: var(--gold);
  box-shadow: 0 0 0 1px rgba(255, 184, 0, 0.2);
}

.icon-box-teal {
  background: rgba(0, 200, 212, 0.12);
  color: var(--teal-light);
  box-shadow: 0 0 0 1px rgba(0, 200, 212, 0.2);
}

.icon-box-purple {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2);
}

.icon-box-green {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2);
}

/* ---- Navbar (old rules removed — now handled by .qmics-header + .qmics-navbar) ---- */

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo img {
  height: 52px;
  width: auto;
  filter: brightness(1);
  transition: var(--transition);
}

.nav-logo img:hover { filter: brightness(1.1) drop-shadow(0 0 8px rgba(255, 184, 0, 0.4)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: #cdd8e6;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
  text-transform: uppercase;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--gold);
  background: rgba(255, 184, 0, 0.08);
}

.nav-cta {
  background: linear-gradient(135deg, #FFB800, #FF8C00) !important;
  color: #000 !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.4) !important;
  transform: translateY(-1px);
}

/* Mega Dropdown */
.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  background: rgba(5, 15, 30, 0.98);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 16px;
  padding: 28px;
  z-index: 200;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.has-mega:hover .mega-menu { display: block; }

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mega-category h4 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mega-category ul { list-style: none; }

.mega-category ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  color: #8899aa;
  font-size: 0.82rem;
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
}

.mega-category ul li a:hover {
  color: var(--gold);
  background: rgba(255, 184, 0, 0.06);
  padding-left: 14px;
}

/* Mobile Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  background: transparent;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(2, 11, 24, 0.99);
  z-index: 999;
  overflow-y: auto;
  padding: 90px 24px 40px;
  flex-direction: column;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: #cdd8e6;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--gold); padding-left: 8px; }

.mobile-sub {
  display: none;
  flex-direction: column;
  padding: 8px 0 8px 16px;
}

.mobile-sub.open { display: flex; }

.mobile-sub a {
  font-size: 0.9rem;
  color: #7a90a8;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: none;
}

/* ---- Announcement Bar ---- */
.announcement-bar {
  background: linear-gradient(90deg, rgba(255,184,0,0.08), rgba(0,200,212,0.08), rgba(255,184,0,0.08));
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  border-bottom: 1px solid rgba(255, 184, 0, 0.12);
  text-align: center;
  padding: 9px 24px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  z-index: 1001;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 65% 40%, rgba(255,184,0,0.06) 0%, transparent 55%),
              radial-gradient(ellipse at 20% 75%, rgba(0,200,212,0.05) 0%, transparent 50%),
              var(--bg);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,184,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,184,0,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(255,184,0,0.08);
  border: 1px solid rgba(255,184,0,0.3);
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-tag::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,184,0,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(255,184,0,0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
}

.hero-title span.typed-text { display: block; min-height: 1.2em; }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ---- Ecosystem Diagram ---- */
.ecosystem-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 520px;
  height: 520px;
  flex-shrink: 0;
}

.eco-outer-ring {
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1px dashed rgba(255,184,0,0.15);
  animation: spin-slow 30s linear infinite;
}

.eco-inner-ring {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(0,200,212,0.15);
  animation: spin-reverse 20s linear infinite;
}

.eco-center {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a1628, #0d2040);
  border: 2px solid rgba(255,184,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 0 40px rgba(255,184,0,0.15), inset 0 0 20px rgba(255,184,0,0.05);
  animation: pulse-center 3s ease-in-out infinite;
}

.eco-center img {
  width: 110px;
  height: auto;
  filter: brightness(1.1);
}

@keyframes pulse-center {
  0%, 100% { box-shadow: 0 0 40px rgba(255,184,0,0.15), inset 0 0 20px rgba(255,184,0,0.05); }
  50% { box-shadow: 0 0 60px rgba(255,184,0,0.25), inset 0 0 30px rgba(255,184,0,0.08); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.eco-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.eco-node-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: #0a1628;
  border: 1px solid rgba(255,184,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
  cursor: pointer;
}

.eco-node-icon:hover {
  background: rgba(255,184,0,0.12);
  border-color: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255,184,0,0.2);
}

.eco-node-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8899aa;
  white-space: nowrap;
}

/* Position nodes around the circle */
.eco-node:nth-child(4)  { top: 20px;  left: 50%; transform: translateX(-50%); }
.eco-node:nth-child(5)  { top: 100px; right: 30px; }
.eco-node:nth-child(6)  { bottom: 100px; right: 30px; }
.eco-node:nth-child(7)  { bottom: 20px; left: 50%; transform: translateX(-50%); }
.eco-node:nth-child(8)  { bottom: 100px; left: 30px; }
.eco-node:nth-child(9)  { top: 100px; left: 30px; }

/* SVG connector lines */
.eco-svg {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  z-index: 2;
}

/* ---- Stats Section ---- */
.stats-section {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255,184,0,0.04), rgba(0,200,212,0.04));
  border-top: 1px solid rgba(255,184,0,0.1);
  border-bottom: 1px solid rgba(255,184,0,0.1);
  padding: 50px 0;
}

.stat-item {
  text-align: center;
  padding: 16px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #FFB800, #FF6B00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Product Cards ---- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  color: inherit;
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover::after { transform: scaleX(1); }

.product-card:hover {
  border-color: rgba(255,184,0,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 30px rgba(255,184,0,0.05);
  transform: translateY(-5px);
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.product-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.product-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s ease;
}

.product-card:hover .product-arrow { gap: 12px; }

/* Category Badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge-gold    { background: rgba(255,184,0,0.1);    color: #FFB800;  border-left: 3px solid #FFB800; }
.badge-teal    { background: rgba(0,200,212,0.1);    color: #00c8d4;  border-left: 3px solid #00c8d4; }
.badge-purple  { background: rgba(139,92,246,0.1);   color: #a78bfa;  border-left: 3px solid #a78bfa; }
.badge-green   { background: rgba(16,185,129,0.1);   color: #34d399;  border-left: 3px solid #34d399; }

/* ---- AI Solution Cards ---- */
.ai-card {
  background: linear-gradient(135deg, #0a1628, #0d1f35);
  border: 1px solid rgba(0,200,212,0.15);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ai-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,212,0.08), transparent 70%);
  transition: all 0.4s ease;
}

.ai-card:hover::before {
  width: 300px; height: 300px;
  top: -100%; right: -100%;
}

.ai-card:hover {
  border-color: rgba(0,200,212,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 30px rgba(0,200,212,0.06);
  transform: translateY(-5px);
}

/* ---- Page Hero ---- */
.page-hero {
  padding: 165px 0 90px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,184,0,0.06) 0%, transparent 60%),
              var(--bg);
  border-bottom: 1px solid rgba(255,184,0,0.08);
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}

.page-hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.8;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ---- Testimonial Cards ---- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; left: 24px;
  font-size: 80px;
  color: rgba(255,184,0,0.08);
  font-family: serif;
  line-height: 1;
  font-weight: 900;
}

.testimonial-card:hover {
  border-color: rgba(255,184,0,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stars { display: flex; gap: 4px; margin-bottom: 14px; }
.star { color: var(--gold); font-size: 14px; }

.testimonial-text {
  font-size: 0.95rem;
  color: #b0c0d0;
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,184,0,0.3);
}

.author-avatar-placeholder {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB800, #FF6B00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #000;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---- Contact ---- */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #8899aa;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: #0a1628;
  border: 1px solid rgba(255,184,0,0.15);
  border-radius: 8px;
  padding: 13px 18px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

.form-textarea { resize: vertical; min-height: 130px; }

.form-select option { background: #0a1628; color: #fff; }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,184,0,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.25); }

/* ---- Contact Info ---- */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  transition: var(--transition);
  margin-bottom: 14px;
}

.contact-info-item:hover {
  border-color: rgba(255,184,0,0.3);
  transform: translateX(4px);
}

.contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,184,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---- About ---- */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  border-color: rgba(255,184,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.team-card-img {
  width: 100%; height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, #0a1628, #0d2040);
}

.team-img-placeholder {
  width: 100%; height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1628, #0d2040);
  font-size: 3rem;
  color: var(--gold);
}

.team-info {
  padding: 20px;
}

.team-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: var(--gold); font-weight: 600; }

/* ---- Value Cards ---- */
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  border-color: rgba(255,184,0,0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,184,0,0.07) 0%, transparent 60%),
              linear-gradient(135deg, rgba(255,184,0,0.04), rgba(0,200,212,0.04));
  border-top: 1px solid rgba(255,184,0,0.1);
  border-bottom: 1px solid rgba(255,184,0,0.1);
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}

/* ---- Footer ---- */
footer {
  background: #010810;
  border-top: 1px solid rgba(255,184,0,0.1);
  position: relative;
  z-index: 1;
}

.footer-top {
  padding: 70px 0 40px;
}

.footer-logo img {
  height: 48px;
  margin-bottom: 16px;
  filter: brightness(1);
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: rgba(255,184,0,0.12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Feature List ---- */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #b0c0d0;
}

.feature-list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,184,0,0.12);
  border: 1px solid rgba(255,184,0,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23FFB800' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ---- Grid Utilities ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Old hamburger/nav-links (kept for any legacy usage) */
  .hamburger { display: flex; }
  .nav-links { display: none; }

  /* Grids → single column */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* Hero layout stacks vertically */
  .hero-layout {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .hero-nav-cards { width: 100% !important; }

  /* Hero text */
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-metrics { gap: 16px; flex-wrap: wrap; }

  /* Sections */
  .section { padding: 60px 0; }
  .mega-menu { display: none !important; }

  /* About page grid */
  .about-founder-grid { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* General two-column grids in pages */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:420px 1fr"],
  [style*="grid-template-columns: 420px 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  /* Hero adjustments */
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }

  /* Stats grid 2 cols on phone */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Container inner padding */
  .container { padding: 0 16px; }

  /* Section spacing */
  .section { padding: 48px 0; }
  .section-heading { font-size: 1.6rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.65rem; }
  .stat-number { font-size: 2rem; }
  .hero-metric strong { font-size: 1.2rem; }
  .btn { padding: 12px 20px; font-size: 0.82rem; }
  /* Page hero (inner pages) */
  .page-hero-title { font-size: 1.8rem !important; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

.divider-line {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 60px 0;
}

/* Glow helpers */
.glow-gold { box-shadow: 0 0 30px rgba(255,184,0,0.25); }
.glow-teal { box-shadow: 0 0 30px rgba(0,200,212,0.25); }

/* Tab styles */
.tab-nav {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn.active, .tab-btn:hover {
  background: rgba(255,184,0,0.1);
  color: var(--gold);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* AOS custom */
[data-aos] { transition-duration: 700ms !important; }
