/* =====================================================
   beeAgently — Shared Stylesheet v3
   ===================================================== */

/* --- VARIABLES --- */
:root {
  --yellow: #F7C600;
  --yellow-light: #FFF9DC;
  --yellow-dark: #C9A000;
  --black: #111111;
  --gray-900: #1C1C1C;
  --gray-700: #3D3D3D;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F4F4F1;
  --gray-50: #FAFAF8;
  --white: #FFFFFF;
  --green: #22C55E;
  --green-light: #DCFCE7;
  --green-dark: #15803D;
  --amber: #D97706;
  --amber-light: #FEF3C7;
  --border: #E8E8E3;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: 'Nunito', sans-serif; line-height: 1.15; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
input, button { font-family: inherit; }

/* --- TYPOGRAPHY --- */
.accent {
  color: var(--yellow);
  font-style: italic;
}
.display-xl { font-size: clamp(40px, 5.5vw, 68px); font-weight: 900; letter-spacing: -2px; }
.display-lg { font-size: clamp(32px, 4vw, 52px); font-weight: 900; letter-spacing: -1.5px; }
.display-md { font-size: clamp(26px, 3vw, 38px); font-weight: 900; letter-spacing: -1px; }
.display-sm { font-size: clamp(20px, 2vw, 28px); font-weight: 900; letter-spacing: -0.5px; }

/* --- CONTAINER --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 32px; }

/* --- HEADER --- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex; align-items: center; gap: 2px;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 24px; letter-spacing: -0.5px;
  flex-shrink: 0;
}
.site-logo .bee { color: var(--yellow); }
.site-logo .bee-icon { font-size: 22px; margin-left: 2px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 14px; font-weight: 500; color: var(--gray-700); transition: color .15s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--black); }
.site-nav a.active { color: var(--black); font-weight: 700; }
.btn-join {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--black); color: var(--white);
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 14px;
  padding: 10px 20px; border-radius: 100px; border: none;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.btn-join:hover { background: var(--gray-900); transform: translateY(-1px); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 15px;
  padding: 12px 24px; border-radius: 100px; border: none;
  cursor: pointer; transition: all .15s; line-height: 1;
}
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--gray-900); transform: translateY(-1px); }
.btn-outline-black { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline-black:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* --- TAGS / BADGES --- */
.tag {
  display: inline-flex; align-items: center;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 11px;
  letter-spacing: 0.5px; padding: 4px 10px; border-radius: 100px;
  text-transform: uppercase;
}
.tag-amber { background: var(--amber-light); color: var(--amber); }
.tag-green { background: var(--green-light); color: var(--green-dark); }
.tag-black { background: var(--black); color: var(--white); }
.tag-gray { background: var(--gray-200); color: var(--gray-500); }
.tag-yellow { background: var(--yellow); color: var(--black); }
.tag-outline { background: transparent; border: 1.5px solid var(--border); color: var(--gray-700); }

/* --- BREADCRUMB --- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-500); margin-bottom: 24px;
}
.breadcrumb a { color: var(--gray-500); transition: color .15s; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb-sep { color: var(--gray-400); font-size: 12px; }
.breadcrumb-current { color: var(--yellow-dark); font-weight: 600; }

/* --- PAGE HERO (dark) --- */
.page-hero {
  background: var(--black);
  padding: 64px 32px 72px;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(247,198,0,0.15); border: 1px solid rgba(247,198,0,0.25);
  color: var(--yellow); font-family: 'Nunito', sans-serif; font-weight: 800;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
}

/* --- LINK ARROW --- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px;
  color: var(--gray-700); transition: all .15s;
}
.link-arrow:hover { color: var(--black); gap: 9px; }
.link-arrow-yellow { color: var(--amber); }
.link-arrow-yellow:hover { color: var(--yellow-dark); }

/* --- SECTION LABEL --- */
.section-label {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.section-label h2 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 24px; letter-spacing: -.5px; }
.section-label p { font-size: 14px; color: var(--gray-500); margin-top: 3px; }

/* --- CARD BASE --- */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: transparent; }

/* --- GUIDE CARD (Agents 101) --- */
.guide-card { display: flex; flex-direction: column; padding: 24px; position: relative; }
.guide-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.guide-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  flex-shrink: 0;
}
.guide-badge { /* difficulty pill — positioned top-right */ }
.guide-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.guide-category { font-size: 11px; font-weight: 700; color: var(--amber); letter-spacing: 0.3px; text-transform: uppercase; }
.guide-read-time { font-size: 11px; color: var(--gray-500); }
.guide-card h3 { font-size: 17px; font-weight: 900; margin-bottom: 8px; line-height: 1.25; letter-spacing: -.3px; }
.guide-card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; flex: 1; }
.guide-card-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }

/* --- PLAYBOOK CARD --- */
.playbook-card { display: flex; flex-direction: column; padding: 28px; position: relative; }
.playbook-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.playbook-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  border: 1.5px solid var(--border); background: var(--gray-50);
}
.playbook-card h3 { font-size: 20px; font-weight: 900; margin-bottom: 4px; letter-spacing: -.3px; }
.playbook-card .subtitle { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; }
.chapter-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; flex: 1; }
.chapter-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--gray-700); }
.ch-n { font-size: 11px; color: var(--gray-400); font-weight: 700; min-width: 14px; padding-top: 1px; }
.playbook-card-footer { border-top: 1.5px solid var(--border); padding-top: 20px; margin-top: auto; }

