/* ============================================================
   HOME REBRAND OVERLAY — Cinema-style dark (reference clone)
   Visual coating ONLY: loads after the home inline styles,
   repaints surfaces with tokens. No structure/function change.
   ============================================================ */

/* CRITICAL: never replace icon fonts (Font Awesome) with body font */
.main [class*="fa-"],
.main i[class*="fa-"],
.main i.fab,
.main i.fas,
.main i.far,
.main i.fa,
.main .fab,
.main .fas,
.main .far,
.main .fa {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
  font-style: normal !important;
}
.main .fab, .main li.fab, .main i.fab {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
}

:root {
  --bg: #0a0a0a;
  --surface: #171717;
  --surface-glass: rgba(23, 23, 23, 0.72);
  --fg: #ffffff;
  --fg-70: rgba(255, 255, 255, 0.7);
  --fg-50: rgba(255, 255, 255, 0.5);
  --fg-40: rgba(255, 255, 255, 0.4);
  --fg-30: rgba(255, 255, 255, 0.3);
  --fg-20: rgba(255, 255, 255, 0.2);
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.05);
  --accent: #10b981;
  --accent-2: #34d399;
  --radius-card: 20px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Playfair Display", serif;
}

body,
.main {
  font-family: var(--font-body);
}

body,
.home-main,
.hero-section,
#page {
  background-color: var(--bg) !important;
}

::selection {
  background: rgba(225, 48, 108, 0.32);
}

:focus-visible {
  outline: 2px solid #DD2A7B !important;
  outline-offset: 2px;
}

/* inputs: no square outline — the wrapper border handles the focus state */
.main input:focus,
.main input:focus-visible,
.main textarea:focus,
.main textarea:focus-visible,
.main select:focus,
.main select:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* hero search input: fully seamless inside the pill (no border/outline/autofill chrome) */
.main .insta-input-modern,
.main .insta-input-modern:focus,
.main .insta-input-modern:focus-visible,
.main .insta-input-wrapper-modern input,
.main .insta-input-wrapper-modern input:focus,
.main .insta-input-wrapper-modern input:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.main input:-webkit-autofill,
.main input:-webkit-autofill:hover,
.main input:-webkit-autofill:focus,
.main input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff;
  border: 0 !important;
  outline: 0 !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* page scrollbar (home) */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: content-box;
}
html::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.24); }

/* ============ HERO ============ */
.instagram-hero,
.hero-section.instagram-hero {
  background-color: var(--bg) !important;
  background-image: none !important;
  padding-top: 140px;
}

.hero-badge-modern {
  background: rgba(23, 23, 23, 0.6) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  backdrop-filter: blur(16px);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85) !important;
}
.hero-badge-modern:hover {
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
  transform: none !important;
}
.hero-badge-modern i { color: #E1306C !important; }
.badge-glow { opacity: 0 !important; }
.badge-pulse {
  background: linear-gradient(135deg, #fad34b, #e1306c 55%, #8a3ab9) !important;
  box-shadow: 0 0 10px rgba(225, 48, 108, 0.6) !important;
}

.hero-title-modern {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-size: clamp(2.6rem, 7.2vw, 5.4rem) !important;
  letter-spacing: -0.03em !important;
  line-height: 0.92 !important;
}

/* .ig-word gradient removed (dead rule, craft floor: no gradient text) */

/* one Playfair italic accent (the gradient word) */
.gradient-text-modern {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: currentColor !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--font-serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  filter: none !important;
  letter-spacing: -0.01em !important;
  text-shadow: none !important;
}

.hero-subtitle-modern {
  font-weight: 300 !important;
  font-size: 1.15rem !important;
  color: var(--fg-70) !important;
}

.highlight-text { color: #fff !important; }
.highlight-text::after { background: rgba(16, 185, 129, 0.22) !important; }

/* ============ INPUT + CTA ============ */
.insta-search-container-modern:hover .input-glow-effect { opacity: 0 !important; }
.input-glow-effect { opacity: 0 !important; }

.insta-input-wrapper-modern {
  background: rgba(23, 23, 23, 0.75) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-pill) !important;
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8) !important;
}
.insta-input-wrapper-modern:focus-within {
  border-color: rgba(255, 255, 255, 0.25) !important;
}
.insta-icon-modern { color: #E1306C !important; }
.insta-icon-modern i,
.insta-input-wrapper-modern .insta-icon-modern i,
.insta-input-wrapper-modern i {
  color: #E1306C !important;
  -webkit-text-fill-color: currentColor;
}
.insta-input-wrapper-modern input {
  font-family: var(--font-body) !important;
}

.insta-btn-modern {
  background: #fff !important;
  border: none !important;
  color: #0a0a0a !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.25) !important;
  transition: background 0.2s ease !important;
}
.insta-btn-modern:hover {
  background: #e5e5e5 !important;
  transform: none !important;
  box-shadow: none !important;
}
.insta-btn-modern .btn-shimmer-effect { opacity: 0 !important; }

/* Generic primary buttons → ghost pills (only hero Analyze stays white) */
.btn-primary {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--border) !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: none !important;
  backdrop-filter: blur(8px);
  font-weight: 500 !important;
}
.btn-primary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ============ RESULTS AREA ============ */
#homeGrowthResults {
  background: var(--bg) !important;
}
.main .stats-overview-grid {
  gap: 1.25rem !important;
}
.main .interaction-metric-card,
.main [class*="interaction-metric-card"] {
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-soft) !important;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.main .interaction-metric-card:hover,
.main [class*="interaction-metric-card"]:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.main .dash-charts-grid {
  margin-bottom: 3.5rem !important;
}

