/* ==========================================================================
   DESIGN SYSTEM - FOUNDATION CORPORATION
   ========================================================================== */

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

:root {
  /* Colors */
  --bg-primary: #05070d;
  --bg-secondary: #0c101d;
  --bg-panel: rgba(13, 20, 38, 0.4);
  --bg-panel-hover: rgba(22, 33, 62, 0.55);
  
  --border-color: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(0, 242, 254, 0.25);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  /* Accent Colors */
  --accent-cyan: #00f2fe;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-magenta: #ff007f;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #8b5cf6 50%, #ff007f 100%);
  --grad-cyan-blue: linear-gradient(135deg, #00f2fe 0%, #3b82f6 100%);
  --grad-purple-magenta: linear-gradient(135deg, #8b5cf6 0%, #ff007f 100%);
  --grad-dark-overlay: linear-gradient(180deg, rgba(5, 7, 13, 0) 0%, #05070d 100%);
  
  /* Glow Effects */
  --glow-cyan: 0 0 20px rgba(0, 242, 254, 0.35);
  --glow-purple: 0 0 20px rgba(139, 92, 246, 0.35);
  --glow-magenta: 0 0 20px rgba(255, 0, 127, 0.35);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS Reset & General Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Global Grid Background Mesh */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 0, 127, 0.04) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  background-position: 0 0, 0 0, center center, center center;
  z-index: -2;
}

/* Backdrop Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
  animation: orb-pulse 10s infinite alternate ease-in-out;
}
.orb-cyan {
  width: 350px;
  height: 350px;
  background: var(--accent-cyan);
  top: 15%;
  left: 10%;
}
.orb-purple {
  width: 450px;
  height: 450px;
  background: var(--accent-purple);
  top: 45%;
  right: 5%;
  animation-delay: -3s;
}
.orb-magenta {
  width: 300px;
  height: 300px;
  background: var(--accent-magenta);
  bottom: 10%;
  left: 15%;
  animation-delay: -5s;
}

@keyframes orb-pulse {
  0% { transform: translateY(0) scale(1); opacity: 0.35; }
  100% { transform: translateY(-40px) scale(1.15); opacity: 0.55; }
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--grad-cyan-blue);
  color: #05070d;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
  font-weight: 700;
}
.btn-primary:hover {
  box-shadow: 0 4px 30px rgba(0, 242, 254, 0.45), var(--glow-cyan);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-color: var(--border-color);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
}

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

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

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}
.section-tag {
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Glassmorphic Panel Styles */
.glass-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  transition: border-color var(--transition-normal), background var(--transition-normal), transform var(--transition-normal);
}
.glass-panel:hover {
  border-color: var(--border-hover);
  background: var(--bg-panel-hover);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 7, 13, 0.7);
  transition: var(--transition-normal);
}
.navbar.scrolled {
  background: rgba(5, 7, 13, 0.9);
  height: 70px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--grad-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #05070d;
}
.logo-text span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-cyan-blue);
  transition: var(--transition-normal);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 5;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: var(--glow-cyan);
  animation: pulse-dot 1.5s infinite alternate;
}
@keyframes pulse-dot {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.25); opacity: 1; }
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title span.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.hero-description {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 36px;
  max-width: 580px;
  min-height: 56px; /* Avoid layout shifts when typing script runs */
}
.hero-buttons {
  display: flex;
  gap: 16px;
}

/* System Monitor Console (Hero Right Side) */
.hero-visual {
  position: relative;
}
.terminal-window {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 20, 0.85);
  backdrop-filter: blur(20px);
}
.terminal-header {
  background: rgba(15, 22, 42, 0.9);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}
.terminal-buttons {
  display: flex;
  gap: 6px;
}
.terminal-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.btn-red { background: #ef4444; }
.btn-yellow { background: #eab308; }
.btn-green { background: #22c55e; }
.terminal-title {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.terminal-body {
  padding: 20px;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  color: #ffffff;
  min-height: 320px;
  max-height: 400px;
  overflow-y: auto;
}
.terminal-line {
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  opacity: 0;
  animation: fade-in-line 0.3s forwards;
}
@keyframes fade-in-line {
  to { opacity: 1; }
}
.terminal-prompt {
  color: var(--accent-cyan);
  user-select: none;
}
.terminal-success { color: #10b981; }
.terminal-warn { color: #f59e0b; }
.terminal-info { color: #3b82f6; }
.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--accent-cyan);
  animation: blink 1s infinite;
  vertical-align: middle;
}
@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* System Stats Panel */
.telemetry-dashboard {
  margin-top: 24px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border-color);
}
.telemetry-item {
  text-align: center;
}
.telemetry-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.telemetry-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}
.telemetry-val.cyan { color: var(--accent-cyan); }
.telemetry-val.purple { color: var(--accent-purple); }
.telemetry-val.magenta { color: var(--accent-magenta); }

.progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.8s ease-out;
}
.progress-cyan { background: var(--accent-cyan); box-shadow: var(--glow-cyan); }
.progress-purple { background: var(--accent-purple); box-shadow: var(--glow-purple); }
.progress-magenta { background: var(--accent-magenta); box-shadow: var(--glow-magenta); }

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 40px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature-icon-container {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  font-size: 1.5rem;
  color: var(--accent-cyan);
  transition: var(--transition-normal);
}
.feature-card:hover .feature-icon-container {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent-cyan);
  color: #05070d;
  box-shadow: var(--glow-cyan);
}
.feature-card:nth-child(2):hover .feature-icon-container {
  background: var(--accent-purple);
  color: #ffffff;
  box-shadow: var(--glow-purple);
}
.feature-card:nth-child(3):hover .feature-icon-container {
  background: var(--accent-magenta);
  color: #ffffff;
  box-shadow: var(--glow-magenta);
}
.feature-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: var(--transition-fast);
}
.feature-card:nth-child(2) .feature-link { color: var(--accent-purple); }
.feature-card:nth-child(3) .feature-link { color: var(--accent-magenta); }

