/* ============================================
   BLESSED COMPANIONSHIP — MODERN 2026 THEME
   Mobile-first, animated, high-performance
   ============================================ */

:root {
  /* Modern vibrant colors */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #ec4899;
  --accent-light: #f472b6;
  --success: #10b981;
  --warning: #f59e0b;
  --dark: #0f172a;
  --dark-secondary: #1e293b;
  --light: #f8fafc;
  --light-alt: #f1f5f9;
  --gray: #64748b;
  --gray-light: #cbd5e1;
  --border: #e2e8f0;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  --gradient-secondary: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  
  --max-w: 1280px;
}

/* Smooth click / active animation for hero and header buttons */
.hero-actions .btn,
.hero-actions .btn-primary,
#heroCta,
.nav-auth a.btn,
.nav-auth a.btn-primary {
  transition: transform 120ms cubic-bezier(.2,.9,.3,1), box-shadow 120ms ease, opacity 120ms ease;
  will-change: transform, box-shadow;
}
.hero-actions .btn:active,
.hero-actions .btn-primary:active,
#heroCta:active,
.nav-auth a.btn:active,
.nav-auth a.btn-primary:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: none !important;
  opacity: 0.98;
}
.hero-actions .btn:focus,
.hero-actions .btn-primary:focus,
#heroCta:focus,
.nav-auth a.btn:focus,
.nav-auth a.btn-primary:focus {
  outline: none;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e0e7ff 100%);
  background-attachment: fixed;
  color: var(--dark);
  line-height: 1.7;
  letter-spacing: 0.3px;
  min-height: 100vh;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  letter-spacing: -0.5px;
}

p, li {
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 var(--spacing-lg);
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: white;
  padding: var(--spacing-md);
  z-index: 200;
}

.skip-link:focus {
  left: var(--spacing-md);
  top: var(--spacing-md);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  animation: fadeInDown 500ms ease-out;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  animation: slideInRight 600ms ease-out;
}

.brand-mark {
  height: 44px;
  width: auto;
  transition: transform var(--transition-fast);
}

.brand-mark:hover {
  transform: scale(1.05);
}

.site-nav {
  display: none;
  gap: var(--spacing-lg);
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 500;
}

@media (min-width: 1024px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a {
  color: var(--dark);
  text-decoration: none;
  position: relative;
  padding: var(--spacing-sm) 0;
  transition: color var(--transition-fast);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.site-nav a:hover {
  color: var(--primary);
}

/* Compact nav and smoother wrap behavior for medium widths */
.site-nav {
  white-space: nowrap; /* avoid awkward wrapping */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.site-nav::-webkit-scrollbar { display: none; }

@media (max-width: 1200px) and (min-width: 768px) {
  .site-nav {
    gap: 10px;
    font-size: 0.92rem;
  }
  .site-nav a { padding: 6px 6px; }
  .brand-mark { height: 40px; }
  .nav-auth a.btn-primary { padding: 8px 14px; font-size: 0.95rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 8px 14px; font-size: 0.95rem; }
}

/* Extra-small refinement for the hero CTA specifically to avoid it feeling oversized */
@media (max-width: 1100px) and (min-width: 700px) {
  #heroCta {
    padding: 7px 12px !important;
    font-size: 0.95rem !important;
    border-radius: 28px !important;
    box-shadow: none !important;
  }
  .hero-actions .btn-primary {
    padding: 7px 12px;
    font-size: 0.95rem;
  }
  .hero-actions .btn-ghost { padding: 7px 10px; font-size: 0.95rem; }
}

/* Stronger override to ensure header CTA and hero CTA are compact */
@media (max-width: 1200px) {
  .nav-auth a.btn-primary,
  .nav-auth a.btn {
    padding: 6px 10px !important;
    font-size: 0.88rem !important;
    line-height: 1 !important;
    box-shadow: none !important;
    border-radius: 20px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  #heroCta {
    padding: 6px 10px !important;
    font-size: 0.88rem !important;
  }
}

@media (max-width: 1024px) {
  /* make top actions a bit less prominent to avoid wrapping */
  .header-row { gap: 16px; }
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -10px);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: var(--spacing-lg) var(--spacing-md);
  border-top: 1px solid var(--border);
  animation: slideInDown 300ms ease-out;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--dark);
  text-decoration: none;
  padding: var(--spacing-md);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.mobile-nav a:hover {
  background: var(--light-alt);
  color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: var(--spacing-3xl) var(--spacing-md);
  overflow: hidden;
  background: var(--gradient-dark);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding: var(--spacing-3xl) var(--spacing-lg);
    min-height: 90vh;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  animation: fadeInUp 800ms ease-out;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 600ms ease-out 200ms backwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 600ms ease-out 300ms backwards;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: var(--spacing-2xl);
  animation: fadeInUp 600ms ease-out 400ms backwards;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  animation: fadeInUp 600ms ease-out 500ms backwards;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-2xl);
  padding-top: var(--spacing-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 600ms ease-out 600ms backwards;
}

.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.highlight-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.highlight-badge::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  padding: calc(var(--spacing-sm) + 0.25rem) var(--spacing-md);
  border-radius: 999px;
  border: 2px solid transparent;
  min-height: 44px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--transition-base);
}

