/* InfluencerAI.com — fire.css
   Design system: Crimson red + orange on warm charcoal dark theme
   Fonts: DM Sans + Space Mono (loaded via Google Fonts in HTML)
   ---------------------------------------------------------------- */

/* ── TOKENS ───────────────────────────────────────────────────── */
:root {
  --bg:      #0A0808;
  --bg2:     #120E0E;
  --bg3:     #1C1616;
  --card:    #161111;
  --card-h:  #221A1A;
  --white:   #F5F5F7;
  --t1:      #C4C4CC;
  --t2:      #8A8A96;
  --t3:      #55555F;
  --acc:     #DC2626;
  --acc-h:   #EF4444;
  --acc-s:   rgba(220,38,38,.08);
  --acc-b:   rgba(220,38,38,.2);
  --violet:  #F97316;
  --teal:    #06D6A0;
  --amber:   #FFB800;
  --bd:      rgba(255,255,255,.06);
  --bd2:     rgba(255,255,255,.1);
  --r:       14px;
  --sh:      0 4px 24px rgba(0,0,0,.4);
  --fm:      'DM Sans', system-ui, sans-serif;
  --mono:    'Space Mono', monospace;
}

/* ── RESET ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fm);
  background: var(--bg);
  color: var(--t1);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }

/* ── LAYOUT ───────────────────────────────────────────────────── */
.c { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
a { color: var(--acc); text-decoration: none; transition: .2s; }
a:hover { color: var(--acc-h); }

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fm);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: .9375rem;
  transition: all .25s;
  border: none;
  cursor: pointer;
}
.btn-a  { background: var(--acc); color: #fff; }
.btn-a:hover { background: var(--acc-h); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(220,38,38,.35); }
.btn-g  { background: transparent; color: var(--white); border: 1px solid var(--bd2); }
.btn-g:hover { border-color: var(--acc-b); color: var(--acc); }
.btn-grad { background: linear-gradient(135deg, var(--acc), var(--violet)); color: #fff; }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(124,58,237,.35); }
.btn-sm { padding: 10px 22px; font-size: .8125rem; }

/* ── NAV ──────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,10,.88);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--bd);
}
.ni  { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nb  { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.nb span { color: var(--acc); }
.nls { display: flex; gap: 2px; }
.nl  { font-size: .8125rem; font-weight: 500; color: var(--t2); padding: 7px 13px; border-radius: 10px; transition: .15s; }
.nl:hover { color: var(--white); background: rgba(255,255,255,.04); }
.nr  { display: flex; gap: 8px; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero { position: relative; padding: 100px 0 72px; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  opacity: .15;
  filter: saturate(.6);
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,.3) 0%, rgba(8,8,10,.95) 70%, var(--bg) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 720px; margin: 0 auto; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--acc-s);
  border: 1px solid var(--acc-b);
  border-radius: 100px;
  padding: 5px 16px 5px 8px;
  font-size: .6875rem;
  font-weight: 600;
  color: var(--acc);
  margin-bottom: 22px;
}
.hero-chip .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.3; } }

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -.04em;
  margin-bottom: 18px;
}
h1 .grad {
  background: linear-gradient(135deg, var(--acc), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 1.0625rem; color: var(--t1); max-width: 560px; margin: 0 auto 28px; line-height: 1.7; }
.hero-acts { display: flex; gap: 10px; justify-content: center; margin-bottom: 32px; }
.hero-stats { display: flex; gap: 28px; justify-content: center; padding-top: 24px; border-top: 1px solid var(--bd); }
.hs          { text-align: center; }
.hs-n        { font-family: var(--mono); font-size: 1.25rem; font-weight: 700; color: var(--white); }
.hs-l        { font-size: .5625rem; color: var(--t3); text-transform: uppercase; letter-spacing: .04em; }

/* ── SECTIONS ─────────────────────────────────────────────────── */
.sec     { padding: 72px 0; border-bottom: 1px solid var(--bd); }
.sec-alt { background: var(--bg2); }
.ey  { font-family: var(--mono); font-size: .625rem; color: var(--acc); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.st  { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--white); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 6px; }
.ss  { color: var(--t2); max-width: 480px; font-size: .9375rem; }
.sh  { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }

/* ── CATEGORY CARDS ───────────────────────────────────────────── */
.cat-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  height: 240px;
  display: block;
  text-decoration: none;
  transition: transform .3s;
}
.cat:hover { transform: scale(1.02); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; filter: brightness(.5) saturate(.9); }
.cat:hover img { transform: scale(1.06); filter: brightness(.6) saturate(1); }
.cat-ov  { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 50%); }
.cat-info { position: absolute; bottom: 0; padding: 16px; color: #fff; z-index: 1; }
.cat-n   { font-size: 1rem; font-weight: 700; }
.cat-c   { font-size: .625rem; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ── TOOL CARDS ───────────────────────────────────────────────── */
.tool-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .3s;
  display: block;
  text-decoration: none;
  color: var(--t1);
}
.tool:hover { border-color: var(--acc-b); transform: translateY(-4px); box-shadow: var(--sh); }
.tool-img { height: 180px; overflow: hidden; position: relative; }
.tool-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; filter: brightness(.65) saturate(.8); }
.tool:hover .tool-img img { transform: scale(1.05); filter: brightness(.75) saturate(1); }
.tool-img-ov  { position: absolute; inset: 0; background: linear-gradient(to top, var(--card) 5%, transparent 50%); }
.tool-badge   { position: absolute; top: 10px; left: 10px; font-size: .5625rem; font-weight: 700; color: #fff; background: var(--acc); padding: 3px 10px; border-radius: 8px; text-transform: uppercase; }
.tool-body    { padding: 18px; }
.tool-name    { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.tool-cat     { font-size: .6875rem; color: var(--t3); margin-bottom: 10px; }
.tool-meta    { display: flex; align-items: center; gap: 14px; font-size: .8125rem; color: var(--t3); }
.tool-rating  { color: var(--amber); font-weight: 600; }
.tool-price   { margin-left: auto; font-weight: 700; color: var(--white); font-family: var(--mono); font-size: .8125rem; }

/* ── WORKFLOWS ────────────────────────────────────────────────── */
.wf-g { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.wf {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  transition: .25s;
  text-decoration: none;
  color: var(--t1);
}
.wf:hover  { border-color: var(--acc-b); background: var(--card-h); }
.wf-arrow  { font-size: 1.25rem; color: var(--acc); flex-shrink: 0; margin-top: 2px; }
.wf-t      { font-size: .9375rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.wf-d      { font-size: .8125rem; color: var(--t2); line-height: 1.5; }

/* ── CREATOR TYPE PILLS ───────────────────────────────────────── */
.cr-g { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.cr {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 100px;
  padding: 8px 20px 8px 8px;
  transition: .2s;
  text-decoration: none;
  color: var(--t1);
}
.cr:hover   { border-color: var(--acc); color: var(--acc); }
.cr-img     { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--acc-b); }
.cr-img img { width: 100%; height: 100%; object-fit: cover; }
.cr-name    { font-weight: 700; color: var(--white); font-size: .8125rem; }
.cr-count   { font-size: .5625rem; color: var(--t3); }

/* ── COMPARISON CARDS ─────────────────────────────────────────── */
.comp-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.comp {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 22px;
  transition: .25s;
  display: block;
  text-decoration: none;
  color: var(--t1);
}
.comp:hover   { border-color: var(--acc-b); transform: translateY(-2px); }
.comp-vs      { font-family: var(--mono); font-size: .5625rem; color: var(--acc); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; display: block; }
.comp-t       { font-size: .9375rem; font-weight: 700; color: var(--white); line-height: 1.25; margin-bottom: 4px; }
.comp-d       { font-size: .8125rem; color: var(--t2); line-height: 1.5; }

/* ── TESTIMONIALS ─────────────────────────────────────────────── */
.test-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.test {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 24px;
  transition: transform .2s;
}
.test:hover   { transform: translateY(-2px); }
.test-top     { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.test-av      { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--acc-b); }
.test-av img  { width: 100%; height: 100%; object-fit: cover; }
.test-info    { font-size: .875rem; font-weight: 600; color: var(--white); }
.test-info span { display: block; font-size: .6875rem; color: var(--t3); font-weight: 400; }
.test-text    { font-size: .9375rem; color: var(--t1); line-height: 1.6; font-style: italic; }

/* ── BLOG CARDS ───────────────────────────────────────────────── */
.blog-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.blog {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  overflow: hidden;
  transition: .25s;
  display: block;
  text-decoration: none;
  color: var(--t1);
}
.blog:hover          { border-color: var(--acc-b); transform: translateY(-2px); }
.blog-img            { height: 180px; overflow: hidden; }
.blog-img img        { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; filter: brightness(.6); }
.blog:hover .blog-img img { transform: scale(1.04); filter: brightness(.7); }
.blog-body           { padding: 20px; }
.blog-cat            { font-family: var(--mono); font-size: .5625rem; color: var(--acc); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; display: block; }
.blog-t              { font-size: .9375rem; font-weight: 700; color: var(--white); line-height: 1.25; margin-bottom: 4px; }
.blog-d              { font-size: .8125rem; color: var(--t2); line-height: 1.5; margin-bottom: 8px; }
.blog-meta           { font-family: var(--mono); font-size: .5625rem; color: var(--t3); }

/* ── CTA SECTION ──────────────────────────────────────────────── */
.cta-sec {
  position: relative;
  padding: 72px;
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--acc), var(--violet));
}
.cta-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1611162616475-46b635cb6868?w=1200&q=60');
  background-size: cover;
  background-position: center;
  opacity: .1;
  mix-blend-mode: overlay;
}
.cta-sec h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 8px; position: relative; letter-spacing: -.03em; }
.cta-sec em { font-style: italic; }
.cta-sec p  { color: rgba(255,255,255,.65); max-width: 480px; margin: 0 auto 24px; font-size: 1rem; position: relative; }
.cta-btns   { display: flex; gap: 10px; justify-content: center; position: relative; }

