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

:root {
  --bg: #0f0f1a;
  --bg2: #1a1a2e;
  --bg3: #16213e;
  --text: #e8e8f0;
  --text2: #9a9ab0;
  --accent: #e94560;
  --accent2: #0f3460;
  --pro: #0d6efd;
  --premium: #e94560;
  --god: #ffc107;
  --basic: #6c757d;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,15,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { font-weight: 700; font-size: 18px; letter-spacing: -0.3px; }
.nav__links { display: flex; gap: 24px; }
.nav__link {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__link:hover { color: var(--text); }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(233,69,96,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(13,110,253,0.06) 0%, transparent 50%);
}
.hero__inner { max-width: 700px; }
.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(233,69,96,0.12);
  color: var(--accent);
  margin-bottom: 24px;
  border: 1px solid rgba(233,69,96,0.2);
  animation: fadeUp 0.6s ease forwards;
}
.hero__title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease 0.1s forwards;
  opacity: 0;
}
.hero__highlight { background: linear-gradient(135deg, var(--accent), #ff6b6b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text2);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.6s ease 0.2s forwards;
  opacity: 0;
}
.hero__cta {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), #d6336c);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(233,69,96,0.3);
  animation: fadeUp 0.6s ease 0.3s forwards;
  opacity: 0;
}
.hero__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(233,69,96,0.4); }

/* ─── SECTION ─────────────────────────────────────────── */
.section { padding: 80px 24px; }
.section--dark { background: var(--bg2); }
.section__inner { max-width: 1100px; margin: 0 auto; }
.section__header { text-align: center; margin-bottom: 48px; }
.section__title { font-size: clamp(28px, 4vw, 38px); font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; }
.section__desc { color: var(--text2); font-size: 16px; max-width: 500px; margin: 0 auto; }

/* ─── TOGGLE ──────────────────────────────────────────── */
.toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.toggle__label { font-size: 14px; font-weight: 500; color: var(--text2); transition: color 0.2s; cursor: pointer; }
.toggle__label--active { color: var(--text); }
.toggle__badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(46,213,115,0.15);
  color: #2ed573;
  margin-left: 4px;
}
.toggle__switch { position: relative; display: inline-block; width: 48px; height: 26px; cursor: pointer; }
.toggle__switch input { opacity: 0; width: 0; height: 0; }
.toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--bg3);
  border-radius: 26px;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
}
.toggle__slider::before {
  content: '';
  position: absolute;
  height: 20px; width: 20px;
  left: 3px; bottom: 2px;
  background: var(--accent);
  border-radius: 50%;
  transition: 0.3s;
}
.toggle__switch input:checked + .toggle__slider::before { transform: translateX(22px); }

/* ─── CARDS ───────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.card--popular {
  border-color: var(--pro);
  box-shadow: 0 0 0 1px rgba(13,110,253,0.3), 0 8px 30px rgba(13,110,253,0.1);
}
.card--popular:hover { box-shadow: 0 0 0 1px rgba(13,110,253,0.5), 0 12px 40px rgba(13,110,253,0.15); }
.card__popular-badge {
  position: absolute;
  top: 12px; right: -28px;
  background: var(--pro);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 32px;
  transform: rotate(45deg);
}
.tier-img {
  width: 90px; height: 90px;
  display: block; margin: 0 auto 12px;
  object-fit: contain;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card--basic:hover .tier-img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 8px 20px rgba(108,117,125,0.35));
}
.card--pro:hover .tier-img {
  animation: float 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(13,110,253,0.4));
}
.card--premium:hover .tier-img {
  animation: pulse 0.8s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(233,69,96,0.45));
}
.card--god:hover .tier-img {
  transform: perspective(300px) rotateY(-6deg);
  filter: drop-shadow(0 0 28px rgba(255,193,7,0.5));
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.card__name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.card__desc { font-size: 13px; color: var(--text2); margin-bottom: 16px; }
.card__price { margin-bottom: 4px; }
.card__amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
}
.card__amount[data-annual="596"] { color: var(--basic); }
.card--pro .card__amount { color: var(--pro); }
.card--premium .card__amount { color: var(--premium); }
.card--god .card__amount { color: var(--god); }
.card__period { font-size: 14px; color: var(--text2); font-weight: 500; }
.card__note { font-size: 12px; color: var(--text2); margin-bottom: 16px; }
.card__features {
  list-style: none;
  margin: 16px 0 20px;
  flex: 1;
}
.card__features li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.feature-locked { opacity: 0.5; }
.card__btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card--basic .card__btn { background: var(--basic); color: #fff; }
.card--pro .card__btn { background: var(--pro); color: #fff; box-shadow: 0 4px 14px rgba(13,110,253,0.3); }
.card--premium .card__btn { background: var(--premium); color: #fff; box-shadow: 0 4px 14px rgba(233,69,96,0.3); }
.card--god .card__btn { background: var(--god); color: #1a1a2e; box-shadow: 0 4px 14px rgba(255,193,7,0.3); }
.card__btn:hover { transform: translateY(-2px); }

/* ─── FOUNDER ─────────────────────────────────────────── */
.phases { display: flex; flex-direction: column; gap: 20px; max-width: 600px; margin: 0 auto; }
.phase { }
.phase__info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.phase__badge {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.phase__badge--1 { background: rgba(255,193,7,0.2); color: var(--god); }
.phase__badge--2 { background: rgba(255,193,7,0.14); color: #d4a017; }
.phase__badge--3 { background: rgba(255,193,7,0.1); color: #b8860b; }
.phase__badge--4 { background: rgba(255,255,255,0.06); color: var(--text2); }
.phase__discount { font-weight: 700; color: var(--text); }
.phase__status { font-size: 12px; color: var(--text2); }
.phase__bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
}
.phase__fill {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--god), #ffd54f);
  transition: width 0.6s ease;
}
.phase__fill--done { width: 100%; background: linear-gradient(90deg, var(--accent), #ff6b6b); }

/* ─── FAQ ─────────────────────────────────────────────── */
.faq { max-width: 640px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__icon { font-size: 20px; transition: transform 0.2s; color: var(--text2); }
details[open] .faq__icon { transform: rotate(45deg); color: var(--accent); }
.faq__answer {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}

/* ─── FOOTER ──────────────────────────────────────────── */
.footer {
  padding: 32px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy { font-size: 13px; color: var(--text2); }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--text2); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }

/* ─── MODAL ───────────────────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.modal--open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  animation: fadeIn 0.25s ease;
}
.modal__box {
  position: relative;
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 36px 32px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  animation: slideUp 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  color: var(--text2);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s;
}
.modal__close:hover { color: var(--text); }
.modal__icon { font-size: 40px; margin-bottom: 12px; }
.modal__title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.modal__desc { font-size: 14px; color: var(--text2); margin-bottom: 20px; }
.modal__fields { margin-bottom: 16px; }
.modal__label {
  display: block;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 6px;
}
.modal__label .modal__input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--bg3);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.modal__input:focus { border-color: var(--accent); }
.modal__wallet { margin-bottom: 16px; min-height: 60px; }
.modal__btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--accent), #d6336c);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.modal__btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(233,69,96,0.3); }
.modal__btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.modal__footnote { font-size: 12px; color: var(--text2); margin-top: 12px; }
.modal__error { font-size: 13px; color: var(--accent); margin-top: 12px; min-height: 20px; }

.loader {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* ─── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-show { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .card--popular { transform: none; }
  .card:hover { transform: translateY(-2px); }
  .modal__box { padding: 28px 20px; }
}
