/* ============================================================
   MG MOBILES — ULTRA PREMIUM STYLESHEET
   Design: Deep Space Dark + Neon Green/Cyan + Glassmorphism
   Font: Syne (display) · Plus Jakarta Sans (body) · JetBrains Mono
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --black:      #000000;
  --space:      #030712;
  --dark:       #060c1a;
  --dark-mid:   #0a1225;

  --glass:      rgba(255, 255, 255, 0.03);
  --glass-md:   rgba(255, 255, 255, 0.06);
  --glass-lg:   rgba(255, 255, 255, 0.09);
  --border:     rgba(255, 255, 255, 0.07);
  --border-md:  rgba(255, 255, 255, 0.12);

  --neon:       #00ff88;
  --neon-dim:   #00cc6a;
  --neon-glow:  rgba(0, 255, 136, 0.25);
  --neon-glow2: rgba(0, 255, 136, 0.08);
  --cyan:       #00d4ff;
  --cyan-glow:  rgba(0, 212, 255, 0.25);
  --purple:     #7c3aed;
  --purple-glow:rgba(124, 58, 237, 0.3);

  --white:      #ffffff;
  --off-white:  #e8edf5;
  --muted:      rgba(255, 255, 255, 0.45);
  --muted-md:   rgba(255, 255, 255, 0.65);

  --gradient:         linear-gradient(135deg, #00ff88, #00d4ff);
  --gradient-angled:  linear-gradient(120deg, #00ff88 0%, #00d4ff 50%, #7c3aed 100%);
  --gradient-purple:  linear-gradient(135deg, #7c3aed, #00d4ff);
  --gradient-text:    linear-gradient(135deg, #00ff88, #00d4ff);

  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --nav-h:       80px;
  --section-pad: 140px;
  --radius:      20px;
  --radius-sm:   12px;
  --radius-xs:   8px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  cursor: none;
}

body {
  font-family: var(--font-body);
  background: var(--space);
  color: var(--off-white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; cursor: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); cursor: none; border: none; }
input, select, textarea { cursor: none; }
ul { list-style: none; }

/* ── Custom Cursor ──────────────────────────────────────────── */
#cursor-dot {
  position: fixed;
  left: -40px; top: -40px;          /* start off-screen */
  width: 10px; height: 10px;
  background: var(--neon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.18s ease, height 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 0 14px var(--neon), 0 0 28px var(--neon-glow), 0 0 50px rgba(0,255,136,0.15);
  will-change: left, top;
}

#cursor-ring {
  position: fixed;
  left: -40px; top: -40px;          /* start off-screen */
  width: 38px; height: 38px;
  border: 1.5px solid rgba(0, 255, 136, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out),
              border-color 0.3s ease, opacity 0.3s ease;
  will-change: left, top;
}

body.cursor-hover #cursor-dot {
  width: 18px; height: 18px;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan), 0 0 50px var(--cyan-glow), 0 0 80px rgba(0,212,255,0.12);
}

body.cursor-hover #cursor-ring {
  width: 64px; height: 64px;
  border-color: rgba(0, 212, 255, 0.45);
  border-width: 1px;
}

/* ── Scroll Progress ────────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient);
  z-index: 200;
  box-shadow: 0 0 12px var(--neon-glow);
  transition: width 0.1s linear;
}

/* ── Noise Overlay ──────────────────────────────────────────── */
#noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  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");
  background-size: 200px 200px;
}

/* ── 3D Canvas Background ───────────────────────────────────── */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

nav, section, footer { position: relative; z-index: 3; }

