/* ==========================================================================
   NISHAMADEVS - DESIGN SYSTEM & STYLESHEET
   Next-Generation AI Software Development & Intelligence Engineering
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
  /* Color Palette - SpaceX & Tesla Aerospace Stealth */
  --bg-dark: #020408;
  --bg-primary: #050811;
  --bg-secondary: #0b1120;
  --bg-card: rgba(11, 17, 32, 0.76);
  --bg-card-hover: rgba(18, 27, 48, 0.92);
  --bg-glass: rgba(8, 14, 26, 0.72);
  
  /* Cyber & Telemetry Accents */
  --cyan: #00f2ff;
  --cyan-glow: rgba(0, 242, 255, 0.5);
  --cyan-subtle: rgba(0, 242, 255, 0.12);
  
  --violet: #8c52ff;
  --violet-glow: rgba(140, 82, 255, 0.45);
  --violet-subtle: rgba(140, 82, 255, 0.12);
  
  --emerald: #00ffaa;
  --emerald-glow: rgba(0, 255, 170, 0.45);
  
  --amber: #ffb703;
  --rose: #ff3366;
  
  /* Text */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #020408;
  
  /* Precision Laser Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 255, 0.35);
  --border-hover: rgba(0, 242, 255, 0.6);
  
  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-bengali: 'Hind Siliguri', 'Inter', sans-serif;
  
  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.lang-bn {
  font-family: var(--font-bengali);
}

/* Selection */
::selection {
  background: var(--cyan);
  color: var(--bg-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1b2438;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* Dynamic Interactive Canvas Background */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/* Cyber Ambient Noise & Grid Overlay */
.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background-image: 
    linear-gradient(rgba(0, 242, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.8) 20%, transparent 80%);
}

/* App Wrapper */
.app-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* ==========================================================================
   MISSION TELEMETRY HUD (SpaceX / Tesla / xAI Vibe Coder Edition)
   ========================================================================== */
.mission-telemetry-hud {
  background: #010306;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 105;
}

.hud-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.25rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.hud-container::-webkit-scrollbar {
  display: none;
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hud-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hud-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-glow 1.8s infinite ease-in-out;
}

.hud-label {
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
}

.hud-val {
  color: var(--text-main);
  font-weight: 700;
}

.hud-val.text-cyan {
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
}

.hud-val.text-emerald {
  color: var(--emerald);
}

.hud-divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

.hud-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
  padding-right: 0.5rem;
}

@media (max-width: 1280px) {
  .hud-philosophy,
  .hud-divider:last-of-type {
    display: none !important;
  }
}

.hud-action-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hud-action-btn:hover {
  background: rgba(0, 242, 255, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.25);
}

.hud-action-btn.active {
  background: rgba(0, 255, 170, 0.15);
  border-color: var(--emerald);
  color: var(--emerald);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.85rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  top: 0;
  padding: 0.65rem 0;
  background: rgba(2, 4, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  position: relative;
}

.brand-icon-wrapper {
  width: 56px;
  height: 38px;
  border-radius: 10px;
  background: #0c1926;
  border: 1px solid rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 162, 255, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.brand-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
  border-radius: 8px;
}

.brand-logo:hover .brand-icon-wrapper {
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 0 22px rgba(0, 162, 255, 0.7);
  border-color: rgba(0, 162, 255, 0.6);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  user-select: none;
}

.brand-name span {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  transition: text-shadow var(--transition-fast);
}

.brand-name .devs-tag {
  color: #00a2ff;
  text-shadow: 0 0 14px rgba(0, 162, 255, 0.65);
  margin-left: 1px;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: lowercase;
  transition: text-shadow var(--transition-fast);
}

.brand-logo:hover .brand-name span {
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.65);
}

.brand-logo:hover .brand-name .devs-tag {
  text-shadow: 0 0 22px rgba(0, 162, 255, 0.95);
}

/* Inline Brand Typography */
.brand-text-inline {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  color: #ffffff;
}

.brand-text-inline span {
  color: #ffffff;
}

.brand-text-inline .devs-tag {
  color: #00a2ff;
  margin-left: 1px;
  font-weight: 700;
  text-transform: lowercase;
}

.status-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  margin-left: 8px;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

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

