/* ==========================================================================
   VERRASCRIPT, INC. - OFFICIAL BRAND STYLESHEET & DESIGN SYSTEM
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-obsidian: #06090e;
  --bg-deep: #0a0f1d;
  --bg-card: rgba(13, 20, 36, 0.65);
  --bg-card-hover: rgba(18, 28, 50, 0.85);
  --bg-input: rgba(8, 14, 26, 0.8);
  
  --border-glass: rgba(0, 240, 255, 0.15);
  --border-glass-bright: rgba(0, 240, 255, 0.4);
  --border-emerald: rgba(0, 255, 157, 0.3);
  --border-warning: rgba(255, 170, 0, 0.4);
  
  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.4);
  --accent-emerald: #00ff9d;
  --accent-emerald-glow: rgba(0, 255, 157, 0.35);
  --accent-purple: #9d4edd;
  --accent-purple-glow: rgba(157, 78, 221, 0.35);
  --accent-blue: #3b82f6;
  --accent-amber: #ffaa00;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-bright: #ffffff;

  /* DNA Base Pair Colors */
  --dna-a: #ff4757; /* Adenine */
  --dna-t: #2ed573; /* Thymine */
  --dna-c: #1e90ff; /* Cytosine */
  --dna-g: #ffa502; /* Guanine */

  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
  --font-mono: 'Fira Code', monospace;

  /* Shadows & Blurs */
  --glass-blur: blur(16px);
  --glow-cyan: 0 0 25px rgba(0, 240, 255, 0.25);
  --glow-emerald: 0 0 25px rgba(0, 255, 157, 0.25);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.4);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
}
.ambient-1 {
  top: -150px;
  left: -150px;
  background: var(--accent-cyan);
}
.ambient-2 {
  bottom: 10%;
  right: -150px;
  background: var(--accent-emerald);
}
.ambient-3 {
  top: 50%;
  left: 30%;
  background: var(--accent-purple);
}

/* Typography Helpers */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--text-bright);
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 60%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mono {
  font-family: var(--font-mono);
}

.patent-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 170, 0, 0.12);
  border: 1px solid rgba(255, 170, 0, 0.4);
  color: var(--accent-amber);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Section Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 18px;
}

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

/* Navigation Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 9, 14, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 100%;
  padding: 0 40px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: 70px;
  flex-shrink: 0;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  object-fit: cover;
  box-shadow: var(--glow-cyan);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-bright);
}

.brand-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
}

nav {
  margin-right: auto;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-fast);
  border-radius: var(--radius-full);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 255, 157, 0.08);
  border: 1px solid rgba(0, 255, 157, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

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

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 16px var(--accent-emerald); }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  outline: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0099ff 100%);
  color: #040810;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
}

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

.btn-emerald {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #00b894 100%);
  color: #040810;
  box-shadow: 0 4px 20px rgba(0, 255, 157, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 157, 0.5);
  filter: brightness(1.1);
}

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

.btn-glass:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 0;
  padding-top: 170px;
  padding-bottom: 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(4, 7, 13, 0.15) 0%, rgba(4, 7, 13, 0.45) 100%), url('assets/images/verrascript_bg.webp') center/cover no-repeat;
  border-bottom: 1px solid var(--border-glass-bright);
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 36px;
  max-width: 600px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Hero Media Display */
.hero-media-wrapper {
  position: relative;
}

.hero-media-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  padding: 16px;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-card), var(--glow-cyan);
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.floating-badge {
  position: absolute;
  padding: 12px 20px;
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid var(--border-glass);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: float 4s ease-in-out infinite;
}

.floating-badge.badge-top {
  top: -20px;
  right: -20px;
  border-color: var(--accent-cyan);
}

.floating-badge.badge-bottom {
  bottom: -20px;
  left: -20px;
  border-color: var(--accent-emerald);
  animation-delay: 2s;
}

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

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.badge-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-bright);
}

.badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* DEMONSTRATION DISCLAIMER BANNER */
.demo-disclaimer-banner {
  background: rgba(255, 170, 0, 0.08);
  border: 1px solid var(--border-warning);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(255, 170, 0, 0.15);
}

.disclaimer-icon {
  font-size: 1.6rem;
  color: var(--accent-amber);
  line-height: 1;
}

.disclaimer-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.55;
}

.disclaimer-text strong {
  color: var(--accent-amber);
}

/* Modern Glass Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-bright);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(0, 240, 255, 0.15);
}

.card-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.glass-card:hover .card-icon-box {
  background: rgba(0, 240, 255, 0.2);
  color: #ffffff;
  box-shadow: var(--glow-cyan);
}

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

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.paper-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Interactive DNA Vault Simulator Section */
.interactive-container {
  background: rgba(10, 15, 29, 0.7);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-card), var(--glow-cyan);
}

.workbench-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

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

.input-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.custom-input, .custom-textarea, .custom-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.custom-textarea {
  min-height: 110px;
  resize: vertical;
  font-family: var(--font-mono);
}

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

/* DNA Sequence Visual Output Box */
.dna-output-box {
  background: #04070d;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  min-height: 180px;
  max-height: 240px;
  overflow-y: auto;
  word-break: break-all;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
}

.dna-base {
  display: inline-block;
  width: 22px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  border-radius: 4px;
  margin: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.base-A { background: rgba(255, 71, 87, 0.2); color: var(--dna-a); border: 1px solid rgba(255, 71, 87, 0.4); }
.base-T { background: rgba(46, 213, 115, 0.2); color: var(--dna-t); border: 1px solid rgba(46, 213, 115, 0.4); }
.base-C { background: rgba(30, 144, 255, 0.2); color: var(--dna-c); border: 1px solid rgba(30, 144, 255, 0.4); }
.base-G { background: rgba(255, 165, 2, 0.2); color: var(--dna-g); border: 1px solid rgba(255, 165, 2, 0.4); }

.dna-stats-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-pill {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  font-size: 0.85rem;
}

.stat-pill strong {
  color: var(--accent-cyan);
}

/* AI Regenerative Medicine Studio Canvas */
.ai-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  background: #04070d;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

#ai-regen-canvas {
  width: 100%;
  height: 100%;
}

.ai-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.range-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-emerald);
  transition: var(--transition-fast);
}

/* Technology Architecture Diagram Flow */
.tech-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  position: relative;
  transition: var(--transition-fast);
}

.flow-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.flow-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

/* TCO Calculator */
.calculator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-result-box {
  background: rgba(4, 7, 13, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-row:last-child {
  border-bottom: none;
}

.savings-highlight {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

/* Research Library Cards */
.research-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

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

/* Form Styles & Notifications */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-full {
  grid-column: span 2;
}

.notification-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  background: rgba(10, 15, 29, 0.95);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--glow-cyan);
  color: var(--text-bright);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-column-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 20px;
}

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

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

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

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

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: var(--glass-blur);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  padding: 36px;
  box-shadow: var(--shadow-card), var(--glow-cyan);
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-cyan);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid, .workbench-grid, .calculator-box {
    grid-template-columns: 1fr;
  }

  .tech-flow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .tech-flow-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-full {
    grid-column: span 1;
  }
}
