/* ==========================================================================
   VGA TECH - Stylesheet
   Modern Cybernetic & High-Tech Corporate Theme
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-mono: 'JetBrains Mono', monospace, Consolas;

  /* Color Palette */
  --bg-core: #04060b;
  --bg-surface: #0a0e1a;
  --bg-card: rgba(13, 20, 36, 0.72);
  --bg-card-hover: rgba(19, 31, 56, 0.85);
  --bg-input: rgba(10, 16, 30, 0.85);
  --bg-terminal: #070b14;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 240, 255, 0.35);
  --border-emerald: rgba(16, 185, 129, 0.35);

  /* Accents */
  --cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.25);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --blue: #3b82f6;
  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.25);
  --yellow: #f59e0b;
  --red: #ef4444;

  /* Text Colors */
  --text-pure: #ffffff;
  --text-main: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Shadows */
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-glow-cyan: 0 0 35px -5px rgba(0, 240, 255, 0.25);
  --shadow-glow-emerald: 0 0 35px -5px rgba(16, 185, 129, 0.25);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-core);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

/* Background Canvas */
#techBgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

/* Atmospheric Ambient Glows */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(150px);
  z-index: 1;
  opacity: 0.2;
}

.glow-cyan {
  top: -150px;
  left: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}

.glow-emerald {
  bottom: -150px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
}

.glow-purple {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
}

.page-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==========================================================================
   Top Announcement
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  padding: 8px 16px;
  color: var(--text-secondary);
}

.top-announcement-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.announcement-pill {
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 240, 255, 0.3);
  letter-spacing: 0.5px;
}

.announcement-text strong {
  color: var(--text-pure);
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--trans-fast);
}

.announcement-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.tech-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color var(--trans-normal), background var(--trans-normal);
}

.tech-header.scrolled {
  border-bottom-color: rgba(0, 240, 255, 0.2);
  background: rgba(5, 8, 15, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-group {
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  transition: transform var(--trans-normal), filter var(--trans-normal);
}

.brand-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.35));
}

.brand-text-fallback {
  display: flex;
  flex-direction: column;
  justify-content: center;
  user-select: none;
}

.brand-text-vga {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.brand-text-sub {
  font-family: var(--font-heading);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 4.5px;
  color: var(--cyan);
  line-height: 1;
  margin-top: 3px;
}

.footer-logo-tech {
  height: 44px;
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.tech-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.tech-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--trans-fast), transform var(--trans-fast);
  position: relative;
  padding: 6px 0;
}

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

.nav-item:hover {
  color: var(--text-pure);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-portal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--trans-fast);
}

.btn-portal-back:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-pure);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #00f0ff 0%, #10b981 100%);
  color: #04060b;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
  transition: all var(--trans-fast);
}

.btn-primary-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(0, 240, 255, 0.45);
  filter: brightness(1.08);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--trans-normal);
}

.mobile-drawer {
  display: none;
  background: rgba(6, 9, 18, 0.98);
  border-bottom: 1px solid var(--border-highlight);
  padding: 20px 24px;
}

.mobile-drawer.active {
  display: block;
  animation: slideDown 0.3s ease-out;
}

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

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-item {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-item.mobile-portal-link {
  color: var(--cyan);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.tech-hero {
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
}

.hero-container {
  max-width: 980px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  color: var(--cyan);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-pure);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00f0ff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 36px;
}

.hero-subtitle strong {
  color: var(--text-pure);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-action-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #00f0ff 0%, #10b981 100%);
  color: #04060b;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 25px rgba(0, 240, 255, 0.35);
  transition: all var(--trans-fast);
}

.btn-action-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.5);
  filter: brightness(1.08);
}

.btn-action-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 24, 39, 0.7);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all var(--trans-fast);
}

.btn-action-secondary:hover {
  background: rgba(23, 34, 56, 0.9);
  color: var(--text-pure);
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

/* Hero Metrics */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 20px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all var(--trans-normal);
}

.metric-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-cyan);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1;
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   Terminal Window Section
   ========================================================================== */
.terminal-section {
  padding: 60px 24px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-badge-wrapper {
  text-align: center;
  margin-bottom: 12px;
}

.tech-pill-badge {
  display: inline-block;
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  text-align: center;
  color: var(--text-pure);
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.terminal-window {
  background: var(--bg-terminal);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 240, 255, 0.15);
  overflow: hidden;
}

.terminal-header {
  background: #0d1220;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald);
}

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

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.8;
  height: 310px;
  overflow-y: auto;
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.03), transparent 50%), #070b14;
}

.log-line {
  margin-bottom: 8px;
  word-break: break-all;
  animation: fadeInLog 0.3s ease-out;
}

@keyframes fadeInLog {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: translateX(0); }
}