/* --- KIT CARD --- */
.kit-card { display: flex; flex-direction: column; padding: 24px; position: relative; }
.kit-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.kit-icon { font-size: 24px; color: var(--gray-700); }
.kit-card h3 { font-size: 17px; font-weight: 900; margin-bottom: 8px; letter-spacing: -.2px; }
.kit-card p { font-size: 13px; color: var(--gray-500); line-height: 1.65; margin-bottom: 14px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; flex: 1; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--gray-700); }
.check-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.kit-card-footer { border-top: 1.5px solid var(--border); padding-top: 16px; margin-top: auto; }

/* --- TOOL CARD --- */
.tool-card { display: flex; flex-direction: column; padding: 22px; gap: 12px; position: relative; }
.tool-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.tool-logo {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--black); display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.tool-logo svg { width: 22px; height: 22px; fill: var(--white); }
.tool-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 2px; }
.tool-card .tool-sub { font-size: 12px; color: var(--gray-500); }
.tool-desc { font-size: 13px; color: var(--gray-700); line-height: 1.65; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-tag {
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px;
  background: var(--gray-100); color: var(--gray-700);
}
.tool-price { font-size: 13px; font-weight: 700; color: var(--gray-700); }
.tool-price.free { color: var(--green-dark); }

/* --- STORY CARD --- */
.story-card { display: flex; flex-direction: column; overflow: hidden; }
.story-card-header {
  background: var(--gray-900);
  padding: 20px 24px; display: flex; align-items: flex-end; justify-content: space-between;
  min-height: 100px; position: relative;
}
.story-industry {
  display: inline-flex; align-items: center;
  background: var(--yellow); color: var(--black);
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 11px;
  letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
}
.story-metric { text-align: right; }
.story-metric-num { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 32px; color: var(--white); line-height: 1; }
.story-metric-label { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 3px; }
.story-card-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.story-quote { font-style: italic; font-size: 14px; color: var(--gray-700); line-height: 1.7; flex: 1; }
.story-bees { display: flex; flex-wrap: wrap; gap: 6px; }
.story-bee-chip {
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px;
  background: var(--gray-100); color: var(--gray-700);
}
.story-author { display: flex; align-items: center; gap: 10px; }
.story-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 14px;
  background: var(--yellow); color: var(--black); flex-shrink: 0;
}
.story-author-name { font-weight: 700; font-size: 14px; line-height: 1.2; }
.story-author-role { font-size: 12px; color: var(--gray-500); }

/* --- CTA DARK SECTION --- */
.cta-dark {
  background: var(--black);
  border-radius: var(--radius-xl); padding: 56px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-dark::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(247,198,0,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-dark-icon { font-size: 40px; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-dark h2 { color: var(--white); margin-bottom: 10px; position: relative; z-index: 1; }
.cta-dark p { color: var(--gray-400); font-size: 15px; line-height: 1.7; margin-bottom: 24px; max-width: 440px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }

/* --- FOOTER --- */
.site-footer {
  background: var(--black); color: var(--white);
  padding: 60px 32px 32px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .site-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 240px; margin-bottom: 20px; }
.footer-col h5 {
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col ul li a:hover { color: var(--white); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: rgba(255,255,255,.6); transition: all .15s;
}
.social-link:hover { background: rgba(255,255,255,.15); color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 28px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.28);
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color .15s; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom-right { display: flex; gap: 20px; align-items: center; }

/* --- FILTER TABS --- */
.filter-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 32px; overflow-x: auto; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  padding: 12px 20px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 14px;
  color: var(--gray-500); border-bottom: 2px solid transparent; margin-bottom: -1px;
  cursor: pointer; transition: all .15s; white-space: nowrap; background: none; border-left: none; border-right: none; border-top: none;
}
.filter-tab:hover { color: var(--black); }
.filter-tab.active { color: var(--black); border-bottom-color: var(--black); font-weight: 800; }
.filter-pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-pill {
  padding: 8px 18px; border-radius: 100px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 13px;
  border: 1.5px solid var(--border); background: var(--white); color: var(--gray-700);
  cursor: pointer; transition: all .15s;
}
.filter-pill:hover { border-color: var(--black); color: var(--black); }
.filter-pill.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* --- NEWSLETTER SECTION --- */
.newsletter-section { background: var(--white); padding: 80px 32px; }
.newsletter-inner { max-width: 1200px; margin: 0 auto; }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.newsletter-bullets { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.nl-bullet { display: flex; align-items: flex-start; gap: 14px; }
.nl-bullet-icon { font-size: 18px; width: 40px; height: 40px; background: var(--gray-100); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nl-bullet h4 { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.nl-bullet p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.nl-card { background: var(--black); border-radius: var(--radius-xl); padding: 36px; }
.nl-card h3 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 22px; color: var(--white); margin-bottom: 6px; }
.nl-card > p { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.nl-proof { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.nl-stars { color: var(--yellow); font-size: 14px; letter-spacing: 1px; }
.nl-proof-text { font-size: 13px; color: rgba(255,255,255,.45); }
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-form input {
  padding: 14px 18px; border-radius: 100px; border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07); color: var(--white);
  font-size: 15px; outline: none; transition: border-color .15s;
}
.nl-form input::placeholder { color: rgba(255,255,255,.3); }
.nl-form input:focus { border-color: var(--yellow); }

/* --- SCROLL ANIMATION --- */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* --- SIDEBAR LAYOUT --- */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.sticky-sidebar { position: sticky; top: 88px; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sticky-sidebar { position: static; }
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 40px; }
  .container { padding: 0 20px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
