/* ==========================================================================
   GBG Connect Company Website Stylesheet
   Core Theme: Tech Dark Mode, Glassmorphism, Neon Accents, Fluid Layouts
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  /* Colors */
  --bg-primary: #06090e;
  --bg-secondary: #0d1117;
  --bg-tertiary: #161b22;
  
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted: #484f58;
  
  --accent-cyan: #00f2fe;
  --accent-indigo: #4facfe;
  --accent-emerald: #10b981;
  --accent-neon-glow: rgba(0, 242, 254, 0.25);
  
  --gradient-tech: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-cyan) 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  
  /* Glassmorphism settings */
  --glass-bg: rgba(22, 27, 34, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Font Families */
  --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: var(--bg-primary);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

/* --- Layout Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 8rem 0;
}

.gradient-text {
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-text {
  color: var(--accent-cyan);
}

/* --- Components & Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-tech);
  color: #000000;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
  color: #000000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 242, 254, 0.05);
}

/* Section Header styling */
.section-header {
  margin-bottom: 5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  background: rgba(0, 242, 254, 0.05);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* --- Header & Navigation --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 9, 14, 0.7);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: padding var(--transition-normal), background var(--transition-normal);
  padding: 1.25rem 0;
}

.main-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(6, 9, 14, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.logo-text {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.nav-link:hover, 
.nav-link.active {
  color: var(--accent-cyan);
}

.lang-switch-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-fast);
}

.lang-switch-link:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
}

.nav-btn {
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.nav-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
  background: var(--bg-primary);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 50%, rgba(0, 242, 254, 0.03) 0%, transparent 60%),
              linear-gradient(to bottom, transparent 70%, var(--bg-primary) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 2.5px;
  margin-bottom: 1.5rem;
  border-left: 2px solid var(--accent-cyan);
  padding-left: 10px;
}

.hero-title {
  font-size: 3.75rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.hero-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 1rem;
}

.hero-card-img {
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: #ffffff;
}

.card-tag {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: rgba(6, 9, 14, 0.8);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- Core Expertise Section --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  padding: 3rem 2.25rem;
}

.pillar-icon-wrapper {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.15);
  margin-bottom: 2rem;
}

.pillar-icon {
  width: 32px;
  height: 32px;
  filter: invert(79%) sepia(85%) saturate(3065%) hue-rotate(130deg) brightness(101%) contrast(101%);
}

.pillar-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pillar-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Innovation Journey Timeline --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0.5rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-indigo) 0%, var(--accent-cyan) 60%, transparent 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 1.5rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  transform: translateX(-50%);
  z-index: 2;
  transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 18px var(--accent-cyan);
  transform: translateX(-50%) scale(1.2);
}

.timeline-content {
  padding: 2.25rem;
}

