/* ==========================================================================
   VROX LABS - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Noto+Sans+Gujarati:wght@400;500;600;700&family=Noto+Sans+Kannada:wght@400;500;600;700&family=Noto+Sans+Malayalam:wght@400;500;600;700&family=Noto+Sans+Oriya:wght@400;500;600;700&family=Noto+Sans+Tamil:wght@400;500;600;700&family=Noto+Sans+Telugu:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --text-heading: #ffffff;
  /* Color Palette */
  --bg-dark: #07090e;
  --bg-card: rgba(18, 22, 36, 0.65);
  --bg-card-hover: rgba(28, 35, 56, 0.75);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(0, 242, 254, 0.3);
  
  --primary-cyan: #00f2fe;
  --primary-blue: #4facfe;
  --accent-purple: #7928ca;
  --accent-pink: #ff0080;
  --accent-emerald: #10b981;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --gradient-cyan-purple: linear-gradient(135deg, #00f2fe 0%, #7928ca 100%);
  --gradient-blue-cyan: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-purple-pink: linear-gradient(135deg, #7928ca 0%, #ff0080 100%);
  --gradient-dark-card: linear-gradient(180deg, rgba(20, 26, 44, 0.8) 0%, rgba(10, 14, 26, 0.9) 100%);

  /* Typography with Indic Font Fallbacks */
  --font-heading: 'Outfit', 'Noto Sans Devanagari', 'Noto Sans Kannada', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Oriya', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans Devanagari', 'Noto Sans Kannada', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Malayalam', 'Noto Sans Gujarati', 'Noto Sans Oriya', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --shadow-glow-cyan: 0 0 30px rgba(0, 242, 254, 0.2);
  --shadow-glow-purple: 0 0 35px rgba(121, 40, 202, 0.25);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Light Theme Variables */
html[data-theme="light"] {
  --text-heading: #0f172a;
  --bg-dark: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(241, 245, 249, 0.95);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-bright: rgba(99, 102, 241, 0.35);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

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

body {
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-main);
  position: relative;
  min-height: 100vh;
}

/* Background Canvas & Ambient Orbs */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  top: 40%;
  right: -150px;
  animation-delay: -5s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: 5%;
  left: 10%;
  animation-delay: -9s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-cyan);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cyan-purple);
  color: #ffffff;
  box-shadow: var(--shadow-glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.45);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(12px);
}

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

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-cyan-purple);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow-cyan);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-heading);
}

.logo-text span {
  color: var(--primary-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: color 0.25s ease;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 170px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: var(--text-main);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  max-width: 960px;
  margin: 0 auto 24px;
  animation: fadeInUp 0.9s ease;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  font-weight: 400;
  animation: fadeInUp 1s ease;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 60px;
  animation: fadeInUp 1.1s ease;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  max-width: 850px;
  margin: 0 auto;
}

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

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Flagship Product Showcase (LogBook) */
.showcase-section {
  padding: 100px 0;
  position: relative;
}

.product-card-hero {
  background: var(--gradient-dark-card);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow-cyan);
}

.product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-blue-cyan);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #000000;
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
}

.product-name {
  font-size: 2rem;
  font-weight: 800;
}

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

