:root {
  --red: #e11d1d;
  --red-deep: #b30f0f;
  --red-dark: #8a0a0a;
  --charcoal: #16110f;
  --charcoal-2: #201817;
  --ink: #1a1414;
  --paper: #fbf6f4;
  --muted: #b98c88;
  --gold: #ffd166;
  --shadow: 0 18px 45px rgba(120, 8, 8, 0.28);
  font-family: 'Vazirmatn', system-ui, -apple-system, Tahoma, sans-serif;
}

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

body {
  background:
    radial-gradient(circle at 50% -10%, #2a1010 0%, var(--charcoal) 45%, #0d0908 100%);
  color: var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Ambient red glow behind hero */
.glow-bg {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  max-width: 140vw;
  background: radial-gradient(circle, rgba(225,29,29,0.35) 0%, rgba(225,29,29,0) 62%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.08); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 70px 20px 50px;
  max-width: 820px;
  margin: 0 auto;
}
.brand-mark {
  font-size: 54px;
  filter: drop-shadow(0 6px 18px rgba(225,29,29,0.6));
  animation: floaty 3.5s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
.brand-title {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin: 8px 0 2px;
  color: #fff;
  text-shadow: 0 4px 30px rgba(225,29,29,0.55);
}
.brand-title span { color: var(--red); }
.brand-fa {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 14px;
}
.tagline {
  font-size: clamp(1rem, 3.5vw, 1.35rem);
  font-weight: 300;
  color: #f3d9d5;
  max-width: 560px;
  margin: 0 auto 30px;
}

/* Trust row */
.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 34px;
}
.trust-row li {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(225,29,29,0.35);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

/* ---------- CTA BUTTONS ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 100px;
  padding: 16px 34px;
  font-size: 1.15rem;
  box-shadow: 0 10px 30px rgba(225,29,29,0.5);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  border: 1px solid rgba(255,255,255,0.15);
}
.cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 42px rgba(225,29,29,0.65);
  filter: brightness(1.08);
}
.cta:active { transform: translateY(-1px) scale(0.99); }
.cta-icon { font-size: 1.25rem; }

.cta-hero {
  margin-top: 6px;
  animation: cta-glow 2.8s ease-in-out infinite;
}
@keyframes cta-glow {
  0%,100% { box-shadow: 0 10px 30px rgba(225,29,29,0.5); }
  50%     { box-shadow: 0 10px 42px rgba(225,29,29,0.85); }
}

.cta-card {
  width: 100%;
  justify-content: center;
  margin-top: 18px;
  font-size: 1.05rem;
  padding: 14px 20px;
}
.cta-big {
  font-size: clamp(1.05rem, 3.5vw, 1.3rem);
  padding: 18px 40px;
}

/* ---------- PRICING ---------- */
.pricing {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
  padding: 30px 18px 60px;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 30px;
  font-weight: 300;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.card {
  position: relative;
  background: rgba(255,255,255,0.97);
  color: var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(120, 8, 8, 0.4);
}
.card.featured {
  border: 2px solid var(--red);
  box-shadow: 0 26px 60px rgba(225, 29, 29, 0.42);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: #4a2c00;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 2;
}

.card-head {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 22px 16px 18px;
}
.card-head h3 {
  font-size: 1.55rem;
  font-weight: 900;
}
.card-sub {
  display: block;
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.9;
  margin-top: 3px;
}

/* Table */
.plan-table {
  width: 100%;
  border-collapse: collapse;
  padding: 0 6px;
}
.plan-table tr {
  transition: background .15s ease;
}
.plan-table tr:hover { background: #fdeceb; }
.row-even { background: #fbf4f3; }
.row-odd  { background: #ffffff; }

.plan-table td {
  padding: 13px 18px;
  font-size: 1rem;
  border-bottom: 1px solid #f1e1df;
}
.td-data {
  font-weight: 700;
  color: var(--ink);
}
.td-price {
  text-align: left;
  white-space: nowrap;
}
.td-price .amount {
  font-weight: 900;
  color: var(--red-deep);
  font-size: 1.08rem;
}
.td-price .unit {
  font-size: 0.78rem;
  color: var(--muted);
  margin-inline-start: 5px;
  font-weight: 500;
}

/* padding wrapper for card cta */
.card .cta-card { margin: 18px; width: calc(100% - 36px); }

/* Reveal animation for rows */
.reveal-row {
  animation: rowIn .5s ease both;
}
@keyframes rowIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Final CTA block */
.final-cta {
  text-align: center;
  margin-top: 48px;
  padding: 34px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(225,29,29,0.3);
  border-radius: 22px;
  backdrop-filter: blur(6px);
}
.final-cta p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #f3d9d5;
  font-weight: 300;
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px 30px;
  border-top: 1px solid rgba(225,29,29,0.25);
  background: rgba(0,0,0,0.35);
}
.footer-brand {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
}
.footer-brand span { color: var(--red); }
.tg-handle {
  display: inline-block;
  margin: 10px 0;
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}
.tg-handle:hover { text-decoration: underline; }
.copy {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 300;
  margin-bottom: 14px;
}
.remix {
  display: inline-block;
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
  border: 1px solid rgba(225,29,29,0.35);
  padding: 6px 16px;
  border-radius: 100px;
  transition: all .18s ease;
}
.remix:hover {
  color: #fff;
  border-color: var(--red);
  background: rgba(225,29,29,0.2);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; }
  .plan-table td { padding: 12px 14px; font-size: 0.95rem; }
  .card.featured { order: -1; } /* show recommended plan first on mobile */
}
</style>