/* Nav Action Items */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Language Selector Dropdown (Aerospace Cyberpunk) */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  z-index: 99999;
}

.lang-selector-btn,
.lang-toggle-btn {
  background: rgba(10, 16, 26, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.28);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 99999;
}

.lang-selector-btn > *,
.lang-toggle-btn > * {
  pointer-events: none;
}

.lang-selector-btn:hover,
.lang-toggle-btn:hover {
  border-color: #00f0ff;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.lang-chevron {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.lang-dropdown-wrapper.open .lang-chevron {
  transform: rotate(180deg);
  color: #00f0ff;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 175px;
  background: rgba(7, 12, 20, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 10px;
  padding: 0.45rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 18px rgba(0, 240, 255, 0.2);
  z-index: 99999;
  animation: langMenuAnim 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes langMenuAnim {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lang-dropdown-wrapper.open .lang-dropdown-menu {
  display: flex !important;
}

.lang-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.45rem 0.65rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-opt:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.3);
  color: #00f0ff;
  transform: translateX(2px);
}

.lang-opt.active {
  background: rgba(0, 240, 255, 0.18);
  border-color: rgba(0, 240, 255, 0.45);
  color: #00f0ff;
  font-weight: 700;
}

.lang-opt .lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-opt .lang-name {
  flex: 1;
  margin-left: 0.35rem;
  white-space: nowrap;
}

.lang-opt .lang-code {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

/* RTL Support */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-opt {
  text-align: right;
}

[dir="rtl"] .lang-opt:hover {
  transform: translateX(-2px);
}

[dir="rtl"] .nav-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-actions {
  flex-direction: row-reverse;
}

/* Direct Project CTA in Navbar */
.nav-cta-btn {
  background: linear-gradient(135deg, #00a2ff, #0077ff);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.48rem 1.15rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 15px rgba(0, 162, 255, 0.35);
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 162, 255, 0.6);
  color: #ffffff;
}

/* PWA App Install Button */
.nav-install-btn {
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.15), rgba(0, 255, 170, 0.15));
  border: 1px solid var(--emerald);
  color: var(--emerald);
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-install-btn:hover {
  background: var(--emerald);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--emerald-glow);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8.5rem 0 5rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 242, 255, 0.08);
  border: 1px solid rgba(0, 242, 255, 0.25);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

.hero-badge .sparkle {
  color: var(--emerald);
  animation: spin 6s infinite linear;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Hero Title */
.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  background: linear-gradient(120deg, #ffffff 10%, var(--cyan) 50%, var(--violet) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

.hero-subtitle {
  font-size: 1.22rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Vibe Prompt Engine (Elon Musk Vibe Coder Architecture) */
.vibe-prompt-engine {
  margin: 1.8rem 0 2.2rem 0;
  width: 100%;
  max-width: 640px;
}

.vibe-prompt-bar {
  display: flex;
  align-items: center;
  background: rgba(8, 14, 26, 0.92);
  border: 1px solid rgba(0, 242, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 242, 255, 0.12);
  border-radius: 12px;
  padding: 0.35rem 0.45rem 0.35rem 1rem;
  backdrop-filter: blur(16px);
  position: relative;
  transition: all var(--transition-fast);
}

.vibe-prompt-bar:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 242, 255, 0.3);
  transform: translateY(-2px);
}

.vibe-prompt-prefix {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.vibe-prompt-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  padding: 0.6rem 0.8rem;
}

.vibe-prompt-input::placeholder {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.vibe-prompt-btn {
  background: linear-gradient(135deg, var(--cyan), #00a2ff);
  border: none;
  border-radius: 8px;
  color: var(--bg-dark);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.65rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.35);
}

.vibe-prompt-btn:hover {
  filter: brightness(1.15);
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(0, 242, 255, 0.6);
}

.vibe-prompt-chips {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.vibe-chip-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 600;
}

.vibe-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.vibe-chip:hover {
  background: rgba(0, 242, 255, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #00c3ff);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 0 25px var(--cyan-glow);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--cyan-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

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

/* Quick Metrics Bar */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.8rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--cyan);
  display: flex;
  align-items: baseline;
}

.metric-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* Hero Visual / Neural Core Hologram */
/* Hero Visual / Interactive Studio Production Dashboard */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.studio-dashboard-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  border-radius: 16px;
  background: rgba(10, 14, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 162, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.studio-dashboard-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 162, 255, 0.4);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 162, 255, 0.22);
}