.btn:hover::before {
  clip-path: inset(0 0 0 0);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: white;
  color: var(--dark);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--light-alt);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.875rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  position: relative;
  z-index: 1;
  padding: var(--spacing-3xl) var(--spacing-md);
  margin-bottom: 0;
  animation: none !important;
  background: white;
  clear: both;
}

@media (min-width: 768px) {
  .section {
    padding: var(--spacing-3xl) var(--spacing-lg);
  }
  .btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.95rem;
  }
  .btn-primary, .btn-secondary, .btn-ghost {
    border-radius: 48px;
  }

    margin-bottom: 0;
  }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-xl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: none !important;
  position: relative;
  z-index: 2;
  will-change: auto;
}

.section-lead {
  font-size: 1.1rem;
  line-height: 1.9;
  max-width: 700px;
  color: var(--gray);
  margin-bottom: var(--spacing-3xl);
  animation: none !important;
  position: relative;
  z-index: 2;
  will-change: auto;
}

.section-alt {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
}

/* ============================================
   CARD GRID (BENTO STYLE)
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: white;
  border-radius: 16px;
  padding: var(--spacing-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  animation: fadeInUp 600ms ease-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: 12px;
  color: white;
  font-size: 1.75rem;
  margin-bottom: var(--spacing-lg);
  animation: scaleIn 400ms ease-out;
  flex-shrink: 0;
}

.card-icon svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  flex-shrink: 0;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--dark);
}

.card-text {
  color: var(--gray);
  line-height: 1.8;
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Bento grid variations */
.card-lg {
  grid-column: 1;
  grid-row: 1 / span 2;
}

@media (min-width: 1024px) {
  .card-lg {
    grid-column: 1 / span 2;
    grid-row: auto;
  }
}

.card-xl {
  grid-column: 1 / -1;
}

/* ============================================
   TIER CARDS
   ============================================ */
.tier-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
}

@media (min-width: 768px) {
  .tier-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier-card {
  background: white;
  border-radius: 16px;
  padding: var(--spacing-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  animation: fadeInUp 600ms ease-out;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  animation: fadeInDown 600ms ease-out;
}

.tier-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-12px) scale(1.02);
}

.tier-card-featured {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(236, 72, 153, 0.95) 100%);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
  z-index: 10;
  position: relative;
}

.tier-card-featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  pointer-events: none;
}

@media (min-width: 768px) {
  .tier-card-featured {
    transform: scale(1.05);
  }
}

.tier-card-featured:hover {
  transform: translateY(-16px) scale(1.08);
}

.tier-card-featured .tier-list li {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.tier-badge {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(236, 72, 153, 0.2);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
  animation: slideInRight 400ms ease-out;
}

.tier-card-featured .tier-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin: var(--spacing-md) 0;
  animation: slideInRight 500ms ease-out 100ms backwards;
}

.tier-list {
  list-style: none;
  margin-top: var(--spacing-lg);
}

.tier-list li {
  padding: var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
  position: relative;
  color: var(--gray);
  line-height: 1.8;
  animation: fadeInUp 300ms ease-out;
}

.tier-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ============================================
   ELITE TIERS SECTION
   ============================================ */
.elite-table-wrap {
  margin-top: var(--spacing-3xl);
  padding: var(--spacing-2xl);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(236, 72, 153, 0.06) 100%);
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: var(--shadow-sm);
}

.elite-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  color: var(--dark);
}

.elite-table {
  display: grid;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.elite-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .elite-row {
    grid-template-columns: 1.2fr 2fr 0.8fr;
    align-items: center;
  }
}

.elite-row-head {
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
}

.elite-row-top {
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: var(--shadow-md);
}

.elite-tier-name {
  font-weight: 800;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.elite-row-head .elite-tier-name,
.elite-row-head div {
  color: white;
}

.elite-tier-name span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.elite-row-head .elite-tier-name span {
  color: rgba(255, 255, 255, 0.9);
}

.elite-fee {
  font-weight: 800;
  color: var(--primary);
}

.fine-print {
  margin-top: var(--spacing-lg);
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 600ms ease-out;
}

label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--dark);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: white;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   PAYMENT METHODS
   ============================================ */
