/* ============================================
   Dave Talks Business - AI Website Styles
   ============================================ */

:root {
  --dark-blue: #2b2d42;
  --grey: #8d99ae;
  --off-white: #edf2f4;
  --magenta: #ef233c;
  --white: #ffffff;
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-blue);
  background: var(--off-white);
}

h1, h2 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1em 0;
}

h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 0.75em 0;
}

p {
  margin: 0 0 1.5em 0;
}

a {
  color: var(--magenta);
  text-decoration: none;
  transition: border-color 0.2s;
}

a:hover {
  border-bottom-color: var(--magenta);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Typography Utilities
   ============================================ */

.text-white { color: var(--white); }
.text-grey { color: var(--grey); }
.text-dark-blue { color: var(--dark-blue); }
.text-magenta { color: var(--magenta); }

.font-light { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 22px; }

.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

.italic { font-style: italic; }

/* ============================================
   Layout Utilities
   ============================================ */

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 48px 20px;
}

.bg-white { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-dark-blue { background: var(--dark-blue); }

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark-blue);
  padding: 12px 20px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: inline-block;
  background: #fff;
  padding: 8px 10px;
  border-radius: 6px;
}

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

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--dark-blue);
  padding: 20px;
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-links li:last-child {
  border-bottom: none;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

.nav-cta {
  background: var(--magenta) !important;
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600 !important;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    gap: 24px;
  }

  .nav-links li {
    padding: 0;
    border: none;
  }

  .nav-links a {
    font-size: 16px;
  }
}

/* ============================================
   Hero Sections
   ============================================ */

.hero {
  background: var(--dark-blue);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.hero-framing {
  font-size: 16px;
  opacity: 0.8;
  font-style: italic;
}

@media (min-width: 768px) {
  .hero {
    padding: 100px 20px 80px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-framing {
    font-size: 18px;
  }
}

/* ============================================
   Buttons & CTAs
   ============================================ */

.cta-primary {
  background: var(--magenta);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
}

.cta-primary:hover {
  background: #d31e35;
  transform: translateY(-1px);
}

.cta-secondary {
  background: var(--dark-blue);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.cta-secondary:hover {
  background: #1a1b2e;
}

/* ============================================
   Sticky CTA Bar
   ============================================ */

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-blue);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.sticky-cta-visible {
  display: flex;
}

.sticky-cta-button {
  background: var(--magenta);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.sticky-cta-button:hover {
  background: #d31e35;
}

.sticky-cta-guarantee {
  display: none;
}

@media (min-width: 768px) {
  .sticky-cta {
    font-size: 16px;
  }

  .sticky-cta-guarantee {
    display: inline;
  }
}

/* ============================================
   Grid Layouts
   ============================================ */

.grid-2 {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   Cards
   ============================================ */

.card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  margin-bottom: 16px;
}

/* ============================================
   Testimonial Card
   ============================================ */

.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.testimonial-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  float: left;
  margin-right: 16px;
  margin-bottom: 8px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 16px;
}

.testimonial-title {
  font-size: 14px;
  color: var(--grey);
  font-weight: 400;
}

.testimonial-quote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  clear: both;
  padding-top: 8px;
}

/* ============================================
   Case Study Card
   ============================================ */

.case-study-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.case-study-image {
  width: 100%;
}

.case-study-content {
  padding: 24px;
}

.case-study-headline {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 8px;
}

.case-study-detail {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 16px;
}

.case-study-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--magenta);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.case-study-link:hover {
  border-bottom-color: var(--magenta);
}

@media (min-width: 768px) {
  .case-study-card {
    display: flex;
  }

  .case-study-image {
    width: 40%;
    object-fit: cover;
  }

  .case-study-content {
    width: 60%;
  }
}

/* ============================================
   Stats Bar
   ============================================
*/

.stats-bar {
  background: var(--dark-blue);
  padding: 40px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.stat-number {
  font-family: 'Libre Baskerville', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--magenta);
}

.stat-label {
  font-size: 14px;
  color: var(--grey);
  font-weight: 400;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-number {
    font-size: 36px;
  }
}

/* ============================================
   Two Column Layout
   ============================================ */

.two-col {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 60% 40%;
    align-items: start;
  }
}

/* ============================================
   Bridge Section (with magenta border)
   ============================================ */

