/* AI Influencer Directory — Global Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000000;
  --surface: #0d0d0d;
  --surface2: #141414;
  --border: #1f1f1f;
  --purple: #7C3AED;
  --purple-light: #9D68F5;
  --cyan: #06B6D4;
  --cyan-light: #22D3EE;
  --text: #e5e5e5;
  --text-muted: #888;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-light); text-decoration: underline; }

/* ---- NAV ---- */
nav {
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nav-logo span { color: var(--purple); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); text-decoration: none; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #0a0015 0%, #000 50%, #00101a 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  position: relative;
}
.hero h1 .accent { color: var(--purple); }
.hero .subheadline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.4);
  color: var(--purple-light);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* ---- SECTIONS ---- */
.section { padding: 3.5rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.section-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

/* ---- INFLUENCER GRID ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.card:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.2);
}
.card-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.card-header { display: flex; align-items: center; gap: 1rem; }
.card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.card-role {
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 500;
}
.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--purple-light);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}
.card-cta {
  display: inline-block;
  margin-top: 0.25rem;
  background: linear-gradient(90deg, var(--purple), #6D28D9);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.2s;
  text-decoration: none;
}
.card-cta:hover { opacity: 0.85; text-decoration: none; color: var(--white); }

/* Placeholder card */
.card-placeholder {
  border-style: dashed;
  border-color: #2a2a2a;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: #333;
  font-size: 0.9rem;
  flex-direction: column;
  gap: 0.5rem;
}
.card-placeholder .ph-icon { font-size: 2rem; }

/* ---- AFFILIATE SECTION ---- */
.affiliate-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.tool-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
}
.tool-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  color: var(--white);
  text-decoration: none;
}
.tool-icon { font-size: 1.8rem; }
.tool-name { font-weight: 700; font-size: 0.95rem; color: var(--white); }
.tool-desc { font-size: 0.78rem; color: var(--text-muted); }
.tool-badge {
  font-size: 0.7rem;
  background: rgba(6,182,212,0.15);
  border: 1px solid rgba(6,182,212,0.3);
  color: var(--cyan);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-weight: 600;
}
.affiliate-disclosure {
  font-size: 0.75rem;
  color: #555;
  margin-top: 1.25rem;
  text-align: center;
}

/* ---- PROFILE PAGE ---- */
.profile-hero {
  background: linear-gradient(135deg, #0a0015 0%, #000 60%, #00101a 100%);
  padding: 4rem 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.profile-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--cyan); }
.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.4);
  color: var(--purple-light);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.profile-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.social-btn:hover { opacity: 0.85; text-decoration: none; transform: translateY(-1px); }
.btn-youtube { background: #FF0000; color: #fff; }
.btn-twitter { background: #000; border: 1px solid #333; color: #fff; }
.btn-web { background: var(--purple); color: #fff; }

.profile-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.profile-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 0.75rem;
}
.profile-content p {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}
.topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.topic-tag {
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.3);
  color: var(--cyan-light);
  padding: 0.25rem 0.7rem;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 500;
}
.disclosure-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid #2a2a2a;
  border-left: 3px solid var(--purple);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 2rem 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 2rem;
  font-weight: 500;
}
.back-link:hover { color: var(--cyan); text-decoration: none; }

/* ---- GENERIC CONTENT PAGE ---- */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.content-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.content-page .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.content-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 0.5rem;
}
.content-page p, .content-page li {
  color: var(--text);
  font-size: 0.96rem;
  margin-bottom: 0.75rem;
}
.content-page ul { padding-left: 1.5rem; }

/* ---- FOOTER ---- */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo span { color: var(--purple); }
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-copy {
  font-size: 0.78rem;
  color: #444;
  width: 100%;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .section { padding: 2.5rem 1rem; }
  .grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
