/* Custom stylesheet for uhosted.net */

:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-secondary: 'Outfit', sans-serif;
  
  /* High-Tech Colors */
  --bg-dark: #060913;
  --bg-card: rgba(13, 20, 38, 0.65);
  --bg-card-hover: rgba(18, 27, 51, 0.8);
  --border-glass: rgba(255, 255, 255, 0.06);
  
  --primary: #06b6d4;
  --primary-hover: #0891b2;
  --primary-glow: rgba(6, 182, 212, 0.25);
  
  --secondary: #6366f1;
  --secondary-hover: #4f46e5;
  --secondary-glow: rgba(99, 102, 241, 0.2);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.2);
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.2);
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-primary);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-secondary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--primary-hover);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.hidden { display: none !important; }

/* Background Mesh & Ambient Animations */
.bg-grid-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 85%);
  animation: grid-drift 30s linear infinite;
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 60px 60px; }
}

.bg-glow-orb-1, .bg-glow-orb-2 {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.bg-glow-orb-1 {
  width: 450px;
  height: 450px;
  background: var(--primary);
  top: 10%;
  left: 55%;
  animation: float-orb-1 25s infinite alternate ease-in-out;
}

.bg-glow-orb-2 {
  width: 350px;
  height: 350px;
  background: var(--secondary);
  top: 50%;
  left: 10%;
  animation: float-orb-2 30s infinite alternate ease-in-out;
}

@keyframes float-orb-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(1.15); }
}

@keyframes float-orb-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(90px, -50px) scale(1.1); }
}

/* Floating Particles */
.particles-container {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  background: rgba(6, 182, 212, 0.15);
  border-radius: 50%;
}

.p-1 { width: 4px; height: 4px; top: 20%; left: 30%; animation: float-particle 14s infinite linear; }
.p-2 { width: 3px; height: 3px; top: 60%; left: 80%; animation: float-particle 18s infinite linear 2s; }
.p-3 { width: 5px; height: 5px; top: 80%; left: 25%; animation: float-particle 16s infinite linear 4s; }
.p-4 { width: 4px; height: 4px; top: 40%; left: 70%; animation: float-particle 22s infinite linear 6s; }

@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-10vh) translateX(30px); opacity: 0; }
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon-svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.3));
  transition: var(--transition-smooth);
}

.logo-hex {
  transition: var(--transition-smooth);
}

.logo-container:hover .logo-hex {
  animation: hex-spin 8s linear infinite;
  transform-origin: 25px 25px;
}

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

/* Blinking node CPU simulations */
@keyframes node-blink {
  0%, 100% { opacity: 0.6; fill: var(--primary); }
  50% { opacity: 1; fill: #22d3ee; }
}
@keyframes node-blink-alt {
  0%, 100% { opacity: 0.5; fill: var(--secondary); }
  50% { opacity: 1; fill: #a5b4fc; }
}

.node-blink-1 { animation: node-blink 1.4s infinite ease-in-out; }
.node-blink-2 { animation: node-blink-alt 2s infinite ease-in-out 0.4s; }
.node-blink-3 { animation: node-blink 1.7s infinite ease-in-out 0.8s; }

.logo-text {
  font-family: var(--font-secondary);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

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

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-smooth);
}

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

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

/* Language Switcher */
.lang-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0891b2);
  color: #fff;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0891b2, #0e7490);
  box-shadow: 0 6px 24px rgba(6, 182, 212, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  transition: var(--transition-smooth);
}

/* Sections */
section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  padding-top: 180px;
  padding-bottom: 120px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: var(--success);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 58px;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

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

.hero-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid var(--border-glass);
  padding-top: 32px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.feat-icon {
  font-size: 16px;
}

/* Server Rack Visualizer */
.server-rack {
  border: 1px solid var(--border-glass);
  background: rgba(10, 15, 28, 0.8);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-premium);
}

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

.rack-title {
  font-family: monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.rack-controls {
  display: flex;
  gap: 6px;
}

.dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-btn.green { background-color: var(--success); }

.rack-units {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.server-unit {
  background: #0f1424;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 4px solid var(--border-glass);
  border-radius: 8px;
  padding: 16px;
  transition: var(--transition-smooth);
}

.server-unit.online {
  border-left-color: var(--success);
}

.server-unit.standby {
  border-left-color: var(--warning);
}

.server-face {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.server-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.server-id {
  font-family: monospace;
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 700;
}

.server-model {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.server-metrics {
  display: flex;
  gap: 16px;
  font-family: monospace;
  font-size: 11px;
  color: var(--text-secondary);
}

.server-lights {
  display: flex;
  gap: 6px;
}

.light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.light.green { background-color: var(--success); }
.light.blue { background-color: var(--primary); }
.light.amber { background-color: var(--warning); }
.light.off { background-color: #273149; }

.light.pulse {
  animation: light-pulse 1.2s infinite;
}

@keyframes light-pulse {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Section Header */
.section-header {
  margin-bottom: 56px;
}

.section-title {
  font-size: 42px;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 650px;
  margin: 0 auto;
}

/* Services Grid */
.services-section {
  background: rgba(255, 255, 255, 0.005);
  border-top: 1px solid var(--border-glass);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  z-index: 1;
}

.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.22);
  box-shadow: var(--shadow-premium);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(6, 182, 212, 0.08), transparent 50%);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}

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

.service-icon {
  margin-bottom: 24px;
  display: inline-block;
}

.custom-icon-svg {
  width: 38px;
  height: 38px;
  color: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition-smooth);
}

.service-card:hover .custom-icon-svg {
  color: #fff;
  transform: scale(1.1) translateY(-2px);
  filter: drop-shadow(0 0 10px var(--primary));
}

.service-title {
  font-size: 20px;
  margin-bottom: 14px;
}

.service-description {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 13px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '✦';
  color: var(--primary);
}

/* VPS Spec Builder */
.vps-builder-section {
  border-top: 1px solid var(--border-glass);
}

.builder-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.slider-panel {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slider-panel h3 {
  font-size: 22px;
  margin-bottom: 32px;
}

.slider-wrapper {
  margin-bottom: 48px;
}

/* Custom Range Input */
.vps-slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #121829;
  border: 1px solid rgba(255, 255, 255, 0.05);
  outline: none;
  cursor: pointer;
}

.vps-slider::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  background: transparent;
  border: none;
  height: 10px;
}

.vps-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 3px solid #060913; /* matches body background */
  cursor: pointer;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
  transition: var(--transition-smooth);
  margin-top: -7px; /* Center the thumb on 10px track */
}

