/* Diverg — Premium dark theme with polished animations */
:root {
  --bg: #0d0d10;
  --bg-light: #16161b;
  --bg-lighter: #1e1e25;
  --text: #ffffff;
  --text-muted: #8b8b9a;
  --text-subtle: #6b6b7b;
  --accent: #3b82f6;
  --accent-bright: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.4);
  --accent-glow-strong: rgba(59, 130, 246, 0.6);
  --border: #2a2a35;
  --border-light: #3a3a45;
  --gradient-start: rgba(59, 130, 246, 0.03);
  --gradient-mid: rgba(59, 130, 246, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

/* ---- Animated gradient background ---- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 40%, var(--gradient-mid) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, var(--gradient-start) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ---- Geometric background shapes ---- */
.geo {
  position: fixed;
  top: 0;
  width: 40%;
  height: 70%;
  pointer-events: none;
  z-index: 0;
}

.geo-left {
  left: 0;
}

.geo-right {
  right: 0;
}

.geo-block {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  transform: perspective(800px) rotateX(20deg) rotateY(-20deg);
  animation: float 10s ease-in-out infinite;
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.geo-accent {
  border-color: var(--accent);
  box-shadow: 
    0 0 40px var(--accent-glow),
    0 4px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(59, 130, 246, 0.15) 100%);
}

.geo-left .geo-block:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; width: 100px; height: 100px; }
.geo-left .geo-block:nth-child(2) { top: 35%; left: 20%; animation-delay: -2s; width: 60px; height: 60px; }
.geo-left .geo-block:nth-child(3) { top: 60%; left: 8%; animation-delay: -4s; width: 80px; height: 80px; }
.geo-left .geo-block:nth-child(4) { top: 25%; left: 35%; animation-delay: -1s; width: 50px; height: 50px; }
.geo-left .geo-block:nth-child(5) { top: 75%; left: 25%; animation-delay: -3s; width: 70px; height: 70px; }

.geo-right .geo-block:nth-child(1) { top: 15%; right: 10%; animation-delay: -1.5s; width: 90px; height: 90px; }
.geo-right .geo-block:nth-child(2) { top: 40%; right: 25%; animation-delay: -3.5s; width: 55px; height: 55px; }
.geo-right .geo-block:nth-child(3) { top: 65%; right: 5%; animation-delay: -5s; width: 85px; height: 85px; }
.geo-right .geo-block:nth-child(4) { top: 30%; right: 30%; animation-delay: -2.5s; width: 65px; height: 65px; }
.geo-right .geo-block:nth-child(5) { top: 80%; right: 20%; animation-delay: -6s; width: 50px; height: 50px; }

