/* ===========================
   RedFlagOrNah — Glassy Pink Theme
   Premium glassmorphism design
=========================== */

:root {
  --bg: #0c0f16;
  --panel: #121726;
  --text: #e9edf5;
  --muted: #9aa3b8;
  --accent: #ec4899;
  --accent-2: #f472b6;
  --accent-glow: rgba(236, 72, 153, 0.25);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(236, 72, 153, 0.2);
  --card: rgba(22, 28, 45, 0.6);
  --card-solid: #161c2d;
  --glass: rgba(255, 255, 255, 0.03);
  --font: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
  background: var(--bg); 
  color: var(--text); 
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.page-shell { position: relative; overflow: hidden; }
.shell { width: min(1120px, 92vw); margin: 0 auto; }

/* Branding */
.brandmark { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.brand-compile { color: #3b82f6; }
.brand-daddy { color: #dc2626; }

/* Top Navigation */
.topnav {
  position: relative;
  z-index: 100;
  padding: 16px 0;
  background: rgba(12, 15, 22, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brandmark:hover {
  opacity: 0.85;
}

/* Hero */
.hero { 
  position: relative; 
  padding: 100px 0 80px; 
  background: linear-gradient(160deg, rgba(236,72,153,0.08), rgba(244,114,182,0.06), transparent 60%);
}
.hero__bg-line { 
  position: absolute; 
  inset: 0; 
  background: 
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(236,72,153,0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(244,114,182,0.1), transparent),
    radial-gradient(circle at 50% 100%, rgba(236,72,153,0.05), transparent 50%);
  pointer-events: none; 
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__left { position: relative; z-index: 1; }
.hero__right { 
  display: flex; 
  justify-content: center; 
  position: relative; 
  z-index: 1; 
}
.hero__logo-row { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  margin-bottom: 28px; 
  position: relative; 
  z-index: 1; 
}
.logo { height: 56px; border-radius: 14px; }
.logo--icon { 
  width: 56px; 
  height: 56px; 
  object-fit: cover; 
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(236, 72, 153, 0.3);
}
.badge { 
  padding: 8px 14px; 
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid var(--border-glow); 
  border-radius: 999px; 
  font-size: 11px; 
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em; 
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero__copy { position: relative; z-index: 1; max-width: 640px; }
.eyebrow { 
  text-transform: uppercase; 
  letter-spacing: 0.2em; 
  font-size: 11px; 
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 14px; 
}
h1 { 
  font-size: clamp(40px, 7vw, 64px); 
  margin: 0 0 20px; 
  letter-spacing: -0.03em; 
  font-weight: 700;
  line-height: 1.1;
}
h1 .accent { 
  color: var(--accent); 
  text-shadow: 0 0 40px rgba(236, 72, 153, 0.4);
}
.subhead { 
  margin: 0 0 32px; 
  color: var(--muted); 
  font-size: 18px; 
  line-height: 1.7; 
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.price-note { margin: 20px 0 0; color: var(--muted); font-size: 14px; }

/* Buttons */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  padding: 16px 28px; 
  border-radius: 999px; 
  border: 1px solid var(--border); 
  font-weight: 600; 
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-primary { 
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); 
  color: #fff; 
  border: none; 
  box-shadow: 
    0 0 0 1px rgba(236, 72, 153, 0.3),
    0 4px 20px rgba(236, 72, 153, 0.3),
    0 8px 40px rgba(236, 72, 153, 0.2);
}
.btn-primary:hover { 
  transform: translateY(-3px); 
  box-shadow: 
    0 0 0 1px rgba(236, 72, 153, 0.5),
    0 8px 30px rgba(236, 72, 153, 0.4),
    0 16px 50px rgba(236, 72, 153, 0.25);
}
.btn-ghost { 
  color: var(--text); 
  border-color: var(--border);
  background: var(--glass);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { 
  transform: translateY(-2px);
  border-color: var(--border-glow); 
  color: var(--accent);
  background: rgba(236, 72, 153, 0.08);
}
.btn-full { width: 100%; }

/* Sections */
.section { padding: 100px 0; }
.section--alt { 
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(236,72,153,0.02) 100%);
}
.section__header { margin-bottom: 48px; }
.section__eyebrow { 
  display: inline-block; 
  padding: 8px 16px; 
  border-radius: 999px; 
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.15);
  color: var(--accent); 
  text-transform: uppercase; 
  letter-spacing: 0.15em; 
  font-size: 11px; 
  font-weight: 600;
  margin-bottom: 16px;
}
h2 { 
  font-size: clamp(28px, 5vw, 42px); 
  letter-spacing: -0.02em; 
  margin-bottom: 14px;
  font-weight: 700;
}
.lede { 
  color: var(--muted); 
  max-width: 600px; 
  font-size: 17px; 
  line-height: 1.7; 
}

/* Pills — Glassy */
.pill-grid { 
  display: grid; 
  gap: 14px; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  margin-top: 32px; 
}
.pill { 
  padding: 20px 22px; 
  border-radius: 16px; 
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border); 
  color: var(--text); 
  font-size: 15px; 
  line-height: 1.6;
  transition: all 0.25s ease;
}
.pill:hover { 
  border-color: var(--border-glow);
  background: rgba(236, 72, 153, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Steps — Glassy Cards */
.steps-grid { 
  display: grid; 
  gap: 24px; 
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
  margin-top: 40px;
}
.step { 
  text-align: center; 
  padding: 40px 28px; 
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border); 
  border-radius: 20px;
  transition: all 0.25s ease;
}
.step:hover { 
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.step__number { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 56px; 
  height: 56px; 
  background: linear-gradient(135deg, rgba(236,72,153,0.15), rgba(244,114,182,0.1));
  border: 1px solid var(--border-glow); 
  border-radius: 50%; 
  color: var(--accent); 
  font-weight: 700; 
  font-size: 1.25rem; 
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.15);
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; font-weight: 600; }
.step p { color: var(--muted); font-size: 15px; }

/* Example Cards — Glassy */
.examples-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 32px;
}
.example-card {
  padding: 24px;
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.25s ease;
}
.example-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.example-card__flag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}
.example-card__text {
  color: var(--muted);
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
}

/* Pricing Grid — Premium Glass */
.pricing-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 24px; 
  max-width: 920px; 
  margin: 40px auto 0; 
}
.pricing-card { 
  background: linear-gradient(160deg, rgba(22,28,45,0.8), rgba(18,23,38,0.9));
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 24px; 
  padding: 36px 32px; 
  text-align: center;
  box-shadow: 
    0 4px 24px rgba(0,0,0,0.3),
    0 24px 80px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
}
.pricing-card--featured { 
  border-color: var(--accent); 
  box-shadow: 
    0 0 0 1px rgba(236,72,153,0.3),
    0 8px 40px rgba(236,72,153,0.2),
    0 24px 80px rgba(0,0,0,0.4);
}
.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236,72,153,0.5), transparent);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(236,72,153,0.3);
}
.pricing-card__label { 
  font-size: 14px; 
  color: var(--muted); 
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pricing-card__price { 
  font-size: 3rem; 
  font-weight: 700; 
  margin-bottom: 24px;
  line-height: 1;
}
.pricing-card--featured .pricing-card__price {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(236,72,153,0.3);
}
.pricing-card__price span { 
  font-size: 1rem; 
  font-weight: 400; 
  color: var(--muted); 
}
.pricing-card__features { 
  list-style: none; 
  margin-bottom: 28px;
  text-align: left;
}
.pricing-card__features li { 
  padding: 10px 0; 
  color: var(--muted); 
  font-size: 14px; 
  border-bottom: 1px solid var(--border); 
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__features li::before { 
  content: '✓'; 
  color: var(--accent); 
  margin-right: 10px; 
  font-weight: 700;
}

/* FAQ — Glassy Accordion */
.faq { display: grid; gap: 12px; margin-top: 32px; max-width: 720px; }
.faq__item { 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  background: var(--card);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq__item:hover {
  border-color: rgba(255,255,255,0.12);
}
.faq__item.is-open {
  border-color: var(--border-glow);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.faq__question { 
  width: 100%; 
  background: none; 
  border: none; 
  color: var(--text); 
  text-align: left; 
  padding: 20px 22px; 
  font-size: 15px; 
  font-weight: 500;
  cursor: pointer; 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: color 0.15s ease;
}
.faq__question:hover { color: var(--accent); }
.faq__question::after { 
  content: '+'; 
  color: var(--accent); 
  font-weight: 700; 
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}
.faq__item.is-open .faq__question::after { 
  content: '−';
  transform: rotate(180deg);
}
.faq__answer { 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.3s ease, padding 0.3s ease; 
  padding: 0 22px; 
  color: var(--muted); 
  line-height: 1.7;
  font-size: 15px;
}
.faq__item.is-open .faq__answer { max-height: 200px; padding: 0 22px 20px; }

/* Flow Diagram */
.flow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px;
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 16px 64px rgba(0,0,0,0.4);
  position: relative;
}
.flow-diagram::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236,72,153,0.3), transparent);
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  min-width: 160px;
  text-align: center;
  transition: all 0.2s ease;
}
.flow-step:hover {
  border-color: var(--border-glow);
  transform: scale(1.02);
}
.flow-step__icon {
  font-size: 1.5rem;
}
.flow-step__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.flow-step__tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(236,72,153,0.1);
  padding: 3px 8px;
  border-radius: 999px;
  margin-top: 4px;
}
.flow-step--highlight {
  border-color: rgba(236,72,153,0.25);
  background: rgba(236,72,153,0.05);
}
.flow-step--success {
  border-color: #22c55e;
  background: rgba(34,197,94,0.1);
  box-shadow: 0 4px 20px rgba(34,197,94,0.15);
}
.flow-step--success .flow-step__icon {
  color: #22c55e;
}
.flow-step--success .flow-step__label {
  color: #22c55e;
}
.flow-step--danger {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(236,72,153,0.12), rgba(244,114,182,0.08));
  box-shadow: 0 4px 20px rgba(236,72,153,0.2);
}
.flow-step--danger .flow-step__icon,
.flow-step--danger .flow-step__label {
  color: var(--accent);
}
.flow-arrow {
  font-size: 1.25rem;
  color: var(--muted);
  opacity: 0.5;
}

