/* ===== NantQ Global Styles ===== */
:root {
  --red: #CC2229;
  --red-dark: #A01B21;
  --red-light: #E8353D;
  --dark: #0B0E14;
  --dark-2: #121620;
  --dark-3: #1A1F2E;
  --dark-4: #242A3B;
  --white: #FFFFFF;
  --gray-100: #F0F1F5;
  --gray-200: #D8DAE2;
  --gray-300: #B0B4C0;
  --gray-400: #7A7F90;
  --gold: #C9A84C;
  --blue-accent: #3A8DFF;
  --font-heading: 'Inter', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --max-width: 1280px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--gray-200);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(204, 34, 41, 0.15);
  padding: 0.6rem 0;
}

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

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

.nav-logo img {
  height: 56px;
  width: auto;
}

.nav-logo span {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-logo .nant { color: var(--white); }
.nav-logo .q { color: var(--red); }

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}

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

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.5rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--red-light) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(204, 34, 41, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(58, 141, 255, 0.06) 0%, transparent 50%),
              linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204, 34, 41, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 34, 41, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(204, 34, 41, 0.1);
  border: 1px solid rgba(204, 34, 41, 0.25);
  border-radius: 100px;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  color: var(--red-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--red), var(--red-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-300);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

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

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

/* Hero Orb Visual */
.hero-orb {
  position: relative;
  width: 380px;
  height: 380px;
  margin: 0 auto;
}

.orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(204, 34, 41, 0.15) 0%, rgba(204, 34, 41, 0.03) 70%, transparent 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.orb-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(204, 34, 41, 0.4));
}

.orb-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(204, 34, 41, 0.12);
  border-radius: 50%;
}

.orb-ring-1 {
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  border-color: rgba(204, 34, 41, 0.18);
  animation: spin-slow 20s linear infinite;
}

.orb-ring-1::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--red), 0 0 40px rgba(204, 34, 41, 0.3);
}

.orb-ring-2 {
  width: 290px;
  height: 290px;
  margin: -145px 0 0 -145px;
  animation: spin-reverse 28s linear infinite;
  border-style: dashed;
  border-color: rgba(204, 34, 41, 0.08);
}

.orb-ring-2::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 30%;
  width: 6px;
  height: 6px;
  background: var(--red-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red-light);
}

.orb-ring-3 {
  width: 370px;
  height: 370px;
  margin: -185px 0 0 -185px;
  animation: spin-slow 35s linear infinite;
  border-color: rgba(204, 34, 41, 0.06);
}

.orb-ring-3::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -4px;
  width: 8px;
  height: 8px;
  background: var(--blue-accent);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--blue-accent);
}

@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }

.orb-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
}

.orb-p1 { top: 15%; left: 20%; animation: float-1 6s ease-in-out infinite; }
.orb-p2 { top: 75%; right: 15%; animation: float-2 8s ease-in-out infinite; }
.orb-p3 { bottom: 20%; left: 10%; animation: float-1 7s ease-in-out infinite 1s; background: var(--blue-accent); box-shadow: 0 0 8px var(--blue-accent); }
.orb-p4 { top: 10%; right: 25%; animation: float-2 5s ease-in-out infinite 0.5s; width: 3px; height: 3px; }

@keyframes float-1 {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
  50% { transform: translateY(-12px) translateX(8px); opacity: 1; }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.5; }
  50% { transform: translateY(10px) translateX(-6px); opacity: 1; }
}

/* Hero Floating Stat Cards */
.hero-floating-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-card {
  position: absolute;
  background: rgba(18, 22, 32, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--dark-4);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  pointer-events: auto;
  animation: float-card 6s ease-in-out infinite;
}

.hero-card-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.15rem;
}

.hero-card strong {
  font-size: 1rem;
  color: var(--white);
  font-weight: 800;
}

.hero-card-1 { top: 8%; right: 0; animation-delay: 0s; }
.hero-card-2 { bottom: 15%; left: -10px; animation-delay: 2s; }
.hero-card-3 { bottom: 5%; right: 5%; animation-delay: 4s; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(204, 34, 41, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--dark-4);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red-light);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.85rem; }

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--dark-3);
  border-bottom: 1px solid var(--dark-3);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== Section Shared ===== */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 640px;
  margin: 0 auto;
}

