/* ============================================
   Relvora LLC — Styles v2
   ============================================ */

:root {
  --bg: #06080f;
  --bg-alt: #0a0e1a;
  --surface: #111827;
  --surface-hover: #1a2235;
  --border: #1a2040;
  --border-light: #263354;
  --text: #e8ecf4;
  --text-muted: #8b9bc0;
  --text-dim: #4e5f85;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.2);
  --accent-2: #8b5cf6;
  --accent-3: #a78bfa;
  --cyan: #22d3ee;
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
  --gradient-text: linear-gradient(135deg, #818cf8 0%, #a78bfa 40%, #c4b5fd 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.08) 100%);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --max-w: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.3s;
  --duration-slow: 0.5s;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---- Skip Link (accessibility) ---- */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 16px;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* ---- Scroll Progress ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gradient);
  z-index: 200;
  width: 0%;
  transition: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 550;
  cursor: pointer;
  border: none;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  position: relative;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration) var(--ease);
}

.btn:hover svg {
  transform: translateX(2px);
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-glow {
  overflow: visible;
  isolation: isolate;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--gradient);
  z-index: -1;
  filter: blur(12px);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  pointer-events: none;
}

.btn-glow:hover::after {
  opacity: 0.5;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 9px 22px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.btn-nav:hover {
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all var(--duration) var(--ease);
}

.nav.scrolled {
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(26, 32, 64, 0.5);
  padding: 12px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--duration);
}

.logo:hover {
  opacity: 0.85;
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  color: #fff;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
  font-weight: 470;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ---- Dropdown ---- */
.nav-dropdown {
  position: relative;
}

.dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform var(--duration) var(--ease);
  stroke-width: 2;
}

.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-trigger {
  user-select: none;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--duration) var(--ease-out);
  padding: 8px;
  z-index: 200;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 16px;
}

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

.dropdown-header {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding: 8px 12px 6px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
}

.dropdown-item:hover {
  background: rgba(99, 102, 241, 0.08);
}

.dropdown-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.1);
  color: var(--item-color, var(--accent-light));
  flex-shrink: 0;
}

.dropdown-item-icon svg {
  width: 20px;
  height: 20px;
}

.dropdown-item-content {
  flex: 1;
  min-width: 0;
}

.dropdown-item-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.dropdown-item-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.dropdown-item-arrow {
  width: 14px;
  height: 14px;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
}

.dropdown-item:hover .dropdown-item-arrow {
  color: var(--accent-light);
  transform: translateX(2px);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 8px;
}

.dropdown-footer {
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 8px 12px;
  font-style: italic;
}

.altitude-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

/* ---- Mobile Menu ---- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black, transparent);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.glow-1 {
  width: 700px;
  height: 700px;
  background: rgba(99, 102, 241, 0.08);
  top: -300px;
  right: -200px;
  animation: glowFloat 12s ease-in-out infinite;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(139, 92, 246, 0.06);
  bottom: -200px;
  left: -150px;
  animation: glowFloat 15s ease-in-out infinite reverse;
}

.glow-3 {
  width: 300px;
  height: 300px;
  background: rgba(34, 211, 238, 0.04);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation: glowFloat 10s ease-in-out infinite 3s;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 15px); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px 7px 12px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 550;
  color: var(--accent-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 0.6s var(--ease-out) both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.hero-line {
  display: block;
  animation: fadeInUp 0.7s var(--ease-out) both;
}

.hero-line:nth-child(1) { animation-delay: 0.15s; }
.hero-line:nth-child(2) { animation-delay: 0.3s; }

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

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 44px;
  animation: fadeInUp 0.7s var(--ease-out) 0.45s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
  animation: fadeInUp 0.7s var(--ease-out) 0.6s both;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 4px;
  backdrop-filter: blur(12px);
  animation: fadeInUp 0.7s var(--ease-out) 0.75s both;
}

.stat {
  text-align: center;
  padding: 20px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 4px;
}

.stat-icon svg {
  width: 20px;
  height: 20px;
}

.stat-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 450;
}

.stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 12px 0;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeInUp 0.7s var(--ease-out) 1.2s both;
  transition: opacity var(--duration);
}

.hero-scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-scroll-hint span {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 1; }
}

/* ---- Sections ---- */
.section {
  padding: 110px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
}

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

.section-alt::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 100px;
  border: 1px solid rgba(99, 102, 241, 0.12);
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: all var(--duration-slow) var(--ease);
  position: relative;
  overflow: hidden;
}

.about-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: opacity var(--duration-slow);
  pointer-events: none;
}

.about-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(99, 102, 241, 0.1) inset;
}

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

.about-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-subtle);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius);
  margin-bottom: 22px;
  color: var(--accent-light);
  position: relative;
}