/* Dashboard Window Header */
.dash-window-header {
  background: rgba(15, 21, 35, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-window-dots,
.dash-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ddot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.ddot.red { background: #ff5f56; }
.ddot.yellow { background: #ffbd2e; }
.ddot.green { background: #27c93f; }

.dash-window-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.3px;
}

.dash-window-title i {
  color: #00a2ff;
}

.dash-uptime-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--emerald);
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.25);
  border-radius: 100px;
  padding: 0.15rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-glow 2s infinite ease-in-out;
}

/* Dashboard Tabs Bar */
.dash-tabs-bar {
  display: flex;
  align-items: center;
  background: rgba(8, 11, 18, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0 0.5rem;
  gap: 0.25rem;
}

.dash-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.dash-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
}

.dash-tab.active {
  color: #00a2ff;
  border-bottom-color: #00a2ff;
  background: rgba(0, 162, 255, 0.04);
}

/* Dashboard Code & Content Body */
.dash-body {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.65;
  min-height: 235px;
  background: rgba(6, 9, 15, 0.6);
}

.dash-tab-pane {
  animation: fadeIn 0.25s ease;
}

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

.code-line {
  white-space: pre-wrap;
  word-break: break-word;
}

/* Code Syntax Palette (Modern VS Code / GitHub Dark) */
.c-keyword { color: #ff7b72; font-weight: 500; }
.c-func    { color: #d2a8ff; }
.c-var     { color: #79c0ff; }
.c-prop    { color: #7ee787; }
.c-string  { color: #a5d6ff; }
.c-comment { color: #8b949e; font-style: italic; }

/* Dashboard Telemetry Gauges Grid */
.dash-gauges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0.5rem 0;
}

.dash-metric-card {
  background: rgba(16, 22, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.dash-metric-card .d-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.dash-metric-card .d-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dash-metric-card .d-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.dash-metric-card .d-fill {
  height: 100%;
  background: linear-gradient(90deg, #00a2ff, var(--emerald));
  border-radius: 2px;
}

/* Dashboard Footer */
.dash-footer {
  background: rgba(12, 17, 28, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dash-footer-note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-dash-run {
  background: rgba(0, 162, 255, 0.12);
  border: 1px solid rgba(0, 162, 255, 0.35);
  color: #00a2ff;
  border-radius: 7px;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-dash-run:hover {
  background: #00a2ff;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 162, 255, 0.5);
}

/* ==========================================================================
   FOUNDERS SHOWCASE (MAHMUDUL & NISHAMA)
   ========================================================================== */
.section-wrapper {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4.5rem auto;
}

.section-pill {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border-radius: 100px;
  background: rgba(140, 82, 255, 0.12);
  border: 1px solid rgba(140, 82, 255, 0.3);
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Founders Grid */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.8rem;
}

/* 3D Founder Card */
.founder-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all var(--transition-normal);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.founder-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 242, 255, 0.15);
}

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

.founder-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d121c;
}

.founder-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform var(--transition-smooth);
}

.founder-card:hover .founder-img-box img {
  transform: scale(1.03);
}

/* Specific framing for Md. Mahmudul Hoque (CEO - High-Res Full Scene: Real Desk, Books, Macbook & Nishamadevs Logo) */
#founder-card-mahmudul .founder-img-box {
  aspect-ratio: 1024 / 687;
  background: #0a0e17;
  position: relative;
  overflow: hidden;
}

#founder-card-mahmudul .founder-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#founder-card-mahmudul:hover .founder-img-box img {
  transform: scale(1.02);
}

#founder-card-mahmudul .founder-img-overlay {
  display: none;
}

/* Specific framing for Nishat Ahamad (Co-Founder & COO - Real Desk, Bookshelf, Logo & Dual Monitors) */
#founder-card-nishat .founder-img-box {
  aspect-ratio: 1024 / 687;
  background: #0a0e17;
  position: relative;
  overflow: hidden;
}

#founder-card-nishat .founder-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#founder-card-nishat:hover .founder-img-box img {
  transform: scale(1.02);
}

#founder-card-nishat .founder-img-overlay {
  display: none;
}

/* Cyber Overlay on Founder Image */
.founder-img-overlay {
  display: none;
}

/* Founder Body Details */
.founder-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.founder-name-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
}

.founder-title-sub {
  font-size: 0.95rem;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 1rem;
}

.founder-title-sub.cofounder-sub {
  color: var(--violet);
}

.founder-bio {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

/* Founder Technical Matrix */
.founder-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-subtle);
}