/* Social Proof */
.social-proof {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 16px 0 24px;
  padding: 16px 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: fit-content;
}
.social-proof__quote {
  font-style: italic;
  color: var(--text);
  font-size: 15px;
}
.social-proof__source {
  font-size: 12px;
  color: var(--muted);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.trust-badge__icon {
  font-size: 16px;
}

/* Split Flow */
.flow-split {
  display: flex;
  gap: 16px;
  align-items: center;
}
.flow-split__divider {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

/* Footer */
.footer { 
  padding: 48px 0; 
  background: linear-gradient(180deg, #0a0d14 0%, #080a10 100%);
  border-top: 1px solid var(--border);
}
.footer__grid { 
  display: flex; 
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__tag { color: var(--muted); font-size: 13px; margin-top: 6px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { 
  color: var(--muted); 
  font-size: 14px; 
  transition: color 0.15s ease; 
}
.footer__links a:hover { color: var(--accent); }

/* Mobile */
@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__right {
    order: -1;
  }
  .flow-diagram {
    padding: 24px;
    width: 100%;
    max-width: 280px;
  }
  .flow-split {
    flex-direction: column;
    gap: 8px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  .hero__logo-row { flex-wrap: wrap; }
  .section { padding: 64px 0; }
  h1 { font-size: clamp(32px, 8vw, 48px); }
  .pricing-card { padding: 28px 24px; }
  .pricing-card__price { font-size: 2.5rem; }
  .footer__grid { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}