/* ── Typography ─────────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0%  { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

/* ── Layout ─────────────────────────────────────────────────── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 20px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section-sub {
  margin-top: 20px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  background: var(--gradient);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 15px 36px;
  border-radius: 50px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  box-shadow: 0 0 30px var(--neon-glow), 0 0 60px var(--neon-glow2);
  cursor: none;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px var(--neon-glow), 0 0 100px var(--neon-glow2), 0 20px 40px rgba(0,0,0,0.3);
}

.btn-shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { left: -100%; }
  40%  { left: 140%; }
  100% { left: 140%; }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--glass);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 36px;
  border-radius: 50px;
  border: 1px solid var(--border-md);
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-out);
  cursor: none;
}

.btn-outline:hover {
  border-color: var(--neon);
  color: var(--neon);
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--neon-glow2), inset 0 0 20px rgba(0,255,136,0.04);
}

.btn-full { width: 100%; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(3, 7, 18, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease-in-out);
}

#navbar.scrolled {
  background: rgba(3, 7, 18, 0.92);
  border-bottom-color: rgba(0, 255, 136, 0.12);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 1px 0 rgba(0,255,136,0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 142px;
  width: auto;
  filter: sepia(1) hue-rotate(98deg) saturate(6) brightness(1.6)
          drop-shadow(0 0 10px rgba(0,255,136,0.5));
  transition: filter 0.3s;
}
.nav-logo-img:hover {
  filter: sepia(1) hue-rotate(130deg) saturate(6) brightness(1.8)
          drop-shadow(0 0 18px rgba(0,212,255,0.7));
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Right side of nav: clock + lang + CTA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 5px 12px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  backdrop-filter: blur(12px);
  min-width: 84px;
}

.nav-time {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--neon);
  letter-spacing: 0.08em;
  text-shadow: 0 0 10px var(--neon-glow);
}

.nav-date {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: var(--glass);
  border: 1px solid var(--border-md);
  border-radius: 50px;
  color: var(--off-white);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: none;
  transition: all 0.25s var(--ease-out);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  user-select: none;
}
.lang-toggle:hover {
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: 0 0 20px var(--neon-glow2);
  transform: translateY(-1px);
}
.lang-icon { font-size: 0.82rem; }

.mob-clock {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 14px 0 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.mob-clock #mobTime { color: var(--neon); }

/* RTL support */
[dir="rtl"] .hero-eyebrow,
[dir="rtl"] .hero-btns,
[dir="rtl"] .hero-stats,
[dir="rtl"] .pos-features li { flex-direction: row-reverse; }
[dir="rtl"] .stat-divider { display: none; }
[dir="rtl"] .about-pills { justify-content: flex-end; }
[dir="rtl"] .pos-features { text-align: right; }
[dir="rtl"] .contact-card:hover { transform: translateX(-6px); }
[dir="rtl"] .footer-links a:hover { padding-left: 0; padding-right: 6px; }
[dir="rtl"] .nav-right { flex-direction: row-reverse; }
[dir="rtl"] .mob-link:hover { padding-left: 0; padding-right: 8px; }

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s;
  position: relative;
  letter-spacing: 0.01em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--gradient);
  transition: width 0.35s var(--ease-out);
  border-radius: 1px;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gradient) !important;
  color: #000 !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700 !important;
  box-shadow: 0 0 24px var(--neon-glow);
  transition: all 0.3s var(--ease-out) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 0 40px var(--neon-glow) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(3, 7, 18, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 12px 40px 24px;
}
.mobile-menu.open { display: flex; }

.mob-link {
  padding: 16px 0;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  transition: color 0.2s, padding-left 0.2s;
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover { color: var(--neon); padding-left: 8px; }

/* ── HERO ────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 40px 100px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
}

/* Ambient orbs — body level (not inside any section stacking context) */
.hero-bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,255,136,0.09) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 70%);
  bottom: -100px; left: -200px;
  animation: orb-drift 16s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.09) 0%, transparent 70%);
  top: 50%; left: 35%;
  animation: orb-drift 20s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 35px) scale(1.12); }
}

/* Hero content — animate in with CSS, not JS scroll-reveal */
.hero-content {
  flex: 1;
  animation: hero-enter 1s var(--ease-out) both;
}
.hero-visual {
  flex: 0 0 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-enter-right 1s 0.2s var(--ease-out) both;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-enter-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon), 0 0 20px var(--neon-glow);
  position: relative;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--neon);
  animation: ping 2s ease-out infinite;
  opacity: 0;
}
@keyframes ping {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--white);
}

.title-line {
  display: block;
  overflow: hidden;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted-md);
  max-width: 500px;
  margin-bottom: 48px;
  line-height: 1.75;
  font-weight: 300;
}
.hero-sub strong {
  color: var(--neon);
  font-weight: 700;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  vertical-align: super;
}