/* Founder Metrics Strip */
.founder-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  background: rgba(7, 9, 14, 0.6);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.8rem;
}

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

.f-stat-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cyan);
}

.founder-card:nth-child(2) .f-stat-num {
  color: var(--violet);
}

.f-stat-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Founder Socials */
.founder-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.2rem;
}

.social-links-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--cyan);
  color: var(--bg-dark);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.social-btn.locked {
  position: relative;
  opacity: 0.72;
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.07);
  color: var(--text-dim);
  cursor: not-allowed;
}

.social-btn.locked:hover {
  background: rgba(245, 158, 11, 0.14);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.55);
  transform: none;
}

.social-btn.locked .social-lock-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0a0e16;
  border: 1px solid rgba(245, 158, 11, 0.65);
  color: #f59e0b;
  font-size: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connect-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition-fast);
}

.connect-link:hover {
  gap: 0.65rem;
}

/* ==========================================================================
   INTERACTIVE LIVE AI PLAYGROUND / SYNTHESIZER
   "Something unlike any other website in the world"
   ========================================================================== */
.playground-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 20, 32, 0.5) 50%, transparent 100%);
}

.playground-container {
  background: var(--bg-primary);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 255, 0.08);
  overflow: hidden;
}

.playground-topbar {
  background: #0d121c;
  padding: 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.playground-engine-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.playground-tabs {
  display: flex;
  gap: 0.5rem;
}

.pg-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  border-radius: 6px;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pg-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.pg-tab-btn.active {
  color: var(--cyan);
  background: rgba(0, 242, 255, 0.1);
  border-color: rgba(0, 242, 255, 0.3);
}

.playground-workspace {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 480px;
}

/* Left: Controls & Prompts */
.playground-sidebar {
  background: rgba(10, 14, 23, 0.7);
  border-right: 1px solid var(--border-subtle);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.control-group-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.prompt-preset-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.preset-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.preset-chip:hover {
  border-color: var(--cyan);
  background: rgba(0, 242, 255, 0.05);
  transform: translateX(4px);
}

.preset-chip.active {
  border-color: var(--cyan);
  background: rgba(0, 242, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.15);
}

.preset-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preset-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.run-simulation-btn {
  margin-top: auto;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--bg-dark);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.run-simulation-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

/* Right: Real-time Code Output & Visualizer */
.playground-screen {
  padding: 1.5rem;
  background: #090c13;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.terminal-stream-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 0.6rem;
}

.stream-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--emerald);
}

.code-stream-content {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #c9d8ef;
  white-space: pre-wrap;
  flex: 1;
  overflow-y: auto;
}

