@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Color Variables */
:root {
  --color-bg: #070913;
  --color-bg-card: rgba(15, 20, 42, 0.4);
  --color-bg-card-hover: rgba(23, 31, 64, 0.6);
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(99, 102, 241, 0.4);
  
  /* Brand Palettes */
  --color-primary: #4f46e5;      /* Indigo */
  --color-primary-light: #818cf8;
  --color-accent-cyan: #06b6d4;   /* Cyan */
  --color-accent-teal: #0d9488;   /* Teal */
  --color-accent-purple: #8b5cf6; /* Purple */
  --color-accent-pink: #ec4899;   /* Pink */
  
  /* Text */
  --color-text-primary: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  
  /* Transition timings */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Fonts */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow-cyan: 0 0 20px rgba(6, 182, 212, 0.15);
  --shadow-glow-indigo: 0 0 20px rgba(79, 70, 229, 0.2);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated Page Background */
#bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  background-color: var(--color-bg);
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  mix-blend-mode: screen;
  pointer-events: none;
}

.bg-blob-1 {
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  top: -15%;
  left: -15%;
  animation: float-blob-1 25s infinite alternate ease-in-out;
}

.bg-blob-2 {
  background: radial-gradient(circle, var(--color-accent-cyan) 0%, transparent 70%);
  bottom: -15%;
  right: -15%;
  animation: float-blob-2 20s infinite alternate ease-in-out;
}

.bg-blob-3 {
  background: radial-gradient(circle, var(--color-accent-purple) 0%, transparent 70%);
  top: 35%;
  left: 40%;
  animation: float-blob-3 30s infinite alternate ease-in-out;
}

@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, 12%) scale(1.1); }
  100% { transform: translate(-4%, -4%) scale(0.9); }
}

@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(0.95); }
  50% { transform: translate(-12%, -8%) scale(1.08); }
  100% { transform: translate(4%, 6%) scale(1); }
}

@keyframes float-blob-3 {
  0% { transform: translate(-10%, -10%) scale(1); }
  50% { transform: translate(12%, 15%) scale(1.15); }
  100% { transform: translate(-6%, -6%) scale(0.85); }
}

/* Glassmorphism Background Pattern Grid */
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.7;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  line-height: 1.25;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--color-text-secondary);
}

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

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

.section {
  padding: 6rem 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem auto;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 30%, var(--color-primary-light) 70%, var(--color-accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-purple {
  background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
}

.badge-primary {
  background: rgba(79, 70, 229, 0.15);
  border-color: rgba(79, 70, 229, 0.3);
  color: var(--color-primary-light);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--color-accent-cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-purple));
  color: #fff;
  box-shadow: var(--shadow-glow-indigo);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.15) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s ease;
  opacity: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
  filter: brightness(1.1);
}

.btn-primary:hover::after {
  left: 120%;
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-primary);
  border-color: var(--color-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-text {
  padding: 0.5rem 1rem;
  color: var(--color-primary-light);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-text i {
  transition: transform var(--transition-fast);
}

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

.btn-text:hover i {
  transform: translateX(4px);
}

/* Glassmorphism Cards */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-hover);
  background: var(--color-bg-card-hover);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.1);
}

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

/* Sticky Header / Navbar */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(7, 9, 19, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--color-border);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: height var(--transition-normal);
}

header.scrolled .nav-container {
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 50%, var(--color-accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: transform var(--transition-fast);
}

.logo:hover .logo-img {
  transform: scale(1.08) rotate(3deg);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary-light), var(--color-accent-cyan));
  transition: width var(--transition-normal);
  border-radius: 4px;
}

.nav-links a:hover {
  color: var(--color-text-primary);
}

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

/* Dropdown Menu Styles */
.nav-links li {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-toggle i {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 250px;
  background: rgba(11, 15, 25, 0.95);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 0.75rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  z-index: 101;
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
  }

  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  width: 100%;
  border-radius: 8px;
}

.dropdown-menu a i {
  font-size: 0.95rem;
  color: var(--color-accent-cyan);
  transition: transform var(--transition-fast);
  width: 20px;
  text-align: center;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover {
  color: var(--color-text-primary) !important;
  background: rgba(255, 255, 255, 0.04);
}

.dropdown-menu a:hover i {
  transform: scale(1.1) translateX(2px);
}

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-primary);
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem 0;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.15rem;
  margin-bottom: 2.25rem;
  max-width: 520px;
}

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

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

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.15), transparent 75%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: float-image 6s infinite ease-in-out;
}

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

.hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--color-accent-cyan);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-highlight {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(15, 20, 42, 0.4) 100%);
  border-color: rgba(99, 102, 241, 0.2);
}

.product-card-highlight:hover {
  border-color: var(--color-primary-light);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25) 0%, rgba(23, 31, 64, 0.6) 100%);
}

.product-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-cyan);
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
  transition: all var(--transition-normal);
}

.product-card:hover .product-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.product-card-highlight .product-icon {
  color: var(--color-primary-light);
}