.stat-lbl {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-md);
  flex-shrink: 0;
}

/* Hero Visual — 3D holographic card */

.hero-3d-scene {
  position: relative;
  width: 340px; height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  animation: scene-float 6s ease-in-out infinite;
}

@keyframes scene-float {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-16px) rotateX(4deg); }
}

.holo-card {
  width: 180px; height: 180px;
  position: relative;
  z-index: 5;
  border-radius: 32px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.holo-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0,255,136,0.12), rgba(0,212,255,0.06), rgba(124,58,237,0.12));
  border: 1px solid rgba(0,255,136,0.3);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(0,255,136,0.2),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(0,255,136,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-icon {
  width: 100px; height: 100px;
  border-radius: 20px;
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 0 20px rgba(0,255,136,0.5));
}

.holo-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 4px,
    rgba(0,255,136,0.03) 4px,
    rgba(0,255,136,0.03) 5px
  );
  pointer-events: none;
}

.holo-scanline {
  position: absolute;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(0,255,136,0.06), transparent);
  animation: scanline 3s linear infinite;
  pointer-events: none;
}
@keyframes scanline {
  0%   { top: -40px; }
  100% { top: calc(100% + 40px); }
}

.holo-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, rgba(0,255,136,0.2), transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 3s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}
@keyframes glow-pulse {
  0%  { opacity: 0.6; transform: scale(0.9); }
  100%{ opacity: 1;   transform: scale(1.1); }
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  pointer-events: none;
}

.ring-a {
  width: 240px; height: 240px;
  border-color: rgba(0,255,136,0.2);
  animation: orbit-spin 12s linear infinite;
  border-style: dashed;
}
.ring-b {
  width: 290px; height: 290px;
  border-color: rgba(0,212,255,0.12);
  animation: orbit-spin 20s linear infinite reverse;
}
.ring-c {
  width: 340px; height: 340px;
  border-color: rgba(124,58,237,0.1);
  animation: orbit-spin 30s linear infinite;
  border-style: dotted;
}

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

/* Orbit dots */
.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  z-index: 10;
}

.dot-1 {
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-dot-1 12s linear infinite;
}
.dot-2 {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  width: 6px; height: 6px;
  animation: orbit-dot-2 20s linear infinite reverse;
}
.dot-3 {
  background: #a78bfa;
  box-shadow: 0 0 12px #a78bfa;
  width: 5px; height: 5px;
  animation: orbit-dot-3 30s linear infinite;
}

@keyframes orbit-dot-1 {
  from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}
@keyframes orbit-dot-2 {
  from { transform: rotate(60deg) translateX(145px) rotate(-60deg); }
  to   { transform: rotate(420deg) translateX(145px) rotate(-420deg); }
}
@keyframes orbit-dot-3 {
  from { transform: rotate(120deg) translateX(170px) rotate(-120deg); }
  to   { transform: rotate(480deg) translateX(170px) rotate(-480deg); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.scroll-hint:hover { color: var(--neon); }

.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid currentColor;
  border-radius: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 2px; height: 6px;
  background: currentColor;
  border-radius: 1px;
  animation: scroll-wheel 1.6s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

.scroll-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── SERVICES ────────────────────────────────────────────────── */
#services {
  padding: var(--section-pad) 0;
}

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

.srv-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(20px);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.1s;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Gradient border on hover via box-shadow */
.srv-card:hover {
  border-color: rgba(0,255,136,0.3);
  box-shadow:
    0 0 0 1px rgba(0,255,136,0.15),
    0 24px 80px rgba(0,0,0,0.4),
    0 0 60px rgba(0,255,136,0.06),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Inner glow that activates on hover */
.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(0,255,136,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  border-radius: inherit;
}
.card-glow--bright {
  background: radial-gradient(ellipse at top left, rgba(0,255,136,0.15) 0%, transparent 60%);
}
.srv-card:hover .card-glow { opacity: 1; }

.srv-index {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--border-md);
  letter-spacing: 0.08em;
}

.srv-icon {
  width: 52px; height: 52px;
  color: var(--neon);
  position: relative;
  z-index: 1;
}
.srv-icon svg { width: 100%; height: 100%; }

.srv-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.srv-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.srv-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0,255,136,0.08);
  color: var(--neon);
  border: 1px solid rgba(0,255,136,0.15);
  padding: 4px 12px;
  border-radius: 50px;
  width: fit-content;
  position: relative;
  z-index: 1;
}