.code-stream-content .syntax-keyword { color: #ff79c6; }
.code-stream-content .syntax-func { color: #50fa7b; }
.code-stream-content .syntax-str { color: #f1fa8c; }
.code-stream-content .syntax-comment { color: #6272a4; }
.code-stream-content .syntax-var { color: #8be9fd; }

.typing-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background-color: var(--cyan);
  vertical-align: middle;
  margin-left: 2px;
  animation: cursor-blink 0.9s infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================================
   FIRST-PRINCIPLES ACCELERATION MANIFESTO (Elon Musk Engineering Loop)
   ========================================================================== */
.manifesto-section {
  padding: 3.5rem 0 5.5rem 0;
  position: relative;
  z-index: 3;
}

.manifesto-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.manifesto-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 242, 255, 0.08);
  border: 1px solid rgba(0, 242, 255, 0.25);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.manifesto-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}

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

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.manifesto-card {
  background: rgba(9, 14, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.8rem 1.4rem;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.manifesto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.manifesto-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 255, 0.35);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 255, 0.1);
}

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

.manifesto-card-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.manifesto-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.manifesto-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES & INNOVATIONS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--cyan-subtle) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 255, 0.1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(0, 242, 255, 0.08);
  border: 1px solid rgba(0, 242, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: var(--cyan);
  color: var(--bg-dark);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: var(--text-main);
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-features-list {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-features-list li {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features-list li i {
  color: var(--emerald);
  font-size: 0.75rem;
}

/* ==========================================================================
   FLAGSHIP PROJECTS SHOWCASE
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--violet);
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 35px var(--violet-subtle);
}

.project-media-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #090c13;
  overflow: hidden;
}

.project-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.project-card:hover .project-media-box img {
  transform: scale(1.06);
}

.project-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 13, 20, 0.85);
  border: 1px solid var(--border-glow);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
  backdrop-filter: blur(8px);
}

.project-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.project-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.project-btn-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   SMART AI ESTIMATOR / TRANSMISSION GENERATOR
   ========================================================================== */
.estimator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
}

.estimator-options {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  display: block;
}

.selection-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pill-option {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.pill-option:hover {
  border-color: var(--cyan);
  color: var(--text-main);
}

.pill-option.active {
  background: rgba(0, 242, 255, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.15);
}

.slider-container input[type="range"] {
  width: 100%;
  accent-color: var(--cyan);
  cursor: pointer;
}

.slider-val-readout {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  margin-top: 0.4rem;
}

/* Estimator Live Summary */
.estimator-summary-box {
  background: rgba(7, 9, 14, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-headline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.summary-metric-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border-subtle);
  font-size: 0.92rem;
}

.summary-metric-row span:first-child {
  color: var(--text-muted);
}

.summary-metric-row span:last-child {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-weight: 600;
}

.btn-transmit-estimate {
  margin-top: 1.8rem;
  width: 100%;
  padding: 0.95rem;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border: none;
  border-radius: 10px;
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.btn-transmit-estimate:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

/* ==========================================================================
   INTERACTIVE CYBER TERMINAL DRAWER (AI OS)
   ========================================================================== */
.terminal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(14px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.terminal-modal-overlay.open {
  display: flex;
  animation: modal-fade-in 0.25s ease;
}

@keyframes modal-fade-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.cyber-terminal-window {
  width: 100%;
  max-width: 820px;
  height: 540px;
  background: #0a0e16;
  border: 1px solid var(--cyan);
  border-radius: 14px;
  box-shadow: 0 0 50px rgba(0, 242, 255, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* CRT Scanline Effect */
.cyber-terminal-window::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.04));
  z-index: 10;
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
  opacity: 0.7;
}

.term-header {
  background: #0f1624;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 11;
}

.term-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.term-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.term-close-btn:hover {
  color: #ff5f56;
}

.term-body {
  padding: 1.25rem;
  flex: 1;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #a8b8d0;
  position: relative;
  z-index: 11;
}

.term-log {
  margin-bottom: 0.75rem;
}

.term-log.welcome {
  color: var(--cyan);
  border-left: 3px solid var(--cyan);
  padding-left: 0.85rem;
  margin-bottom: 1.2rem;
}

.term-input-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.term-prompt {
  color: var(--emerald);
  font-weight: 700;
  white-space: nowrap;
}

.term-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  flex: 1;
  caret-color: var(--cyan);
}

/* ==========================================================================
   CONTACT / TRANSMISSION SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

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

.contact-direct-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: all var(--transition-fast);
}

.contact-direct-card:hover {
  border-color: var(--cyan);
  transform: translateX(6px);
}

.direct-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 255, 0.1);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.direct-details h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.direct-details p {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  backdrop-filter: blur(20px);
}

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

.form-input, .form-textarea {
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

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

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem 0;
  background: #05070a;
  position: relative;
}

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

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 1.2rem;
  max-width: 340px;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

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

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

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

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

.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-credit span {
  color: var(--cyan);
}

/* ==========================================================================
   NOTIFICATION TOAST
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(10, 14, 24, 0.92);
  border: 1px solid var(--cyan);
  border-radius: 12px;
  padding: 1rem 1.4rem;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px var(--cyan-glow);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s var(--ease-out-expo);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   CAREERS & GUILD EXPANSION SECTION
   "From 2 Founders to an Elite Global AI Swarm"
   ========================================================================== */
.careers-banner-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 3.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.careers-banner-img {
  width: 100%;
  height: 380px;
  position: relative;
  overflow: hidden;
}

.careers-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.7) contrast(1.1);
}

.careers-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary) 10%, rgba(7, 9, 14, 0.6) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
}

