/* === AILeaders.info — Global Styles === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #0a0a0a;
  --bg2: #111;
  --bg3: #0e0e0e;
  --border: #1a1a1a;
  --border2: #1e1e1e;
  --border3: #2a2a2a;
  --text: #e8dcc8;
  --text2: #bbb;
  --text3: #999;
  --text4: #888;
  --text5: #777;
  --text6: #666;
  --text7: #555;
  --text8: #444;
  --gold: #D4A853;
  --gold2: #B8912E;
  --gold3: #E8C876;
  --gold-bg: #D4A85315;
  --gold-border: #D4A85340;
  --green: #5EBD8A;
  --green-bg: #2D6B4F15;
  --green-border: #2D6B4F40;
  --blue: #6BA3D4;
  --blue-bg: #2E5A8815;
  --blue-border: #2E5A8840;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--sans); }
input, select, textarea { font-family: var(--sans); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* === Animations === */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.fade-up { animation: fadeUp 0.8s var(--ease) both; }
.fade-in { animation: fadeIn 0.6s ease both; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.2s; } .d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.4s; } .d5 { animation-delay: 0.5s; } .d6 { animation-delay: 0.6s; }

/* === Layout === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 40px; }
.section-alt { padding: 100px 40px; background: var(--bg3); }
.text-center { text-align: center; }

/* === Typography === */
.heading-xl { font-family: var(--serif); font-size: 72px; font-weight: 700; color: var(--text); line-height: 1.1; }
.heading-lg { font-family: var(--serif); font-size: 48px; font-weight: 700; color: var(--text); }
.heading-md { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--text); }
.heading-sm { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--text); }
.heading-xs { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--text); }
.label { font-size: 11px; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; }
.body-lg { font-size: 19px; color: var(--text4); line-height: 1.7; }
.body { font-size: 15px; color: var(--text5); line-height: 1.7; }
.body-sm { font-size: 14px; color: var(--text5); line-height: 1.7; }
.gold-text { background: linear-gradient(135deg, var(--gold), var(--gold3)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% auto; animation: shimmer 3s linear infinite; }
.gold-line { width: 60px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.gold-line-full { width: 100%; height: 1px; background: linear-gradient(90deg, var(--gold-border), transparent); }
.stat-number { font-family: var(--serif); font-size: 48px; font-weight: 700; color: var(--gold); line-height: 1; }

/* === Navbar === */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(10,10,10,0.93); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--gold), var(--gold2)); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--bg); }
.nav-logo-text { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--text); }
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link { position: relative; color: var(--text4); font-size: 13px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; transition: color 0.3s; background: none; border: none; padding: 0; }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active::after { content: ''; position: absolute; bottom: -8px; left: 0; right: 0; height: 1px; background: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.mobile-toggle { display: none; background: none; border: 1px solid #333; color: var(--gold); padding: 6px 12px; border-radius: 4px; font-size: 20px; line-height: 1; }
.mobile-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: rgba(10,10,10,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 24px 40px; flex-direction: column; gap: 16px; }
.mobile-menu.open { display: flex; }

/* === Buttons === */
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: var(--bg); border: none; padding: 12px 28px; border-radius: 6px; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; transition: all 0.3s; display: inline-block; text-align: center; }
.btn-primary:hover { background: linear-gradient(135deg, #E0B85F, #C9A23A); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(212,168,83,0.25); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold-border); padding: 12px 28px; border-radius: 6px; font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; transition: all 0.3s; display: inline-block; text-align: center; }
.btn-outline:hover { border-color: var(--gold); background: rgba(212,168,83,0.06); }
.btn-lg { padding: 16px 40px; font-size: 14px; }
.btn-sm { padding: 10px 24px; font-size: 12px; }
.btn-full { width: 100%; }

/* === Cards === */
.card { background: var(--bg2); border: 1px solid var(--border2); border-radius: 12px; padding: 28px; transition: all 0.4s var(--ease); }
.card:hover { transform: translateY(-3px); border-color: var(--gold-border); box-shadow: 0 16px 50px rgba(0,0,0,0.4), 0 0 30px rgba(212,168,83,0.04); }
.card-lg { border-radius: 16px; padding: 40px; }

/* === Badges === */
.badge { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; display: inline-block; }
.badge-default { background: var(--border); color: var(--text3); border: 1px solid #333; }
.badge-gold { background: var(--gold-bg); color: var(--gold); border: 1px solid var(--gold-border); }
.badge-green { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.badge-blue { background: var(--blue-bg); color: var(--blue); border: 1px solid var(--blue-border); }

/* === Avatar === */
.avatar { border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text); font-family: var(--serif); font-weight: 700; letter-spacing: 1px; flex-shrink: 0; border: 2px solid #333; }
.avatar-featured { border-color: var(--gold); }
.avatar-sm { width: 48px; height: 48px; font-size: 18px; }
.avatar-md { width: 64px; height: 64px; font-size: 24px; }
.avatar-lg { width: 88px; height: 88px; font-size: 34px; }

/* === Forms (Netlify) === */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; color: var(--text3); letter-spacing: 0.5px; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  background: var(--bg2); color: var(--text); border: 1px solid var(--border3);
  padding: 14px 16px; border-radius: 8px; font-size: 15px; width: 100%;
  outline: none; transition: border-color 0.3s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold-border); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text7); }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 12px; color: var(--text6); margin-top: 6px; }
.form-success { background: var(--green-bg); border: 1px solid var(--green-border); color: var(--green); padding: 20px; border-radius: 10px; text-align: center; display: none; }

/* === Hero === */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 40px; overflow: hidden; }
.hero-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(140px); opacity: 0.07; pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 900px; }

