@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --secondary: #0F172A;
  --accent: #06B6D4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; }

/* ── Navbar ── */
#navbar { transition: background 0.35s ease, box-shadow 0.35s ease; }
.navbar-transparent { background: transparent; box-shadow: none; }
.navbar-white {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}
.navbar-white .nav-text { color: #1e293b !important; }
.navbar-white .logo-text { color: #1e293b !important; }
.navbar-white .hamburger-line { background: #1e293b !important; }
.navbar-solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}
.navbar-solid .nav-text { color: #1e293b !important; }
.navbar-solid .logo-text { color: #1e293b !important; }
.navbar-solid .hamburger-line { background: #1e293b !important; }

/* ── Hamburger ── */
.hamburger-line { transition: all 0.3s ease; }
.hamburger-open .line-1 { transform: rotate(45deg) translate(6px, 6px); }
.hamburger-open .line-2 { opacity: 0; transform: scaleX(0); }
.hamburger-open .line-3 { transform: rotate(-45deg) translate(6px, -6px); }

/* ── Dropdown ── */
.dropdown-menu {
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.22s ease; pointer-events: none;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}

/* ── Mobile Menu ── */
#mobileMenu {
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-overlay {
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-overlay.active { opacity: 1; pointer-events: auto; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(37,99,235,0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(37,99,235,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.animate-fade-in-up  { animation: fadeInUp 0.7s ease-out forwards; }
.animate-fade-in-left{ animation: fadeInLeft 0.7s ease-out forwards; }
.animate-float       { animation: float 5s ease-in-out infinite; }
.animate-spin-slow   { animation: spin-slow 20s linear infinite; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

.anim-hidden { opacity: 0; }

/* ── Gradients ── */
.hero-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
}
.hero-gradient-purple {
  background: linear-gradient(135deg, #0f172a 0%, #3b0764 55%, #7c3aed 100%);
}
.hero-gradient-green {
  background: linear-gradient(135deg, #0f172a 0%, #064e3b 55%, #059669 100%);
}
.hero-gradient-orange {
  background: linear-gradient(135deg, #0f172a 0%, #431407 55%, #ea580c 100%);
}
.hero-gradient-red {
  background: linear-gradient(135deg, #0f172a 0%, #450a0a 55%, #dc2626 100%);
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-bg { background: #f8fafc; }

/* ── Cards ── */
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-hover:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(0,0,0,0.10); }

.pricing-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px rgba(0,0,0,0.12); }
.pricing-popular {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  transform: scale(1.04);
  box-shadow: 0 24px 56px rgba(37,99,235,0.35);
}
.pricing-popular:hover { transform: scale(1.04) translateY(-6px); }

/* ── Buttons ── */
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37,99,235,0.35);
}
.btn-white { transition: all 0.3s ease; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.15); }
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15); border-color: white;
}

/* ── FAQ ── */
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
}
.faq-answer.open { max-height: 600px; }
.faq-icon { transition: transform 0.3s ease; }
.faq-icon.rotated { transform: rotate(180deg); }

/* ── Status ── */
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #10b981; animation: pulse-ring 2s infinite;
}
.status-degraded { background: #f59e0b; }
.status-down { background: #ef4444; }

/* ── Feature icon ── */
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Table ── */
.compare-table th, .compare-table td {
  padding: 14px 20px; text-align: center;
}
.compare-table thead th { background: #f1f5f9; font-weight: 600; color: #374151; }
.compare-table tbody tr:nth-child(even) { background: #f8fafc; }
.compare-table td:first-child { text-align: left; font-weight: 500; color: #374151; }

/* ── Modal ── */
.modal-backdrop {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* ── Misc ── */
.check-green { color: #10b981; }
.cross-red   { color: #ef4444; }
.tag {
  display: inline-block; padding: 2px 10px; border-radius: 99px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
}
.world-map-placeholder {
  background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
  border-radius: 16px; overflow: hidden; position: relative;
}
.dc-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: #2563eb; border: 2px solid white;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.25);
  cursor: pointer; transition: transform 0.2s ease;
  animation: pulse-ring 2.5s infinite;
}
.dc-dot:hover { transform: scale(1.5); }
.testimonial-card { background: white; border: 1px solid #e2e8f0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eff6ff; color: #2563eb; border-radius: 99px;
  padding: 4px 16px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px;
}
