/* ==========================================================================
   DESIGN SYSTEM & THEME CONFIGURATION
   ========================================================================== */

:root {
  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  /* Color Schemes - Light Theme (Default) */
  --bg-color-h: 220;
  --bg-color-s: 15%;
  --bg-color-l: 98%;
  
  --bg: hsl(var(--bg-color-h), var(--bg-color-s), var(--bg-color-l));
  --surface: hsl(var(--bg-color-h), 10%, 100%);
  --surface-overlay: hsla(var(--bg-color-h), 15%, 100%, 0.7);
  --border: hsla(var(--bg-color-h), 15%, 10%, 0.08);
  --border-hover: hsla(var(--bg-color-h), 15%, 10%, 0.15);
  
  --text: hsl(var(--bg-color-h), 25%, 12%);
  --text-muted: hsl(var(--bg-color-h), 15%, 42%);
  --text-dim: hsl(var(--bg-color-h), 10%, 60%);

  --primary: hsl(152, 80%, 26%); /* Deep Emerald */
  --primary-hover: hsl(152, 80%, 20%);
  --primary-rgb: 5, 150, 105;
  --accent: hsl(180, 100%, 35%); /* Teal-Mint */
  --accent-rgb: 0, 164, 180;
  
  --glow-1: rgba(5, 150, 105, 0.06);
  --glow-2: rgba(30, 58, 138, 0.05);

  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12);

  /* 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.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max-width: 1200px;
  --navbar-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  color-scheme: light dark;
  accent-color: var(--primary);
  scrollbar-color: var(--primary) var(--border);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-color-h: 222;
  --bg-color-s: 30%;
  --bg-color-l: 6%;

  --bg: hsl(var(--bg-color-h), var(--bg-color-s), var(--bg-color-l));
  --surface: hsl(var(--bg-color-h), 24%, 10%);
  --surface-overlay: hsla(var(--bg-color-h), 24%, 10%, 0.7);
  --border: hsla(var(--bg-color-h), 20%, 90%, 0.06);
  --border-hover: hsla(var(--bg-color-h), 20%, 90%, 0.12);
  
  --text: hsl(var(--bg-color-h), 15%, 94%);
  --text-muted: hsl(var(--bg-color-h), 12%, 70%);
  --text-dim: hsl(var(--bg-color-h), 10%, 45%);

  --primary: hsl(152, 70%, 46%); /* Vibrant Mint-Emerald */
  --primary-hover: hsl(152, 70%, 52%);
  --primary-rgb: 16, 185, 129;
  --accent: hsl(180, 100%, 45%); /* Electric Cyan-Teal */
  --accent-rgb: 6, 182, 212;

  --glow-1: rgba(16, 185, 129, 0.1);
  --glow-2: rgba(59, 130, 246, 0.08);

  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  transition: background-color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(var(--primary-rgb), 0.4);
}

.btn-secondary {
  background-color: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  background-color: var(--bg);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Decorative Background Glows */
.glow-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -10;
  pointer-events: none;
  opacity: 0.8;
}

.glow-1 {
  width: 400px;
  height: 400px;
  background-color: var(--glow-1);
  top: -100px;
  right: -50px;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background-color: var(--glow-2);
  top: 600px;
  left: -200px;
  animation: floatGlow 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 30px) scale(1.1); }
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hidden Utility */
.hidden {
  display: none !important;
}

/* ==========================================================================
   NAVIGATION BAR (NAVBAR)
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: var(--surface-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: all var(--transition-normal);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

.logo-wrapper {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(var(--bg-color-h), 20%, 95%, 0.1);
  border-radius: var(--radius-sm);
}

.logo-img {
  width: 100%;
  height: 100%;
}

.nav-logo:hover .logo-wrapper {
  transform: rotate(5deg) scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

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

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background-color: hsla(0, 0%, 50%, 0.05);
}

/* Swap icons based on dataset values */
.sun-icon { display: block; width: 20px; height: 20px; }
.moon-icon { display: none; width: 20px; height: 20px; }