/* Showcase Tabs */
.showcase-tabs {
  display: flex;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: var(--gradient-cyan-purple);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

/* Showcase Preview Window */
.preview-container {
  position: relative;
  margin-top: 32px;
  min-height: 480px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

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

/* SVG Interactive Mockups */
.mockup-window {
  background: #0d111a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.mockup-header {
  height: 40px;
  background: #141a29;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  border-bottom: 1px solid var(--border-glass);
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.mockup-address-bar {
  margin-left: 16px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  width: 320px;
}

.mockup-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  min-height: 420px;
}

.sidebar-demo {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-item {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-item.active {
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  font-weight: 600;
}

.main-demo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dash-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.dash-title {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.dash-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.table-demo {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  align-items: center;
}

.table-row.header {
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.badge-status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  text-align: center;
}

.status-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-sync {
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

/* Mobile Showcase Mockup */
.mobile-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.phone-frame {
  width: 320px;
  height: 520px;
  background: #090c14;
  border: 10px solid #1f293d;
  border-radius: 40px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(121, 40, 202, 0.3);
  overflow: hidden;
}

.phone-notch {
  width: 120px;
  height: 20px;
  background: #1f293d;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-content {
  padding: 30px 16px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phone-app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.phone-log-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 14px;
}

/* Pillars Section */
.pillars-section {
  padding: 100px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-bright);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-cyan);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-cyan);
  margin-bottom: 24px;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Innovations / Roadmap Section */
.innovations-section {
  padding: 100px 0;
  position: relative;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.roadmap-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.badge-active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-pipeline {
  background: rgba(121, 40, 202, 0.15);
  color: #b87bf8;
  border: 1px solid rgba(121, 40, 202, 0.3);
}

.badge-research {
  background: rgba(79, 172, 254, 0.15);
  color: var(--primary-blue);
  border: 1px solid rgba(79, 172, 254, 0.3);
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
}

.contact-box {
  background: var(--gradient-dark-card);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  box-shadow: var(--shadow-card);
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

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

/* Notification Toast */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--primary-cyan);
  border-radius: var(--radius-md);
  color: white;
  font-weight: 600;
  box-shadow: var(--shadow-glow-cyan);
  z-index: 1000;
  display: none;
  animation: slideInRight 0.3s ease;
}

/* Footer */
footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-glass);
  background: #040609;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary-cyan);
}

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

/* Keyframe Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .mockup-body { grid-template-columns: 1fr; }
  .sidebar-demo { display: none; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .product-header { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   THEME TOGGLE & LANGUAGE SELECTOR CONTROLS
   ========================================================================== */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-bright);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.lang-selector-wrapper {
  position: relative;
  display: inline-block;
}

.lang-select {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-bright);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.lang-select:hover {
  background: var(--bg-card-hover);
}

.lang-select option {
  background: #0f172a;
  color: #f8fafc;
}

html[data-theme="light"] .lang-select option {
  background: #ffffff;
  color: #0f172a;
}

/* Light Mode Custom Overrides */
html[data-theme="light"] {
  --text-heading: #0f172a;
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-bright: rgba(79, 70, 229, 0.35);

  --text-main: #1e293b;
  --text-muted: #475569;
  --text-dim: #64748b;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

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

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

html[data-theme="light"] .theme-toggle-btn,
html[data-theme="light"] .lang-select {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

html[data-theme="light"] .theme-toggle-btn:hover,
html[data-theme="light"] .lang-select:hover {
  background: #e2e8f0;
}

html[data-theme="light"] .btn-secondary {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

html[data-theme="light"] .btn-secondary:hover {
  background: #e2e8f0;
  border-color: #6366f1;
}

html[data-theme="light"] .hero-badge {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #4338ca;
}

html[data-theme="light"] .hero-stats {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .stat-label {
  color: #475569;
  font-weight: 600;
}

html[data-theme="light"] .product-card-hero,
html[data-theme="light"] .pillar-card,
html[data-theme="light"] .roadmap-card,
html[data-theme="light"] .contact-box {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .pillar-card:hover,
html[data-theme="light"] .roadmap-card:hover {
  border-color: #6366f1;
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.12);
}

html[data-theme="light"] .form-input,
html[data-theme="light"] .form-select,
html[data-theme="light"] .form-textarea {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

html[data-theme="light"] .form-input:focus,
html[data-theme="light"] .form-select:focus,
html[data-theme="light"] .form-textarea:focus {
  border-color: #6366f1;
  background: #ffffff;
}

html[data-theme="light"] footer {
  background: #f1f5f9;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] footer .footer-col a {
  color: #475569;
}

html[data-theme="light"] footer .footer-col a:hover {
  color: #4f46e5;
}

html[data-theme="light"] #bg-canvas {
  opacity: 0.2;
}
