/* ============================================
   Bookkeeping Rescue Kit — Site Styles
   ============================================ */

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

:root {
  --navy: #1B2A4E;
  --navy-light: #2A3F6B;
  --gold: #D4A843;
  --gold-dark: #B8902F;
  --warm-white: #FAF9F6;
  --soft-gray: #E8E8E8;
  --gray-text: #5A5A5A;
  --dark-text: #1A1A1A;
  --white: #FFFFFF;
  --max-width: 1140px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  background: var(--warm-white);
  color: var(--dark-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-dark);
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--white);
}

.section-navy {
  background: var(--navy);
  color: var(--warm-white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--warm-white);
}

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

/* --- Navbar --- */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  flex-wrap: wrap;
}

.navbar-brand {
  color: var(--warm-white);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.navbar-brand span {
  color: var(--gold);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.navbar-links a {
  color: var(--warm-white);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
}

.navbar-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.navbar-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  opacity: 1 !important;
  transition: background var(--transition);
}

.navbar-cta:hover {
  background: var(--gold-dark);
  color: var(--navy) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--warm-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--warm-white);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* --- Hero --- */
.hero {
  background: var(--navy);
  color: var(--warm-white);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-content h1 {
  color: var(--warm-white);
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 30rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* --- Pain Points --- */
.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pain-card {
  background: var(--white);
  border: 1px solid var(--soft-gray);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.pain-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pain-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
}

.pain-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.pain-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Solution Section --- */
.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.solution-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.solution-benefits {
  list-style: none;
  margin-top: 1.5rem;
}

.solution-benefits li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.05rem;
}

.solution-benefits .check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

/* --- Feature Cards (What's Inside) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--warm-white);
  border: 1px solid var(--soft-gray);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--warm-white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--gray-text);
  margin-bottom: 0;
}

.step-time {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

/* --- Who It's For --- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.audience-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--soft-gray);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition);
}

.audience-card:hover {
  box-shadow: var(--shadow-sm);
}

.audience-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
}

.audience-card h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--soft-gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-text);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  font-weight: 700;
  color: var(--navy);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--gray-text);
}

/* --- FAQ --- */
.faq-list {
  max-width: 760px;
  margin: 2.5rem auto 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--soft-gray);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--soft-gray);
}

.faq-question .arrow {
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform var(--transition);
  font-size: 1.25rem;
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--gray-text);
  margin-bottom: 0;
}

/* --- Final CTA --- */
.final-cta {
  background: var(--navy);
  color: var(--warm-white);
  text-align: center;
  padding: 4.5rem 0;
}

.final-cta h2 {
  color: var(--warm-white);
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}

.final-cta .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.final-cta .price-note {
  font-size: 0.9rem;
  opacity: 0.65;
  margin-bottom: 2rem;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: var(--warm-white);
  padding: 2.5rem 0 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--warm-white);
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.55;
}

.footer-disclosure {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.45;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Page Hero (sub-pages) --- */
.page-hero {
  background: var(--navy);
  color: var(--warm-white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--warm-white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* --- About Page --- */
.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--gray-text);
  margin-bottom: 1.25rem;
}

.about-creator {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.about-creator img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.about-creator-info h3 {
  margin-bottom: 0.5rem;
}

.about-creator-info p {
  margin-bottom: 0;
  color: var(--gray-text);
}

/* --- Blog Page --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--soft-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.blog-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.blog-card .read-more {
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-bottom: 0.5rem;
}

.blog-coming-soon {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--white);
  border: 1px dashed var(--soft-gray);
  border-radius: var(--radius-lg);
  margin-top: 2.5rem;
}

.blog-coming-soon h3 {
  margin-bottom: 0.75rem;
}

.blog-coming-soon p {
  color: var(--gray-text);
  margin-bottom: 0;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray-text);
  margin-bottom: 1.25rem;
}

.contact-info .contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-info .contact-detail .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--soft-gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--soft-gray);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,0.15);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--gray-text);
}

.breadcrumbs a:hover {
  color: var(--gold-dark);
}

.breadcrumbs .separator {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .solution-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .solution-benefits li {
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .navbar-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.75rem;
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links li {
    width: 100%;
  }

  .navbar-links a {
    display: block;
    padding: 0.5rem 0;
  }

  .navbar-cta {
    margin-top: 0.5rem;
    display: inline-block;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero {
    padding: 3rem 0;
  }

  .final-cta {
    padding: 3rem 0;
  }

  .final-cta .price {
    font-size: 2rem;
  }
}