.srv-card--highlight {
  background: linear-gradient(135deg, rgba(0,255,136,0.07), rgba(0,212,255,0.04));
  border-color: rgba(0,255,136,0.25);
}

.srv-card-link {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
  position: relative;
  z-index: 1;
}
.srv-card-link .arrow { transition: transform 0.2s; }
.srv-card-link:hover .arrow { transform: translateX(4px); }

/* ── MG POS ──────────────────────────────────────────────────── */
#pos {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.pos-accent-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,136,0.4), rgba(0,212,255,0.4), transparent);
}

.pos-layout {
  display: flex;
  align-items: center;
  gap: 100px;
}

.pos-text { flex: 1; }

.pos-logo-img {
  height: 60px;
  width: auto;
  margin: 20px 0 28px;
  filter: drop-shadow(0 0 24px var(--neon-glow));
}

.pos-desc {
  font-size: 1.05rem;
  color: var(--muted-md);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 32px;
  font-weight: 300;
}

.pos-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 44px;
}

.pos-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--off-white);
  font-weight: 400;
}

.check-icon {
  color: var(--neon);
  font-size: 0.7rem;
  flex-shrink: 0;
  text-shadow: 0 0 10px var(--neon);
}

/* 3D Floating Screenshots */
.pos-screens {
  flex: 0 0 520px;
}

.screen-3d-wrap {
  position: relative;
  height: 400px;
  perspective: 1200px;
}

.screen {
  position: absolute;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out);
}

.screen-frame {
  border: 1px solid var(--border-md);
  border-radius: inherit;
  overflow: hidden;
  position: relative;
}
.screen-frame img { width: 100%; height: auto; display: block; }

.screen-back {
  width: 86%;
  top: 40px; right: 0;
  transform: rotateY(-8deg) rotateX(4deg) translateZ(-20px) rotate(2deg);
  opacity: 0.7;
  box-shadow: -20px 30px 80px rgba(0,0,0,0.6), 0 0 40px rgba(0,212,255,0.06);
}

.screen-front {
  width: 86%;
  top: 0; left: 0;
  transform: rotateY(4deg) rotateX(2deg) translateZ(10px) rotate(-1deg);
  box-shadow: 20px 40px 100px rgba(0,0,0,0.7), 0 0 60px rgba(0,255,136,0.08);
  z-index: 2;
}

.screen-3d-wrap:hover .screen-front {
  transform: rotateY(0deg) rotateX(0deg) translateZ(20px) rotate(0deg);
  box-shadow: 20px 50px 120px rgba(0,0,0,0.7), 0 0 80px rgba(0,255,136,0.12);
}
.screen-3d-wrap:hover .screen-back {
  transform: rotateY(-4deg) rotateX(2deg) translateZ(-10px) rotate(1deg);
  opacity: 0.8;
}

/* Floating badges on screenshots */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(3, 7, 18, 0.9);
  border: 1px solid var(--border-md);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--off-white);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 5;
  animation: badge-float 4s ease-in-out infinite;
}
.badge-1 { bottom: 20px; right: -20px; animation-delay: 0s; }
.badge-2 { top: 20px; left: -20px; animation-delay: 2s; }

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

/* ── ABOUT ───────────────────────────────────────────────────── */
#about {
  padding: var(--section-pad) 0;
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-md), transparent);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-logo-wrap {
  margin-top: 48px;
  position: relative;
  display: inline-block;
}

.about-logo {
  width: 200px;
  position: relative;
  z-index: 1;
  filter: sepia(1) hue-rotate(98deg) saturate(6) brightness(1.4)
          drop-shadow(0 0 20px rgba(0,255,136,0.3));
}

.about-logo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(0,255,136,0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.about-body {
  font-size: 1rem;
  color: var(--muted-md);
  line-height: 1.85;
  margin-bottom: 24px;
  font-weight: 300;
}
.about-body strong { color: var(--white); font-weight: 700; }

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.18);
  padding: 7px 18px;
  border-radius: 50px;
  transition: all 0.25s;
}
.pill:hover {
  background: rgba(0,255,136,0.12);
  border-color: rgba(0,255,136,0.35);
  transform: translateY(-2px);
}