/* === Pricing Card === */
.pricing-card { position: relative; overflow: hidden; }
.pricing-card .popular-ribbon { position: absolute; top: 16px; right: -32px; transform: rotate(45deg); background: linear-gradient(135deg, var(--gold), var(--gold2)); padding: 4px 40px; font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--bg); }
.pricing-price { font-family: var(--serif); font-size: 48px; font-weight: 700; color: var(--gold); }
.pricing-period { font-size: 14px; color: var(--text6); }
.pricing-feature { display: flex; align-items: flex-start; gap: 10px; }
.pricing-feature .check { color: var(--gold); font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.pricing-feature span { font-size: 14px; color: var(--text3); line-height: 1.5; }

/* === Leader Card === */
.leader-card { cursor: pointer; text-decoration: none; display: block; }
.leader-meta { font-size: 14px; color: var(--text3); margin-bottom: 10px; }
.leader-bio { font-size: 14px; color: var(--text5); line-height: 1.7; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.leader-stats { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.leader-stats-text { font-size: 12px; color: var(--text6); }
.leader-badges { margin-left: auto; display: flex; gap: 8px; }

/* === Stars === */
.stars { display: flex; align-items: center; gap: 2px; }
.stars svg { width: 13px; height: 13px; }
.stars-value { margin-left: 4px; font-size: 13px; color: var(--gold); font-weight: 600; }

/* === Footer === */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 60px 40px; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-brand p { font-size: 13px; color: var(--text7); max-width: 300px; line-height: 1.6; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: var(--text4); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--text7); margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { max-width: 1100px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text8); }

/* === Social Links === */
.social-links-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--border2);
  color: var(--text3); font-size: 13px; font-weight: 500;
  transition: all 0.3s; text-decoration: none;
}
.social-link:hover { border-color: var(--gold-border); color: var(--gold); background: var(--gold-bg); }
.social-link svg { flex-shrink: 0; }

/* === Profile Page Components === */
.section-heading { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border2); }
.stat-card { background: var(--bg); border-radius: 10px; padding: 20px; text-align: center; border: 1px solid var(--border); }
.stat-card-num { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--gold); }
.stat-card-label { font-size: 11px; color: var(--text6); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }
.cred-section { margin-bottom: 20px; }
.cred-section:last-child { margin-bottom: 0; }
.cred-label { font-size: 12px; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; font-family: var(--sans); }
.cred-list { list-style: none; padding: 0; }
.cred-list li { font-size: 14px; color: var(--text2); padding: 4px 0; padding-left: 16px; position: relative; }
.cred-list li::before { content: '·'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.trust-item { font-size: 13px; color: var(--green); display: flex; align-items: center; gap: 6px; }
.case-study { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.case-title { font-size: 15px; color: var(--text); font-weight: 600; margin-bottom: 6px; }
.case-result { font-size: 13px; color: var(--gold); font-weight: 600; }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--bg); border: 1px solid var(--border2); border-radius: 6px; font-size: 13px; color: var(--text2); transition: all 0.3s; font-weight: 500; }
.social-link:hover { border-color: var(--gold-border); color: var(--gold); }
.form-section-title { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--text); margin: 32px 0 20px; padding-top: 24px; border-top: 1px solid var(--border2); }
.form-section-title:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

/* === Responsive === */
@media (max-width: 900px) {
  .heading-xl { font-size: 40px; }
  .heading-lg { font-size: 34px; }
  .heading-md { font-size: 30px; }
  .stat-number { font-size: 36px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .mobile-toggle { display: block; }
  .container, .section, .section-alt, .navbar, .hero, .footer { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: 70vh; padding: 60px 20px; }
  .stats-flex { flex-direction: column; gap: 24px !important; }
  .pricing-flex { flex-direction: column; align-items: center; }
  .leader-card-inner { flex-direction: column; }
  .leader-badges { margin-left: 0; margin-top: 8px; }
  .filters-row { flex-direction: column; }
  .footer-grid { flex-direction: column; }
  .cred-grid { grid-template-columns: 1fr !important; }
  .cases-grid { grid-template-columns: 1fr !important; }
}
