/* ============================================================
   SmartStips.com — Shared Stylesheet
   Brand purple: #35247B  Hover: #4d36a8  Tint: #f0ecfb
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a2e;
  background: #fff;
}

img { max-width: 100%; display: block; }
a { color: #35247B; text-decoration: none; }
a:hover { color: #4d36a8; }

/* ---------- Typography ---------- */
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.section-sm { padding: 36px 0; }

/* ---------- Navigation ---------- */
.site-nav {
  background: #35247B;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
  max-width: 1080px;
  margin: 0 auto;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
  flex-shrink: 0;
  padding: 4px 0;
}

.nav-logo img { display: block; height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.78);
  font-size: .88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .15s, color .15s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.nav-cta {
  background: #fff !important;
  color: #35247B !important;
  font-weight: 700 !important;
  margin-left: 8px;
  padding: 6px 16px !important;
}

.nav-cta:hover {
  background: #f0ecfb !important;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #fff;
  font-size: 1.4rem;
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: #35247B;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 16px;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 12px; font-size: 1rem; }
  .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background .15s, transform .1s;
  text-decoration: none;
  line-height: 1;
}

.btn:active { transform: scale(.98); }

.btn-primary {
  background: #35247B;
  color: #fff;
}
.btn-primary:hover { background: #4d36a8; color: #fff; }

.btn-white {
  background: #fff;
  color: #35247B;
}
.btn-white:hover { background: #f0ecfb; color: #35247B; }

.btn-outline {
  background: transparent;
  color: #35247B;
  border: 2px solid #35247B;
}
.btn-outline:hover { background: #f0ecfb; }

.btn-sm { padding: 7px 16px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero {
  background: #35247B;
  padding: 56px 20px 48px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.hero h1 { color: #fff; margin-bottom: 10px; }
.hero p  { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 580px; margin: 0 auto 28px; }

/* ---------- Search Box ---------- */
.search-wrap {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px 24px;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}

.search-wrap label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: #35247B;
  margin-bottom: 8px;
}

.search-row {
  display: flex;
  gap: 8px;
}

.search-row input {
  flex: 1;
  padding: 11px 14px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: .95rem;
  outline: none;
  transition: border-color .15s;
}

.search-row input:focus { border-color: #35247B; }

.search-row button {
  background: #35247B;
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}

.search-row button:hover { background: #4d36a8; }

.search-badges {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.search-badges span { font-size: .72rem; color: #aaa; }

/* ---------- Result Badges ---------- */
.badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.badge-purple { background: #35247B; color: #fff; }
.badge-gold   { background: #C99A06; color: #fff; }
.badge-green  { background: #2e7d32; color: #fff; }
.badge-gray   { background: #8a7d78; color: #fff; }

/* ---------- Feature Tiles ---------- */
.feature-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #e0e0e0;
}

.feature-tile {
  padding: 24px 18px;
  text-align: center;
  border-right: 1px solid #e0e0e0;
  text-decoration: none;
  transition: background .15s;
}

.feature-tile:last-child { border-right: none; }
.feature-tile:hover { background: #f9f8fe; }

.feature-tile-icon { font-size: 1.8rem; margin-bottom: 8px; }
.feature-tile-title { font-size: .9rem; font-weight: 700; color: #35247B; margin-bottom: 4px; }
.feature-tile-sub   { font-size: .8rem; color: #888; line-height: 1.4; }

@media (max-width: 700px) {
  .feature-tiles { grid-template-columns: 1fr 1fr; }
  .feature-tile:nth-child(2) { border-right: none; }
  .feature-tile:nth-child(3) { border-right: 1px solid #e0e0e0; }
}

/* ---------- Section Headers ---------- */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-header h2 { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #35247B; }
.section-header a  { font-size: .88rem; font-weight: 600; color: #35247B; }

/* ---------- Article Cards (3-col grid) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e4f5;
  transition: box-shadow .15s;
  background: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.card:hover { box-shadow: 0 4px 16px rgba(53,36,123,.12); }

.card-thumb {
  height: 140px;
  background: #ddd8f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.card-thumb.pod { background: #e8e4f5; }

.card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.card-meta { font-size: .75rem; color: #aaa; margin-bottom: 4px; }
.card-title { font-size: .92rem; font-weight: 700; color: #35247B; margin-bottom: 6px; line-height: 1.35; }
.card-desc  { font-size: .82rem; color: #666; line-height: 1.5; flex: 1; }
.card-link  { font-size: .82rem; font-weight: 700; color: #35247B; margin-top: 10px; display: block; }

@media (max-width: 700px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Row Items (blog/podcast list) ---------- */
.item-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #ece8f5;
  text-decoration: none;
}

.item-row:last-child { border-bottom: none; }

.item-thumb {
  width: 80px;
  height: 64px;
  border-radius: 8px;
  background: #ddd8f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.item-thumb.pod { background: #e8e4f5; }

.item-meta  { font-size: .75rem; color: #aaa; margin-bottom: 3px; }
.item-title { font-size: 1rem; font-weight: 700; color: #35247B; margin-bottom: 4px; line-height: 1.3; }
.item-desc  { font-size: .85rem; color: #666; line-height: 1.5; }
.item-cta   { font-size: .82rem; font-weight: 700; color: #35247B; margin-top: 6px; display: block; }

/* ---------- Speaking Band ---------- */
.speaking-band {
  background: linear-gradient(135deg, #2a1a6b 0%, #35247B 60%, #4d36a8 100%);
  padding: 56px 20px;
  text-align: center;
}

.speaking-band .eyebrow {
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.speaking-band h2  { color: #fff; margin-bottom: 10px; }
.speaking-band p   { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 24px; }

.speaking-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.speaking-tag {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.88);
  font-size: .84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

.speaking-email { color: rgba(255,255,255,.5); font-size: .82rem; margin-top: 10px; }

/* ---------- Search Results ---------- */
.results-wrap { padding: 24px 0 40px; }

.result-section { margin-bottom: 32px; }

.result-section-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ece8f5;
}

.result-section-title { font-size: .82rem; font-weight: 600; color: #666; }

.result-item {
  background: #f9f8fe;
  border: 1px solid #e0daf5;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

.result-item-title { font-size: 1rem; font-weight: 700; color: #35247B; margin-bottom: 4px; }
.result-item-num   { font-size: .78rem; color: #888; margin-bottom: 6px; }
.result-item-desc  { font-size: .88rem; color: #555; line-height: 1.5; }

/* SMARTstip item */
.stip-item {
  background: #f1f8f1;
  border: 1px solid #c8e6c9;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

.stip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 10px;
}

.stip-title { font-size: 1rem; font-weight: 700; color: #1b5e20; }
.stip-toggle { font-size: .78rem; color: #2e7d32; font-weight: 600; white-space: nowrap; }

.stip-body { margin-top: 12px; padding-top: 12px; border-top: 1px solid #c8e6c9; display: none; }
.stip-body.open { display: block; }

.stip-text { font-size: .9rem; line-height: 1.7; color: #333; }

.stip-fill {
  background: #fffde7;
  border: 1px solid #f9a825;
  border-radius: 4px;
  padding: 1px 6px;
  font-style: italic;
  color: #5d4037;
  white-space: nowrap;
}

.stip-actions { margin-top: 12px; display: flex; gap: 8px; }

.copy-btn {
  background: #2e7d32;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}

.copy-btn:hover { background: #1b5e20; }
.copy-btn.copied { background: #555; }

/* Feed articles */
.feed-item {
  background: #faf9f8;
  border: 1px solid #e0d8d5;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

.feed-item a { color: #35247B; font-weight: 600; font-size: .95rem; }
.feed-item a:hover { color: #4d36a8; }
.feed-item-desc { font-size: .85rem; color: #666; margin-top: 4px; line-height: 1.5; }

/* No results */
.no-results { text-align: center; padding: 40px 20px; color: #888; font-size: .95rem; }

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  background: #35247B;
  padding: 48px 20px 40px;
  text-align: center;
}

.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

/* ---------- Library / Stip Browser ---------- */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pill {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #ddd8f5;
  background: #fff;
  color: #35247B;
  transition: all .15s;
}

.pill:hover { border-color: #35247B; }
.pill.active { background: #35247B; color: #fff; border-color: #35247B; }

.stip-card {
  background: #f9f8fe;
  border: 1px solid #e0daf5;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.stip-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.stip-card-title { font-size: 1rem; font-weight: 700; color: #35247B; }
.stip-card-toggle { font-size: .78rem; color: #35247B; font-weight: 600; white-space: nowrap; }

.stip-card-body { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid #e0daf5; }
.stip-card-body.open { display: block; }
.stip-card-text { font-size: .9rem; line-height: 1.75; color: #333; }

.stip-card-actions { margin-top: 12px; display: flex; gap: 8px; }

/* ---------- Waitlist Box ---------- */
.waitlist-box {
  background: linear-gradient(135deg, #f0ecfb, #e8e4f8);
  border: 1.5px solid #c5bce8;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 80px;
}

.waitlist-badge {
  display: inline-block;
  background: #35247B;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.waitlist-box h3 { color: #35247B; margin-bottom: 8px; font-size: 1rem; }
.waitlist-box p  { font-size: .88rem; color: #555; line-height: 1.6; margin-bottom: 16px; }

.waitlist-form input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #c5bce8;
  border-radius: 8px;
  font-size: .9rem;
  margin-bottom: 10px;
  outline: none;
  transition: border-color .15s;
}

.waitlist-form input[type="email"]:focus { border-color: #35247B; }

.waitlist-form button {
  width: 100%;
  background: #35247B;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: background .15s;
}

.waitlist-form button:hover { background: #4d36a8; }
.waitlist-note { font-size: .75rem; color: #999; text-align: center; margin-top: 8px; }

/* ---------- Two-column layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .waitlist-box { position: static; }
}

/* ---------- Speaking Page ---------- */
.speaking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.speaking-card {
  background: #f9f8fe;
  border: 1px solid #e0daf5;
  border-radius: 10px;
  padding: 24px;
}

.speaking-card-icon { font-size: 2rem; margin-bottom: 10px; }
.speaking-card h3   { color: #35247B; margin-bottom: 8px; }
.speaking-card p    { font-size: .9rem; color: #555; margin: 0; }

@media (max-width: 600px) { .speaking-grid { grid-template-columns: 1fr; } }

/* ---------- Contact Form ---------- */
.contact-form { max-width: 560px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: #35247B; margin-bottom: 6px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #35247B; }

.form-group textarea { min-height: 120px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer {
  background: #35247B;
  padding: 40px 20px 24px;
  color: rgba(255,255,255,.7);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.footer-tagline { font-size: .85rem; line-height: 1.6; }
.footer-email { color: rgba(255,255,255,.6); font-size: .82rem; margin-top: 10px; }

.footer-col h4 { color: rgba(255,255,255,.5); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; }

.footer-col a {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  margin-bottom: 6px;
  text-decoration: none;
  transition: color .15s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p { font-size: .8rem; }
.footer-disclaimer { font-size: .78rem; color: rgba(255,255,255,.45); }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Divider ---------- */
.divider { height: 1px; background: #ece8f5; }

/* ---------- About Page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: #ddd8f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #35247B;
}

.about-creds { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.about-cred {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: #444;
}
.about-cred-icon { font-size: 1.1rem; }

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 240px; margin: 0 auto; }
}

/* ---------- Tabs (articles page) ---------- */
.tab-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  border-bottom: 2px solid #ece8f5;
  padding-bottom: 0;
}

.tab-btn {
  padding: 8px 20px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  color: #888;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}

.tab-btn.active { color: #35247B; border-bottom-color: #35247B; }
.tab-btn:hover  { color: #35247B; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.purple { color: #35247B; }
.tint-bg { background: #f9f8fe; }
