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

/* Fallback dark base if Tailwind custom colors fail to load (e.g. offline / blocked CDN) */
html {
  background-color: #0a0b0f;
}
body {
  background-color: #0a0b0f;
  color: #ffffff;
  font-family: Inter, system-ui, sans-serif;
  min-height: 100vh;
}

.dot-grid {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.95));
}

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

.card-hover:hover {
  transform: translateY(-6px);
  border-color: #2a2d39;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

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

.neon-hover:hover {
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.25),
    0 0 24px rgba(16, 185, 129, 0.22),
    0 12px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

.bg-mesh {
  background:
    radial-gradient(1200px 420px at 50% -10%, rgba(99, 102, 241, 0.12), transparent 60%),
    radial-gradient(900px 380px at 88% 35%, rgba(16, 185, 129, 0.08), transparent 60%),
    radial-gradient(800px 420px at 12% 70%, rgba(129, 140, 248, 0.08), transparent 60%);
}

.bg-streaks {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 22%),
    linear-gradient(295deg, rgba(99,102,241,0.10) 0%, rgba(99,102,241,0) 25%),
    linear-gradient(140deg, rgba(16,185,129,0.08) 0%, rgba(16,185,129,0) 28%);
  mix-blend-mode: screen;
  opacity: .55;
}

.bg-vignette {
  background: radial-gradient(circle at center, transparent 32%, rgba(0,0,0,0.55) 100%);
}

.bg-noise {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Ccircle cx='7' cy='11' r='1'/%3E%3Ccircle cx='39' cy='28' r='1'/%3E%3Ccircle cx='72' cy='9' r='1'/%3E%3Ccircle cx='121' cy='33' r='1'/%3E%3Ccircle cx='158' cy='15' r='1'/%3E%3Ccircle cx='17' cy='65' r='1'/%3E%3Ccircle cx='55' cy='81' r='1'/%3E%3Ccircle cx='97' cy='59' r='1'/%3E%3Ccircle cx='136' cy='77' r='1'/%3E%3Ccircle cx='168' cy='58' r='1'/%3E%3Ccircle cx='31' cy='124' r='1'/%3E%3Ccircle cx='66' cy='143' r='1'/%3E%3Ccircle cx='104' cy='117' r='1'/%3E%3Ccircle cx='147' cy='138' r='1'/%3E%3Ccircle cx='12' cy='165' r='1'/%3E%3Ccircle cx='84' cy='171' r='1'/%3E%3Ccircle cx='169' cy='166' r='1'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.18;
}