.payment-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

@media (min-width: 768px) {
  .payment-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.payment-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.payment-card-bank {
  grid-column: 1 / -1;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: white;
  background: var(--gradient-primary);
  flex-shrink: 0;
}

.icon-badge svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
}

.payment-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.payment-card-label {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
}

.payment-card-value {
  font-size: 0.95rem;
  color: var(--gray);
  word-break: break-word;
}

.payment-card-sub {
  font-size: 0.85rem;
  color: var(--gray);
  word-break: break-word;
}

.copy-btn {
  border: none;
  background: var(--gradient-primary);
  color: white;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.copy-btn:active {
  transform: translateY(0);
}

.copy-btn.copied {
  background: var(--success);
}

@media (max-width: 640px) {
  .payment-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .copy-btn {
    width: 100%;
    justify-self: stretch;
  }
}

/* ============================================
   CONTACT / START YOUR PROFILE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contact-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.28);
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.contact-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.contact-value {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--gray);
  word-break: break-word;
}

@media (max-width: 640px) {
  .contact-card {
    align-items: flex-start;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: white;
  padding: var(--spacing-3xl) var(--spacing-md);
  margin-top: var(--spacing-3xl);
  animation: fadeInUp 800ms ease-out;
}

@media (min-width: 768px) {
  .site-footer {
    padding: var(--spacing-3xl) var(--spacing-lg);
  }
}

.footer-inner {
  display: grid;
  gap: var(--spacing-xl);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.footer-logo {
  height: 46px;
  width: auto;
  max-width: 100%;
  display: block;
  filter: brightness(1.15);
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: white;
}

.footer-brand-sub {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: white;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
}

.footer-social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
  border-color: transparent;
}

.footer-text {
  display: grid;
  gap: var(--spacing-md);
  max-width: 860px;
}

.footer-legal,
.footer-disclaimer,
.footer-copy {
  margin: 0;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.72);
}

.footer-copy {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.66);
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.placeholder {
  color: var(--accent);
  font-style: italic;
}

@media (max-width: 640px) {
  .site-footer {
    padding: var(--spacing-2xl) var(--spacing-md);
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-links-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.6rem;
  }

  .footer-legal,
  .footer-disclaimer,
  .footer-copy {
    font-size: 0.88rem;
  }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: block;
  }
}

.hidden-desktop {
  display: block;
}

@media (min-width: 768px) {
  .hidden-desktop {
    display: none;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   PERFORMANCE - Lazy Loading Classes
   ============================================ */
.lazy-img {
  background: var(--light-alt);
  animation: shimmer 2s infinite;
  background-size: 1000px 100%;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* ============================================
   LOADING SKELETON
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--light) 25%, var(--light-alt) 50%, var(--light) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* ============================================
   SVG ICON CONSTRAINTS
   ============================================ */
svg {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  flex-shrink: 0;
}

/* Prevent inline SVGs in text from being huge */
p svg, li svg, span svg, a svg, button svg {
  max-width: 24px !important;
  max-height: 24px !important;
  width: auto !important;
  height: auto !important;
}

/* Divider SVGs */
.divider svg {
  max-height: 80px !important;
  width: 100% !important;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-sm {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}

.icon-md {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
}

.icon-lg {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
}

.icon-xl {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
}

.icon-2xl {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
}

/* ============================================
   IMPROVED TEXT SPACING
   ============================================ */
.section-content {
  display: flow-root;
}

.section-content > * + * {
  margin-top: var(--spacing-lg);
}

blockquote {
  padding: var(--spacing-lg) var(--spacing-xl);
  border-left: 4px solid var(--primary);
  background: var(--light-alt);
  border-radius: 8px;
  font-style: italic;
  margin: var(--spacing-xl) 0;
}

blockquote p {
  margin: 0;
  color: var(--gray);
  line-height: 1.9;
}

ul, ol {
  margin: var(--spacing-lg) 0;
  padding-left: var(--spacing-xl);
}

ul li, ol li {
  padding: var(--spacing-md) 0;
  line-height: 1.8;
}

.list-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  align-items: flex-start;
}

.list-item-bullet {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 10px;
}

/* ============================================
   ENHANCED CARD SPACING
   ============================================ */
.card-content {
  display: flow-root;
}

.card-content > * + * {
  margin-top: var(--spacing-md);
}

.card + .card {
  margin-top: var(--spacing-lg);
}

.card-footer {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* ============================================
   DIVIDERS & SEPARATORS
   ============================================ */
.divider {
  height: 44px;
  margin: var(--spacing-3xl) 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: transparent;
}

.divider::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 25% 50%, rgba(99, 102, 241, 0.12), transparent 24%),
              radial-gradient(circle at 75% 50%, rgba(236, 72, 153, 0.10), transparent 20%);
}