.dash-stat-card {
  background: var(--surface-glass) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(16px);
}
.dash-stat-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.9) !important;
}
.dash-stat-icon {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
  border-radius: 10px !important;
}
.dash-stat-value {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
}
.dash-stat-label {
  color: var(--fg-40) !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
}

.dash-chart-container {
  background: var(--surface-glass) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(16px);
}

.dash-post-card {
  background: var(--surface-glass) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 16px !important;
}
.dash-post-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.95) !important;
}
.dash-post-media { background: #0a0a0a !important; }
.dash-post-media img {
  filter: grayscale(0.15);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.dash-post-card:hover .dash-post-media img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.live-badge {
  background: rgba(225, 48, 108, 0.12) !important;
  color: #DD2A7B !important;
  border: 1px solid rgba(225, 48, 108, 0.3) !important;
}

/* ============ HOME: VALUE SECTION + FAQ (clone landing) ============ */
.ig-value-section,
.ig-faq-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 96px 0;
  background: #0a0a0a;
}
.ig-value-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 24px;
}
.ig-value-head {
  max-width: 680px;
  margin: 0 0 44px;
}
.ig-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #DD2A7B;
  margin-bottom: 14px;
}
.ig-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: #DD2A7B;
}
.ig-value-head h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 0 0 14px;
}
.ig-value-head p {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}
.ig-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}
@media (max-width: 1100px) { .ig-value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .ig-value-grid { grid-template-columns: 1fr; } }
.ig-value-card {
  background: rgba(23, 23, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(16px);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.ig-value-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}
.ig-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #DD2A7B;
  margin-bottom: 14px;
}
.ig-value-card h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.ig-value-card p {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}
.ig-price-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(23, 23, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px 36px;
  backdrop-filter: blur(20px);
}
@media (max-width: 799px) {
  .ig-price-strip { flex-direction: column; align-items: flex-start; }
}
.ig-price-badge {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #DD2A7B;
  background: rgba(225, 48, 108, 0.12);
  border: 1px solid rgba(225, 48, 108, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.ig-price-value {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 14px;
}
.ig-price-value span {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0;
}
.ig-price-list { list-style: none; margin: 0; padding: 0; }
.ig-price-list li {
  position: relative;
  padding-left: 18px;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}
.ig-price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fad34b, #e1306c 55%, #8a3ab9);
}
.ig-price-right { text-align: center; flex-shrink: 0; }
.ig-price-cta {
  background: #fff;
  color: #0a0a0a;
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ig-price-cta:hover { background: #e5e5e5; }
.ig-price-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* FAQ */
.ig-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}
.ig-faq-item {
  background: rgba(23, 23, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.ig-faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ig-faq-item summary::-webkit-details-marker { display: none; }
.ig-faq-item summary::after {
  content: "+";
  color: #DD2A7B;
  font-size: 1.2rem;
  font-weight: 400;
  margin-left: 12px;
}
.ig-faq-item[open] summary::after { content: "\2013"; }
.ig-faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.65;
}
.ig-faq-item[open] { border-color: rgba(255, 255, 255, 0.14); }

/* ============ IN-APP TOAST ============ */
#igToastHost {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1000000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.ig-toast {
  background: rgba(23, 23, 23, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: min(560px, calc(100vw - 40px));
  text-align: center;
}
.ig-toast.is-in { opacity: 1; transform: none; }
.ig-toast.is-error { border-color: rgba(240, 123, 131, 0.45); }
.ig-toast.is-success { border-color: rgba(97, 198, 154, 0.45); }

/* ============ REPORT PAYWALL ============ */
.main .ig-locked {
  filter: blur(14px) saturate(0.85);
  pointer-events: none !important;
  user-select: none !important;
}
.ig-unlock-panel {
  background: rgba(23, 23, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 34px 30px;
  text-align: center;
  margin: 28px auto;
  max-width: 640px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.95);
}
.ig-unlock-badge {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #DD2A7B;
  background: rgba(225, 48, 108, 0.12);
  border: 1px solid rgba(225, 48, 108, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.ig-unlock-panel h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  font-size: 1.45rem;
  margin: 0 0 10px;
}
.ig-unlock-panel p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px;
}
.ig-unlock-btn {
  background: #fff;
  color: #0a0a0a;
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ig-unlock-btn:hover { background: #e5e5e5; }
.ig-unlock-btn:disabled { opacity: 0.7; cursor: wait; }
.ig-unlock-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* unlock showcase: value list */
.ig-unlock-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 18px;
}
.ig-unlock-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  text-align: left;
  margin: 0 0 22px;
}
@media (max-width: 600px) {
  .ig-unlock-features { grid-template-columns: 1fr; }
}
.ig-unlock-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.45;
}
.ig-unlock-fi {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #DD2A7B;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* teaser skeleton behind the blur */
.ig-teaser-block { margin-bottom: 14px; }
.ig-teaser-block h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  margin: 0 0 8px;
}
.ig-teaser-line {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  margin: 6px 0;
}

/* post rank badge: always visible number (dark pill) */
.main .dash-post-badge,
.main .dash-post-media .dash-post-badge {
  background: rgba(10, 10, 10, 0.78) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.section-title span,
.section-title i { color: inherit !important; }

/* inline purple icon colors on the home → emerald/white accents */
.main [style*="color: #8f5cff"],
.main [style*="color:#8f5cff"],
.main [style*="color: rgba(143, 92, 255"],
.main i[style*="8f5cff"],
.main [style*="color: #ff6b35"] {
  color: var(--accent-2) !important;
}
.main [style*="background: rgba(143, 92, 255, 0.1"],
.main [style*="background: rgba(143, 92, 255, 0.2"] {
  background: rgba(255, 255, 255, 0.06) !important;
}
.main [style*="border: 2px solid rgba(143, 92, 255"],
.main [style*="border: 2px solid rgba(143,92,255"] {
  border-color: var(--border) !important;
}

/* ============ AI RESPONSE + modal content ============ */
.ai-response-container {
  background: transparent !important;
  color: var(--fg-70) !important;
}

/* AI rendered content: editorial, clean, no emoji clutter */
.main .ai-h2,
.main .ai-h3,
.main .ai-h1 {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  margin: 22px 0 10px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid var(--border-soft) !important;
}
.main .ai-h2 { font-size: 1.3rem !important; }
.main .ai-h3 { font-size: 1.08rem !important; }
.main .ai-h4 {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  letter-spacing: -0.01em !important;
  color: #fff !important;
  margin: 18px 0 8px !important;
}
.main .ai-ul {
  list-style: none !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}
.main .ai-li {
  position: relative !important;
  padding-left: 18px !important;
  margin: 7px 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}
.main .ai-li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 9px !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #fad34b, #e1306c 55%, #8a3ab9) !important;
}
.main .ai-p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  margin: 0 0 10px !important;
}
.main .ai-hr {
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin: 20px 0 !important;
}
.main .ai-em { color: rgba(255, 255, 255, 0.6) !important; font-style: italic !important; }
.main .ai-strong { color: #fff !important; font-weight: 600 !important; }
.main .ai-p code,
.main .ai-li code {
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 4px !important;
  padding: 1px 5px !important;
  color: #fff !important;
  font-size: 0.85em !important;
}
.ai-response-container h1,
.ai-response-container h2,
.ai-response-container h3 {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}
.ai-response-container a { color: var(--accent-2) !important; }

.post-modal .modal-content {
  background: rgba(23, 23, 23, 0.92) !important;
  border: 1px solid var(--border) !important;
  border-radius: 24px !important;
  backdrop-filter: blur(28px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.95) !important;
}
.post-modal .modal-close {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
  border: 1px solid var(--border-soft) !important;
}
.post-modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: none !important;
}

/* SEO promo box inside content (generated, inline gradients) */
.main [style*="rgba(68, 52, 136"],
.main [style*="rgba(47, 35, 100"],
.main [style*="rgba(143, 92, 255, 0.2"] {
  background: rgba(23, 23, 23, 0.85) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 18px !important;
}
.main .seo-promo,
.main [class*="seo-"] {
  background: rgba(23, 23, 23, 0.85) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 18px !important;
  color: var(--fg-70);
}

/* emerald micro-accent: only 1-2 uses per screen */
.live-badge,
.badge-pulse,
.insta-icon-modern,
.hero-badge-modern i {
  --accent-use: 1;
}

/* ============================================================
   FULL HOME: remaining sections (features, steps, blog, decor)
   ============================================================ */

/* Feature chips row (Deep Engagement Audit / Top Posts / AI Strategy) */
.hero-features-modern { gap: 1rem !important; }
.hero-feature-modern {
  background: rgba(23, 23, 23, 0.72) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(16px);
  transition: background 0.25s ease, border-color 0.25s ease !important;
}
.hero-feature-modern:hover {
  transform: none !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.feature-icon-wrapper {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--border-soft) !important;
  box-shadow: none !important;
}
.feature-icon-wrapper i { color: #fff !important; }
.hero-feature-modern:hover .feature-icon-wrapper {
  transform: none !important;
  background: rgba(255, 255, 255, 0.1) !important;
}
.hero-feature-modern span {
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Floating decorative icons — removed (no background clutter) */
.floating-elements,
.floating-elements .float-item,
.floating-elements .float-item i {
  display: none !important;
}

/* Widths / colors of purple borders & fills on home (inline) */
.main [style*="rgba(143, 92, 255"],
.main [style*="rgba(143,92,255"] {
  border-color: var(--border) !important;
  text-shadow: none !important;
}
.main [style*="background: rgba(143, 92, 255"],
.main [style*="display: flex; gap: 0.75rem; background: rgba(143, 92, 255"] {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Section headers everywhere on home */
.section-title {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important;
  line-height: 1.05 !important;
}
.gradient-text {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: currentColor !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--font-serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
}
.section-subtitle {
  font-family: var(--font-body) !important;
  font-weight: 300 !important;
  color: var(--fg-50) !important;
}

/* How it works */
.how-it-works,
.main .how-it-works {
  background: var(--bg) !important;
}
.steps-grid .step-card,
.step-card {
  background: rgba(23, 23, 23, 0.72) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(16px);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.step-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.step-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  color: var(--fg-30) !important;
  letter-spacing: 0.08em !important;
}
.step-icon {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--border-soft) !important;
}
.step-icon i { color: #fff !important; }
.step-card h3 {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}
.step-card p { color: var(--fg-50) !important; }

/* Section headers: centered block (no flex split), like the clone */
.main .section-header,
.main .section-header.text-center {
  display: block !important;
  text-align: center !important;
  margin: 0 auto 2.5rem auto !important;
  max-width: 760px !important;
}
.main .section-header .section-title {
  display: block !important;
  width: auto !important;
  text-align: center !important;
}
.main .section-header .gradient-text,
.main .section-header .section-title span {
  display: inline !important;
}

/* Security / feature sections */
.main section[class*="secure"],
.main .security-section,
.secure-section {
  background: var(--bg) !important;
}
.main .security-icon {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--border-soft) !important;
}
.main .security-icon i {
  color: #fff !important;
  opacity: 0.9 !important;
}
.main .security-card h3,
.main .security-card h4,
.main .security-title {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}
.main [class*="badge"],
.main [class*="pill"] {
  border-radius: var(--radius-pill);
}

/* Blog cards */
.blog-card {
  background: rgba(23, 23, 23, 0.72) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 18px !important;
  overflow: hidden;
  backdrop-filter: blur(16px);
}
.blog-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: none !important;
  box-shadow: none !important;
}
.blog-card-image img {
  filter: grayscale(0.2);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
  filter: grayscale(0);
}
/* category badge → Instagram accent chip */
.blog-card-category,
.blog-card .blog-card-category {
  background: rgba(225, 48, 108, 0.12) !important;
  border: 1px solid rgba(225, 48, 108, 0.3) !important;
  border-radius: 6px !important;
  padding: 3px 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #DD2A7B !important;
  width: auto !important;
  text-decoration: none !important;
}
.blog-card-category i {
  color: #E1306C !important;
}

.blog-card-title {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}
.blog-card-content p,
.blog-card .card-excerpt { color: var(--fg-50) !important; }

/* White-gradient buttons now neutral → dark text */
.main .ai-analyze-btn-modern,
.main .analyze-another-btn,
.main .view-all-blog-btn,
.main .view-all-categories-btn,
.main .carousel-card-cta,
.main .view-all-btn,
.main .download-btn-modern,
.main [class*="analyze-"],
.main [style*="linear-gradient(135deg, #ffffff"] {
  color: #0a0a0a !important;
}
.main .ai-analyze-btn-modern i,
.main [style*="linear-gradient(135deg, #ffffff"] i {
  color: #0a0a0a !important;
}

/* download buttons (modal + profile insights) */
.download-btn-modern,
.main .download-btn-modern {
  background: rgba(255, 255, 255, 0.06) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  transform: none !important;
}
.download-btn-modern i,
.download-btn-modern span {
  color: #ffffff !important;
}
.download-btn-modern:hover,
.main .download-btn-modern:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* modals live outside .main — same treatment, unscoped */
.ai-analyze-btn-modern,
.ai-analyze-btn-modern span,
.ai-analyze-btn-modern i,
[class*="analyze-"] .btn-content,
[class*="analyze-"] .btn-content span {
  color: #0a0a0a !important;
}
.post-modal .ai-analyze-btn-modern,
.post-modal [class*="analyze-"] {
  background: #ffffff !important;
  background-image: none !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}
.post-modal .ai-analyze-btn-modern:hover,
.post-modal [class*="analyze-"]:hover {
  background: #e5e5e5 !important;
}
.post-modal .ai-analyze-btn-modern:disabled {
  opacity: 0.75;
}

/* Section backgrounds darkened to near-black on home */
.main section,
.main .section,
.main .featured-section,
.main .categories-section,
.main .blogs-section {
  background-color: var(--bg) !important;
}

/* ============================================================
   HOME NAV (floating pill) — scoped to body.ig-home only
   Additive class added by home template; other pages untouched.
   ============================================================ */
body.ig-home {
  background: var(--bg) !important;
}
body.ig-home header.header,
body.ig-home .header.header,
body.ig-home .header {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body.ig-home .squares-background,
body.ig-home [class*="squares-background"],
body.ig-home .header::before,
body.ig-home .header::after {
  display: none !important;
  content: none !important;
}
body.ig-home .user-avatar-dropdown {
  transition: border-color 0.2s ease !important;
}
body.ig-home .user-avatar-dropdown,
body.ig-home .user-avatar-dropdown:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
}
body.ig-home .cart-icon {
  display: none !important;
}

/* nav icons: neutral (no old purple) */
body.ig-home .nav-link i {
  color: rgba(255, 255, 255, 0.75) !important;
}
body.ig-home .dropdown-toggle i {
  color: rgba(255, 255, 255, 0.75) !important;
}
body.ig-home .user-avatar-dropdown:hover {
  transform: scale(1.05) !important;
}
body.ig-home .header .navbar {
  margin: 0 !important;
}

/* tighten vertical rhythm under the floating nav */
body.ig-home .instagram-hero,
body.ig-home .hero-section.instagram-hero {
  padding-top: 118px !important;
}
body.ig-home .ig-nav-logo,
body.ig-home .ig-nav-logo .logo {
  display: flex !important;
  align-items: center !important;
}
body.ig-home .ig-nav-logo img.logo {
  height: 30px !important;
  width: auto !important;
  display: block !important;
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
body.ig-home .support-btn {
  background: #fff !important;
  border: none !important;
  color: #0a0a0a !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
}
body.ig-home .support-btn:hover { background: #e5e5e5 !important; }
/* WP admin bar visível (apenas existe quando logged-in) — pill desce q.b. */
body.ig-home.admin-bar .collapse.navbar-collapse {
  top: calc(3rem + 32px) !important;
}
@media (max-width: 782px) {
  body.ig-home.admin-bar .collapse.navbar-collapse {
    top: calc(2.5rem + 46px) !important;
  }
}
body.ig-home .collapse.navbar-collapse,
body.ig-home .collapse.navbar-collapse.navbar-collapse {
  position: fixed !important;
  top: 1.5rem !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: min(52rem, calc(100vw - 2rem)) !important;
  max-width: min(52rem, calc(100vw - 2rem)) !important;
  background: rgba(23, 23, 23, 0.6) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-pill) !important;
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8) !important;
  padding: 0.4rem 0.75rem !important;
  z-index: 60 !important;
  display: flex !important;
  justify-content: center !important;
}
body.ig-home .navbar .container {
  max-width: 100% !important;
  padding: 0 !important;
}
body.ig-home .navbar-brand .logo {
  background: #fff !important;
  color: #0a0a0a !important;
  border-radius: 50% !important;
}
body.ig-home .navbar-nav {
  align-items: center !important;
  gap: 0.25rem !important;
  margin-left: auto !important;
}
body.ig-home .navbar-nav .nav-link {
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  padding: 0.5rem 0.9rem !important;
}
body.ig-home .navbar-nav .nav-link:hover,
body.ig-home .navbar-nav .nav-item.active .nav-link {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
body.ig-home .collapse.navbar-collapse .dropdown-menu {
  background: rgba(23, 23, 23, 0.95) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.9) !important;
  margin-top: 8px !important;
  min-width: 210px !important;
  padding: 6px !important;
}
body.ig-home .collapse.navbar-collapse .dropdown-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.75) !important;
}
body.ig-home .collapse.navbar-collapse .dropdown-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
}
body.ig-home .collapse.navbar-collapse .cart-icon {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ============================================================
   HAMBURGER TOGGLE (hidden on desktop, visible <= 767px)
   ============================================================ */
body.ig-home .ig-nav-toggle {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  pointer-events: none !important;
}
body.ig-home .ig-nav-burger {
  display: none;
}

/* ============================================================
   MOBILE FIXES (header pill card + hero search stacking)
   ============================================================ */
@media (max-width: 767px) {
  /* hero search: full-width container, rounded card, stacked, button inside */
  .insta-search-container-modern,
  .main .insta-search-container-modern,
  .hero-content .insta-search-container-modern {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .insta-input-wrapper-modern,
  .main .insta-input-wrapper-modern {
    border-radius: 20px !important;
    padding: 14px !important;
    gap: 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .insta-input-wrapper-modern .insta-icon-modern {
    display: none !important;
  }
  .insta-input-wrapper-modern .insta-input-modern,
  .insta-input-wrapper-modern input {
    width: 100% !important;
    text-align: center !important;
    padding: 8px 0 !important;
    font-size: 1rem !important;
  }
  .insta-input-wrapper-modern .insta-btn-modern,
  .insta-btn-modern {
    width: 100% !important;
    height: 50px !important;
    justify-content: center !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* header: compact card with hamburger menu */
  body.ig-home .collapse.navbar-collapse,
  body.ig-home .collapse.navbar-collapse.navbar-collapse {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    border-radius: 18px !important;
    padding: 10px 14px !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
  }
  body.ig-home .ig-nav-logo {
    margin: 0 !important;
  }
  body.ig-home .ig-nav-logo img.logo {
    height: 24px !important;
  }
  body.ig-home .ig-nav-burger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    margin-left: auto !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  body.ig-home .ig-nav-burger .fa-times {
    display: none !important;
  }
  body.ig-home .ig-nav-toggle:checked ~ .collapse.navbar-collapse .ig-nav-burger .fa-bars {
    display: none !important;
  }
  body.ig-home .ig-nav-toggle:checked ~ .collapse.navbar-collapse .ig-nav-burger .fa-times {
    display: inline-block !important;
  }

  /* nav links: hidden until burger is tapped */
  body.ig-home .navbar-nav {
    display: none !important;
  }
  body.ig-home .ig-nav-toggle:checked ~ .collapse.navbar-collapse .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  body.ig-home .ig-nav-toggle:checked ~ .collapse.navbar-collapse .navbar-nav .nav-item {
    display: block !important;
    width: 100% !important;
  }
  body.ig-home .ig-nav-toggle:checked ~ .collapse.navbar-collapse .navbar-nav .nav-link {
    display: block !important;
    width: 100% !important;
    padding: 12px 6px !important;
    font-size: 0.95rem !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }
  body.ig-home .collapse.navbar-collapse .dropdown-menu {
    position: static !important;
    margin-top: 4px !important;
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* ============================================================
   V38 - DESIGN REFINEMENTS
   Typography discipline, no serif mixes, no gradient headings,
   tighter hero, unified accent, calmer surfaces
   ============================================================ */

/* --- 1. Headings: single family, no italic serif mixes, no gradient --- */
.gradient-text,
.gradient-text-modern,
.main .gradient-text,
.main .section-header .gradient-text,
h1 .gradient-text,
h2 .gradient-text,
h2 .gradient-text-modern {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: inherit !important;
  color: inherit !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  filter: none !important;
  text-shadow: none !important;
}

/* --- 2. Hero: 2-line headline, calmer scale --- */
.hero-title-modern {
  font-size: clamp(2.35rem, 5vw, 4rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  font-weight: 700 !important;
  max-width: 840px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.hero-subtitle-modern {
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  max-width: 540px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.hero-badge-modern {
  letter-spacing: 0.14em !important;
  font-size: 0.68rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  padding: 7px 14px !important;
}
.hero-badge-modern .fa-instagram { color: #E1306C !important; }

/* --- 3. Hide decorative leftovers --- */
.floating-elements,
.hero-features-modern,
.badge-glow,
.badge-pulse { display: none !important; }

/* --- 4. Unified accent for result metric icons --- */
.interaction-metric-card > div[style*="border-radius: 12px"] {
  background: rgba(225, 48, 108, 0.08) !important;
}
.interaction-metric-card > div[style*="border-radius: 12px"] i {
  color: #E1306C !important;
}

/* --- 5. Section rhythm --- */
.ig-value-section,
.ig-faq-section,
.blog-section,
.how-it-works,
.security-section {
  padding-top: 92px !important;
  padding-bottom: 92px !important;
}
@media (max-width: 767px) {
  .ig-value-section,
  .ig-faq-section,
  .blog-section,
  .how-it-works,
  .security-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}

/* --- 6. Card surfaces: calmer borders, consistent radius --- */
.ig-value-card,
.ig-faq-item,
.ig-price-strip {
  border-color: rgba(255, 255, 255, 0.07) !important;
}
.ig-value-card:hover {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

/* --- 7. Value card typography --- */
.ig-value-card h3 {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
}
.ig-value-card p {
  color: rgba(255, 255, 255, 0.55) !important;
  line-height: 1.6 !important;
}

/* --- 8. Headline rhythm for section titles --- */
.section-title,
.ig-value-head h2,
.ig-value-head h3 {
  font-family: var(--font-display) !important;
  letter-spacing: -0.03em !important;
  line-height: 1.1 !important;
}

/* V38.1 - left-align the remaining centered section headers for consistency */
.how-it-works .section-header,
.security-section .section-header,
.blog-section .section-header {
  text-align: left !important;
}
.how-it-works .section-header h2,
.security-section .section-header h2,
.blog-section .section-header h2 {
  text-align: left !important;
  font-family: "Bricolage Grotesque", sans-serif !important;
  letter-spacing: -0.03em !important;
}
.how-it-works .section-subtitle,
.security-section .section-subtitle,
.blog-section .section-subtitle {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 640px;
}
.how-it-works .section-header,
.security-section .section-header {
  max-width: 1200px;
  margin: 0 auto 2.5rem !important;
}

/* V39.2 - win the cascade against .main .section-header.text-center (0,4,0) */
.main .how-it-works .section-header.text-center,
.main .security-section .section-header.text-center,
.main .blog-section .section-header.text-center {
  text-align: left !important;
  justify-content: flex-start !important;
}
.main .how-it-works .section-header.text-center .section-title,
.main .security-section .section-header.text-center .section-title,
.main .blog-section .section-header.text-center .section-title {
  text-align: left !important;
  display: block !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.main .how-it-works .section-header.text-center .section-subtitle,
.main .security-section .section-header.text-center .section-subtitle,
.main .blog-section .section-header.text-center .section-subtitle {
  text-align: left !important;
  margin-left: 0 !important;
}

/* V40.1 - FAQ block as a centered column (was: left heading + narrow list = unbalanced) */
.ig-faq-section .ig-value-inner {
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ig-faq-section .ig-value-head h2 {
  text-align: left !important;
}

/* V41.1 - card alignment consistency + de-card the security section */
.how-it-works .step-card,
.security-section .security-card {
  text-align: left !important;
}
.how-it-works .step-card .step-icon,
.security-section .security-card .security-icon {
  margin-left: 0 !important;
  margin-right: auto !important;
}
.how-it-works .step-card:hover {
  transform: none !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}
/* security: 3 editorial columns with hairlines instead of boxed cards */
.security-section .security-card {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0 !important;
  padding: 28px 0 0 !important;
  box-shadow: none !important;
}
.security-section .security-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ============================================================
   V43 - global polish: a11y, states, typography
   ============================================================ */
/* Kill orphaned words in headings */
h1, h2, h3, .section-title, .hero-title-modern, .ig-value-head h2 {
  text-wrap: balance;
}
/* Smooth anchor scrolling */
html { scroll-behavior: smooth; }
/* Visible keyboard focus (a11y) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
label:focus-visible {
  outline: 2px solid rgba(225, 48, 108, 0.75) !important;
  outline-offset: 2px !important;
}
/* Physical press feedback */
.insta-btn-modern:active,
.ig-price-cta:active,
.btn:active,
button:active,
.cookie-btn:active,
.analyze-another-btn:active {
  transform: scale(0.98) !important;
}
/* Tabular numbers for data */
.dash-stat-value,
.stat-val,
[class*="stat-value"] {
  font-variant-numeric: tabular-nums;
}
/* Active nav link */
body.ig-home .navbar-nav .nav-link.is-active {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* ============================================================
   V44 - motion: authored hero entrance + reduced-motion paths
   ============================================================ */
/* Hero entrance (JS adds .animate-in with a staged delay; no-JS keeps content visible) */
.js-anim .hero-animate {
  opacity: 0;
  transform: translateY(16px);
}
.js-anim .hero-animate.animate-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .js-anim .hero-animate { opacity: 1 !important; transform: none !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
  .dash-stat-card { transition: none !important; }
}

/* ============================================================
   V45 - audit fixes: rose tokens, CSS-only hero, contrast,
   inline error card, cancel button, mobile header clearance
   ============================================================ */

/* 1. Rose accent tokens (were green template leftovers) */
:root {
  --accent: #E1306C;
  --accent-2: #DD2A7B;
}

/* 2. Hero entrance: CSS-only (removes the JS delay that pushed LCP to 2.7s) */
.js-anim .hero-animate {
  opacity: 0;
  animation: igHeroRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.js-anim .hero-animate[data-delay="0"] { animation-delay: 0.05s; }
.js-anim .hero-animate[data-delay="100"] { animation-delay: 0.15s; }
.js-anim .hero-animate[data-delay="200"] { animation-delay: 0.25s; }
.js-anim .hero-animate[data-delay="300"] { animation-delay: 0.35s; }
@keyframes igHeroRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* 3. Contrast: placeholders + footer text */
.insta-input-modern::placeholder,
#newsletter-email::placeholder,
.footer .newsletter-form .form-control::placeholder,
.contact-page-modern .form-input-modern::placeholder,
.support-page .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}
.footer p, .footer a.text-reset {
  color: rgba(255, 255, 255, 0.55) !important;
}
.footer .footer-heading {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 1rem !important;
  letter-spacing: 0.01em !important;
}
.ig-price-note { color: rgba(255, 255, 255, 0.5) !important; }
.ig-price-badge { color: #F06292 !important; }

/* 4. Skip link: max contrast */
.skip-to-content { background: #ffffff !important; color: #0a0a0a !important; }

/* 5. Inline input error */
.insta-input-error {
  color: #ff8a8a;
  font-size: 0.85rem;
  text-align: center;
  margin: 0.6rem auto 0;
  max-width: 560px;
}

/* 6. Cancel button in the loading card */
.loading-cancel-btn {
  margin-top: 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.loading-cancel-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.32); }
.loading-cancel-btn:active { transform: scale(0.98); }

/* 7. Inline error card (replaces the native alert) */
.ig-error-card {
  display: none;
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 2.2rem 1.5rem;
  border: 1px solid rgba(255, 122, 122, 0.25);
  border-radius: 20px;
  background: rgba(255, 122, 122, 0.04);
}
.ig-error-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #ff8a8a;
  background: rgba(255, 122, 122, 0.1);
  border: 1px solid rgba(255, 122, 122, 0.22);
}
.ig-error-card h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 0.5rem;
}
.ig-error-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.4rem;
}
.ig-error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ig-error-retry {
  background: #fff;
  color: #0a0a0a;
  border: none;
  border-radius: 999px;
  padding: 11px 26px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.25s ease;
}
.ig-error-retry:hover { background: #e8e8e8; }
.ig-error-retry:active { transform: scale(0.98); }
.ig-error-help {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}
.ig-error-help:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }

/* 8. Support page title */
.support-page-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 2rem;
}

/* 9. Mobile: clear the fixed pill header on about/hiw/support (was 108px vs 120px header bottom) */
@media (max-width: 767px) {
  .about-page, .how-it-works-page, .support-page { padding-top: 132px !important; }
}

/* 10. Reduced motion: CSS-only hero */
@media (prefers-reduced-motion: reduce) {
  .js-anim .hero-animate { opacity: 1 !important; animation: none !important; transform: none !important; }
}

/* ============================================================
   V47 - BOLDER pass (homepage): hero peak, section scale, price peak
   Same system: Bricolage + rose + hairlines. No new primitives.
   ============================================================ */

/* Peak #1 - the hero headline at statement scale, brand-owned emphasis */
.hero-title-modern {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.04em !important;
  max-width: 920px !important;
}
.hero-title-modern .ig-hl {
  color: #E1306C;
}
.hero-subtitle-modern {
  font-size: 1.12rem !important;
  max-width: 600px !important;
}

/* The search bar: the primary action, given real presence (desktop;
   mobile keeps the stacked card from the mobile fixes) */
@media (min-width: 768px) {
  .insta-search-container-modern {
    max-width: 680px !important;
  }
  .insta-input-wrapper-modern {
    padding: 10px !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.9) !important;
  }
  .insta-input-modern {
    font-size: 1.05rem !important;
    padding: 0.85rem 0.6rem !important;
  }
  .insta-btn-modern {
    padding: 1rem 2.2rem !important;
    font-size: 1rem !important;
  }
  .ig-price-strip {
    padding: 2.2rem 2.4rem !important;
    border-color: rgba(225, 48, 108, 0.22) !important;
  }
}

/* Section headings: one notch more confident, same scale family */
.section-title,
.ig-value-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem) !important;
  letter-spacing: -0.035em !important;
}

/* Peak #2 - the price strip */
.ig-price-value {
  font-size: 2.8rem !important;
}
.ig-price-value span {
  font-size: 1rem !important;
}
.ig-price-cta {
  padding: 1rem 2rem !important;
  font-size: 1rem !important;
}

/* ============================================================
   V48 - motion pass 2: state transitions that used to snap
   (paywall blur lift, FAQ disclosure, post modal, mobile nav)
   ============================================================ */

/* 1. Paywall blur lift - the authored unlock reveal */
#homeGrowthAI {
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. FAQ disclosure - content rises in, marker pops */
.ig-faq-item[open] > p,
.ig-faq-item[open] > .faq-answer {
  animation: igFaqIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes igFaqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.ig-faq-item[open] summary::after {
  animation: igFaqMark 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes igFaqMark {
  from { transform: scale(0.55); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}

/* 3. Post modal - fade + rise in, fade out */
.post-modal {
  opacity: 0;
  transition: opacity 0.28s ease;
}
.post-modal.is-open { opacity: 1; }
.post-modal .modal-content {
  transform: translateY(14px) scale(0.99);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}
.post-modal.is-open .modal-content { transform: none; }

/* 4. Mobile nav - links rise in when the burger opens */
body.ig-home .ig-nav-toggle:checked ~ .collapse.navbar-collapse .navbar-nav {
  animation: igNavIn 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes igNavIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  #homeGrowthAI { transition: none !important; }
  .ig-faq-item[open] > p,
  .ig-faq-item[open] > .faq-answer,
  .ig-faq-item[open] summary::after,
  body.ig-home .ig-nav-toggle:checked ~ .collapse.navbar-collapse .navbar-nav {
    animation: none !important;
  }
  .post-modal,
  .post-modal .modal-content { transition: none !important; }
}

/* ============================================================
   V49 - colorize: rose owns the monetization region + data fix
   (chart green fill was template residue; panel becomes the
   deliberate colored peak of the results surface)
   ============================================================ */

/* The unlock panel: a rose-tinted field instead of plain glass */
.ig-unlock-panel {
  background: linear-gradient(180deg, rgba(225, 48, 108, 0.08), rgba(23, 23, 23, 0.9) 60%) !important;
  border-color: rgba(225, 48, 108, 0.22) !important;
}

/* Badge + note: readable rose, AA-compliant */
.ig-unlock-badge {
  color: #F06292 !important;
}
.ig-unlock-note {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ============================================================
   V50 — TYPESET: role system, phantom weights, reading measures
   ============================================================ */

/* V50.1 — Root fix: the body-font rule no longer beats inheritance
   into every nested element (it was forcing Inter onto the hero
   accent span and injected/results headings). Headings keep the
   display face explicitly: */
.main h1, .main h2, .main h3, .main h4, .main h5 {
  font-family: var(--font-display) !important;
}

/* V50.2 — Hero accent inherits its heading's face + weight
   (was: Inter 700 — a face/weight the page never loaded) */
.hero-title-modern .ig-hl {
  font-family: inherit !important;
  font-weight: inherit !important;
}

/* V50.3 — Step numbers: display face (mono was costume, not code/data) */
.step-card .step-number {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em !important;
}

/* V50.4 — One body role on the homepage (was 14.4 / 14.72 / 16px+400) */
.ig-value-card p,
.ig-faq-item p {
  font-size: 15.2px !important;
}
.step-card p {
  font-size: 15.2px !important;
  font-weight: 300 !important;
}

/* V50.5 — Reading measure: FAQ column within ~72ch */
.ig-faq-list {
  max-width: 660px !important;
}
