/* ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --purple:        #6B3FA0;
  --purple-dark:   #4e2d7a;
  --purple-light:  #f3eeff;
  --gold:          #D4AF37;
  --gold-dark:     #a8891d;
  --gold-light:    #fdf8e8;
  --charcoal:      #1A1A1A;
  --white:         #FFFFFF;
  --gray-50:       #F8F8F8;
  --gray-100:      #F0F0F0;
  --gray-200:      #E0E0E0;
  --gray-400:      #9A9A9A;
  --gray-600:      #555555;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Open Sans', system-ui, sans-serif;

  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);

  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --content: 1200px;
}

/* ── RESET ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }
a:hover { opacity: 0.85; }

.container {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}

/* ── HEADER ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
  padding-block: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav-link {
  font-size: var(--text-sm);
  color: var(--gray-600);
  font-family: var(--font-body);
}
.nav-link:hover { color: var(--purple); }
.btn-outline {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-5);
  border: 2px solid var(--purple);
  border-radius: var(--radius-full);
  color: var(--purple);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
  opacity: 1;
}

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--purple) 0%, #4e2d7a 100%);
  padding: clamp(var(--space-12), 8vw, var(--space-20)) 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(212,175,55,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
  padding-bottom: clamp(var(--space-10), 6vw, var(--space-16));
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.hero-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-5);
}
.hero-heading .gold { color: var(--gold); display: block; }
.hero-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}
.trust-badge {
  font-size: var(--text-xs);
  font-family: var(--font-display);
  font-weight: 600;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}
.hero-gold-line {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── SERVICES ────────────────────────────────────────────────────────── */
.services {
  padding: clamp(var(--space-12), 8vw, var(--space-20)) 0;
  background: var(--gray-50);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--purple);
  text-align: center;
  margin-bottom: var(--space-3);
}
.section-sub {
  text-align: center;
  color: var(--gray-600);
  font-size: var(--text-base);
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-12));
}
.inline-link {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(107,63,160,0.3);
  text-underline-offset: 3px;
}
.inline-link:hover { color: var(--purple-dark); opacity: 1; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: var(--space-6);
}

/* ── SERVICE CARD ────────────────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(107,63,160,0.25);
}
.card-featured {
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(212,175,55,0.08), var(--shadow-md);
}
.card-featured:hover {
  box-shadow: 0 0 0 4px rgba(212,175,55,0.15), var(--shadow-lg);
  border-color: var(--gold);
}
.card-tag {
  position: absolute;
  top: -14px;
  left: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  background: var(--gold);
  color: var(--charcoal);
  border-radius: var(--radius-full);
}
.card-tag-purple {
  background: var(--purple);
  color: var(--white);
}
.card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--purple-light);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-featured .card-icon {
  background: var(--gold-light);
  color: var(--gold-dark);
}
.card-category {
  font-size: var(--text-xs);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: var(--space-1);
}
.card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
}
.card-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.6;
  flex-grow: 1;
}
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.card-features li {
  font-size: var(--text-sm);
  color: var(--charcoal);
  padding-left: var(--space-5);
  position: relative;
}
.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' fill='%236B3FA0' opacity='0.15'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%236B3FA0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
.card-featured .card-features li::before {
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23D4AF37' opacity='0.2'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%23a8891d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}
.card-price { display: flex; flex-direction: column; }
.price-amount {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--purple);
}
.price-note {
  font-size: var(--text-xs);
  color: var(--gray-400);
  margin-top: 2px;
}

/* ── PAY BUTTONS ─────────────────────────────────────────────────────── */
.btn-pay {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  background: var(--purple);
  color: var(--white);
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(107,63,160,0.3);
}
.btn-pay:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(107,63,160,0.4);
  opacity: 1;
}
.btn-pay-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #b8951e 100%);
  color: var(--charcoal);
  box-shadow: 0 2px 8px rgba(212,175,55,0.4);
}
.btn-pay-gold:hover {
  background: linear-gradient(135deg, #c9a32a 0%, #a0801a 100%);
  box-shadow: 0 4px 16px rgba(212,175,55,0.5);
}
.two-pay { flex-direction: column; align-items: flex-start; }
.two-pay-btns { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.btn-pay-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn-pay-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
  box-shadow: none;
}
.btn-pay-outline:hover {
  background: var(--purple-light);
  box-shadow: none;
}

/* ── CTA SECTION ─────────────────────────────────────────────────────── */
.cta-section {
  padding: clamp(var(--space-10), 6vw, var(--space-16)) 0;
  background: var(--white);
}
.cta-box {
  background: linear-gradient(135deg, var(--purple) 0%, #4e2d7a 100%);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 10%, rgba(212,175,55,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-3);
}
.cta-body {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  line-height: 1.7;
}
.btn-cta {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  background: var(--gold);
  color: var(--charcoal);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.btn-cta:hover {
  background: #c9a32a;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,175,55,0.5);
  opacity: 1;
}

/* ── FOOTER ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  padding: clamp(var(--space-8), 4vw, var(--space-12)) 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: center;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.footer-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--white);
}
.footer-tagline {
  font-size: var(--text-xs);
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-5);
}
.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-link:hover { color: var(--white); opacity: 1; }
.footer-secure {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

/* ── ENTRY ANIMATION ─────────────────────────────────────────────────── */
.card-entry {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}
.card-entry:nth-child(1) { animation-delay: 0.05s; }
.card-entry:nth-child(2) { animation-delay: 0.10s; }
.card-entry:nth-child(3) { animation-delay: 0.15s; }
.card-entry:nth-child(4) { animation-delay: 0.20s; }
.card-entry:nth-child(5) { animation-delay: 0.25s; }
.card-entry:nth-child(6) { animation-delay: 0.30s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .header-nav .nav-link { display: none; }
  .cta-box { text-align: center; justify-content: center; }
  .btn-cta { width: 100%; text-align: center; justify-content: center; }
  .card-footer { flex-direction: column; align-items: flex-start; }
  .btn-pay { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .card-entry { animation: none; opacity: 1; transform: none; }
}
