/* ============================================================
   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);
}

/* ── 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);
}

/* Rate cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.pricing-card--pppoe {
  border-top: 3px solid #5b8dee;
}

.pricing-card--voucher {
  border-top: 3px solid var(--neon);
  box-shadow: 0 0 0 1px rgba(0,229,200,0.08), 0 6px 24px rgba(0,229,200,0.05);
}

.pricing-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.pricing-card--pppoe  .pricing-card-icon { color: #5b8dee; }
.pricing-card--voucher .pricing-card-icon { color: var(--neon); }

.pricing-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.pricing-card-rate {
  font-family: var(--mono);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-card--pppoe  .pricing-card-rate { color: #8ab4f8; }
.pricing-card--voucher .pricing-card-rate { color: var(--neon); }

.pricing-card-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.pricing-card-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

.pricing-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.pricing-card-bullets li {
  font-size: 0.875rem;
  color: #a8b8cc;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.45;
}

.pricing-card-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-card--pppoe  .pricing-card-bullets li::before { color: #5b8dee; }
.pricing-card--voucher .pricing-card-bullets li::before { color: var(--neon); }

/* Trial banner */
.pricing-trial-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(0,229,200,0.05);
  border: 1px solid rgba(0,229,200,0.2);
  border-radius: 0.75rem;
  padding: 1.1rem 1.5rem;
  font-size: 0.95rem;
  color: #c8dae8;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-trial-icon {
  font-size: 1.4rem;
  color: var(--neon);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pricing-trial-banner strong {
  color: #e6edf3;
}

/* Calculator */
.pricing-calculator {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}

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

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

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 540px) {
  .calc-row { grid-template-columns: 1fr; }
}

.calc-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

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

.calc-input-wrap:focus-within {
  border-color: rgba(0,229,200,0.45);
}

.calc-input-affix {
  padding: 0 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border-right: 1px solid var(--border);
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  user-select: none;
}

.calc-input-affix--suffix {
  border-right: none;
  border-left: 1px solid var(--border);
}

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

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

/* Result breakdown */
.calc-result {
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 2rem;
}

.calc-result--empty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.calc-breakdown {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  overflow: hidden;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  gap: 1rem;
}

.calc-breakdown-label {
  font-size: 0.875rem;
  color: #a8b8cc;
}

.calc-breakdown-amount {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: #e6edf3;
  white-space: nowrap;
}

.calc-breakdown-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(0,229,200,0.04);
  gap: 1rem;
}

.calc-breakdown-total-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #c8dae8;
}

.calc-total-amount {
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neon);
}

/* Features table */
.features-table-wrap {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

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

.features-section-row td {
  background: rgba(0,229,200,0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid rgba(0,229,200,0.12);
  padding: 0.65rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--neon);
}

.features-section-row:first-child td {
  border-top: none;
}

.features-feature-row td {
  padding: 0.6rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: top;
}

.features-feature-row:last-child td {
  border-bottom: none;
}

.feature-name {
  font-size: 0.875rem;
  color: #c8dae8;
  white-space: nowrap;
  width: 38%;
}

.feature-check {
  color: var(--neon);
  font-weight: 700;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .feature-name  { white-space: normal; width: auto; }
  .feature-desc  { display: none; }
}

/* Note strip */
.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;
}

/* ── 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;
  }
}