/* ==========================================================================
   CINEGIC WORLD — CORPORATE DESIGN SYSTEM & STYLESHEET
   World-Class Luxury Tech & Entertainment Conglomerate Theme
   Production-Optimized, iOS-Compatible, Fully Responsive & Accessible
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Core Color Palette */
  --bg-dark: #040508;
  --bg-surface: #0a0d14;
  --bg-card: rgba(13, 17, 27, 0.75);
  --bg-card-hover: rgba(22, 29, 44, 0.85);
  
  /* Regal Gold Palette */
  --gold-100: #fff4d1;
  --gold-200: #fedf89;
  --gold-300: #f7cb55;
  --gold-400: #e2b028;
  --gold-500: #c99313;
  --gold-600: #9e700a;
  --gold-gradient: linear-gradient(135deg, #fff2cc 0%, #f7cb55 35%, #c99313 70%, #875c04 100%);
  --gold-gradient-glow: linear-gradient(135deg, rgba(247, 203, 85, 0.25) 0%, rgba(201, 147, 19, 0.1) 100%);
  --gold-text-gradient: linear-gradient(135deg, #fff6db 0%, #f9d87e 30%, #d89f21 70%, #ffd978 100%);
  
  /* Accent Colors */
  --accent-cyan: #00f0ff;
  --accent-emerald: #10b981;
  --accent-ruby: #f43f5e;
  --accent-violet: #8b5cf6;
  --accent-amber: #f59e0b;

  /* Typography */
  --font-brand: 'Cinzel', serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Lighting & Glass */
  --glass-border: rgba(247, 203, 85, 0.18);
  --glass-border-bright: rgba(247, 203, 85, 0.45);
  --glass-surface: rgba(18, 22, 34, 0.65);
  --glass-glow: 0 0 50px -10px rgba(201, 147, 19, 0.3);
  
  /* Text */
  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Transitions */
  --transition-smooth: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease, color 0.25s ease;
  --transition-bounce: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;

  /* Container */
  --max-width: 1320px;
}

/* ==========================================================================
   BASE RESET & ACCESSIBILITY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, picture, video {
  max-width: 100%;
  display: block;
}

button, input, textarea, select {
  font: inherit;
}

/* Focus Visible for Keyboard Accessibility */
:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 147, 19, 0.35);
  border-radius: 9999px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-400);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 147, 19, 0.4) var(--bg-dark);
}

/* ==========================================================================
   AMBIENT LIGHTING & DUST CANVAS
   ========================================================================== */
.ambient-lighting {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  opacity: 0.22;
  transition: transform 1.2s ease;
  will-change: transform;
}

.orb-gold-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #c99313 0%, rgba(201, 147, 19, 0) 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
}

.orb-gold-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #875c04 0%, rgba(135, 92, 4, 0) 70%);
  bottom: 20%;
  right: -100px;
}

.orb-cyan {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #00f0ff 0%, rgba(0, 240, 255, 0) 70%);
  top: 40%;
  left: -150px;
  opacity: 0.08;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
}

/* Universal Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITY HELPERS
   ========================================================================== */
.gold-text {
  color: var(--gold-300); /* Fallback for browsers without background-clip: text support */
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.brand-font {
  font-family: var(--font-brand);
  letter-spacing: 0.05em;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  background: rgba(247, 203, 85, 0.08);
  border: 1px solid var(--glass-border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.section-badge i, .section-badge svg {
  color: var(--gold-400);
}

.section-heading-wrapper {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(5, 6, 9, 0.85);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(247, 203, 85, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  cursor: pointer;
}

.nav-brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-400);
  box-shadow: 0 0 18px rgba(201, 147, 19, 0.4);
  transition: var(--transition-bounce);
}

.nav-brand:hover .nav-brand-logo {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 0 25px rgba(247, 203, 85, 0.7);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-300); /* Fallback */
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.nav-brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
  padding: 0.35rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.65rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.3s ease, color 0.25s ease;
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0c0903;
  box-shadow: 0 4px 20px rgba(201, 147, 19, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(247, 203, 85, 0.6);
  color: #000;
}

.btn-outline-gold {
  background: rgba(247, 203, 85, 0.05);
  color: var(--gold-200);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-outline-gold:hover {
  background: rgba(247, 203, 85, 0.15);
  border-color: var(--gold-300);
  color: #fff;
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.65rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 8px;
  transition: color 0.25s ease;
}

.mobile-toggle:hover {
  color: var(--gold-300);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 1050px;
  margin: 0 auto;
}

.hero-super-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(201, 147, 19, 0.15), rgba(247, 203, 85, 0.05));
  border: 1px solid var(--glass-border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-200);
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  box-shadow: 0 0 25px rgba(201, 147, 19, 0.15);
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 15px rgba(201, 147, 19, 0.1); border-color: rgba(247, 203, 85, 0.18); }
  100% { box-shadow: 0 0 35px rgba(247, 203, 85, 0.4); border-color: rgba(247, 203, 85, 0.5); }
}