[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.section-hero {
  padding-top: calc(var(--navbar-height) + 60px);
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background-color: hsla(152, 80%, 30%, 0.08);
  border: 1px solid hsla(152, 80%, 30%, 0.15);
  margin-bottom: 24px;
  font-size: 0.85rem;
}

[data-theme="dark"] .badge-new {
  background-color: hsla(152, 70%, 46%, 0.08);
  border-color: hsla(152, 70%, 46%, 0.2);
}

.badge-tag {
  font-weight: 700;
  color: var(--primary);
}

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

.hero-title {
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-subtitle {
  margin-bottom: 36px;
  max-width: 580px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Hero visual mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.dashboard-mockup {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mockup-header {
  background: hsla(var(--bg-color-h), 20%, 95%, 0.05);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-hover);
}

.mockup-tab {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-body {
  padding: 24px;
}

.mockup-chart {
  height: 140px;
  display: flex;
  align-items: flex-end;
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.chart-bars {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 100%;
  align-items: flex-end;
}

.bar {
  width: 14%;
  height: var(--h);
  background: hsla(var(--primary-rgb), 0.2);
  border-radius: 4px 4px 0 0;
  transition: height 1s;
}

.bar.animated {
  background: linear-gradient(to top, var(--primary), var(--accent));
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
  animation: pulseHeight 2.5s infinite alternate;
}

@keyframes pulseHeight {
  0% { height: 70%; }
  100% { height: 95%; }
}

.mockup-terminal {
  background: #090d16;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: monospace;
  font-size: 0.8rem;
  color: #e2e8f0;
}

.terminal-line {
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t-green { color: #10B981; }
.t-dim { color: #64748b; }

/* ==========================================================================
   PARTNERS SECTION (BANK GRID)
   ========================================================================== */

.section-partners {
  padding: 80px 0;
  background-color: hsla(var(--bg-color-h), 20%, 95%, 0.2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-description {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.partners-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.partners-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.partner-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.partner-bg-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--color) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.partner-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  transition: all var(--transition-normal);
}

.partner-logo-img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.partner-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.partner-detail {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.partner-card:hover .partner-bg-glow {
  opacity: 1;
}

.partner-card:hover .partner-icon-wrapper {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */

.section-products {
  padding: 100px 0;
}

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

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

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.product-card-featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--surface) 0%, hsla(var(--bg-color-h), 20%, 95%, 0.1) 100%);
  position: relative;
}

.product-card-featured:hover {
  border-color: var(--accent);
}

.product-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  background-color: var(--border);
  color: var(--text-muted);
  margin-bottom: 16px;
}

.badge-featured {
  background-color: var(--primary);
  color: #ffffff;
}

.product-title {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.product-tagline {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: hsla(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.product-card-featured .feature-icon {
  background: hsla(var(--accent-rgb), 0.15);
  color: var(--accent);
}

.feature-item h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.85rem;
}

/* ==========================================================================
   PORTFOLIO & CASE STUDIES
   ========================================================================== */

.section-portfolio {
  padding: 100px 0;
  background-color: hsla(var(--bg-color-h), 20%, 95%, 0.1);
  border-top: 1px solid var(--border);
}

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

.portfolio-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.portfolio-item:hover {
  transform: scale(1.02);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.portfolio-content {
  padding: 32px;
}

.portfolio-client {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

.portfolio-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text);
}

.portfolio-text {
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* ==========================================================================
   PLAYGROUND / SWITCH SIMULATOR
   ========================================================================== */

.section-playground {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.playground-dashboard {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 32px;
}

.playground-controls {
  padding: 32px;
  background: hsla(var(--bg-color-h), 20%, 95%, 0.15);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel-title {
  font-size: 1.15rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.15);
}

/* Playground Visualizer Column */
.playground-visualizer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  background: #060911;
  color: #f8fafc;
  min-height: 420px;
  position: relative;
}

.flow-nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.flow-node {
  width: 120px;
  padding: 16px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  z-index: 2;
  transition: all var(--transition-normal);
}

.flow-node .node-icon {
  font-size: 1.6rem;
}

.flow-node .node-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
}

.flow-node.active {
  background: rgba(var(--primary-rgb), 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
}

.flow-node.active .node-label {
  color: #fff;
}

/* Lines connecting nodes */
.flow-line-container {
  flex-grow: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  margin: 0 10px;
  border-radius: 2px;
}

.flow-line {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 1s ease-in-out;
}

.flow-line.pulse {
  width: 100%;
}

.flow-line.pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: pulseLine 1.5s infinite;
}

@keyframes pulseLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* Simulator console log box */
.console-box {
  background: #03050a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: monospace;
  font-size: 0.8rem;
  min-height: 160px;
  display: flex;
  flex-direction: column;
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-weight: 700;
  color: #64748b;
}

.console-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.console-log {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.log-line {
  line-height: 1.4;
  word-break: break-all;
}

.log-line.error { color: #f43f5e; }
.log-line.success { color: #10b981; }
.log-line.info { color: #38bdf8; }

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */

.section-about {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 64px;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.globe-container {
  width: 300px;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wireframe-sphere {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed var(--border);
  animation: rotateSphere 20s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lat, .lon {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.lat {
  width: 100%;
  height: 60%;
}
.lat:nth-child(2) { height: 30%; }
.lat:nth-child(3) { height: 90%; }

.lon {
  width: 60%;
  height: 100%;
}
.lon:nth-child(5) { width: 30%; }
.lon:nth-child(6) { width: 90%; }

@keyframes rotateSphere {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.nigeria-focus {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nigeria-focus span {
  width: 16px;
  height: 16px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.nigeria-focus p {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-overlay);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 4px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.about-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 0.85rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.section-contact {
  padding: 100px 0;
  background-color: hsla(var(--bg-color-h), 20%, 95%, 0.15);
  border-top: 1px solid var(--border);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-icon {
  font-size: 1.4rem;
}

.contact-detail-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail-item p {
  font-size: 0.88rem;
}

.contact-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 480px;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.contact-form textarea {
  resize: vertical;
}

/* Interactive form validation styling using :user-valid and :user-invalid */
.contact-form input:user-valid,
.contact-form textarea:user-valid,
.contact-form select:user-valid {
  border-color: #10b981;
}

.contact-form input:user-invalid,
.contact-form textarea:user-invalid {
  border-color: #f43f5e;
}

/* Success State Screen */
.form-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 40px 0;
  animation: fadeIn 0.4s ease-out;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.form-success-state h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.form-success-state p {
  margin-bottom: 32px;
  max-width: 420px;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  padding: 80px 0 40px;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.9rem;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 16px;
}

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

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

.links-column h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.links-column a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-subtitle {
    margin-right: auto;
    margin-left: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .playground-dashboard {
    grid-template-columns: 1fr;
  }
  .playground-controls {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Toggle mobile menu */
  .burger-menu {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-height));
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-cta {
    width: 100%;
  }

  .partners-track {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .partners-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .product-card {
    padding: 24px;
  }
  .contact-form-wrapper {
    padding: 24px;
  }
}
