/* ==========================================================================
   RADOSLAW TOMALA SYSTEMS (RTS) — CORE DESIGN SYSTEM & STYLESHEET
   Aesthetics: Deep Dark Space Mode, Glassmorphism, Neon HUD Elements
   ========================================================================== */

:root {
  /* Color Palette - Dark Space Primary */
  --bg-primary: #07090e;
  --bg-secondary: #0d121f;
  --bg-card: rgba(18, 26, 43, 0.75);
  --bg-card-hover: rgba(28, 40, 66, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 242, 254, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #a855f7;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  
  --gradient-cyber: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-neon: linear-gradient(135deg, #a855f7 0%, #00f2fe 100%);
  --gradient-physical: linear-gradient(135deg, #f59e0b 0%, #10b981 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  
  --shadow-glow-cyan: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-glow-purple: 0 0 25px rgba(168, 85, 247, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Theme Variant 2: Cyberpunk Neon */
body.theme-cyberpunk {
  --bg-primary: #050508;
  --bg-secondary: #0f0c1b;
  --bg-card: rgba(25, 15, 45, 0.8);
  --accent-cyan: #ff007f;
  --accent-blue: #00f0ff;
  --accent-purple: #7000ff;
  --gradient-cyber: linear-gradient(135deg, #ff007f 0%, #00f0ff 100%);
}

/* Theme Variant 3: Forest & Slate Dark */
body.theme-forest {
  --bg-primary: #06120e;
  --bg-secondary: #0c1c17;
  --bg-card: rgba(16, 36, 30, 0.8);
  --accent-cyan: #10b981;
  --accent-blue: #06b6d4;
  --accent-purple: #84cc16;
  --gradient-cyber: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

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

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

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

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

a:hover {
  color: var(--accent-blue);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

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

/* Background Ambient Elements */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-cyan);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: var(--accent-purple);
  bottom: 10%;
  right: -150px;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--accent-amber);
  top: 50%;
  left: 30%;
}

/* ==========================================================================
   MASTER SWITCHER CONTROL BAR (Fixed Top UI)
   ========================================================================== */
.master-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.master-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.brand-badge {
  background: var(--gradient-cyber);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.take-selector-group {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.take-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.take-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.take-btn.active {
  background: var(--gradient-cyber);
  color: #05070c;
  font-weight: 700;
  box-shadow: var(--shadow-glow-cyan);
}

.master-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-dropdown-select {
  background: #0d121f;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
}

/* FIX: Explicit Dark Background for Select Options across Browsers */
select,
select.form-control,
.theme-dropdown-select {
  background-color: #0d121f !important;
  color: #f8fafc !important;
}

select option,
select.form-control option,
.theme-dropdown-select option {
  background-color: #0d121f !important;
  color: #f8fafc !important;
  padding: 10px;
}

.btn-contact-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-contact-pill:hover {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: var(--shadow-glow-cyan);
}

/* ==========================================================================
   MAIN CONTENT & TAKE CONTAINERS
   ========================================================================== */
main {
  margin-top: 70px;
  min-height: calc(100vh - 70px);
}

.take-view {
  display: none;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.take-view.active {
  display: block;
}

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

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

.section-padding {
  padding: 5rem 0;
}

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

.section-subtitle {
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

/* Card Styling */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

/* ==========================================================================
   TAKE 1: CYBER-PHYSICAL SYSTEMS HUB
   ========================================================================== */
.hero-take-1 {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(7,9,14,0.3) 0%, var(--bg-primary) 100%),
              url('assets/hero_cyber_hub.png') center/cover no-repeat;
  padding: 4rem 0;
}

.hero-take-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7,9,14,0.5) 0%, var(--bg-primary) 90%);
}

.hero-content-1 {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-glow);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.hero-title-large {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* Interactive Matrix Dial Container */
.matrix-dial-section {
  padding: 4rem 0;
}

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

.matrix-node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.matrix-node-card:hover, .matrix-node-card.active {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-4px);
}

.matrix-node-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.matrix-node-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.matrix-node-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Active Node Detail Panel */
.node-inspector-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}

.node-panel-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.node-panel-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.node-spec-list {
  list-style: none;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.node-spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.node-spec-item i {
  color: var(--accent-cyan);
}

/* Inter-System Connection Graph Visual */
.graph-preview-box {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.graph-nodes-flow {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.flow-node {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.flow-arrow {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ==========================================================================
   TAKE 2: SPECTRUM SCROLLER (SILICON TO SOIL CONTINUUM)
   ========================================================================== */
.hero-take-2 {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(7,9,14,0.4) 0%, var(--bg-primary) 100%),
              url('assets/hero_spectrum_scroller.png') center/cover no-repeat;
  padding: 4rem 0;
}

.spectrum-flow-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  position: relative;
  padding-left: 2rem;
}

.spectrum-timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, var(--accent-amber) 100%);
  border-radius: 2px;
}

.spectrum-layer-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.spectrum-layer-card:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.layer-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 350px;
}

.layer-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.spectrum-layer-card:hover .layer-img-wrap img {
  transform: scale(1.04);
}

.spectrum-tag {
  display: inline-block;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.tag-cyan { background: rgba(0, 242, 254, 0.15); color: var(--accent-cyan); }
.tag-purple { background: rgba(168, 85, 247, 0.15); color: var(--accent-purple); }
.tag-blue { background: rgba(79, 172, 254, 0.15); color: var(--accent-blue); }
.tag-amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }
.tag-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }

.spectrum-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.spectrum-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Expandable Deep-Dive Drawer */
.methodology-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.methodology-drawer.open {
  max-height: 300px;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   TAKE 3: DUAL-MODE PERSONA PORTAL
   ========================================================================== */
.hero-take-3 {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(7,9,14,0.5) 0%, var(--bg-primary) 100%),
              url('assets/hero_dual_mode.png') center/cover no-repeat;
  padding: 4rem 0;
}

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

.persona-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.persona-card:hover, .persona-card.active {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
}

.persona-card.amber-mode:hover, .persona-card.amber-mode.active {
  border-color: var(--accent-amber);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
}

.persona-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.persona-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Interactive Quote & Scope Estimator Tool */
.estimator-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
}

.estimator-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.service-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.checkbox-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.checkbox-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
}

.checkbox-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-cyan);
}

