/* Import premium fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Reset & Variables */
:root {
  /* Color Palette - HSL based for modern aesthetics */
  --bg-base: hsl(224, 25%, 5%);
  --bg-surface: hsla(224, 20%, 9%, 0.7);
  --bg-surface-solid: hsl(224, 20%, 9%);
  --bg-surface-hover: hsl(224, 20%, 14%);
  
  --primary: hsl(210, 100%, 50%); /* Cyber Blue */
  --primary-glow: hsla(210, 100%, 50%, 0.35);
  --secondary: hsl(280, 100%, 55%); /* Electric Purple */
  --secondary-glow: hsla(280, 100%, 55%, 0.35);
  
  --text-primary: hsl(0, 0%, 100%);
  --text-secondary: hsl(215, 20%, 65%);
  --text-muted: hsl(215, 12%, 45%);
  
  --border: hsla(220, 20%, 20%, 0.4);
  --border-focus: hsla(210, 100%, 50%, 0.5);
  --glass-border: hsla(0, 0%, 100%, 0.06);
  
  --font-title: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --max-width: 1200px;
}

/* Light Mode variables override */
[data-theme="light"] {
  color-scheme: light;
  --bg-base: hsl(220, 20%, 97%);
  --bg-surface: hsla(220, 20%, 100%, 0.75);
  --bg-surface-solid: hsl(0, 0%, 100%);
  --bg-surface-hover: hsl(220, 15%, 93%);
  
  --primary: hsl(210, 100%, 45%);
  --primary-glow: hsla(210, 100%, 45%, 0.15);
  --secondary: hsl(280, 100%, 50%);
  --secondary-glow: hsla(280, 100%, 50%, 0.15);
  
  --text-primary: hsl(224, 25%, 12%);
  --text-secondary: hsl(220, 15%, 38%);
  --text-muted: hsl(220, 10%, 55%);
  
  --border: hsla(220, 15%, 85%, 0.8);
  --border-focus: hsla(210, 100%, 45%, 0.4);
  --glass-border: rgba(0, 0, 0, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: hsl(220, 20%, 15%);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* General Layout & Typography Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism utility */
.glass {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(210, 100%, 40%) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px hsla(210, 100%, 50%, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-secondary);
}

.btn-secondary:hover {
  background: hsla(0, 0%, 100%, 0.05);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: hsla(224, 25%, 4%, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

/* Scrolled navigation header text color adjustments (adaptive using CSS variables) */
.header.scrolled .logo {
  color: var(--text-primary);
}
.header.scrolled .nav-link {
  color: var(--text-secondary);
}
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active {
  color: var(--text-primary);
}
.header.scrolled .menu-toggle {
  color: var(--text-primary);
}
.header.scrolled .theme-toggle {
  color: var(--text-primary);
  border-color: var(--border);
  background: var(--bg-surface);
}
.header.scrolled .theme-toggle:hover {
  background: var(--bg-surface-hover);
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Mobile menu open state adjustments */
.header.menu-open {
  background: var(--bg-surface-solid) !important;
  border-bottom: 1px solid var(--border) !important;
}
.header.menu-open .logo,
.header.menu-open .menu-toggle,
.header.menu-open .theme-toggle {
  color: var(--text-primary) !important;
}
.header.menu-open .theme-toggle {
  border-color: var(--border) !important;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 0 15px var(--primary-glow);
  color: #fff;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(to bottom, 
    rgba(7, 9, 14, 0.7) 0%, 
    rgba(7, 9, 14, 0.4) 30%, 
    rgba(7, 9, 14, 0.6) 70%, 
    var(--bg-base) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: hsla(210, 100%, 50%, 0.1);
  border: 1px solid hsla(210, 100%, 50%, 0.2);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Product Section */
.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.product-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image-container::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.product-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0px 10px 30px rgba(0, 112, 243, 0.2));
  transition: var(--transition-slow);
}

.product-img:hover {
  transform: translateY(-10px) scale(1.02);
  filter: drop-shadow(0px 15px 40px rgba(0, 112, 243, 0.35));
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-tag {
  font-family: var(--font-title);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.product-name {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.product-model {
  font-size: 1.25rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: var(--font-title);
}

.product-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Specs Panel Grid - Supporting 8 Parameters */
.specs-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.spec-card {
  padding: 1.2rem 1rem;
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.spec-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.spec-value {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
  display: block;
}

.spec-label {
  font-size: 0.825rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Application Scenarios Section */
.scenarios-section {
  margin-top: 6rem;
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.scenario-card {
  padding: 3rem 2rem;
  position: relative;
  transition: var(--transition-normal);
  cursor: pointer;
  overflow: hidden;
}

.scenario-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition-fast);
}

.scenario-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

.scenario-card:hover::before {
  opacity: 1;
}

.scenario-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition-fast);
}

.scenario-card:hover .scenario-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

.scenario-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.scenario-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* About Section & Mission/Vision Cards */
.about-box {
  padding: 4rem;
  margin-bottom: 4rem;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.highlight-item {
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
}

.highlight-num {
  font-family: var(--font-title);
  font-size: 1.85rem;
  font-weight: 800;
  display: block;
}

.highlight-lbl {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Mission & Vision layout */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.mv-card {
  padding: 3.5rem 2.5rem;
  position: relative;
  transition: var(--transition-normal);
  border: 1px solid var(--glass-border);
}

.mv-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.mv-badge {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  background: hsla(280, 100%, 55%, 0.1);
  border: 1px solid hsla(280, 100%, 55%, 0.2);
  border-radius: 50px;
  color: var(--secondary);
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.mv-card:nth-child(2) .mv-badge {
  background: hsla(210, 100%, 50%, 0.1);
  border: 1px solid hsla(210, 100%, 50%, 0.2);
  color: var(--primary);
}

.mv-title {
  font-family: var(--font-title);
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.mv-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

#news {
  background: hsla(224, 25%, 3%, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.news-card {
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-focus);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.news-media {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #000;
  overflow: hidden;
}

.news-media img, .news-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-media img {
  transform: scale(1.08);
}

/* Play button overlay */
.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 9, 14, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition-fast);
}

.play-overlay:hover {
  background: rgba(7, 9, 14, 0.5);
}

.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--primary-glow);
  color: #fff;
  transition: var(--transition-fast);
}

.play-overlay:hover .play-btn {
  transform: scale(1.1);
  background: var(--secondary);
  box-shadow: 0 0 25px var(--secondary-glow);
}

.news-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.news-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-card-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Video Playback Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  background: rgba(7, 9, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-container {
  width: 90%;
  max-width: 900px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.video-modal-video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  background: #000;
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.video-modal-close:hover {
  color: var(--primary);
}

/* Partners Section */
.partners-section {
  text-align: center;
}

.partners-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.partner-logo {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 1.5rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.partner-logo:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
  border-color: var(--glass-border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.contact-info-panel {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-header h3 {
  font-family: var(--font-title);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.contact-header p {
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: hsla(210, 100%, 50%, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  border: 1px solid hsla(210, 100%, 50%, 0.15);
}

.contact-text h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.qr-panel {
  padding: 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.qr-img-wrapper {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.qr-img {
  width: 180px;
  height: 180px;
  display: block;
}

.qr-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Footer Section */
.footer {
  background: var(--bg-surface-solid);
  border-top: 1px solid var(--border);
  padding: 5rem 0 3rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1.25rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links h5 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .product-image-container {
    order: -1;
  }
  
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-surface-solid);
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .btn-purchase {
    display: none;
  }
  
  .scenarios-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info-panel, .qr-panel {
    padding: 2.5rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .video-modal-close {
    top: -40px;
  }
}

/* Theme Toggle Button Style */
.theme-toggle {
  background: hsla(0, 0%, 100%, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-right: 1.5rem;
  flex-shrink: 0;
  outline: none;
}

.theme-toggle:hover {
  background: hsla(0, 0%, 100%, 0.1);
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.theme-toggle .sun-icon {
  display: block;
}
.theme-toggle .moon-icon {
  display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
  display: none;
}
[data-theme="light"] .theme-toggle .moon-icon {
  display: block;
}



/* Force Hero section contents to remain dark-theme style for high contrast over dark video */
.hero .hero-title {
  color: #fff !important;
}
.hero .hero-description {
  color: hsl(215, 20%, 75%) !important;
}
.hero .btn-secondary {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}
.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #fff !important;
}

/* Light Mode Overrides for Specific Sections */
[data-theme="light"] .header.scrolled {
  background: hsla(220, 20%, 97%, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
[data-theme="light"] #news {
  background: hsl(0, 0%, 98%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .news-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .news-card:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .news-date {
  color: hsl(220, 12%, 48%);
}
[data-theme="light"] .news-card-desc {
  color: hsl(220, 15%, 32%);
}
[data-theme="light"] .mv-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .mv-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .mv-desc {
  color: hsl(220, 15%, 32%);
}
[data-theme="light"] .footer {
  background: hsl(220, 15%, 90%);
}
[data-theme="light"] .spec-value {
  color: var(--text-primary);
}
[data-theme="light"] .spec-card {
  background: hsl(0, 0%, 100%);
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .spec-card:hover {
  background: hsl(220, 15%, 94%);
  border-color: var(--primary);
}
[data-theme="light"] .section-title {
  background: linear-gradient(135deg, var(--text-primary) 30%, hsl(220, 15%, 40%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .partner-logo {
  background: hsl(0, 0%, 100%);
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
[data-theme="light"] .partner-logo:hover {
  background: var(--bg-surface-hover);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Adjust header mobile menu background in light mode */
@media (max-width: 768px) {
  [data-theme="light"] .nav-menu {
    background: hsl(220, 20%, 97%);
  }
  [data-theme="light"] .nav-menu .nav-link {
    color: var(--text-secondary);
  }
  [data-theme="light"] .nav-menu .nav-link:hover,
  [data-theme="light"] .nav-menu .nav-link.active {
    color: var(--text-primary);
  }
}