.log-system { color: #94a3b8; }
.log-info { color: #38bdf8; }
.log-rpa { color: #a855f7; }
.log-success { color: #10b981; }
.log-bi { color: #fbbf24; }
.log-warn { color: #34d399; }

.terminal-footer {
  background: #090e1a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.terminal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-terminal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-terminal:hover {
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan);
  border-color: rgba(0, 240, 255, 0.3);
}

.terminal-meta {
  display: flex;
  gap: 16px;
}

.terminal-meta strong {
  color: var(--text-main);
}

/* ==========================================================================
   Solutions & Tools Catalog Grid
   ========================================================================== */
.solutions-section {
  padding: 70px 24px;
}

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

.tool-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 25px 45px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.15);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tool-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--trans-fast);
}

.tool-card:hover .tool-icon-box {
  transform: scale(1.08);
}

.cyan-icon {
  background: rgba(0, 240, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.emerald-icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.blue-icon {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.purple-icon {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.tool-badge-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.tool-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 12px;
  line-height: 1.35;
}

.tool-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.tool-features-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tool-features-list li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tool-features-list li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 800;
  flex-shrink: 0;
}

.tool-card-footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Diagnosis & Tool Simulator
   ========================================================================== */
.diagnosis-section {
  padding: 70px 24px;
}

.diagnosis-card {
  background: linear-gradient(145deg, rgba(14, 22, 40, 0.8) 0%, rgba(8, 12, 22, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 240, 255, 0.1);
  backdrop-filter: blur(16px);
}

.diagnosis-header {
  text-align: center;
  margin-bottom: 40px;
}

.diagnosis-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-pure);
  margin-top: 10px;
  margin-bottom: 10px;
}

.diagnosis-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.simulator-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: stretch;
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(0, 240, 255, 0.3);
  flex-shrink: 0;
}

.simulator-select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-pure);
  font-family: var(--font-main);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.simulator-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.simulator-select option {
  background: #0b111e;
  color: #fff;
}

.btn-calculate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 13px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-calculate:hover {
  background: rgba(0, 240, 255, 0.25);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.simulator-result-box {
  background: rgba(10, 16, 28, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: fadeInResult 0.4s ease-out;
}

@keyframes fadeInResult {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.result-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: 0.5px;
}

.savings-tag {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.result-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 12px;
  line-height: 1.3;
}

.result-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.result-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  gap: 12px;
}

.spec-name {
  color: var(--text-muted);
}

.spec-val {
  color: var(--text-pure);
  font-weight: 600;
  text-align: right;
}

.btn-result-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #25d366;
  color: #031508;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: all var(--trans-fast);
}

.btn-result-whatsapp:hover {
  background: #22bf5b;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   Stack & Infrastructure Grid
   ========================================================================== */
.stack-section {
  padding: 60px 24px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stack-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  backdrop-filter: blur(10px);
  transition: all var(--trans-normal);
}

.stack-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-cyan);
}

.stack-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.stack-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.stack-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Request Form Section
   ========================================================================== */
.request-section {
  padding: 70px 24px;
}

.request-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 52px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  max-width: 900px;
  margin: 0 auto;
}

.request-header {
  text-align: center;
  margin-bottom: 36px;
}

.request-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--text-pure);
  margin-top: 10px;
  margin-bottom: 12px;
}

.request-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.tech-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-pure);
  font-family: var(--font-main);
  font-size: 0.95rem;
  padding: 12px 14px;
  outline: none;
  transition: all var(--trans-fast);
}

.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
  background: rgba(14, 22, 42, 0.95);
}

.select-control {
  cursor: pointer;
}

.select-control option {
  background: #0b111e;
  color: #fff;
}

.textarea-control {
  resize: vertical;
  min-height: 90px;
}

.form-actions {
  margin-top: 10px;
}

.btn-submit-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #00f0ff 0%, #10b981 100%);
  color: #04060b;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(0, 240, 255, 0.35);
  transition: all var(--trans-fast);
}

.btn-submit-request:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(0, 240, 255, 0.5);
  filter: brightness(1.06);
}

.btn-submit-request:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.tech-footer {
  margin-top: auto;
  background: #030509;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo {
  height: 38px;
  width: auto;
}

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

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--trans-fast);
}

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

.footer-contact-block p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-contact-block strong {
  color: var(--text-main);
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-developer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dev-link {
  display: inline-block;
}

.dev-logo-img {
  height: 24px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--trans-fast);
}

.dev-link:hover .dev-logo-img {
  opacity: 1;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #031508;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all var(--trans-fast);
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.6);
  background: #20ba59;
}

.floating-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-full);
  border: 2px solid #25d366;
  animation: pulseRing 2s infinite cubic-bezier(0.25, 0, 0, 1);
  pointer-events: none;
}

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

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #fff;
  border: 1px solid var(--cyan);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.3);
  z-index: 1000;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-row {
    grid-template-columns: 1fr 1fr;
  }
  .simulator-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tech-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .diagnosis-card {
    padding: 30px 20px;
  }
  .request-card {
    padding: 30px 20px;
  }
  .footer-top-row {
    grid-template-columns: 1fr;
  }
  .floating-whatsapp span:not(.floating-pulse) {
    display: none;
  }
  .floating-whatsapp {
    padding: 14px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .hero-metrics-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-action-primary, .btn-action-secondary {
    width: 100%;
    justify-content: center;
  }
  .terminal-meta {
    flex-direction: column;
    gap: 4px;
  }
}