/* ── CONTACT ─────────────────────────────────────────────────── */
#contact {
  padding: var(--section-pad) 0;
  position: relative;
}
#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-md), transparent);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.contact-card:hover {
  border-color: rgba(0,255,136,0.3);
  transform: translateX(6px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 0 40px rgba(0,255,136,0.06);
}
.contact-card:hover .card-glow { opacity: 1; }

.cc-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}
.cc-icon svg { width: 22px; height: 22px; }
.cc-wa    { background: rgba(37,211,102,0.12); color: #25d366; border: 1px solid rgba(37,211,102,0.2); }
.cc-phone { background: rgba(0,255,136,0.1);  color: var(--neon); border: 1px solid rgba(0,255,136,0.2); }
.cc-email { background: rgba(0,212,255,0.1);  color: var(--cyan); border: 1px solid rgba(0,212,255,0.2); }

.cc-text { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.cc-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.cc-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--off-white);
}

.cc-arrow {
  color: var(--muted);
  font-size: 1rem;
  transition: all 0.2s;
  flex-shrink: 0;
}
.contact-card:hover .cc-arrow {
  color: var(--neon);
  transform: translateX(4px);
}

.social-row {
  display: flex;
  gap: 12px;
  padding-top: 4px;
}

.social-btn {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--muted);
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(10px);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover {
  color: var(--neon);
  border-color: rgba(0,255,136,0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,255,136,0.12);
}

/* Contact Form */
.contact-form {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient);
  opacity: 0.6;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted-md);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-xs);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.25s;
  outline: none;
  width: 100%;
  font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0,255,136,0.08), 0 0 20px rgba(0,255,136,0.06);
  background: rgba(0,255,136,0.03);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: 0.7; }
.form-group select option { background: var(--dark-mid); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  text-align: center;
  min-height: 20px;
  font-weight: 500;
}
.form-note.success { color: var(--neon); text-shadow: 0 0 20px var(--neon-glow); }
.form-note.error   { color: #ff6b6b; }

/* ── FOOTER ──────────────────────────────────────────────────── */
#footer {
  background: rgba(3, 7, 18, 0.6);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.footer-glow {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(0,255,136,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  height: 142px;
  width: auto;
  margin-bottom: 12px;
  filter: sepia(1) hue-rotate(98deg) saturate(6) brightness(1.5)
          drop-shadow(0 0 12px rgba(0,255,136,0.35));
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: var(--neon); padding-left: 6px; }

.footer-social { display: flex; gap: 12px; align-items: center; }

.footer-copy {
  text-align: center;
  padding: 24px 40px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-copy a { color: var(--neon); }
.footer-pos-credit { font-family: var(--font-mono); font-size: 0.68rem; opacity: 0.7; }

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 100px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pos-layout { flex-direction: column; gap: 60px; }
  .pos-screens { flex: none; width: 100%; }
  .screen-3d-wrap { height: 340px; }
  .hero-visual { flex: 0 0 380px; }
  .hero-3d-scene { width: 300px; height: 300px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }
  html { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  #hero {
    flex-direction: column-reverse;
    padding-top: calc(var(--nav-h) + 40px);
    text-align: center;
    gap: 48px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-visual { flex: none; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 20px; }
  .hero-sub { margin: 0 auto 40px; }
  .scroll-hint { display: none; }
  .hero-3d-scene { width: 240px; height: 240px; }
  .hero-eyebrow { justify-content: center; }
  .holo-card { width: 140px; height: 140px; }
  .hero-icon { width: 80px; height: 80px; }
  .ring-a { width: 180px; height: 180px; }
  .ring-b { width: 220px; height: 220px; }
  .ring-c { width: 260px; height: 260px; }

  .services-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { align-items: center; }
  .section-inner { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .footer-inner { padding: 48px 24px 36px; }
  .footer-copy { padding: 20px 24px; }
  .badge-1, .badge-2 { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
  .screen-3d-wrap { height: 240px; }
  .pos-screens { flex: none; width: 100%; }
}

/* ── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