.careers-banner-content {
  max-width: 750px;
}

.careers-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 170, 0.12);
  border: 1px solid rgba(0, 255, 170, 0.35);
  color: var(--emerald);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.careers-banner-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.careers-banner-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Expansion Roadmap Strip */
.expansion-roadmap-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.roadmap-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.8rem;
  position: relative;
  transition: all var(--transition-normal);
}

.roadmap-step-card.active {
  border-color: var(--cyan);
  box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15);
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.06), rgba(16, 22, 36, 0.85));
}

.roadmap-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.roadmap-step-phase {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--cyan);
  background: rgba(0, 242, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 242, 255, 0.25);
}

.roadmap-step-card.active .roadmap-step-phase {
  color: var(--emerald);
  background: rgba(0, 255, 170, 0.12);
  border-color: rgba(0, 255, 170, 0.3);
}

.roadmap-step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.roadmap-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Culture Perks Grid */
.culture-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: 3.5rem;
}

.perk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all var(--transition-fast);
}

.perk-card:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
}

.perk-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(140, 82, 255, 0.12);
  border: 1px solid rgba(140, 82, 255, 0.25);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.perk-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.perk-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Open Positions Jobs List */
.jobs-list-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: all var(--transition-normal);
}

.job-card:hover {
  border-color: var(--cyan);
  transform: translateX(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 255, 0.1);
}

.job-info {
  flex: 1;
}

.job-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.job-type-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
  background: rgba(0, 242, 255, 0.08);
  border: 1px solid rgba(0, 242, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.job-location {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.job-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.job-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-apply-job {
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.15), rgba(140, 82, 255, 0.2));
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-apply-job:hover {
  background: var(--cyan);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-2px);
}

/* Locked / Closed Job Postings State */
.job-card.locked {
  opacity: 0.78;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 22, 0.65);
}

.job-card.locked:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: none;
  box-shadow: none;
}

.btn-apply-job.locked,
.btn-apply-job:disabled {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  cursor: not-allowed;
  opacity: 0.92;
  box-shadow: none;
}

.btn-apply-job.locked:hover,
.btn-apply-job:disabled:hover {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  box-shadow: none;
  transform: none;
}

/* ==========================================================================
   APPLICANT TALENT MODAL
   ========================================================================== */
.applicant-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(14px);
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.applicant-modal-overlay.open {
  display: flex;
  animation: modal-fade-in 0.25s ease;
}

.applicant-modal-box {
  width: 100%;
  max-width: 650px;
  background: #0d121c;
  border: 1px solid var(--cyan);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 242, 255, 0.2);
  overflow: hidden;
}