.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(2.5rem, 5.5vw, 4.85rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title .tagline-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  margin-top: 0.85rem;
  text-transform: uppercase;
}

.hero-description {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Hero Showcase Frame */
.hero-showcase-container {
  position: relative;
  max-width: 1150px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(247, 203, 85, 0.35) 0%, rgba(20, 26, 40, 0.6) 50%, rgba(201, 147, 19, 0.2) 100%);
  box-shadow: 0 30px 100px -20px rgba(0, 0, 0, 0.9), 0 0 60px rgba(201, 147, 19, 0.25);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.hero-showcase-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.95), 0 0 90px rgba(247, 203, 85, 0.45);
}

.showcase-inner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #020305;
}

.hero-banner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-showcase-container:hover .hero-banner-image {
  transform: scale(1.02);
}

.showcase-overlay-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.6rem 1.25rem;
  background: rgba(5, 6, 9, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-300);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: live-blink 1.8s infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Hero Metrics Bar */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 4.5rem auto 0 auto;
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.metric-item {
  text-align: center;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(247, 203, 85, 0.2), transparent);
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.95rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  color: var(--gold-300); /* Fallback */
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   APP ECOSYSTEM & PORTFOLIO
   ========================================================================== */
.ecosystem-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
}

.category-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-btn {
  padding: 0.65rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.filter-btn:hover {
  color: var(--text-white);
  border-color: rgba(247, 203, 85, 0.3);
  background: rgba(247, 203, 85, 0.06);
}

.filter-btn.active {
  background: var(--gold-gradient);
  color: #0c0903;
  border-color: var(--gold-400);
  box-shadow: 0 4px 20px rgba(201, 147, 19, 0.35);
  font-weight: 700;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.app-card {
  position: relative;
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.app-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(247, 203, 85, 0.45);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), var(--glass-glow);
}

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

.app-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.app-icon-badge {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-bounce);
}

.app-card:hover .app-icon-badge {
  transform: scale(1.1) rotate(4deg);
}

/* Specific App Icon Badges */
.badge-entertainment {
  background: linear-gradient(135deg, #1e112a, #4a1d68);
  color: #f7cb55;
  border-color: rgba(247, 203, 85, 0.3);
}

.badge-umpire {
  background: linear-gradient(135deg, #062b1a, #0b5e38);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.4);
}

.badge-auction {
  background: linear-gradient(135deg, #3d0c1e, #7a1435);
  color: #f9d87e;
  border-color: rgba(249, 216, 126, 0.4);
}

.badge-gaming {
  background: linear-gradient(135deg, #0e1e40, #1e3a8a);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
}

.badge-sports {
  background: linear-gradient(135deg, #2b1803, #6b3e05);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.4);
}

.badge-community {
  background: linear-gradient(135deg, #231238, #581c87);
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.4);
}

.app-status-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-status-tag.featured {
  background: rgba(247, 203, 85, 0.12);
  border-color: rgba(247, 203, 85, 0.3);
  color: var(--gold-300);
}

.app-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--text-white);
}

.app-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}

.app-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.app-feature-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.app-feature-list li {
  font-size: 0.825rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-feature-list li svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.app-store-icons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.app-store-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.app-store-icons span:hover {
  color: var(--gold-300);
  border-color: var(--gold-400);
  background: rgba(247, 203, 85, 0.1);
}

.btn-app-preview {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(247, 203, 85, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--gold-200);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-app-preview:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: var(--gold-400);
}

/* ==========================================================================
   THE CINEGIC ENGINE & TECHNOLOGY ARCHITECTURE
   ========================================================================== */
.engine-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 13, 20, 0.8) 50%, transparent 100%);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tech-box {
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.tech-box:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 203, 85, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 147, 19, 0.15);
}

.tech-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(247, 203, 85, 0.1);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.tech-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.tech-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   GLOBAL NETWORK & METRICS MAP
   ========================================================================== */
.global-section {
  padding: 7rem 0;
  position: relative;
  z-index: 2;
}

.global-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 4rem 3rem;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.global-content h3 {
  font-family: var(--font-brand);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.global-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.infrastructure-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.spec-item {
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-val {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 0.25rem;
}

.spec-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.globe-graphic-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-img-large {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-400);
  box-shadow: 0 0 60px rgba(201, 147, 19, 0.4);
  animation: float-slow 6s ease-in-out infinite;
}

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

/* ==========================================================================
   ABOUT & LEADERSHIP SECTION
   ========================================================================== */
.about-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-brand);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.vision-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.pillar-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.pillar-item:hover {
  transform: translateX(8px);
  border-color: rgba(247, 203, 85, 0.4);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(247, 203, 85, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.pillar-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-white);
}