/* ===== Product Cards ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  border-color: rgba(204, 34, 41, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.product-icon {
  width: 56px;
  height: 56px;
  background: rgba(204, 34, 41, 0.08);
  border: 1px solid rgba(204, 34, 41, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.product-card .series {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.product-card .learn-more {
  font-size: 0.85rem;
  color: var(--red-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.product-card .learn-more:hover { gap: 0.6rem; }

/* ===== Applications Section ===== */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.app-card {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  border: 1px solid var(--dark-4);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 34, 41, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.app-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(204, 34, 41, 0.06);
  border: 1px solid rgba(204, 34, 41, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.app-card:hover .app-icon {
  background: rgba(204, 34, 41, 0.12);
  border-color: rgba(204, 34, 41, 0.3);
  transform: scale(1.05);
}

.app-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.app-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* ===== Technology Section ===== */
.tech-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-features { display: flex; flex-direction: column; gap: 1.5rem; }

.tech-feature {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: 12px;
  transition: var(--transition);
}

.tech-feature:hover {
  border-color: rgba(204, 34, 41, 0.2);
}

.tech-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(204, 34, 41, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.tech-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.tech-feature p {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.tech-image {
  position: relative;
}

.tech-image img {
  border-radius: 16px;
  border: 1px solid var(--dark-3);
}

/* ===== Ecosystem / Partners Section ===== */
.ecosystem-section {
  background: var(--dark-2);
  border-top: 1px solid var(--dark-3);
  border-bottom: 1px solid var(--dark-3);
}

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

.eco-card {
  background: var(--dark);
  border: 1px solid var(--dark-3);
  border-radius: 14px;
  padding: 2rem;
  transition: var(--transition);
}

.eco-card:hover {
  border-color: rgba(204, 34, 41, 0.2);
  transform: translateY(-3px);
}

.eco-card .domain-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.eco-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.eco-card p {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ===== Specs Table ===== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.specs-table th, .specs-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--dark-3);
}

.specs-table th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  background: var(--dark-2);
}

.specs-table td {
  font-size: 0.9rem;
  color: var(--gray-200);
}

.specs-table tbody tr {
  transition: var(--transition);
}

.specs-table tbody tr:hover {
  background: rgba(204, 34, 41, 0.03);
}

/* ===== Page Header (Inner Pages) ===== */
.page-header {
  padding: 10rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(204, 34, 41, 0.1) 0%, transparent 60%),
              linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--gray-400);
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--red-light); }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== Product Detail ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-detail-image {
  border-radius: 16px;
  border: 1px solid var(--dark-3);
  background: var(--dark-2);
  overflow: hidden;
}

.product-detail-info h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.product-detail-info .subtitle {
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-300);
}

.feature-list li::before {
  content: '\203A\203A';
  color: var(--red);
  font-weight: 700;
  min-width: 18px;
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204, 34, 41, 0.1);
}

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

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

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(204, 34, 41, 0.08);
  border: 1px solid rgba(204, 34, 41, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* ===== About Page ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.about-intro p {
  margin-bottom: 1rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--dark-4);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  transform: translateX(-4px);
}

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

.timeline-item .year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--dark-3);
  padding: 4rem 0 2rem;
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-top: 1rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-300);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-400);
  padding: 0.3rem 0;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--red-light); }

.footer-bottom {
  border-top: 1px solid var(--dark-3);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero p { margin: 0 auto 2.5rem; }
  .hero-buttons { justify-content: center; }
  .hero-visual { margin-top: 2rem; }
  .hero-orb { width: 320px; height: 320px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-content { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--dark-2);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: var(--transition);
    border-left: 1px solid var(--dark-3);
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.5rem; }
  .products-grid { grid-template-columns: 1fr; }
  .applications-grid { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 0; }
  .section-header h2 { font-size: 2rem; }
  .page-header h1 { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ===== Product page filter ===== */
.product-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.4rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filter-btn:hover, .filter-btn.active {
  color: var(--white);
  border-color: var(--red);
  background: rgba(204, 34, 41, 0.1);
}

/* ===== Wavelength animation ===== */
.wavelength-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  overflow: hidden;
  opacity: 0.15;
  z-index: 0;
}

.wavelength-bg svg {
  width: 100%;
  height: 100%;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(204, 34, 41, 0.08) 0%, transparent 70%);
}

.cta-section .container { position: relative; z-index: 2; }

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* ===== Two-col layout helper ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Partner logos strip */
.partner-strip {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0.5;
  margin-top: 2rem;
}

.partner-strip span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}
