:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --dark: #111827;
  --gray: #6b7280;
  --light-bg: #f9fafb;
  --border: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

/* Header */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding-bottom: 60px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 18px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
}

.logo span {
  color: #c7d2fe;
}

.nav-btn {
  background: #fff;
  color: var(--primary);
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.hero-content {
  text-align: center;
  padding: 40px 20px 0;
}

.hero-content h1 {
  font-size: 40px;
  margin-bottom: 12px;
}

.hero-content p {
  color: #e0e7ff;
  font-size: 16px;
}

/* Pricing */
.pricing {
  max-width: 1100px;
  margin: -40px auto 0;
  padding: 0 20px 20px;
}

.toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.toggle-wrap small {
  color: #86efac;
  font-weight: 600;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch input:focus + .slider,
.switch input:focus-visible + .slider {
  outline: none;
  box-shadow: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #d1d5db;
  border-radius: 26px;
  transition: 0.3s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background: var(--primary);
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.03);
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.card .desc {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 20px;
}

.price {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 24px;
}

.usd-equiv {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
}

.price-note {
  color: var(--gray);
  font-size: 13px;
  margin-bottom: 4px;
  display: block;
}

.card ul {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.includes-note {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--light-bg);
  font-size: 14px;
  color: #374151;
  font-weight: 600;
  padding-left: 24px;
  position: relative;
}

.card ul li .feature-desc {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
  margin-top: 2px;
}

.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

.btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--primary);
  color: #fff;
  padding: 12px 0;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--primary-dark);
}

/* Plan modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-box h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.modal-box p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--dark);
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* FAQ */
.faq {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 20px 80px;
}

.faq h2 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 26px;
}

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

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  color: var(--dark);
}

.faq-q::after {
  content: "+";
  font-size: 20px;
  color: var(--primary);
}

.faq-item.open .faq-q::after {
  content: "−";
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-a p {
  padding-bottom: 16px;
  color: var(--gray);
  font-size: 14px;
}

.btn-lg {
  display: inline-block;
  padding: 14px 32px;
}

.btn-wa {
  background: #16a34a;
}

.btn-wa:hover {
  background: #15803d;
}

.btn-tg {
  background: #229ed9;
}

.btn-tg:hover {
  background: #1b87bd;
}

.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-btn svg {
  width: 28px;
  height: 28px;
}

.float-wa {
  background: #25d366;
}

.float-tg {
  background: #229ed9;
}

footer {
  text-align: center;
  padding: 24px;
  color: var(--gray);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .card.featured {
    transform: none;
  }
}