.applicant-modal-header {
  background: #111726;
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.applicant-modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.applicant-modal-title i {
  color: var(--cyan);
}

.applicant-modal-body {
  padding: 2rem;
}

/* ==========================================================================
   GLOBAL RESPONSIVE UTILITIES & TOUCH OPTIMIZATIONS
   ========================================================================== */
img, svg, canvas {
  max-width: 100%;
  height: auto;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

body.nav-locked {
  overflow: hidden !important;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER (CYBERPUNK GLASSMORPHISM)
   ========================================================================== */
@media (max-width: 991px) {
  .nav-container {
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(6, 8, 13, 0.97);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    padding: 6rem 1.5rem 2.5rem 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.4s;
    z-index: 95;
    overflow-y: auto;
    border-bottom: 2px solid var(--border-glow);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    max-width: 320px;
    text-align: center;
    list-style: none;
  }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    display: block;
    padding: 0.75rem 1.2rem;
    border-radius: 10px;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all var(--transition-fast);
  }

  .nav-link:hover, .nav-link:active {
    background: rgba(0, 242, 255, 0.12);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: scale(1.02);
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 105;
    transition: all var(--transition-fast);
  }

  .mobile-toggle:hover {
    border-color: var(--cyan);
    color: var(--cyan);
  }
}

/* ==========================================================================
   TABLET LANDSCAPE & MEDIUM SCREENS (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-section {
    padding: 7rem 0 4.5rem 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.8rem;
    text-align: center;
  }

  .hero-content,
  .hero-visual-wrapper,
  .studio-dashboard-card {
    min-width: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
  }

  .founders-grid,
  .projects-grid,
  .estimator-card,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

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

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

  .expansion-roadmap-strip,
  .culture-perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .playground-workspace {
    grid-template-columns: 1fr;
  }

  .playground-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   TABLET PORTRAIT & LARGE PHONES (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  /* Clean Compact Mobile HUD Bar */
  .mission-telemetry-hud {
    padding: 0.35rem 0;
    font-size: 0.65rem;
  }

  .hud-container {
    padding: 0 0.75rem;
    gap: 0.5rem;
    overflow: hidden;
  }

  .hud-left {
    gap: 0.5rem;
    min-width: 0;
    overflow: hidden;
  }

  .hud-left > .hud-item:nth-child(3),
  .hud-left > .hud-divider:nth-child(2),
  .hud-left > .hud-divider:nth-child(4),
  .hud-philosophy {
    display: none !important;
  }

  .hud-label {
    display: none;
  }

  .hud-controls {
    gap: 0.35rem;
    flex-shrink: 0;
    padding-right: 0;
  }

  .hud-action-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
  }

  /* Clean Mobile Navbar */
  .nav-container {
    gap: 0.5rem;
  }

  .nav-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  #terminal-toggle-btn {
    display: none; /* Already available cleanly in top HUD bar */
  }

  .section-wrapper {
    padding: 3.8rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: 1.85rem;
    letter-spacing: -0.5px;
    line-height: 1.22;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .hero-badge {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
    font-size: 0.72rem;
    line-height: 1.4;
    padding: 0.45rem 0.85rem;
    border-radius: 14px;
    margin-bottom: 1.15rem;
  }

  .hero-title {
    font-size: 2.2rem;
    letter-spacing: -0.7px;
    line-height: 1.18;
    margin-bottom: 1rem;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .vibe-prompt-engine {
    max-width: 100%;
    min-width: 0;
    margin: 1.35rem 0 1.65rem 0;
  }

  .vibe-prompt-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem;
    gap: 0.55rem;
  }

  .vibe-prompt-bar input {
    min-width: 0;
    width: 100%;
    font-size: 0.85rem;
  }

  .vibe-prompt-btn {
    width: 100%;
    justify-content: center;
  }

  .vibe-presets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    max-width: 100%;
  }

  .vibe-chip {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    text-align: left;
    max-width: 440px;
    margin: 0 auto;
  }

  .metric-value {
    font-size: 1.65rem;
  }

  .metric-label {
    font-size: 0.74rem;
  }

  /* Studio Dashboard in Hero */
  .studio-dashboard-card {
    border-radius: 14px;
  }

  .dash-window-title {
    font-size: 0.72rem;
  }

  .dash-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.35rem 0.5rem;
    overflow: visible;
  }

  .dash-tab {
    padding: 0.45rem 0.55rem;
    font-size: 0.7rem;
    white-space: nowrap;
    flex: 1 1 auto;
    justify-content: center;
  }

  .dash-body {
    padding: 1.1rem;
    font-size: 0.76rem;
    min-height: 200px;
    overflow-x: auto;
  }

  .dash-gauges-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .dash-metric-card .d-val {
    font-size: 1.15rem;
  }

  .dash-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
  }

  .btn-dash-run {
    width: 100%;
    justify-content: center;
    padding: 0.6rem;
    font-size: 0.8rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .service-card {
    padding: 1.8rem;
  }

  /* Interactive Playground */
  .playground-section {
    padding: 3.8rem 0;
  }

  .playground-container,
  .playground-workspace,
  .playground-main {
    min-width: 0;
    max-width: 100%;
  }

  .playground-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }

  .playground-engine-label {
    font-size: 0.72rem;
    word-break: break-word;
  }

  .playground-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    width: 100%;
    overflow: visible;
  }

  .pg-tab-btn {
    flex: 1 1 auto;
    justify-content: center;
    white-space: nowrap;
    font-size: 0.72rem;
    padding: 0.45rem 0.6rem;
  }

  .terminal-stream-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .code-stream-content {
    max-height: 320px;
    font-size: 0.75rem;
  }

  /* Careers & Jobs */
  .careers-banner-img {
    height: auto;
    min-height: 240px;
  }

  .careers-banner-overlay {
    padding: 1.25rem;
  }

  .careers-banner-title {
    font-size: 1.45rem;
  }

  .expansion-roadmap-strip,
  .culture-perks-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .job-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1.4rem;
    padding: 1.5rem;
  }

  .btn-apply-job {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
  }

  /* Estimator */
  .estimator-card {
    padding: 1.8rem;
    border-radius: 18px;
    gap: 2rem;
  }

  .estimator-summary-box {
    padding: 1.4rem;
  }

  .btn-transmit-estimate {
    width: 100%;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.9rem 1.2rem;
    white-space: normal;
    text-align: center;
  }

  /* Contact */
  .contact-form {
    padding: 1.8rem;
    border-radius: 18px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Modals */
  .applicant-modal-box {
    width: 95%;
    max-height: 92vh;
    overflow-y: auto;
  }

  .applicant-modal-body {
    padding: 1.4rem;
  }

  .toast-notice {
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    transform: translateY(120px);
    justify-content: center;
  }
}