.timeline-date {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Strategic Hubs Section --- */
.hubs-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.hubs-tabs {
  background: rgba(13, 17, 23, 0.4);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
}

.hub-tab {
  width: 100%;
  text-align: left;
  padding: 2rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.hub-tab:last-child {
  border-bottom: none;
}

.hub-tab::after {
  content: '';
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: all var(--transition-fast);
}

.hub-tab.active {
  background: rgba(22, 27, 34, 0.8);
}

.hub-tab.active::after {
  background: var(--accent-cyan);
  box-shadow: -2px 0 10px var(--accent-cyan);
}

.hub-city {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  transition: color var(--transition-fast);
}

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

.hub-tab.active .hub-city {
  color: #ffffff;
}

.hub-tab.active .hub-role {
  color: var(--accent-cyan);
}

.hub-detail-pane {
  padding: 4rem;
  background: rgba(22, 27, 34, 0.3);
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hub-content {
  display: none;
  width: 100%;
  animation: tabFadeIn var(--transition-normal) forwards;
}

.hub-content.active {
  display: block;
}

.hub-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hub-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hub-features {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hub-features li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  padding-left: 1.5rem;
}

.hub-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.hub-features li strong {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
}

.hub-features li span {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- Product Spotlight Section --- */
.spotlight-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.spotlight-visual {
  padding: 1.5rem;
  position: relative;
}

.spotlight-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: rgba(6, 9, 14, 0.4);
  padding: 0.35rem;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
}

.spotlight-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.spotlight-tab.active {
  background: var(--bg-tertiary);
  color: var(--accent-cyan);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.spotlight-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff; /* White background to match the annotated diagram templates */
}

.spotlight-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.spotlight-img.active {
  opacity: 1;
  z-index: 2;
}

.spotlight-info-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.spotlight-info-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

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

.spec-item {
  border-left: 2px solid rgba(0, 242, 254, 0.3);
  padding-left: 1.25rem;
}

.spec-title {
  display: block;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.spec-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Manufacturing Stats Section --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  padding: 3rem 2rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Trusted Partners Section --- */
.partners-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.partners-track {
  display: flex;
  gap: 6rem;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.partner-logo {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: -1px;
  transition: all var(--transition-fast);
}

.partner-logo:hover {
  color: var(--accent-cyan);
  opacity: 1;
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* --- Contact & Inquiry Section --- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.90fr 1.1fr;
  overflow: hidden;
  border-radius: 20px;
}

.contact-info-panel {
  padding: 4rem;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.05) 0%, rgba(0, 242, 254, 0.05) 100%);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-badge {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.contact-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.contact-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-label {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
}

.detail-val {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-form-panel {
  padding: 4rem;
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity var(--transition-normal);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(6, 9, 14, 0.4);
  border: 1px solid var(--glass-border);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #ffffff;
  outline: none;
  transition: all var(--transition-fast);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-secondary);
  color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
  background: rgba(6, 9, 14, 0.6);
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
}

/* Form Success State Screen */
.form-success-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 4rem;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-radius: 0 20px 20px 0;
  animation: tabFadeIn var(--transition-normal) forwards;
}

.form-success-message.active {
  display: flex;
}

.success-icon {
  color: var(--accent-emerald);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.form-success-message h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.form-success-message p {
  color: var(--text-secondary);
  max-width: 360px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* --- Footer --- */
.main-footer {
  background: #04060a;
  border-top: 1px solid var(--glass-border);
  padding: 6rem 0 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .logo-img {
  height: 28px;
  width: 28px;
}

.footer-brand .logo-text {
  font-size: 1.15rem;
}

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

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
}

.footer-links-column h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.footer-links-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.footer-links-column a:hover {
  color: var(--accent-cyan);
}

/* --- Animation Utilities & States --- */

/* Scroll Trigger reveals */
.reveal-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  animation: pageLoadFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-fade:nth-child(1) { animation-delay: 0.1s; }
.reveal-fade:nth-child(2) { animation-delay: 0.25s; }
.reveal-fade:nth-child(3) { animation-delay: 0.4s; }
.reveal-fade:nth-child(4) { animation-delay: 0.55s; }

/* CSS Keyframes */
@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageLoadFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Spotlight Video Showcase --- */
.demo-videos-showcase {
  margin-top: 5rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 5rem;
}

.showcase-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.showcase-subtitle {
  color: var(--text-secondary);
  margin-bottom: 4rem;
  font-size: 1.1rem;
}

.video-player-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}

.video-playlist {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(22, 27, 34, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: all var(--transition-fast);
}

.playlist-item:hover,
.playlist-item.active {
  background: rgba(22, 27, 34, 0.8);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.05);
}

.playlist-num {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.playlist-item.active .playlist-num {
  color: var(--accent-cyan);
}

.playlist-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.playlist-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.playlist-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.video-display {
  padding: 0.75rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  background: #000000;
  border: 1px solid var(--glass-border);
}

#spotlightVideo {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.15s ease;
}

/* --- Media Queries (Responsiveness) --- */

@media (max-width: 1024px) {
  .section-padding {
    padding: 6rem 0;
  }
  
  .hero-content {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .pillars-grid {
    gap: 1.5rem;
  }
  
  .hubs-layout {
    grid-template-columns: 1fr;
  }
  
  .hubs-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }
  
  .hub-tab {
    flex: 1;
    min-width: 180px;
    padding: 1.5rem;
    align-items: center;
    text-align: center;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
  }
  
  .hub-tab::after {
    top: auto;
    right: 0;
    bottom: -1px;
    left: 0;
    width: auto;
    height: 3px;
  }
  
  .hub-tab.active::after {
    box-shadow: 0 -2px 10px var(--accent-cyan);
  }
  
  .hub-detail-pane {
    padding: 3rem;
    min-height: auto;
  }
  
  .spotlight-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-info-panel {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 3rem;
  }
  
  .contact-form-panel {
    padding: 3rem;
  }
  
  .video-player-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .video-display {
    order: -1;
  }
}

@media (max-width: 768px) {
  .main-header {
    padding: 1rem 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(6, 9, 14, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-left: 1px solid var(--glass-border);
    padding: 6rem 2rem 2rem;
    transition: right var(--transition-normal);
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .nav-link {
    font-size: 1.15rem;
  }
  
  .nav-btn {
    width: 100%;
    margin-top: 1.5rem;
  }
  
  /* Menu Open State Hamburger */
  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-description {
    margin: 0 auto 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    padding-left: 1.5rem;
  }
  
  .timeline-dot {
    left: -1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-copyright {
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .hubs-tabs {
    flex-direction: column;
    overflow-x: visible;
  }
  
  .hub-tab {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }
  
  .hub-tab::after {
    top: 0;
    right: -1px;
    bottom: 0;
    left: auto;
    width: 3px;
    height: auto;
  }
  
  .hub-tab.active::after {
    box-shadow: -2px 0 10px var(--accent-cyan);
  }
  
  .hub-detail-pane {
    padding: 1.5rem;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info-panel,
  .contact-form-panel {
    padding: 1.5rem;
  }
}
