/* ============================================================
   DavinaRadius Landing Page — Terminal Neon
   Separate from custom.css — landing page only
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Variables ── */
:root {
  --neon:        #00e5c8;
  --neon-dim:    rgba(0, 229, 200, 0.15);
  --neon-glow:   0 0 20px rgba(0, 229, 200, 0.4);
  --violet:      #7c3aed;
  --violet-dim:  rgba(124, 58, 237, 0.15);
  --canvas:      #0d1117;
  --surface:     #161b22;
  --surface-2:   #1c2333;
  --border:      #21262d;
  --text:        #cdd9e5;
  --text-muted:  #8b9ab0;
  --mono:        'JetBrains Mono', monospace;
  --sans:        'Space Grotesk', system-ui, sans-serif;
}

/* ── Base ── */
body {
  font-family: var(--sans);
  background-color: var(--canvas);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Navbar ── */
.dr-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  background: transparent;
}

.dr-navbar.scrolled {
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.dr-navbar .navbar-brand {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--neon) !important;
  letter-spacing: -0.02em;
}

.dr-navbar .navbar-brand span {
  color: var(--text);
}

.dr-navbar .nav-link {
  color: #8b9ab0 !important;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.4rem 0.8rem !important;
}

.dr-navbar .nav-link:hover {
  color: var(--neon) !important;
}

/* ── Canvas / Hero Background ── */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  display: block;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 229, 200, 0.07) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 100%, rgba(124, 58, 237, 0.06) 0%, transparent 60%),
              var(--canvas);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
}

/* Eyebrow label */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--neon);
  background: var(--neon-dim);
  border: 1px solid rgba(0, 229, 200, 0.25);
  border-radius: 9999px;
  padding: 0.3rem 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 6px var(--neon);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #e6edf3;
  margin-bottom: 1.25rem;
}

.hero-title .accent {
  color: var(--neon);
  position: relative;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #a8b8cc;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* Hero stat pills */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stat {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: #a8b8cc;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-stat i {
  color: var(--neon);
  font-size: 0.9rem;
}

/* ── Buttons ── */
.btn-neon {
  background: linear-gradient(135deg, #00e5c8, #00c4ac);
  color: #0a0f14 !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 0 0 0 rgba(0, 229, 200, 0);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-neon:hover {
  background: linear-gradient(135deg, #00f5d8, #00e5c8);
  color: #0a0f14 !important;
  box-shadow: var(--neon-glow);
  transform: translateY(-1px);
}

.btn-neon i {
  color: #0a0f14 !important;
}

.btn-ghost {
  background: transparent;
  color: #cdd9e5 !important;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ghost:hover {
  border-color: var(--neon);
  color: var(--neon) !important;
  background: var(--neon-dim);
}

/* ── Section base ── */
section {
  padding: 5rem 0;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--neon);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #e6edf3;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1.05rem;
  color: #a8b8cc;
  line-height: 1.75;
  max-width: 560px;
}

/* ── Countries strip ── */
.countries-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  overflow: hidden;
}

.countries-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.country-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.88rem;
  color: #a8b8cc;
  white-space: nowrap;
  transition: color 0.2s;
}

.country-pill:hover {
  color: var(--neon);
}

.country-flag {
  font-size: 1.2rem;
}

.country-label {
  font-size: 0.78rem;
  color: #8b9ab0;
}

.countries-divider {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #8b9ab0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 1rem;
}

/* ── Features ── */
.features-section {
  background: var(--canvas);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem;
  height: 100%;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  border-color: rgba(0, 229, 200, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), var(--neon-glow);
}

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

.feature-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 0.5rem;
  background: var(--neon-dim);
  border: 1px solid rgba(0, 229, 200, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--neon);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.feature-card h5 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e6edf3;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #a8b8cc;
  line-height: 1.7;
  margin: 0;
}

/* ── How it works ── */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.step-number {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--neon);
  background: var(--neon-dim);
  border: 1px solid rgba(0, 229, 200, 0.2);
  border-radius: 9999px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.step-card {
  position: relative;
}

.step-connector {
  position: absolute;
  top: 14px;
  left: calc(50% + 24px);
  width: calc(100% - 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--neon), transparent);
  opacity: 0.3;
}

/* ── Pricing ── */
.pricing-section {
  background: var(--canvas);
}