.range-slider-group {
  margin-bottom: 1.5rem;
}

.range-slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

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

.estimator-summary-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.estimate-price-tag {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin: 1rem 0;
}

/* Subdomain Routing Showcase Bar */
.subdomain-showcase {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subdomain-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.subdomain-pill {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--accent-cyan);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-family: monospace;
}

/* ==========================================================================
   GLOBAL FOOTER & CONTACT MODAL
   ========================================================================== */
.footer-main {
  background: #04060a;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

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

.footer-brand-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

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

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

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

.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-secondary);
}

.contact-item i {
  color: var(--accent-cyan);
}

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

/* Modal Window Styling */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 550px;
  box-shadow: var(--shadow-card);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: #0d121f !important;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary) !important;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-cyan);
}

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

.btn-submit {
  width: 100%;
  background: var(--gradient-cyber);
  border: none;
  color: #05070c;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.btn-submit:hover {
  opacity: 0.9;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .matrix-grid { grid-template-columns: repeat(3, 1fr); }
  .node-inspector-panel { grid-template-columns: 1fr; }
  .spectrum-layer-card, .spectrum-layer-card:nth-child(even) { grid-template-columns: 1fr; gap: 1.5rem; }
  .estimator-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .persona-switch-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .master-bar { padding: 0 1rem; flex-direction: column; height: auto; padding-bottom: 0.75rem; }
  main { margin-top: 130px; }
  .take-selector-group { width: 100%; justify-content: center; }
  .take-btn { font-size: 0.75rem; padding: 0.4rem 0.75rem; }
  .matrix-grid { grid-template-columns: 1fr 1fr; }
  .hero-title-large { font-size: 2.4rem; }
  .service-checkbox-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .subdomain-showcase { flex-direction: column; gap: 1rem; text-align: center; }
}
