:root {
  --bg: #05050a;
  --bg-alt: #0b0d16;
  --card: rgba(15, 16, 28, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --accent: #6c5ce7;
  --accent-soft: rgba(108, 92, 231, 0.2);
  --text-main: #ffffff;
  --text-muted: #a7b0c5;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #151827 0, #05050a 55%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  padding: 80px 0;
  background: radial-gradient(circle at top left, #16182a 0, #05050a 55%);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px;
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 15px;
}

.section-subtitle.small {
  font-size: 14px;
  margin-bottom: 16px;
}

.section-note {
  margin-top: 24px;
  font-size: 13px;
  text-align: center;
  color: var(--text-muted);
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(4, 5, 12, 0.95),
    rgba(4, 5, 12, 0.85),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, #8e44ff, #341f97);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.logo-circle.small {
  width: 26px;
  height: 26px;
  font-size: 13px;
}

.logo-text {
  font-weight: 600;
  font-size: 18px;
}

.logo-text.small {
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-cta {
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8e44ff, #00cec9);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(17, 16, 37, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta:hover {
  opacity: 0.9;
}

.nav-menu-btn {
  display: none;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Mobile menu */

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 10px 16px 14px;
  background: rgba(5, 6, 16, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 0;
  font-size: 14px;
}

.mobile-menu a:hover {
  color: var(--text-main);
}

/* Hero */

.hero {
  padding: 72px 0 80px;
}

.hero-inner {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.hero-subtitle {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.hero-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.hero-list li {
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}

.hero-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #00e676;
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(135deg, #8e44ff, #00cec9);
  color: #fff;
  box-shadow: 0 12px 30px rgba(16, 12, 52, 0.9);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
}

.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.btn.full-width {
  width: 100%;
}

/* Hero visual */

.hero-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame {
  width: 280px;
  border-radius: 34px;
  padding: 14px;
  background: radial-gradient(circle at top, #2a2b41, #0a0b14);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.phone-title {
  font-weight: 600;
  color: #fff;
}

.phone-status {
  font-size: 11px;
  color: #6effb3;
}

.phone-body {
  background: rgba(7, 7, 15, 0.95);
  border-radius: 24px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.phone-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.phone-label.mt {
  margin-top: 10px;
}

.country-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 4px 6px 0;
}

.sms-card {
  margin-top: 6px;
  padding: 8px;
  border-radius: 12px;
  background: radial-gradient(circle at top left, #242645, #090910);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

.sms-app {
  font-weight: 600;
  margin-bottom: 2px;
}

.sms-code {
  color: var(--text-muted);
}

.sms-time {
  margin-top: 2px;
  font-size: 10px;
  color: rgba(167, 176, 197, 0.8);
}

.hero-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Cards */

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.55);
}

.card h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Countries */

.countries-grid .country-card {
  text-align: center;
  padding: 14px 10px;
  border-radius: 12px;
  background: rgba(13, 14, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

/* Pricing */

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.pricing-card {
  position: relative;
}

.pricing-card-featured {
  border-color: var(--accent-soft);
  background: radial-gradient(circle at top, rgba(108, 92, 231, 0.16), rgba(15, 16, 28, 0.95));
}

.pricing-card .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price {
  font-size: 24px;
  margin: 6px 0;
}

.price-note {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 13px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.price-list li {
  margin-bottom: 5px;
}

/* FAQ */

.faq-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid var(--border-subtle);
}

.faq-item h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Legal */

.legal-section {
  padding-top: 48px;
  padding-bottom: 64px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
  font-size: 13px;
}

.legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dashed rgba(167, 176, 197, 0.4);
}

.legal-links a:hover {
  color: var(--text-main);
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0 20px;
  background: rgba(3, 3, 8, 0.96);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.footer-text {
  margin: 0;
  font-size: 11px;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    flex-direction: column;
  }

  .hero-visual {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu-btn {
    display: inline-flex;
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
}