.anim-gradient {
  background: linear-gradient(90deg, #ffffff, #818cf8, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 9s linear infinite;
}

.section-shell {
  border: 1px solid #1e2028;
  background: linear-gradient(160deg, rgba(22,24,29,0.92), rgba(17,19,24,0.85));
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.country-card {
  border: 1px solid #1e2028;
  background: rgba(17,19,24,0.78);
  border-radius: 16px;
  padding: 16px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.country-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129,140,248,0.45);
  box-shadow: 0 10px 28px rgba(0,0,0,0.32);
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(129,140,248,0.3);
  background: rgba(99,102,241,0.14);
  color: #c7d2fe;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
}

.include-item {
  border: 1px solid #1e2028;
  background: rgba(17,19,24,0.75);
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 14px;
  color: #9ca3af;
  transition: border-color .2s ease, background-color .2s ease;
}

.include-item:hover {
  border-color: rgba(16,185,129,0.45);
  background: rgba(17,19,24,0.92);
}

.country-layout {
  border: 1px solid #1e2028;
  background: linear-gradient(160deg, rgba(22,24,29,0.96), rgba(17,19,24,0.92));
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.country-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #1e2028;
  background: rgba(17,19,24,0.9);
  border-radius: 12px;
  padding: 11px 14px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.country-row:hover {
  border-color: #2a2d39;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

.country-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.country-flag {
  width: 28px;
  height: 21px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.12);
  background: #111318;
}

.country-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.trust-strip {
  border: 1px solid #1e2028;
  background: linear-gradient(160deg, rgba(22,24,29,0.96), rgba(17,19,24,0.92));
  border-radius: 20px;
  padding: 22px;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.trust-strip h3 {
  color: #ffffff;
}

.trust-pill {
  border: 1px solid #1e2028;
  background: rgba(17,19,24,0.88);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: border-color .2s ease, background-color .2s ease;
}

.trust-pill:hover {
  border-color: #2a2d39;
  background: rgba(22,24,29,0.95);
}

.trust-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(16,185,129,0.2);
  border: 1px solid rgba(16,185,129,0.45);
  color: #10b981;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  font-weight: 800;
  margin-top: 1px;
}

.trust-strip-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #1e2028;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .trust-strip-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.trust-strip-footer p {
  color: #9ca3af;
  font-size: 0.875rem;
}

.trust-strip-footer .sub {
  color: #6b7280;
  font-size: 0.75rem;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.footer-pill:hover {
  color: #ffffff;
  border-color: rgba(129, 140, 248, 0.55);
  background: rgba(99, 102, 241, 0.18);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.12);
}

.landing-footer-wrap {
  padding-top: 34px;
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .landing-footer-top {
    border: 1px solid rgba(129, 140, 248, 0.18);
    border-radius: 18px;
    background: rgba(17, 19, 24, 0.36);
    padding: 26px 22px;
  }
}

@media (min-width: 1100px) {
  .landing-footer-top {
    padding: 30px 26px;
  }
}

.landing-footer-brand {
  font-size: 16px;
  letter-spacing: .04em;
  font-weight: 800;
  color: #9fb2ff;
}

.landing-footer-intro {
  margin-top: 14px;
  max-width: 280px;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.75;
}

.landing-footer-social {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.4);
  background: rgba(14,165,233,0.18);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .landing-footer-col-summary h4 {
    font-size: 1.15rem;
  }
}

.landing-footer-bottom {
  margin-top: 20px;
  border-top: 1px solid rgba(129,140,248,0.2);
  padding: 14px 4px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 900px) {
  .landing-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.landing-footer-bottom p {
  font-size: 14px;
  color: #d1d5db;
}

/* Legal row — mobile grid in common.css (.landing-footer-legal) */

.pricing-shell {
  border: 1px solid rgba(16, 185, 129, 0.42);
  background: linear-gradient(160deg, rgba(8, 24, 20, 0.94), rgba(8, 17, 15, 0.9));
  border-radius: 22px;
  padding: 18px;
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.22),
    0 0 26px rgba(16, 185, 129, 0.16),
    0 18px 40px rgba(0,0,0,0.28);
}

.pricing-card {
  min-height: 400px;
  border: 1px solid rgba(16, 185, 129, 0.32);
  background: linear-gradient(155deg, rgba(9, 26, 22, 0.86), rgba(8, 17, 15, 0.82));
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.68);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.32),
    0 0 20px rgba(16, 185, 129, 0.22),
    0 12px 30px rgba(0,0,0,0.3);
}

.pricing-card.featured {
  border-color: rgba(16, 185, 129, 0.78);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.42),
    0 0 26px rgba(16, 185, 129, 0.26),
    0 18px 38px rgba(0,0,0,0.32);
}

.pricing-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6ee7b7;
}

.pricing-value {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 900;
  line-height: 1.15;
  margin-top: 8px;
  color: #f8fafc;
}

.pricing-value .pricing-amount {
  color: #6ee7b7;
  font-weight: 900;
  white-space: nowrap;
}

.pricing-actions {
  margin-top: auto;
  padding-top: 4px;
}

.pricing-card > .pricing-actions a {
  margin-top: 0 !important;
}

.pricing-note {
  margin-top: 10px;
  font-size: 13px;
  color: #6b7280;
}

.pricing-tax-note {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.5;
}

.pricing-list {
  margin-top: 16px;
  border-top: 1px solid rgba(16, 185, 129, 0.28);
  padding-top: 14px;
  margin-bottom: 16px;
}