.divider svg {
  max-height: 44px !important;
  width: 100% !important;
  position: relative;
  z-index: 1;
}

.divider svg path {
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.2;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.18));
  stroke-dasharray: 12 26;
  animation: divider-wave 5s linear infinite;
}

.divider::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0.08) 55%, transparent 100%);
  transform: translateX(-110%);
  animation: divider-glow 5s ease-in-out infinite;
  filter: blur(8px);
}

@keyframes divider-wave {
  to {
    stroke-dashoffset: -38;
  }
}

@keyframes divider-glow {
  to {
    transform: translateX(110%);
  }
}

.divider-alt {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: var(--spacing-3xl) 0;
}

/* ============================================
   CONTENT WRAPPER
   ============================================ */
.content-wrapper {
  background: white;
  border-radius: 16px;
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-2xl);
  position: relative;
  z-index: 1;
}

.content-wrapper > * + * {
  margin-top: var(--spacing-lg);
}

/* ============================================
   FORM IMPROVEMENTS
   ============================================ */
form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

label {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea,
select {
  padding: var(--spacing-md);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  transition: all var(--transition-fast);
  background: white;
  color: var(--dark);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.8;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
main {
  position: relative;
  z-index: 1;
}

main > * + * {
  position: relative;
  z-index: 1;
}

/* ============================================
   TEXT UTILITIES
   ============================================ */
.text-sm {
  font-size: 0.875rem;
  line-height: 1.6;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.8;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.8;
}

.text-muted {
  color: var(--gray);
}

.text-bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

/* ============================================
   Z-INDEX STACKING CONTEXT
   ============================================ */
.z-fixed {
  position: fixed;
  z-index: 100;
}

.z-sticky {
  position: sticky;
  z-index: 50;
}

/* ============================================
   RESPONSIVE IMPROVEMENTS
   ============================================ */
@media (max-width: 640px) {
  .section {
    padding: var(--spacing-2xl) var(--spacing-md);
  }

  .card-grid {
    gap: var(--spacing-md);
  }

  .tier-cards {
    gap: var(--spacing-md);
  }

  .card,
  .tier-card {
    padding: var(--spacing-lg);
  }

  .section-lead {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
  }

  .card-title {
    font-size: 1.2rem;
  }

  form {
    gap: var(--spacing-md);
  }

  .divider {
    margin: var(--spacing-2xl) 0;
  }
}

/* ============================================
   HERO ARCS (DECORATIVE)
   ============================================ */
.hero-arcs {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
  overflow: hidden;
}

.hero-arcs svg {
  position: absolute;
  width: 100%;
  height: 100%;
  stroke: var(--primary);
}

.arc-a {
  top: -200px;
  right: -200px;
  animation: float 8s ease-in-out infinite;
}

.arc-b {
  bottom: -150px;
  left: 0;
  animation: float 10s ease-in-out infinite 1s;
}

/* ============================================
   HERO GRID & CARDS
   ============================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-copy {
  max-width: 650px;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.9;
  opacity: 0.95;
  margin-bottom: var(--spacing-2xl);
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .hero-showcase {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: var(--spacing-lg);
  color: white;
  line-height: 1.8;
  transition: all var(--transition-base);
  animation: fadeInUp 600ms ease-out;
}

.hero-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
}

.hero-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

.hero-card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-card-main {
  grid-column: 1 / -1;
  border-color: var(--accent-light);
  background: rgba(236, 72, 153, 0.15);
}

/* ============================================
   PILLARS SECTION
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.pillar {
  background: white;
  border-radius: 16px;
  padding: var(--spacing-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  animation: fadeInUp 600ms ease-out;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.pillar:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.pillar:hover::before {
  transform: scaleX(1);
}

.pillar-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.5rem;
  animation: scaleIn 400ms ease-out;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.pillar p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

.pillar-large {
  grid-row: 1 / span 2;
}

@media (min-width: 768px) {
  .pillar-large {
    grid-row: auto;
    grid-column: 1 / span 2;
  }
}

.pillar-wide {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .pillar-wide {
    grid-column: 3;
  }
}

/* ============================================
   STEPS SECTION
   ============================================ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-2xl);
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: white;
  border-radius: 16px;
  padding: var(--spacing-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  animation: fadeInUp 600ms ease-out;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  animation: fadeInDown 600ms ease-out;
}

.step:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.25rem;
  animation: scaleIn 400ms ease-out;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-top: var(--spacing-md);
}

.step p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 0.95rem;
  flex-grow: 1;
}