.pillar-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.about-banner-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.about-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   PARTNERSHIP & CONTACT STUDIO
   ========================================================================== */
.contact-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
}

.contact-card {
  max-width: 950px;
  margin: 0 auto;
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 4rem 3.5rem;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
  position: relative;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--gold-gradient);
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h3 {
  font-family: var(--font-brand);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem; /* 16px to prevent iOS Safari auto-zoom */
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(247, 203, 85, 0.04);
  box-shadow: 0 0 20px rgba(201, 147, 19, 0.2);
}

.form-control:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 1px;
}

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

.form-submit-btn {
  width: 100%;
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

.alert-gold {
  background: rgba(201, 147, 19, 0.15);
  border: 1px solid var(--gold-400);
  border-radius: 12px;
  padding: 1.25rem;
  color: var(--gold-200);
  text-align: center;
  font-weight: 600;
  margin-top: 1.5rem;
  display: none;
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  background: #020305;
  border-top: 1px solid rgba(247, 203, 85, 0.15);
  padding: 6rem 0 2.5rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1.25rem 0 1.5rem 0;
  max-width: 340px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: transform 0.3s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.social-link:hover {
  color: var(--gold-300);
  border-color: var(--gold-400);
  background: rgba(247, 203, 85, 0.1);
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--gold-300);
  transform: translateX(4px);
}

.newsletter-box p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem; /* 16px to prevent iOS auto-zoom */
  transition: border-color 0.25s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--gold-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

/* ==========================================================================
   MODAL (INTERACTIVE APP PREVIEW)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #0a0d14;
  border: 1px solid var(--gold-400);
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(201, 147, 19, 0.3);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-window {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  z-index: 5;
}

.modal-close-btn:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: var(--gold-400);
}

.modal-header-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.modal-features-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-300);
  margin-bottom: 0.75rem;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-rating {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-300);
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */

/* Laptops and Small Desktops */
@media (max-width: 1080px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .global-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .global-content {
    margin: 0 auto;
  }
  .infrastructure-specs {
    max-width: 500px;
    margin: 0 auto;
  }
  .globe-graphic-wrapper {
    order: -1;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablets and Large Phones */
@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .nav-actions .btn-luxury {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: rgba(5, 6, 9, 0.98);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    padding: 2rem;
    border-bottom: 1px solid var(--gold-400);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
    gap: 1.25rem;
    align-items: flex-start;
    z-index: 101;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.75rem 1.5rem;
  }

  .metric-item:nth-child(2)::after {
    display: none;
  }

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

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

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .newsletter-input, .form-control {
    font-size: 16px !important; /* Explicit 16px to guarantee zero iOS zooming */
  }
}

/* Standard and Compact Mobile Phones (< 580px) */
@media (max-width: 580px) {
  .hero-section {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
  }

  .hero-super-badge {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding: 0.4rem 0.9rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-cta-group .btn-luxury {
    width: 100%;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
    margin-top: 3rem;
  }

  .metric-item:not(:last-child)::after {
    display: none;
  }

  .metric-item:not(:last-child) {
    border-bottom: 1px solid rgba(247, 203, 85, 0.15);
    padding-bottom: 1rem;
  }

  .metric-number {
    font-size: 1.5rem;
  }

  .app-card {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }

  .app-card-header {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .contact-card {
    padding: 2.25rem 1.25rem;
    border-radius: 20px;
  }

  .contact-header {
    margin-bottom: 2rem;
  }

  .global-card {
    padding: 2.25rem 1.25rem;
    border-radius: 20px;
  }

  .infrastructure-specs {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .modal-window {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }

  .modal-header-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .globe-img-large {
    width: 220px;
    height: 220px;
  }

  /* Optimize ambient glow on mobile for battery and GPU performance */
  .ambient-orb {
    filter: blur(80px);
    -webkit-filter: blur(80px);
    opacity: 0.15;
  }
  .orb-gold-1 { width: 350px; height: 350px; }
  .orb-gold-2 { width: 300px; height: 300px; }
  .orb-cyan { width: 250px; height: 250px; }
}

/* Ultra-compact Mobile Screens (< 380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .app-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .btn-app-preview {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   ACCESSIBILITY: 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;
  }
  .ambient-orb, #particle-canvas {
    display: none !important;
  }
  .globe-img-large, .hero-super-badge, .pulse-dot {
    animation: none !important;
  }
}