.pricing-card > a,
.pricing-card > .pricing-actions {
  margin-top: auto !important;
}

.pricing-list li {
  position: relative;
  padding-left: 20px;
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
}

.integration-shell {
  border: 1px solid #1e2028;
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(160deg, rgba(22,24,29,0.96), rgba(17,19,24,0.92));
  box-shadow: 0 22px 46px rgba(0,0,0,0.34);
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 1024px) {
  .integration-shell {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    padding: 28px;
    gap: 28px;
  }
}

.integration-copy {
  max-width: 560px;
}

.integration-kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(129,140,248,0.3);
  background: rgba(99,102,241,0.14);
  color: #c7d2fe;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.integration-title {
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.integration-text {
  margin-top: 16px;
  color: #9ca3af;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
}

.integration-chips {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.integration-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid #1e2028;
  background: rgba(17,19,24,0.9);
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 600;
  padding: 0 10px;
  text-transform: lowercase;
}

.codebox-wrap {
  min-width: 0;
}

.codebox {
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15,17,23,0.98) 0%, rgba(10,11,15,0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.2),
    0 0 24px rgba(16, 185, 129, 0.16),
    0 18px 34px rgba(0,0,0,0.45);
}

.codebox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #1e2028;
  background: rgba(17,19,24,0.95);
  padding: 10px 14px;
}

.codebox-dots {
  display: inline-flex;
  gap: 6px;
}

.codebox-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.codebox-dots span:nth-child(1) { background: #ef4444; }
.codebox-dots span:nth-child(2) { background: #f59e0b; }
.codebox-dots span:nth-child(3) { background: #10b981; }

.codebox-file {
  flex: 1;
  min-width: 0;
  color: #d1d5db;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.codebox-copy {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid rgba(129,140,248,0.32);
  background: rgba(99,102,241,0.12);
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 600;
}

.codebox-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px 0;
  overflow-x: hidden;
  scrollbar-width: thin;
}

.codebox-tab {
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
}

.codebox-tab.active {
  border-color: rgba(129,140,248,0.38);
  background: rgba(99,102,241,0.14);
  color: #f3f4f6;
}

.codebox-pre {
  margin: 0;
  padding: 14px 16px 18px;
  max-height: none;
  overflow-y: hidden;
  overflow-x: hidden;
}

.codebox-pre code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #d1d5db;
  font-size: 13px;
  line-height: 1.6;
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  outline: none;
  caret-color: #c7d2fe;
}

.codebox-tabs {
  overflow-x: hidden;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  animation: pulse 1.8s ease-out infinite;
}

.pulse-dot {
  display: inline-block;
  background: #10b981 !important;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.55), 0 0 12px rgba(16, 185, 129, 0.45);
}

.best-for-wrap {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.best-for-label {
  line-height: 1;
}

.best-for-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-color: rgba(52, 211, 153, 0.72) !important;
  background: rgba(16, 185, 129, 0.18) !important;
  transform: none !important;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease !important;
}

.best-for-chip:hover {
  transform: none !important;
  border-color: rgba(52, 211, 153, 0.9) !important;
  background: rgba(16, 185, 129, 0.24) !important;
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.28),
    0 0 18px rgba(16, 185, 129, 0.2);
}

.best-for-chip .best-for-chip-text {
  display: block;
  width: 100%;
  color: #ffffff !important;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.best-for-chip:hover .best-for-chip-text {
  color: #ffffff !important;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.95; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { opacity: 0; }
}

@keyframes gradientShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@media (max-width: 768px) {
  /* Mobile GPUs sometimes flatten fixed overlays too aggressively. */
  .page-backdrop {
    opacity: 0.24 !important;
    background-position: center top !important;
    background-size: cover !important;
  }

  .bg-vignette {
    background: radial-gradient(circle at center, transparent 45%, rgba(0, 0, 0, 0.35) 100%);
  }

  .bg-noise,
  .dot-grid {
    opacity: 0.08 !important;
  }
}