/* ── NEWSLETTER BOX ───────────────────────────────────────────── */
.nl-box     { max-width: 480px; margin: 40px auto 0; text-align: center; }
.nl-box p   { font-size: .875rem; color: var(--t2); margin-bottom: 12px; }
.nl-f       { display: flex; gap: 6px; }
.nl-i       { flex: 1; background: var(--card); border: 1px solid var(--bd); border-radius: 10px; padding: 12px 16px; color: var(--white); font-family: var(--fm); font-size: .875rem; outline: none; }
.nl-i:focus { border-color: var(--acc); }
.nl-i::placeholder { color: var(--t3); }

/* ── FOOTER ───────────────────────────────────────────────────── */
.ft       { padding: 56px 0 24px; border-top: 1px solid var(--bd); }
.ft-g     { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.ft-brand { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.ft-brand span { color: var(--acc); }
.ft-d     { font-size: .8125rem; color: var(--t3); line-height: 1.6; margin-bottom: 10px; }
.ft-h     { font-family: var(--mono); font-size: .5rem; font-weight: 500; color: var(--t3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.ft-col a { display: block; font-size: .8125rem; color: var(--t3); padding: 3px 0; transition: .12s; }
.ft-col a:hover { color: var(--acc); }
.ft-bot   { border-top: 1px solid var(--bd); padding-top: 16px; display: flex; justify-content: space-between; font-size: .6875rem; color: var(--t3); opacity: .5; }

/* ── REVEAL ON SCROLL ─────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.rv.on { opacity: 1; transform: translateY(0); }

/* ── MOBILE HAMBURGER ─────────────────────────────────────────── */
.ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--bd2);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: border-color .2s;
}
.ham:hover { border-color: var(--acc-b); }
.ham span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s ease;
}
.ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mob {
  display: none;
  flex-direction: column;
  background: rgba(10,8,8,.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--bd);
  padding: 12px 0 20px;
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease, padding .35s ease;
}
.nav-mob.open {
  max-height: 500px;
  padding: 12px 0 20px;
}
.nav-mob a {
  display: block;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--t1);
  padding: 13px 28px;
  border-bottom: 1px solid var(--bd);
  transition: .15s;
  text-decoration: none;
}
.nav-mob a:last-of-type { border-bottom: none; }
.nav-mob a:hover { color: var(--acc); background: var(--acc-s); }
.nav-mob .mob-btns {
  display: flex;
  gap: 10px;
  padding: 14px 28px 0;
  flex-wrap: wrap;
}
.nav-mob .mob-btns a {
  border: none;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: .875rem;
  font-weight: 700;
  flex: 1;
  text-align: center;
  min-width: 120px;
}
.nav-mob .mob-btns .btn-g-mob {
  background: transparent;
  border: 1px solid var(--bd2);
  color: var(--white);
}
.nav-mob .mob-btns .btn-a-mob {
  background: var(--acc);
  color: #fff;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cat-g, .tool-g, .comp-g, .test-g, .blog-g { grid-template-columns: 1fr; }
  .wf-g    { grid-template-columns: 1fr; }
  .cr-g    { flex-direction: column; align-items: center; }
  .ft-g    { grid-template-columns: 1fr 1fr; }
  .nls, .nr { display: none; }
  .ham     { display: flex; }
  .nav-mob { display: flex; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .cta-sec { padding: 40px 24px; }
  .cat-g   { grid-template-columns: 1fr 1fr; }
  .comp-g  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .cat-g, .comp-g, .test-g, .blog-g, .tool-g { grid-template-columns: 1fr; }
  .ft-g    { grid-template-columns: 1fr; }
  h1       { font-size: 2.1rem; }
  .hero-acts { flex-direction: column; align-items: center; }
}
