/* ===== Base & Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --crimson: #bf0029;
  --crimson-dark: #9a0021;
  --crimson-light: #ff1a4f;
  --bg: #fafafa;
  --bg-alt: #ffffff;
  --text: #1a1a2e;
  --text-muted: #5a5a7a;
  --border: #e8e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  line-height: 1.2;
}

a {
  color: var(--crimson);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== Language Bar ===== */
.lang-bar {
  background: var(--text);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.lang-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-options {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
}

.lang-options::-webkit-scrollbar {
  display: none;
}

.lang-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
}

.lang-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
  color: #fff;
  background: var(--crimson);
  border-color: var(--crimson);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--crimson);
  color: #fff;
}

.btn-primary:hover {
  background: var(--crimson-dark);
  box-shadow: 0 4px 20px rgba(191, 0, 41, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 40%, #4a1942 100%);
  color: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
  text-align: center;
}

.hero-bg-shape {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* ===== Section Headings ===== */
section {
  padding: 80px 0;
}

section h2 {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

/* ===== Features / Why ===== */
.why {
  background: var(--bg);
}

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

.feature-card {
  background: var(--bg-alt);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Plans ===== */
.plans {
  background: var(--bg-alt);
}

.plan-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.plan-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.plan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.plan-card.popular {
  border-color: var(--crimson);
  box-shadow: 0 4px 20px rgba(191, 0, 41, 0.12);
}

.plan-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--crimson);
  color: #fff;
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.plan-data {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--crimson);
  margin-bottom: 8px;
}

.plan-price {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-tax {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  text-align: left;
}

.plan-features li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.plan-features li::before {
  content: "\2713";
  color: var(--crimson);
  font-weight: 700;
  margin-right: 10px;
}

.plan-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Steps / Timeline ===== */
.steps {
  background: var(--bg);
}

.timeline {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-left: 3px solid var(--border);
  margin-left: 20px;
  padding-left: 32px;
  position: relative;
}

.step:last-child {
  border-left-color: transparent;
}

.step-number {
  position: absolute;
  left: -22px;
  top: 28px;
  width: 40px;
  height: 40px;
  background: var(--crimson);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Requirements ===== */
.requirements {
  background: var(--bg-alt);
}

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

.req-card {
  text-align: center;
  padding: 28px 20px;
}

.req-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.req-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.req-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Referral / QR ===== */
.referral {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 40%, #4a1942 100%);
  color: #fff;
  padding: 100px 0;
}

.referral-box {
  display: flex;
  align-items: center;
  gap: 60px;
}

.referral-text {
  flex: 1;
}

.referral-text h2 {
  text-align: left;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.points-highlight {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 28px;
  line-height: 1.8;
}

.points-highlight strong {
  color: #ffd700;
}

.referral-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.referral-qr {
  flex-shrink: 0;
  text-align: center;
}

.qr-image {
  width: 250px;
  height: 250px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.qr-caption {
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffd700;
  letter-spacing: 0.02em;
}

/* ===== Useful Links ===== */
.links {
  background: var(--bg-alt);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.link-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.link-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--crimson);
  text-decoration: none;
}

.link-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.link-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.link-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

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

.faq-item summary {
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-item summary:hover {
  color: var(--crimson);
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.5);
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan-tiers {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .req-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .referral-box {
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }

  .referral-text h2 {
    text-align: center;
  }

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

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .lang-options {
    justify-content: flex-start;
    padding: 0 4px;
  }
}
