/* ============================================================
   JK TECH — ENTERPRISE REDESIGN
   Premium CSS Design System
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --bg-deep:        #020812;
  --bg-primary:     #050D1A;
  --bg-card:        #0A1628;
  --bg-elevated:    #0F1E35;
  --bg-glass:       rgba(10,22,40,0.72);

  --gold:           #C9A227;
  --gold-light:     #E8BC2E;
  --gold-dim:       rgba(201,162,39,0.15);
  --gold-glow:      rgba(201,162,39,0.4);

  --accent:         #00C4FF;
  --accent-dim:     rgba(0,196,255,0.12);
  --accent-glow:    rgba(0,196,255,0.35);

  --shield-color:   #1EE8AA;
  --shield-dim:     rgba(30,232,170,0.12);

  --institute-color:#6B8CFF;
  --institute-dim:  rgba(107,140,255,0.12);

  --text-primary:   #F0F4FF;
  --text-secondary: #8899BB;
  --text-muted:     #4A5870;
  --text-inverse:   #020812;

  --border-subtle:  rgba(255,255,255,0.06);
  --border-gold:    rgba(201,162,39,0.25);
  --border-accent:  rgba(0,196,255,0.2);

  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --radius-full:    999px;

  --shadow-card:    0 4px 32px rgba(0,0,0,0.4);
  --shadow-gold:    0 0 40px rgba(201,162,39,0.2);
  --shadow-accent:  0 0 40px rgba(0,196,255,0.2);

  --transition:     0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow:0.6s cubic-bezier(0.4,0,0.2,1);

  --header-h:       72px;
  --max-w:          1320px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-dim); color: var(--gold-light); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── Typography ─────────────────────────────────────────────── */
.font-display { font-family: 'Space Grotesk', sans-serif; }
.font-mono    { font-family: 'JetBrains Mono', monospace; }

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.15; }

.text-xs   { font-size: 0.75rem; }
.text-sm   { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }
.text-6xl  { font-size: 3.75rem; }
.text-7xl  { font-size: 4.5rem; }
.text-8xl  { font-size: 6rem; }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: var(--transition);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2,8,18,0.01);
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled::before {
  background: rgba(2,8,18,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border-subtle);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.site-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

/* Desktop Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

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

.nav-cta {
  margin-left: 16px;
  padding: 9px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--text-inverse);
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

/* Mobile */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(2,8,18,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: 12px 0; font-size: 1rem; border-bottom: 1px solid var(--border-subtle); }
.mobile-nav .nav-cta { margin: 12px 0 0; text-align: center; padding: 14px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--text-inverse);
  box-shadow: 0 4px 16px rgba(201,162,39,0.25);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow);
}

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