@keyframes float {
  0%, 100% { 
    transform: perspective(800px) rotateX(20deg) rotateY(-20deg) translateY(0) scale(1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
  50% { 
    transform: perspective(800px) rotateX(20deg) rotateY(-20deg) translateY(-15px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}

.geo-accent {
  animation: floatGlow 10s ease-in-out infinite;
}

@keyframes floatGlow {
  0%, 100% { 
    transform: perspective(800px) rotateX(20deg) rotateY(-20deg) translateY(0) scale(1);
    box-shadow: 0 0 40px var(--accent-glow), 0 4px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
  }
  50% { 
    transform: perspective(800px) rotateX(20deg) rotateY(-20deg) translateY(-15px) scale(1.02);
    box-shadow: 0 0 60px var(--accent-glow-strong), 0 8px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-bright);
  }
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  background: linear-gradient(to bottom, rgba(13, 13, 16, 0.95) 0%, transparent 100%);
  backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 32px;
  width: auto;
  max-width: 120px;
  max-height: 40px;
  object-fit: contain;
  display: block;
  filter: brightness(1.1) drop-shadow(0 0 10px var(--accent-glow));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--accent-glow);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 6px 30px var(--accent-glow-strong);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

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

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-brand {
  display: block;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 400;
}

.hero-line {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: linePulse 3s ease-in-out infinite;
}

@keyframes linePulse {
  0%, 100% { opacity: 0.5; width: 80px; }
  50% { opacity: 1; width: 100px; }
}

.hero-tagline {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9em;
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  letter-spacing: 0.05em;
}

.scroll-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 4rem;
  opacity: 0.6;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px var(--accent-glow);
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(0.8); }
}

/* ---- Page Content ---- */
.page-content {
  padding: 10rem 2rem 8rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero {
  text-align: center;
  margin-bottom: 5rem;
  animation: fadeInUp 0.8s ease-out;
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-sub {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ---- Feature Cards ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.feature-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px var(--accent-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-card h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-glow);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- API Grid ---- */
.api-section {
  margin-top: 5rem;
  text-align: center;
}

.api-section .section-title {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  color: var(--text);
}

/* Max 3 per row, last row centered */
.api-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.api-grid .api-item {
  flex: 0 1 calc((100% - 3rem) / 3);
  min-width: 220px;
  max-width: 380px;
}

.api-item {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: left;
  transition: all 0.3s ease;
}

.api-item:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
  transform: translateY(-3px);
}

.api-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
}

.api-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Solutions ---- */
.solutions {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.solution-block {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.solution-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, var(--accent-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.solution-block:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.solution-block:hover::after {
  opacity: 0.5;
}

.solution-content h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.solution-content p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 700px;
}

.solution-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.solution-list li {
  font-size: 0.9375rem;
  color: var(--text);
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 2.5rem;
}

.solution-list li::before {
  content: '→';
  position: absolute;
  left: 1rem;
  color: var(--accent);
  font-weight: 600;
}

.solution-list li:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 15px var(--accent-glow);
  transform: translateX(5px);
}

.cta-section {
  text-align: center;
  margin-top: 5rem;
  padding: 4rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-section h2 {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

/* ---- Company ---- */
.company-section {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.company-block {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.company-block h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.company-block p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* Bowling-pin: max 3 per row, last row centered */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}

.values-grid .value-item {
  flex: 0 1 calc((100% - 4rem) / 3);
  min-width: 220px;
  max-width: 360px;
}

.value-item {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.value-item:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
  transform: translateY(-3px);
}

.value-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.value-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.stats-section {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.stat-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.1);
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 200;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ---- Resources ---- */
/* Max 3 per row, last row centered */
.resources-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.resources-grid .resource-card {
  flex: 0 1 calc((100% - 3rem) / 3);
  min-width: 300px;
  max-width: 380px;
}

.resource-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.resource-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px var(--accent-glow);
}

.resource-card:hover::before {
  opacity: 1;
}

.resource-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.resource-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.resource-meta {
  margin-bottom: 1.25rem;
}

.tag {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- Pricing ---- */
.pricing-section {
  margin-top: 5rem;
  text-align: center;
}

.pricing-section .section-title {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.pricing-section .section-sub {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: scale(1.02);
}

.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--accent-glow);
  transform: translateY(-5px);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-5px);
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* ---- Help Section ---- */
.help-section {
  text-align: center;
  margin-top: 5rem;
  padding: 4rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.help-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.help-section h2 {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.help-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.help-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 1;
  padding: 2rem;
  background: linear-gradient(to top, rgba(13, 13, 16, 0.98) 0%, transparent 100%);
  border-top: 1px solid var(--border);
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-x:hover {
  color: var(--text);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

.footer-x svg {
  display: block;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  
  .geo {
    width: 30%;
    opacity: 0.3;
  }
  
  .geo-block {
    width: 50px !important;
    height: 50px !important;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .stats-section {
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .solution-block,
  .cta-section,
  .help-section {
    padding: 2rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .resources-grid .resource-card {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: none;
  }
}

/* ---- Demo request form ---- */
.demo-page .page-hero {
  margin-bottom: 2.5rem;
}

.demo-form,
.demo-success {
  max-width: 520px;
  margin: 0 auto;
}

.demo-form {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-subtle);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.btn-submit {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

.demo-success {
  text-align: center;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2.5rem;
}

.demo-success-inner h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.demo-success-inner p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.demo-success-inner .btn {
  margin-top: 0.5rem;
}

/* ---- Scroll animations ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