.bridge-section {
  background: var(--off-white);
  padding: 80px 20px;
  border-left: 2px solid var(--magenta);
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   Placeholders
   ============================================ */

.placeholder {
  background: var(--grey);
  color: var(--white);
  padding: 40px;
  text-align: center;
  border-radius: 8px;
}

.placeholder-icon {
  width: 64px;
  height: 64px;
  background: var(--grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  margin-bottom: 16px;
}

.placeholder-video {
  background: var(--dark-blue);
  color: var(--white);
  padding: 60px 40px;
  text-align: center;
  border-radius: 8px;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-hero {
  background: var(--grey);
  color: var(--white);
  padding: 60px 40px;
  text-align: center;
  border-radius: 8px;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 21/9;
}

.placeholder-infographic {
  background: var(--dark-blue);
  color: var(--white);
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  max-width: 600px;
  margin: 40px auto;
}

.placeholder-plan {
  background: var(--grey);
  color: var(--white);
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  max-width: 400px;
  margin: 40px auto;
}

.placeholder-timeline {
  background: var(--grey);
  color: var(--white);
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  max-width: 700px;
  margin: 40px auto;
}

/* ============================================
   Guarantee Badge
   ============================================ */

.guarantee-badge {
  background: var(--magenta);
  color: var(--white);
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  margin: 32px auto;
  text-align: center;
}

.guarantee-badge-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}

.guarantee-badge-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 16px;
  opacity: 0.95;
}

.guarantee-text {
  font-size: 14px;
  color: var(--grey);
  font-weight: 300;
  margin-top: 12px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 40px 20px;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  text-align: center;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 16px;
  display: inline-block;
  background: #fff;
  padding: 8px 10px;
  border-radius: 6px;  
}

.footer-copyright {
  font-size: 14px;
  color: var(--grey);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--white);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--magenta);
}

.footer-social a {
  color: var(--white);
  font-size: 14px;
}

.footer-social a:hover {
  color: var(--magenta);
}

.footer-social {
  text-align: center;
}

.footer-social img {
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
}

.footer-social p {
  font-size: 14px;
  color: var(--grey);
  margin-top: 8px;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
    text-align: left;
  }

  .footer-social {
    text-align: right;
  }
}

/* ============================================
   Consultation Page Specifics
   ============================================ */

.price-display {
  font-family: 'Libre Baskerville', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--dark-blue);
}

@media (min-width: 768px) {
  .price-display {
    font-size: 48px;
  }
}

.price-subtitle {
  font-size: 18px;
  color: var(--grey);
  margin-bottom: 24px;
}

/* Case Study Full Layout */
.case-study-full {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.case-study-full + .case-study-full {
  margin-top: 24px;
}

.case-study-full .case-study-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.case-study-full h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.case-study-full .case-study-sub {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 16px;
}

/* Testimonials Section */
.testimonial-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-item {
  background: var(--white);
  border: 1px solid var(--off-white);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.testimonial-item img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.testimonial-item .name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.testimonial-item .title {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 16px;
}

.testimonial-item .quote {
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
}

/* About Section */
.about-section {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .about-section {
    grid-template-columns: 35% 65%;
  }
}

.about-images img {
  border-radius: 12px;
  margin-bottom: 20px;
}

.about-images .caption {
  font-size: 13px;
  color: var(--grey);
  font-weight: 300;
  margin-top: -16px;
  margin-bottom: 20px;
}

/* FAQ */
.faq-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--off-white);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  color: var(--dark-blue);
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--dark-blue);
  margin-bottom: 0;
}

/* KPI Card (dark bg) */
.kpi-card {
  background: var(--dark-blue);
  color: var(--white);
  padding: 48px 32px;
  border-radius: 8px;
  text-align: center;
}

.kpi-card .kpi-number {
  font-family: 'Libre Baskerville', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.kpi-card .kpi-label {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  opacity: 0.8;
}

/* Two Column About */
.about-images-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-images-stack img:first-child {
  margin-bottom: 0;
}

/* Who This Is For Section */
.not-for-section {
  margin-top: 40px;
}

/* ============================================
   Responsive Utilities
   ============================================ */

@media (min-width: 768px) {
  .section {
    padding: 80px 20px;
  }

  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 24px; }

  body {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 800px;
  }
}
.faq-accordion {
  margin-top: 24px;
}

.faq-item {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::after {
  content: "＋";
  font-size: 18px;
  line-height: 1;
  opacity: 0.7;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  padding: 0 18px 18px 18px;
}

.faq-answer p {
  margin: 0;
}