.btn-glass {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1.5px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-inverse);
}
.btn-accent:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-sm { padding: 9px 20px; font-size: 0.8rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* ── Section Rhythm ─────────────────────────────────────────── */
.section {
  padding: 120px 0;
  position: relative;
}

.section-sm { padding: 80px 0; }
.section-xs { padding: 48px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-heading span {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subheading {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  background: var(--gold-dim);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 24px;
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
}

/* ── Grid Layouts ────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

/* ── Dividers ────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
  margin: 0;
}

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.badge-gold {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.badge-accent {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.badge-shield {
  background: var(--shield-dim);
  color: var(--shield-color);
  border: 1px solid rgba(30,232,170,0.25);
}

.badge-institute {
  background: var(--institute-dim);
  color: var(--institute-color);
  border: 1px solid rgba(107,140,255,0.25);
}

/* ── Number Indicators ───────────────────────────────────────── */
.step-num {
  width: 44px; height: 44px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── Glass Panel ─────────────────────────────────────────────── */
.glass-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes scanline {
  0%   { top: -2px; }
  100% { top: 100%; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

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

@keyframes ripple {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.reveal-left.visible {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ── Form Styles ─────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }

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

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%238899BB' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

/* ── Alert/Notification ──────────────────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}

.alert.show { display: flex; align-items: center; gap: 10px; }

.alert-success {
  background: rgba(30,232,170,0.12);
  border: 1px solid rgba(30,232,170,0.3);
  color: var(--shield-color);
}

.alert-error {
  background: rgba(255,80,80,0.1);
  border: 1px solid rgba(255,80,80,0.3);
  color: #FF8080;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.82rem; color: var(--text-muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--text-secondary); }

/* ── Utility ─────────────────────────────────────────────────── */
.text-gold    { color: var(--gold); }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

.bg-card      { background: var(--bg-card); }
.bg-elevated  { background: var(--bg-elevated); }

.border-top   { border-top: 1px solid var(--border-subtle); }
.border-gold  { border: 1px solid var(--border-gold); }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.gap-sm       { gap: 12px; }
.gap-md       { gap: 20px; }
.gap-lg       { gap: 32px; }

.w-full       { width: 100%; }
.text-center  { text-align: center; }
.mt-auto      { margin-top: auto; }
.mb-0         { margin-bottom: 0; }

.hidden       { display: none !important; }
.invisible    { visibility: hidden; }

/* Page visibility */
.page         { display: none; }
.page.active  { display: block; }

/* ── Gradient Text ───────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ── Noise Overlay ───────────────────────────────────────────── */
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Page Transition ─────────────────────────────────────────── */
.page-enter {
  animation: scaleIn 0.5s cubic-bezier(0.4,0,0.2,1) both;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .site-nav { display: none; }
  .mobile-toggle { display: flex; }

  .section { padding: 80px 0; }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

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

  .section-heading { font-size: 2rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .btn-lg { padding: 14px 28px; }
}

/* ============================================================
   JK TECH — PREMIUM ELEVATION LAYER
   Final touch visual polish — appended to base system
   ============================================================ */

/* ── Premium Typography Upgrades ───────────────────────────── */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  letter-spacing: -0.025em;
}

/* ── Premium Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), rgba(201,162,39,0.3));
  border-radius: 2px;
}

/* ── Premium Header Glass ────────────────────────────────────── */
.site-header.scrolled::before {
  background: rgba(2, 8, 18, 0.88);
  backdrop-filter: blur(28px) saturate(200%) brightness(0.95);
  border-bottom-color: rgba(201,162,39,0.12);
}

/* ── Premium Nav ─────────────────────────────────────────────── */
.nav-link {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ── Premium Button Upgrade ──────────────────────────────────── */
.btn {
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  box-shadow: 0 4px 20px rgba(201,162,39,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, #FFD84D 100%);
  box-shadow: 0 8px 36px rgba(201,162,39,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ── Premium Card ─────────────────────────────────────────────── */
.card {
  background: linear-gradient(145deg, rgba(10,22,40,0.95), rgba(8,18,35,0.98));
  backdrop-filter: blur(8px);
}

.card:hover {
  box-shadow: 0 8px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,162,39,0.15), 0 0 40px rgba(201,162,39,0.05);
}

/* ── Section Enhancement ─────────────────────────────────────── */
.section-label {
  letter-spacing: 0.14em;
  font-size: 0.7rem;
}

.section-heading {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* ── Premium Divider ─────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201,162,39,0.1) 20%,
    rgba(201,162,39,0.25) 50%,
    rgba(201,162,39,0.1) 80%,
    transparent 100%
  );
}

/* ── Micro-animation: hover lift ─────────────────────────────── */
.card,
.product-card,
.service-item,
.testimonial-card {
  will-change: transform;
}

/* ── Premium Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Glow Enhancement ────────────────────────────────────────── */
@keyframes goldGlowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(201,162,39,0.1); }
  50%       { box-shadow: 0 0 40px rgba(201,162,39,0.2); }
}

/* ── Page Load Fade ──────────────────────────────────────────── */
@keyframes pageEntrance {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-enter {
  animation: pageEntrance 0.5s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

/* ── Premium footer ──────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(2,5,12,1) 100%);
  border-top-color: rgba(201,162,39,0.08);
}

/* ── Smooth focus rings ──────────────────────────────────────── */
*:focus-visible {
  outline: 2px solid rgba(201,162,39,0.5);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Premium gradient text shimmer ──────────────────────────── */
.gradient-text-animate {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold-light) 30%,
    #FFE580 50%,
    var(--gold-light) 70%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ── Intelligence Canvas behind hero ────────────────────────── */
#intelligence-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

/* ── Hover line effects ──────────────────────────────────────── */
.hover-line {
  position: relative;
  overflow: hidden;
}

.hover-line::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.hover-line:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}



/* ── Mobile Toggle Animation ─────────────────────────────────── */
.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Social Icon Link ─────────────────────────────────────────── */
.social-icon-link:hover {
  color: var(--gold) !important;
  border-color: var(--border-gold) !important;
  transform: translateY(-2px);
}

/* ── Prefers Reduced Motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .gradient-text-animate {
    animation: none !important;
    background-size: auto !important;
  }
}

/* ── Scroll-to-Top Button ────────────────────────────────────── */
#scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  z-index: 8999;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
#scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#scroll-to-top:hover {
  background: var(--gold-dim);
  box-shadow: 0 4px 16px var(--gold-glow);
}

/* ── Responsive: Additional Breakpoints ──────────────────────── */
@media (max-width: 480px) {
  .hero-trust {
    gap: 8px;
  }
  .hero-trust-sep {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .stat-item + .stat-item::before {
    display: none;
  }
  .section {
    padding: 60px 0;
  }
  .cta-band {
    padding: 60px 0;
  }
}

@media (min-width: 1441px) {
  .container {
    max-width: 1400px;
  }
  .section {
    padding: 140px 0;
  }
}

/* ── Zoom/High-DPI Fix ───────────────────────────────────────── */
@media (min-resolution: 1.25dppx) {
  body {
    -webkit-font-smoothing: antialiased;
  }
}


/* ===== GLOBAL RESPONSIVE PATCH ===== */
* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
}

.wrapper, .content {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (max-width: 1024px) {
  .wrapper, .content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .wrapper, .content {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(1.6rem, 6vw, 2rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  h3 { font-size: clamp(1.2rem, 4vw, 1.5rem); }
}


/* ===== ABOUT PAGE RESPONSIVE GRID HELPERS ===== */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.about-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.about-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.about-why-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.about-why-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* Admin panel responsive */
@media (max-width: 768px) {
  .about-hero-grid,
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .about-why-grid {
    grid-template-columns: 1fr;
  }
  .about-stat-card {
    padding: 20px;
  }
  .about-stat-value {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .about-hero-grid {
    gap: 32px;
  }
  .about-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .about-stat-card {
    padding: 16px 12px;
  }
  .about-stat-value {
    font-size: 1.8rem;
  }
}