.product-card-highlight:hover .product-icon {
  background: rgba(79, 70, 229, 0.2);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.2);
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.product-features li i {
  color: var(--color-accent-cyan);
  font-size: 0.85rem;
}

.product-card-highlight .product-features li i {
  color: var(--color-primary-light);
}

.product-action {
  margin-top: auto;
}

.product-img-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.2);
}

.product-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card-highlight:hover .product-img-holder img {
  transform: scale(1.05);
}

/* Feature Section / Ecosystem */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  text-align: left;
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-purple);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  color: #fff;
  background: var(--color-accent-purple);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

/* Dev Quickstart Code Section */
.code-window {
  background: #04060f;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-family: 'Courier New', Courier, monospace;
}

.code-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-dots {
  display: flex;
  gap: 0.35rem;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #f59e0b; }
.code-dot.green { background: #10b981; }

.code-tab {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.code-body {
  padding: 1.5rem;
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.5;
  overflow-x: auto;
}

.code-line {
  display: block;
}

.code-keyword { color: #f472b6; }
.code-string { color: #34d399; }
.code-function { color: #60a5fa; }
.code-comment { color: var(--color-text-muted); }
.code-variable { color: #fbbf24; }

/* Interactive Telemetry / Simulation Widgets */
.telemetry-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.telemetry-screen {
  background: rgba(4, 6, 15, 0.8);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: inset 0 0 20px rgba(6, 182, 212, 0.05), var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.telemetry-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  z-index: 10;
  pointer-events: none;
}

.telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.telemetry-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.telemetry-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 600;
}

.telemetry-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

.telemetry-metric {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.metric-val.cyan { color: var(--color-accent-cyan); }
.metric-val.indigo { color: var(--color-primary-light); }
.metric-val.purple { color: var(--color-accent-purple); }

.telemetry-canvas-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.telemetry-logs {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  height: 100%;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 290px;
}

.log-entry {
  display: flex;
  gap: 0.5rem;
}

.log-time { color: var(--color-accent-cyan); }
.log-tag { color: var(--color-accent-purple); font-weight: bold; }
.log-msg { color: #f8fafc; }

/* Contact CTA Section */
.cta-box {
  background: radial-gradient(100% 100% at 50% 0%, rgba(99, 102, 241, 0.15) 0%, rgba(7, 9, 19, 0.4) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 32px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-primary-light), var(--color-accent-cyan), transparent);
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-desc {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.15rem;
}

/* Footer styling */
footer {
  background: rgba(4, 6, 12, 0.9);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem 0;
  backdrop-filter: blur(10px);
}

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

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

.footer-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
  color: var(--color-accent-cyan);
  padding-left: 4px;
}

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

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

/* Scroll Animations CSS Utility */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Media Queries for full responsiveness */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero-title { font-size: 3.25rem; }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card-highlight {
    grid-column: span 2;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero { padding: 6rem 0 4rem 0; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-card-highlight {
    grid-column: span 1;
    grid-template-columns: 1fr;
    padding: 2.25rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .telemetry-panel {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
  
  /* Navigation Mobile Menu */
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(7, 9, 19, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transition: left var(--transition-normal);
    border-top: 1px solid var(--color-border);
    z-index: 99;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-cta {
    display: none; /* Hide in header, show in mob menu if needed */
  }
  
  .nav-toggle {
    display: block;
  }

  /* Mobile Dropdown styles */
  .nav-links .dropdown {
    width: 100%;
  }

  .nav-links .dropdown-toggle {
    justify-content: space-between;
    width: 100%;
  }

  .nav-links .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0 0 1rem;
    display: none;
    opacity: 1;
    visibility: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-links .dropdown-menu a {
    padding: 0.5rem 0;
  }

  .nav-links .dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-links .dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .cta-title { font-size: 2.25rem; }
  .cta-box { padding: 3rem 1.5rem; }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
}

/* Light Theme Variables */
[data-theme="light"] {
  --color-bg: #f2f5f9; /* Soft ice-blue tinted light background */
  --color-bg-card: rgba(255, 255, 255, 0.75);
  --color-bg-card-hover: rgba(255, 255, 255, 0.98);
  --color-border: rgba(15, 37, 72, 0.08);
  --color-border-hover: rgba(30, 58, 138, 0.3); /* Navy hover border */
  
  /* Brand Palettes Override for Light Theme */
  --color-primary: #1e3a8a;      /* Deep Navy Blue */
  --color-primary-light: #3b82f6; /* Electric Blue */
  --color-accent-cyan: #0284c7;   /* Deep Cyan */
  --color-accent-purple: #4f46e5; /* Indigo */
  
  --color-text-primary: #0b1528;   /* Deep Dark Navy text */
  --color-text-secondary: #334155; /* Slate 700 */
  --color-text-muted: #64748b;     /* Slate 500 */
  
  --shadow-glow-indigo: 0 4px 20px rgba(30, 58, 138, 0.1);
}

[data-theme="light"] .bg-blob {
  opacity: 0.05;
}

[data-theme="light"] .bg-grid-overlay {
  background-image: radial-gradient(rgba(15, 37, 72, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .code-window {
  background: #090b16; /* Keep code dark for developer readability */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .telemetry-screen {
  background: rgba(15, 37, 72, 0.03);
  border-color: rgba(6, 182, 212, 0.15);
}

[data-theme="light"] .telemetry-screen::before {
  background: linear-gradient(
    rgba(255, 255, 255, 0) 50%, 
    rgba(15, 37, 72, 0.04) 50%
  );
  background-size: 100% 4px;
}

[data-theme="light"] .telemetry-metric {
  background: rgba(15, 37, 72, 0.02);
  border-color: rgba(15, 37, 72, 0.05);
}

[data-theme="light"] .telemetry-logs {
  background: rgba(15, 37, 72, 0.02);
}

[data-theme="light"] .log-msg {
  color: #0f172a;
}

[data-theme="light"] .logo {
  background: linear-gradient(135deg, #0b1528 50%, var(--color-accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] header.scrolled {
  background: rgba(242, 245, 249, 0.85);
  border-bottom: 1px solid rgba(15, 37, 72, 0.06);
}

[data-theme="light"] .nav-links a:hover {
  color: #000;
}

[data-theme="light"] footer {
  background: #e6ecf2;
  border-top: 1px solid rgba(15, 37, 72, 0.08);
}

[data-theme="light"] footer .logo {
  background: linear-gradient(135deg, #0b1528 50%, var(--color-accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 25px rgba(15, 37, 72, 0.08);
  border-color: rgba(15, 37, 72, 0.08);
}

[data-theme="light"] .dropdown-menu a:hover {
  background: rgba(15, 37, 72, 0.03);
}

/* Light Theme Element overrides for Dark Blue style */
[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0b1528 30%, #1d4ed8 70%, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .text-gradient-cyan {
  background: linear-gradient(135deg, #0284c7, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .text-gradient-purple {
  background: linear-gradient(135deg, #4f46e5, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .badge-primary {
  background: rgba(30, 58, 138, 0.07);
  border-color: rgba(30, 58, 138, 0.15);
  color: #1e3a8a;
}

[data-theme="light"] .badge-cyan {
  background: rgba(2, 132, 199, 0.07);
  border-color: rgba(2, 132, 199, 0.15);
  color: #0284c7;
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(30, 58, 138, 0.2);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
  filter: brightness(1.05);
}

[data-theme="light"] .btn-secondary {
  background: rgba(30, 58, 138, 0.03);
  color: #1e3a8a;
  border-color: rgba(30, 58, 138, 0.15);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(30, 58, 138, 0.07);
  border-color: rgba(30, 58, 138, 0.30);
}

[data-theme="light"] .product-card-highlight {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(255, 255, 255, 0.75) 100%);
  border-color: rgba(30, 58, 138, 0.12);
}

[data-theme="light"] .product-card-highlight:hover {
  border-color: #1e3a8a;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
}

[data-theme="light"] .feature-icon-wrapper {
  background: rgba(30, 58, 138, 0.04);
  border-color: rgba(30, 58, 138, 0.1);
  color: #1e3a8a;
}

[data-theme="light"] .feature-card:hover .feature-icon-wrapper {
  background: #1e3a8a;
  box-shadow: 0 0 15px rgba(30, 58, 138, 0.3);
}

[data-theme="light"] .cta-box {
  background: radial-gradient(100% 100% at 50% 0%, rgba(30, 58, 138, 0.06) 0%, rgba(242, 245, 249, 0.5) 100%);
  border-color: rgba(30, 58, 138, 0.15);
}

[data-theme="light"] .cta-box::after {
  background: linear-gradient(to right, transparent, #1e3a8a, #0284c7, transparent);
}

@media (max-width: 768px) {
  [data-theme="light"] .nav-links {
    background: rgba(242, 245, 249, 0.98);
    border-top: 1px solid rgba(15, 37, 72, 0.08);
  }
}

/* Switcher Buttons */
.switchers-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.theme-toggle-btn, .lang-toggle-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0;
}

.theme-toggle-btn:hover, .lang-toggle-btn:hover {
  color: var(--color-text-primary);
  border-color: var(--color-border-hover);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

[data-theme="light"] .theme-toggle-btn, [data-theme="light"] .lang-toggle-btn {
  background: rgba(15, 37, 72, 0.03);
  border-color: rgba(15, 37, 72, 0.08);
  color: #475569;
}

[data-theme="light"] .theme-toggle-btn:hover, [data-theme="light"] .lang-toggle-btn:hover {
  background: rgba(15, 37, 72, 0.06);
  color: #0f172a;
}

/* 10. Legal Pages Styling */
.legal-container {
  max-width: 820px;
  margin: 110px auto 80px auto;
  padding: 3rem 2.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glow-indigo);
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.legal-section p, .legal-section ul {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.legal-section ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
}
