:root {
  --bg-main: #05070c;
  --card-bg: rgba(13, 21, 38, 0.65);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.15);
  
  --t1-color: #60a5fa;
  --t1-bg: rgba(96, 165, 250, 0.1);
  --t1-border: rgba(96, 165, 250, 0.2);

  --t2-color: #34d399;
  --t2-bg: rgba(52, 211, 153, 0.1);
  --t2-border: rgba(52, 211, 153, 0.2);

  --t3-color: #fb923c;
  --t3-bg: rgba(251, 146, 60, 0.1);
  --t3-border: rgba(251, 146, 60, 0.2);

  --t4-color: #a78bfa;
  --t4-bg: rgba(167, 139, 250, 0.12);
  --t4-border: rgba(167, 139, 250, 0.3);

  --t5-color: #f472b6;
  --t5-bg: rgba(244, 114, 182, 0.1);
  --t5-border: rgba(244, 114, 182, 0.2);
}

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

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
    radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 16px;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
}

.flyer {
  width: 480px;
  max-width: 100%;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 100px rgba(99, 102, 241, 0.03);
  position: relative;
  transition: box-shadow 0.5s ease;
}

.flyer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 150px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* HEADER */
.header {
  padding: 36px 32px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
}

.header-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #818cf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #818cf8;
  display: inline-block;
}

.header-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.header-title .accent {
  background: linear-gradient(135deg, #60a5fa 30%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.header-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 500;
}

/* TRUST BAR */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 16px 8px;
  background: rgba(10, 17, 32, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.trust-item {
  text-align: center;
  position: relative;
}

.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 25%; height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-num {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trust-label {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* TIERS */
.tiers {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.tier {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(18, 28, 51, 0.4);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 16px 18px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tier::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.tier-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.tier-icon svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.tier-body { flex: 1; }

.tier-range {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
  transition: color 0.3s ease;
}

.tier-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 500;
}

.tier-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tier-tag svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

/* Tier-specific colors and hover glow */
.t1 { --theme-color: var(--t1-color); --theme-bg: var(--t1-bg); --theme-border: var(--t1-border); }
.t2 { --theme-color: var(--t2-color); --theme-bg: var(--t2-bg); --theme-border: var(--t2-border); }
.t3 { --theme-color: var(--t3-color); --theme-bg: var(--t3-bg); --theme-border: var(--t3-border); }
.t4 { --theme-color: var(--t4-color); --theme-bg: var(--t4-bg); --theme-border: var(--t4-border); }
.t5 { --theme-color: var(--t5-color); --theme-bg: var(--t5-bg); --theme-border: var(--t5-border); }

.tier .tier-icon {
  background: var(--theme-bg);
  color: var(--theme-color);
}

.tier .tier-range {
  color: var(--theme-color);
}

.tier:hover {
  transform: translateY(-2px);
  background: rgba(22, 38, 70, 0.45);
  border-color: var(--theme-border);
  box-shadow: 
    0 10px 30px -10px rgba(0, 0, 0, 0.5),
    0 0 20px -5px var(--theme-bg);
}

.tier:hover .tier-icon {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--theme-bg);
}

.tier:hover .tier-icon svg {
  transform: rotate(5deg) scale(1.1);
}

.tier:hover .tier-tag {
  background: var(--theme-color);
  color: #05070c;
  border-color: var(--theme-color);
  font-weight: 800;
  box-shadow: 0 4px 12px var(--theme-bg);
}

.tier:hover .tier-tag svg {
  transform: translateX(3px);
}

/* FEATURED TIER T4 SPECIFICS */
.t4.featured {
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(26, 17, 51, 0.55);
  box-shadow: 
    0 10px 30px rgba(139, 92, 246, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.t4.featured::before {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.3), transparent);
}

.t4.featured:hover {
  background: rgba(33, 22, 64, 0.6);
  border-color: rgba(167, 139, 250, 0.8);
  box-shadow: 
    0 15px 35px -5px rgba(0, 0, 0, 0.6),
    0 0 25px -5px rgba(167, 139, 250, 0.3);
}

.popular-badge {
  position: absolute;
  top: -11px;
  right: 24px;
  background: linear-gradient(90deg, #8b5cf6, #d946ef);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
  display: flex;
  align-items: center;
  gap: 4px;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4); }
  50% { box-shadow: 0 4px 20px rgba(139, 92, 246, 0.7); }
}

/* DIVIDER */
.divider { 
  height: 1px; 
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent); 
  margin: 0 24px; 
}

/* FOOTER */
.footer {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.demo-note {
  background: rgba(99, 102, 241, 0.04);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 16px;
  padding: 12px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.demo-note::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--primary);
}

.demo-note p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 500;
}

.demo-note p span { 
  color: #818cf8; 
  font-weight: 700; 
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  color: #fff;
  text-decoration: none;
  padding: 16px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 
    0 10px 25px -5px rgba(34, 197, 94, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: all 0.6s ease;
}

.cta-btn:hover::after {
  left: 100%;
  transition: all 0.6s ease;
}

.cta-btn:hover { 
  transform: translateY(-2px);
  box-shadow: 
    0 15px 30px -5px rgba(34, 197, 94, 0.4),
    0 0 20px rgba(34, 197, 94, 0.2);
  background: linear-gradient(135deg, #24d364 0%, #168a41 100%);
}

.cta-btn svg { 
  width: 20px;
  height: 20px;
  fill: currentColor;
  animation: waWiggle 2.5s infinite ease-in-out;
}

@keyframes waWiggle {
  0%, 100%, 50% { transform: rotate(0deg) scale(1); }
  10%, 30% { transform: rotate(-8deg) scale(1.1); }
  20%, 40% { transform: rotate(8deg) scale(1.1); }
}

.phone-line {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-line a { 
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.phone-line a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.phone-line svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  body {
    padding: 20px 8px;
  }
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 0;
    padding: 16px 12px;
  }
  .trust-item:nth-child(2)::after {
    display: none;
  }
  .trust-item:nth-child(4)::after {
    display: none;
  }
  .header {
    padding: 30px 20px 20px;
  }
  .header-title {
    font-size: 26px;
  }
  .tiers {
    padding: 18px 12px;
    gap: 10px;
  }
  .tier {
    flex-wrap: wrap;
    align-items: center;
    padding: 16px;
    gap: 12px;
  }
  .tier-body {
    flex: 1;
  }
  .tier-tag {
    width: 100%;
    justify-content: center;
    padding: 8px 14px;
    font-size: 11px;
    margin-top: 4px;
  }
}