.about-icon svg {
  width: 24px;
  height: 24px;
}

.about-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: all var(--duration-slow) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform var(--duration-slow) var(--ease-out);
  transform-origin: left;
}

.service-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.25),
    0 0 60px rgba(99, 102, 241, 0.05);
}

.service-card:hover .service-card-border {
  transform: scaleX(1);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-subtle);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius);
  color: var(--accent-light);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-number {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 100px;
  border: 1px solid var(--border);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.service-features {
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-features li {
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 6px var(--accent-glow);
}

/* ---- Capabilities ---- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cap-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: border-color var(--duration);
}

.cap-group:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.cap-group-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 8px;
}

.cap-group-icon svg {
  width: 22px;
  height: 22px;
}

.cap-group h4 {
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.01em;
}

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

.cap-tags span {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 460;
  transition: all var(--duration) var(--ease);
  cursor: default;
}

.cap-tags span:hover {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-light);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

/* ---- Process ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
}

.process-step-line {
  position: absolute;
  top: 24px;
  left: calc(50% + 30px);
  right: calc(-50% + 30px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step:last-child .process-step-line {
  display: none;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Products ---- */
.product-showcase {
  max-width: 800px;
  margin: 0 auto;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease);
}

.product-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 80px rgba(245, 158, 11, 0.05);
}

.product-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
}

.product-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.product-info {
  position: relative;
}

.product-logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.product-logo {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius);
  color: #f59e0b;
  flex-shrink: 0;
}

.product-logo svg {
  width: 26px;
  height: 26px;
}

.product-logo-area h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-url {
  font-size: 0.82rem;
  color: #f59e0b;
  font-weight: 500;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.product-features {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.product-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.3);
  border: 2px solid #f59e0b;
}

.product-coming-soon {
  text-align: center;
  margin-top: 32px;
}

.product-coming-soon p {
  font-size: 0.88rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ---- Differentiators ---- */
.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  transition: all var(--duration-slow) var(--ease);
}

.diff-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.diff-number {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
  opacity: 0.6;
}

.diff-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

/* ---- FAQ ---- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}

.faq-item[open] {
  border-color: rgba(99, 102, 241, 0.25);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color var(--duration);
  user-select: none;
}

.faq-question::-webkit-details-marker,
.faq-question::marker {
  display: none;
  content: '';
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent-light);
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question::after {
  content: '\2212';
}

.faq-question:hover {
  color: var(--accent-light);
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-answer a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  color: var(--accent-3);
}

/* ---- Contact ---- */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.contact-content p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all var(--duration) var(--ease);
}

.contact-method:hover {
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.04);
  transform: translateX(4px);
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-subtle);
  border-radius: var(--radius-sm);
  color: var(--accent-light);
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 18px;
  height: 18px;
}

.contact-method-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-method-value {
  display: block;
  font-size: 0.9rem;
  color: var(--accent-light);
  font-weight: 550;
}

.contact-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
}

.contact-form-header {
  margin-bottom: 28px;
}

.contact-form-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-form-header p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

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

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

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

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

.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--duration) var(--ease);
  resize: vertical;
}

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

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--border-light);
}

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52, 211, 153, 0.1);
  border-radius: 50%;
  color: #34d399;
}

.form-success-icon svg {
  width: 28px;
  height: 28px;
}

.form-success h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.form-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  line-height: 1.5;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: var(--bg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 10px;
}

.footer-columns {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color var(--duration);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-disclaimer {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}

.footer-disclaimer p {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 800px;
  opacity: 0.7;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-powered {
  font-size: 0.72rem;
  color: var(--text-dim);
  opacity: 0.6;
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--duration) var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ---- Responsive ---- */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process-step-line {
    display: none;
  }

  .contact-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 8, 15, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 105;
    padding: 80px 24px 24px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-link {
    font-size: 1.1rem;
    padding: 12px 24px;
  }

  .nav-links .btn-nav {
    margin-top: 16px;
    padding: 14px 36px;
    font-size: 1rem;
  }

  .nav-dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    min-width: unset;
    box-shadow: none;
    border: 1px solid var(--border);
    margin-top: 4px;
    width: 100%;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 0.98rem;
  }

  .hero-stats {
    flex-direction: column;
    background: none;
    border: none;
    padding: 0;
    gap: 8px;
  }

  .stat {
    padding: 16px;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    flex-direction: row;
    gap: 12px;
    text-align: left;
    width: 100%;
  }

  .stat-divider {
    display: none;
  }

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

  .hero-scroll-hint {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 44px;
  }

  .service-card {
    padding: 28px 22px;
  }

  .contact-form-wrapper {
    padding: 24px 20px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.88rem;
  }

  .faq-answer {
    padding: 0 18px 16px;
  }

  .footer-columns {
    gap: 40px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}