.tier-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.tier-badge.basic        { background: rgba(108,117,125,0.12); color: #6c757d; border: 1px solid #3a3f45; }
.tier-badge.starter      { background: rgba(108,117,125,0.15); color: #8b949e; border: 1px solid #30363d; }
.tier-badge.professional { background: rgba(139,92,246,0.12);  color: #a78bfa; border: 1px solid rgba(139,92,246,0.3); }
.tier-badge.growth       { background: rgba(56,189,248,0.12);  color: #38bdf8; border: 1px solid rgba(56,189,248,0.3); }
.tier-badge.business     { background: rgba(251,146,60,0.12);  color: #fb923c; border: 1px solid rgba(251,146,60,0.3); }
.tier-badge.scale        { background: rgba(34,197,94,0.12);   color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.tier-badge.enterprise   { background: rgba(0,229,200,0.12);   color: #00e5c8; border: 1px solid rgba(0,229,200,0.3); box-shadow: 0 0 8px rgba(0,229,200,0.2); }

.pricing-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--neon);
  border-radius: 0.5rem;
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  color: #a8b8cc;
  line-height: 1.75;
}

.pricing-note strong {
  color: #e6edf3;
}

/* ── Pricing table ── */
.pricing-table-wrap {
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table thead tr {
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  padding: 0.75rem 1.5rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
}

.pricing-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr {
  transition: background 0.2s ease;
}

.pricing-table tbody tr:hover {
  background: rgba(255,255,255,0.025);
}

/* Featured row — mirrors the old .tier-card.featured */
.pricing-row--featured {
  background: linear-gradient(90deg, rgba(0,229,200,0.05), rgba(0,229,200,0.02));
  box-shadow: inset 3px 0 0 rgba(0,229,200,0.45);
}

.pricing-row--featured:hover {
  background: linear-gradient(90deg, rgba(0,229,200,0.08), rgba(0,229,200,0.03)) !important;
}

.pricing-popular {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neon);
  border: 1px solid rgba(0,229,200,0.4);
  border-radius: 9999px;
  padding: 0.1rem 0.5rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Rate column — large mono, like the old .tier-rate */
.pricing-rate {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: #e6edf3;
  line-height: 1;
  white-space: nowrap;
}

.pricing-range {
  color: #8b9ab0;
  font-size: 0.9rem;
}

.pricing-fee {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: #a8b8cc;
}

/* ── Pricing calculator ── */
.pricing-calculator {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.calc-header {
  background: rgba(0,229,200,0.06);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neon);
  letter-spacing: 0.02em;
}

.calc-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.calc-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--canvas);
}

.calc-prefix {
  padding: 0.5rem 0.8rem;
  background: rgba(255,255,255,0.04);
  border-right: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.calc-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.5rem 0.85rem;
  font-family: var(--mono);
  font-size: 1rem;
  color: #e6edf3;
  outline: none;
}

.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.calc-result {
  font-size: 0.95rem;
  color: var(--text-muted);
  min-height: 1.6rem;
}

.calc-result--active {
  color: #e6edf3;
}

/* ── FAQ ── */
.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: #e6edf3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s;
}

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

.faq-question .faq-icon {
  font-size: 0.9rem;
  color: var(--neon);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 1rem;
  color: #a8b8cc;
  line-height: 1.8;
  padding-bottom: 1.25rem;
}

.faq-answer a {
  color: var(--neon);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* ── CTA ── */
.cta-section {
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0, 229, 200, 0.06) 0%, transparent 70%),
              var(--canvas);
  text-align: center;
}

.cta-section .cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #e6edf3;
  margin-bottom: 1rem;
}

.cta-section .cta-sub {
  font-size: 1.1rem;
  color: #a8b8cc;
  margin-bottom: 2rem;
}

/* ── Footer ── */
.dr-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}

.dr-footer .footer-brand {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--neon);
  margin-bottom: 0.5rem;
}

.dr-footer .footer-tagline {
  font-size: 0.92rem;
  color: #a8b8cc;
  line-height: 1.7;
}

.dr-footer h6 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b9ab0;
  margin-bottom: 1rem;
}

.dr-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dr-footer ul li {
  margin-bottom: 0.5rem;
}

.dr-footer ul li a {
  font-size: 0.92rem;
  color: #a8b8cc;
  text-decoration: none;
  transition: color 0.2s;
}

.dr-footer ul li a:hover {
  color: var(--neon);
}

.dr-footer .footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: #8b9ab0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #22c55e;
}

.footer-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 5px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-content {
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stats {
    justify-content: center;
  }
  .section-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .step-connector {
    display: none;
  }
}