/* ==========================================================================
   SMARTPHONES (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 1rem;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .brand-logo {
    gap: 0.5rem;
    min-width: 0;
  }

  .brand-icon-wrapper {
    width: 44px;
    height: 30px;
    border-radius: 7px;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-name .devs-tag {
    font-size: 1.08rem;
  }

  .nav-cta-btn {
    display: none; /* Keep top bar clean on small phones */
  }

  .lang-selector-btn,
  .lang-toggle-btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.74rem;
  }

  .hero-section {
    padding: 5.5rem 0 3rem 0;
  }

  .hero-title {
    font-size: 1.95rem;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.4rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    width: 100%;
  }

  .metric-value {
    font-size: 1.45rem;
  }

  .metric-label {
    font-size: 0.7rem;
  }

  .dash-gauges-grid {
    grid-template-columns: 1fr;
  }

  /* Founders Cards on Mobile */
  .founder-card {
    border-radius: 16px;
  }

  .founder-body {
    padding: 1.25rem;
  }

  .founder-name {
    font-size: 1.4rem;
  }

  .founder-title-sub {
    font-size: 0.85rem;
  }

  .founder-bio {
    font-size: 0.9rem;
  }

  .founder-stats-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    padding: 0.7rem 0.4rem;
  }

  .f-stat-num {
    font-size: 1.05rem;
  }

  .f-stat-label {
    font-size: 0.65rem;
    letter-spacing: 0;
  }

  .founder-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    text-align: center;
  }

  .social-links-row {
    justify-content: center;
  }

  .connect-link {
    justify-content: center;
  }

  /* Projects */
  .project-content {
    padding: 1.25rem;
  }

  .project-title {
    font-size: 1.35rem;
  }

  .project-btn-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .project-btn-row .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Estimator */
  .selection-pills {
    flex-direction: column;
  }

  .pill-option {
    width: 100%;
    text-align: center;
    padding: 0.6rem 0.8rem;
    font-size: 0.84rem;
  }

  .summary-metric-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  /* Form Inputs (16px prevents iOS browser auto-zoom) */
  .form-input, .form-textarea {
    font-size: 16px !important;
    padding: 0.75rem 0.95rem;
  }

  .contact-direct-card {
    padding: 1.15rem;
  }

  .direct-icon {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }

  .direct-details h4 {
    font-size: 0.98rem;
  }

  .direct-details p {
    font-size: 0.78rem;
    word-break: break-all;
  }
}

/* ==========================================================================
   ULTRA-COMPACT SCREENS (<= 360px)
   ========================================================================== */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .metric-value {
    font-size: 1.25rem;
  }

  .founder-stats-strip {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}
