﻿:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.35);
  --secondary: #0ea5e9;
  --accent: #10b981;
  --accent-glow: rgba(16, 185, 129, 0.3);
  --dark-bg: #0b0f19;
  --dark-surface: #111827;
  --dark-card: #161f30;
  --dark-card-hover: #1e2c42;
  --border-color: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(37, 99, 235, 0.6);
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--dark-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

a {
  color: #38bdf8;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #7dd3fc;
}

/* Glassmorphism Navigation */
.navbar-custom {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
  transition: all 0.3s ease;
}

.navbar-custom.scrolled {
  background: rgba(11, 15, 25, 0.96);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.navbar-brand img {
  max-height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.3));
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-menu-dark-custom {
  background: #111827;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  padding: 0.75rem;
}

.dropdown-item-custom {
  color: var(--text-muted);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-item-custom:hover {
  background: rgba(37, 99, 235, 0.15);
  color: #ffffff;
  transform: translateX(3px);
}

/* Buttons */
.btn-primary-glow {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.55);
}

.btn-secondary-dark {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.btn-secondary-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Badges */
.badge-pill-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 50px;
  color: #60a5fa;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-pill-glow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 7rem 0 5rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.18), transparent 70%);
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 2rem;
}

.text-muted {
  color: #cbd5e1 !important;
}

.text-secondary {
  color: #94a3b8 !important;
}

.text-dim {
  color: var(--text-dim) !important;
}

/* Cards & Grid */
.feature-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card p,
.feature-card .card-text,
.card-body p,
.card p,
.feature-card ul,
.feature-card ol {
  color: #e2e8f0;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 25px rgba(37, 99, 235, 0.15);
}

.card {
  background-color: var(--dark-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.card-header, .card-footer {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: var(--border-color);
  color: #ffffff;
}

.list-group-item {
  background-color: transparent;
  color: #e2e8f0;
  border-color: var(--border-color);
}

.accordion-item {
  background-color: var(--dark-card);
  border: 1px solid var(--border-color);
  color: #e2e8f0;
}

.accordion-button {
  background-color: var(--dark-card);
  color: #ffffff;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(37, 99, 235, 0.15);
  color: #38bdf8;
}

.accordion-body {
  color: #e2e8f0;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

/* Mockup Terminal */
.code-mockup {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.mockup-header {
  background: #161b22;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #10b981; }

.mockup-body {
  padding: 1.25rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.88rem;
  color: #cbd5e1;
  overflow-x: auto;
}

/* Section styling */
.section-padding {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
}

/* Integrations Logos Grid */
.partner-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: all 0.2s ease;
}

.partner-badge:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

/* Interactive Calculator Box */
.calc-container {
  background: var(--dark-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer-custom {
  background: #070a11;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem 0;
  color: var(--text-muted);
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-link {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: #38bdf8;
  transform: translateX(2px);
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.4rem;
  }
}
