/* ELVRA — deep blue + electric cyan design system
   Differentiated: capsule floating nav, dark navy hero, cyan gradient accents,
   Plus Jakarta display type, soft large radius cards */

:root {
  --navy: #0a2744;
  --navy-deep: #061a2e;
  --brand: #0f4c81;
  --brand-600: #0d4372;
  --brand-700: #0b3a63;
  --cyan: #06b6d4;
  --cyan-soft: #22d3ee;
  --cyan-dim: #0891b2;
  --slate: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 76, 129, 0.12);
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

/* Capsule floating nav with glass */
.nav-blur {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
}

.nav-blur.nav-scrolled {
  border-bottom-color: rgba(15, 76, 129, 0.08);
  box-shadow: 0 8px 32px rgba(6, 26, 46, 0.06);
}

.nav-inner {
  margin: 0.65rem auto;
  max-width: 72rem;
  border-radius: 9999px;
  border: 1px solid rgba(15, 76, 129, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 24px rgba(6, 26, 46, 0.06);
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .nav-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.gradient-text {
  background: linear-gradient(120deg, #0f4c81 0%, #06b6d4 55%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Dark navy hero */
.hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(6, 182, 212, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(15, 76, 129, 0.45) 0%, transparent 50%),
    linear-gradient(165deg, #061a2e 0%, #0a2744 45%, #0f4c81 100%);
  color: #f8fafc;
}

.grid-bg {
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, black 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 90%);
}

.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 76, 129, 0.12);
  border-color: rgba(6, 182, 212, 0.35);
}

/* Pricing popular badge */
.pricing-popular {
  position: relative;
  border-color: #06b6d4 !important;
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.18);
}

.pricing-popular::before {
  content: "Most Popular";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #0f4c81, #06b6d4);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}

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

.float-anim {
  animation: floatY 5.5s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: block;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, rgba(15, 76, 129, 0.08), rgba(6, 182, 212, 0.12));
  color: #0f4c81;
}

/* Dashboard mock for hero */
.dashboard-mock {
  border-radius: 1rem;
  background: #0b1f36;
  border: 1px solid rgba(6, 182, 212, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.dashboard-mock .mock-titlebar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-mock .mock-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
}

.mock-chart-bar {
  border-radius: 0.35rem 0.35rem 0 0;
  background: linear-gradient(180deg, #22d3ee 0%, #0f4c81 100%);
  min-width: 0.65rem;
  transition: height 0.3s ease;
}

.btn-primary {
  background: linear-gradient(105deg, #0f4c81 0%, #0891b2 100%);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 22px rgba(6, 182, 212, 0.35);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  filter: none;
}

.btn-ghost {
  border: 1px solid rgba(15, 76, 129, 0.25);
  color: #0f4c81;
  border-radius: 9999px;
  font-weight: 600;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(15, 76, 129, 0.06);
  border-color: #0f4c81;
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ai-section {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #061a2e 0%, #0a2744 100%);
}

.footer-dark {
  background: #061a2e;
  color: #94a3b8;
}

.field-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-input:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}

.code-block {
  background: #0b1f36;
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 0.85rem;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.55;
  overflow-x: auto;
  padding: 1rem 1.15rem;
}

.success-check {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.integ-letter {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}