.vps-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.8);
}

.vps-slider::-moz-range-track {
  background: transparent;
  border: none;
  height: 10px;
}

.vps-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 3px solid #060913;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
  transition: var(--transition-smooth);
}

.vps-slider::-moz-range-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.8);
}

.slider-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: monospace;
  font-size: 11px;
  color: var(--text-muted);
}

.resource-displays {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.res-item {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.res-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.res-val {
  font-family: var(--font-secondary);
  font-size: 20px;
  color: var(--text-primary);
  font-weight: 700;
}

.price-panel {
  background: rgba(10, 15, 28, 0.5);
  padding: 48px;
  border-left: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.price-box {
  text-align: center;
}

.price-header {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--font-secondary);
  font-size: 64px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 12px;
}

.price-amount .currency {
  font-size: 32px;
  color: var(--primary);
  vertical-align: super;
  margin-right: 4px;
}

.price-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.vps-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vps-bullet {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Network section */
.network-section {
  border-top: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.003);
}

.network-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
}

.net-stats-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.net-card-title {
  font-size: 20px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 12px;
}

.net-nodes-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.net-node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
}

.node-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  margin-right: 12px;
  transition: var(--transition-smooth);
}

.node-status-dot.active {
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.node-status-dot.testing {
  background: var(--warning);
  box-shadow: 0 0 8px var(--warning);
  animation: node-pulse-warn 1s infinite alternate;
}

@keyframes node-pulse-warn {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.node-name {
  flex-grow: 1;
  color: var(--text-secondary);
  font-weight: 500;
}

.node-latency {
  font-family: monospace;
  font-weight: 700;
  color: var(--primary);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  min-width: 60px;
  text-align: center;
}

/* Terminal diagnostics widget styling */
.terminal-audit-card {
  background: #02050c;
  border: 1px solid #1e293b;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 420px;
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
}

.terminal-bar {
  background: #090e1a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.terminal-dot.red { background-color: var(--danger); }
.terminal-dot.yellow { background-color: var(--warning); }
.terminal-dot.green { background-color: var(--success); }

.terminal-title {
  flex-grow: 1;
  text-align: center;
  font-family: monospace;
  font-size: 11px;
  color: var(--text-muted);
}

.terminal-console-body {
  flex-grow: 1;
  padding: 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #a7f3d0; /* Soft Terminal Green */
  line-height: 1.5;
  overflow-y: auto;
  text-align: left;
}

.terminal-line {
  margin-bottom: 8px;
  white-space: pre-wrap;
  word-break: break-all;
}

.terminal-line.placeholder-line {
  color: var(--text-muted);
  font-style: italic;
}

.terminal-line.command-line {
  color: #38bdf8; /* Blue command prompt */
  font-weight: 700;
}

.terminal-line.success-line {
  color: #34d399; /* Bright green */
}

/* Hardware Specifications */
.hardware-section {
  border-top: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.003);
}

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

.hw-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition-smooth);
}

.hw-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.hw-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.hw-icon-svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition-smooth);
}

.hw-card:hover .hw-icon-svg {
  color: var(--secondary);
  transform: scale(1.08);
  filter: drop-shadow(0 0 6px var(--secondary-glow));
}

.hw-card-title {
  font-size: 18px;
}

.hw-card-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Contact Section */
.contact-section {
  border-top: 1px solid var(--border-glass);
}

.contact-container {
  display: flex;
  justify-content: center;
}

.contact-card {
  width: 100%;
  max-width: 650px;
  padding: 48px;
}

.contact-header {
  margin-bottom: 32px;
}

.contact-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

.contact-form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 15px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.select-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 96%;
  background-position-y: 50%;
}

.select-input option {
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-glass);
  background: rgba(6, 9, 19, 0.85);
  padding: 60px 0;
  color: var(--text-muted);
  font-size: 13px;
}

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

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

.footer-logo {
  width: 28px;
  height: 28px;
}

.footer-brand-name {
  font-family: var(--font-secondary);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-links {
  font-size: 12px;
}

/* Responsiveness */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-feats {
    width: 100%;
    justify-content: center;
  }
  
  .builder-container {
    grid-template-columns: 1fr;
  }
  
  .price-panel {
    border-left: none;
    border-top: 1px solid var(--border-glass);
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .hardware-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