.feature-link i {
  transition: transform var(--transition-fast);
}
.feature-link:hover i {
  transform: translateX(4px);
}

/* Architecture Visualizer Section */
.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.arch-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.arch-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.arch-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: 'Outfit', sans-serif;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}
.arch-list-item:nth-child(2) .arch-num {
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.1);
}
.arch-list-item:nth-child(3) .arch-num {
  border-color: rgba(255, 0, 127, 0.3);
  color: var(--accent-magenta);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.1);
}
.arch-text h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.arch-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.arch-visual-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.network-svg {
  width: 100%;
  max-width: 520px;
  height: auto;
}
.net-node {
  fill: #0c101d;
  stroke: var(--border-color);
  stroke-width: 2;
  transition: var(--transition-normal);
  cursor: pointer;
}
.net-node:hover {
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6));
}
.net-node-active {
  stroke: var(--accent-cyan);
  fill: rgba(0, 242, 254, 0.1);
}
.net-node-purple {
  stroke: var(--accent-purple);
  fill: rgba(139, 92, 246, 0.1);
}
.net-node-magenta {
  stroke: var(--accent-magenta);
  fill: rgba(255, 0, 127, 0.1);
}
.net-edge {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1.5;
  stroke-dasharray: 6;
  animation: dash 30s linear infinite;
}
.net-edge-active {
  stroke: var(--accent-cyan);
  stroke-width: 2;
  opacity: 0.6;
}
@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}
.pulse-circle {
  animation: pulse-ring 2s infinite ease-in-out;
  transform-origin: center;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Pricing Section */
.pricing-toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
.pricing-label {
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: var(--text-secondary);
}
.pricing-label.active {
  color: #ffffff;
}
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
input:checked + .slider {
  background-color: var(--accent-cyan);
}
input:checked + .slider:before {
  transform: translateX(24px);
  background-color: #05070d;
}
.discount-badge {
  background: var(--grad-purple-magenta);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  color: white;
  margin-left: 8px;
  vertical-align: middle;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.pricing-card {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.popular {
  border-color: var(--accent-purple);
  background: rgba(17, 20, 39, 0.6);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
}
.card-ribbon {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--grad-purple-magenta);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}
.pricing-name {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.pricing-cost {
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
}
.cost-amount {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  line-height: 1;
}
.cost-period {
  color: var(--text-muted);
  font-size: 1rem;
  margin-left: 6px;
}
.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}
.pricing-feature {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.pricing-feature i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.pricing-card.popular .pricing-feature i {
  color: var(--accent-purple);
}
.pricing-feature.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}
.pricing-feature.disabled i {
  color: var(--text-muted);
}

/* Form Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
}
.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.contact-item-details h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.contact-item-details p, .contact-item-details a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.contact-item-details a:hover {
  color: var(--accent-cyan);
}

.contact-form-panel {
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group.no-margin {
  margin-bottom: 0;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.form-control {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Toast Success Message */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(12, 16, 29, 0.95);
  border: 1px solid #10b981;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.25);
  padding: 16px 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
  pointer-events: none;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-icon {
  color: #10b981;
  font-size: 1.25rem;
}
.toast-content h4 {
  font-size: 0.95rem;
  color: #ffffff;
}
.toast-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  background: #03050a;
  padding: 80px 0 30px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}
.social-link:hover {
  background: var(--accent-cyan);
  color: #05070d;
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: #ffffff;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.newsletter-input-group {
  display: flex;
  gap: 8px;
}
.newsletter-input {
  flex-grow: 1;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-policies {
  display: flex;
  gap: 24px;
}
.footer-policies a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.footer-policies a:hover {
  color: var(--text-secondary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .pricing-card.popular {
    grid-column: span 2;
    order: -1;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .arch-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  .hero {
    padding-top: 100px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .nav-links {
    display: none; /* Controlled by JS mobile menu */
  }
  .menu-toggle {
    display: block;
  }
  .nav-actions {
    display: none;
  }
  
  /* Mobile Menu Styling (JS Activated) */
  .navbar-container.active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(5, 7, 13, 0.98);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 24px;
    gap: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    grid-column: span 1;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
