/* 
   PPC Landing Page CSS
   Vanilla CSS with CSS Variables for theme consistency 
*/

:root {
  /* Colors */
  --primary-blue: #3b82f6; /* Vibrant blue from CTA */
  --primary-blue-hover: #2563eb;
  --secondary-bg: #f8fafc;
  --dark-bg: #333333;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #f8fafc;
  --border-color: #e2e8f0;
  --white: #ffffff;
  
  /* Typography */
  --font-family: 'Inter', sans-serif;
  
  /* Layout */
  --container-max: 1200px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --spacing-section: 80px;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --box-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Utility Classes */
.bg-light { background-color: var(--secondary-bg); }
.bg-dark { background-color: var(--dark-bg); }
.color-white h2, .color-white p { color: var(--white); }
.hidden { display: none !important; }

.section-header-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.section-header-center h2 {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.btn-secondary:hover {
  background-color: #f1f5f9;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: none;
}
.btn-outline:hover {
  color: var(--primary-blue);
}

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

/* Header */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
}
.logo span {
  color: var(--primary-blue);
}
.main-footer .logo {
  color: var(--white);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--white);
}

.header-cta .btn-outline {
  color: rgba(255, 255, 255, 0.9);
}
.header-cta .btn-outline:hover {
  color: var(--white);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
  color: var(--white);
  padding-top: 4rem; /* Buffer to account for header overflow */
}

.hero-badge {
  display: inline-block;
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-secondary-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-secondary-dark:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Why Most SMBs Lose Money */
.lose-money-section {
  padding: var(--spacing-section) 0;
  position: relative;
}

/* Pseudo element for background arc as seen in image */
.lose-money-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background-color: var(--secondary-bg);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #eff6ff;
  color: var(--primary-blue);
}

/* Feature Grids and Split Layouts */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: var(--spacing-section) 0;
}

.split-layout.reverse .split-content {
  order: -1;
}

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

.feature-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.9rem;
}

/* Services Grid Section */
.services-grid-section {
  padding: var(--spacing-section) 0;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.icon-blue {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* Proven Process Section */
.process-section {
  padding: var(--spacing-section) 0;
  background-color: #f1f1f1; /* Off-white background matching the mockup */
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.process-header {
  text-align: right;
  padding-right: 1rem;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.step-card {
  background-color: #3b3b3b;
  color: var(--text-light);
  padding: 3rem 2rem;
  border-radius: 6px;
  height: 100%;
  text-align: center;
}
.step-card p {
    color: #a1a1aa;
}

.step-number {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

/* Growth Channel */
.benefits-list {
  list-style: none;
  margin-bottom: 2rem;
}

.benefits-list li {
  margin-bottom: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  color: var(--text-primary);
}

/* Reviews Section */
.reviews-section {
  padding: var(--spacing-section) 0;
  background-color: var(--secondary-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.review-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}
.review-card .company {
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 600;
}
.review-text {
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.125rem;
    margin: 1.5rem 0;
}
.stars {
    color: #f59e0b;
    font-size: 1.25rem;
}

/* CTA Banner */
.cta-banner-section {
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.cta-banner-section h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}
.cta-banner-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-section) 0;
    background-color: #4a4a4a; /* A bit lighter than absolute dark for contrast */
}
.faq-section h2 {
    color: var(--white);
}

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

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: white;
    padding: 1.5rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary-blue);
}

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

.faq-answer p {
    color: rgba(255,255,255,0.7);
    padding-bottom: 1.5rem;
}
.faq-item.active .faq-answer {
    max-height: 200px; /* arbitrary height to slide to */
}
.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
    color: var(--primary-blue);
}

/* Footer Section */
.main-footer {
  background-color: #1a1a1a;
  color: var(--white);
  padding: 4rem 0 2rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col p {
    color: rgba(255,255,255,0.6);
    margin-top: 1rem;
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.6);
}
.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal a {
  margin-left: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-legal a:hover {
  color: var(--white);
}

/* --- About Us Page Specific Styles --- */

.header-about .nav-links a {
    color: rgba(255, 255, 255, 0.9);
}

.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.mb-2 { margin-bottom: 2rem; }
.rounded-lg { border-radius: var(--border-radius-lg); }
.shadow-lg { box-shadow: var(--box-shadow-hover); }

.align-start { align-items: flex-start; }
.align-center { align-items: center; }

.mission-vision-text {
    padding-left: 2rem;
}

.divider-line {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 3rem 0;
}

/* Stats Ribbon */
.stats-ribbon {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.stat-heading h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin: 0;
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* How We're Different */
.has-bg-leaf {
    position: relative;
    background-color: var(--secondary-bg);
}

.different-content {
    padding-right: 2rem;
}

.checkmark-list {
    list-style: none;
    margin-top: 2rem;
}

.checkmark-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.icon-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-size: 0.75rem;
    margin-right: 1rem;
    font-weight: bold;
}

.offset-image-box {
    position: relative;
    background-color: #e2e8f0;
    padding: 2rem 2rem 2rem 0;
    border-radius: var(--border-radius-lg);
}
.offset-image-box img {
    margin-left: -2rem;
    margin-top: 2rem;
    margin-bottom: -2rem;
}

/* About Footer */
.about-footer {
    background-color: #2b3972;
    color: var(--white);
    padding: 4rem 0 2rem 0;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.footer-content-about {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-bottom-about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 4px;
    text-decoration: none;
}
.back-to-top:hover {
    background-color: var(--primary-blue-hover);
    color: var(--white);
}

/* --- Pricing Page Specific Styles --- */

.pricing-cards-section {
    padding-top: 4rem;
}
.pricing-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-tier-card {
    background: white;
    border-radius: 8px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    min-height: 550px;
    border: 1px solid #f0f0f0;
}

.pricing-tier-card.highlighted {
    background: var(--primary-blue);
    color: white;
    border: none;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.2);
    position: relative;
    z-index: 10;
}

.popular-pill {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    color: var(--primary-blue);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    letter-spacing: 1px;
}

.pricing-tier-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: inherit;
}

.pricing-tier-card .tier-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 2rem;
    min-height: 45px;
}
.pricing-tier-card.highlighted .tier-desc {
    color: rgba(255,255,255,0.9);
}

.tier-price-box {
    margin-bottom: 2rem;
}

.tier-price-box .price {
    font-size: 3rem;
    font-weight: 800;
    color: inherit;
}
.tier-price-box .period {
    font-size: 1rem;
    font-weight: 600;
    color: #888;
}
.pricing-tier-card.highlighted .period {
    color: rgba(255,255,255,0.8);
}

.ad-spend-limit {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.ad-spend-limit.text-light {
    color: rgba(255,255,255,0.9);
}

.tier-subheader {
    font-size: 0.95rem;
    color: inherit;
    font-weight: 700;
    margin-bottom: 1rem;
}
.pricing-tier-card.highlighted .tier-subheader {
    color: rgba(255,255,255,0.9);
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.tier-features li {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: #333;
}
.pricing-tier-card.highlighted .tier-features li {
    color: white;
}

.check-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    font-size: 0.6rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}
.pricing-tier-card.highlighted .check-icon {
    background: white;
    color: var(--primary-blue);
}

.btn-outline-blue {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-outline-blue:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-white {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: white;
    color: var(--primary-blue);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-white:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}

.mt-auto { margin-top: auto; }

.mt-4 { margin-top: 1.5rem; }

.pricing-works-list {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin: 2rem 0;
}
.pricing-works-list li {
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.pricing-works-list .icon-bullet {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    margin-right: 15px;
}

/* Pricing Zig Zag Rows */
.pricing-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background-color: var(--white);
    padding: 2rem 0;
}

.pricing-row.reverse .pricing-card-content {
    order: -1;
}

.pricing-icon-box {
    background-color: var(--secondary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px; /* Instead of an image, showing a solid modern box */
    border: 1px solid var(--border-color);
}
.plan-icon {
    font-size: 6rem;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.pricing-card-content {
    padding: 1rem 0;
}
.pricing-card-content h3 {
    text-transform: uppercase;
    font-size: 1.25rem;
    letter-spacing: 1px;
}
.plan-price {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.plan-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.feature-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
}
.plan-features li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}
.plan-features li span {
    color: var(--primary-blue);
    margin-right: 10px;
    font-weight: bold;
}

.most-popular-badge {
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.p-relative {
    position: relative;
}

.love-results-section {
    background-color: var(--white);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 2.75rem; }
  .about-hero-content h1 { font-size: 3rem; }
  
  .split-layout, .process-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .process-header {
      text-align: center;
      padding-right: 0;
  }
  .split-layout.reverse .split-content {
    order: 1;
  }
  .pricing-tier-card.highlighted {
    transform: scale(1);
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .pricing-row {
      gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 0.5rem;
  }
  
  .hero-content h1 { font-size: 2.25rem; }
  .about-hero-content h1 { font-size: 2.25rem; }
  .pricing-hero-content h1 { font-size: 2.25rem; }
  
  .cards-grid-4, .cards-grid-3, .feature-grid-2, .process-steps, .reviews-grid, .footer-content, .footer-content-about, .pricing-row, .stats-grid {
    grid-template-columns: 1fr;
  }
  .pricing-row.reverse .pricing-card-content {
      order: 1;
  }
  .pricing-icon-box {
      min-height: 200px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .footer-content, .footer-content-about {
      gap: 2.5rem;
  }
  .footer-bottom, .footer-bottom-about {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
  }
  
  /* Shrink large paddings on mobile */
  .pt-100 { padding-top: 60px; }
  .pb-100 { padding-bottom: 60px; }
  :root {
      --spacing-section: 60px;
  }
}

/* --- Refined Audit Page Styles --- */
.audit-page-bg { background-color: #fcfdfe; }

.audit-container { 
    display: grid; 
    grid-template-columns: 1.8fr 1fr; 
    gap: 3rem; 
    padding: 60px 0; 
    max-width: 1100px;
    margin: 0 auto;
}

.audit-form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 1rem;
    color: #1e293b;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    background: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

.audit-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Option Cards */
.selection-method-wrapper {
    margin-top: 30px;
}

.selection-title {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 20px;
}

.option-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-card:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.option-card.active {
    background: #eff6ff;
    border-color: #3b82f6;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-card.active .radio-circle {
    border-color: #3b82f6;
}

.option-card.active .radio-circle::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #3b82f6;
    border-radius: 50%;
}

.option-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.option-text p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 2px 0 0 0;
}

.option-content {
    display: none;
    margin-top: 10px;
    padding-left: 32px;
}

.option-card.active .option-content {
    display: block;
}

/* Upload Grid */
.upload-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.upload-zone {
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    background: #fff;
    transition: all 0.2s;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.upload-zone i {
    font-size: 1.25rem;
    color: #3b82f6;
    display: block;
    margin-bottom: 8px;
}

.upload-zone span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1e293b;
    display: block;
}

.upload-zone .btn-select {
    display: inline-block;
    font-size: 0.6rem;
    color: #3b82f6;
    margin-top: 8px;
}

/* Sidebar Specifics */
.included-card {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 30px;
    border-radius: 8px;
}

.included-card h3 {
    margin-bottom: 20px;
}

.included-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.item-icon {
    width: 32px;
    height: 32px;
    background: #dbeafe;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 0.9rem;
}

.item-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.item-text p {
    font-size: 0.8rem;
    line-height: 1.5;
}

.testimonial-card-small {
    background: #eff6ff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dbeafe;
}

.test-img-wrap {
    height: 240px;
    overflow: hidden;
}

.test-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test-content-wrap {
    padding: 24px;
}

.test-content-wrap p {
    font-size: 0.9rem;
    font-style: italic;
    color: #1e293b;
    line-height: 1.6;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.author-info h5 {
    font-size: 0.85rem;
    margin: 0;
}

.author-info p {
    font-size: 0.75rem;
    margin: 0;
}

@media (max-width: 992px) {
    .audit-container {
        grid-template-columns: 1fr;
    }
}

/* --- Universal Modal System --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #fff;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #64748b;
    z-index: 1010;
    transition: all 0.2s;
    border: none;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: rotate(90deg);
}

.no-scroll {
    overflow: hidden;
}

/* Modal Content Tweaks */
.modal-container .audit-container {
    padding: 40px;
}

@media (max-width: 768px) {
    .modal-container {
        max-height: 95vh;
        border-radius: 12px;
    }
    .modal-container .audit-container {
        padding: 20px;
    }
    .modal-close {
        top: 10px;
        right: 10px;
    }
}

/* Legal pages (Terms, Privacy) */
.legal-hero {
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e293b 100%);
}

.legal-hero .hero-content {
    padding-top: 6rem;
    max-width: 720px;
}

.legal-hero h1 {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 0.5rem;
}

.legal-hero .legal-meta {
    color: rgba(248, 250, 252, 0.75);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.legal-content-section {
    padding: 3rem 0 5rem;
}

.legal-prose {
    max-width: 800px;
    margin: 0 auto;
}

.legal-prose > p,
.legal-prose li {
    font-size: 1rem;
    line-height: 1.65;
}

.legal-prose h2 {
    font-size: 1.25rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.legal-prose h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-prose h3 {
    font-size: 1.0625rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-prose ul,
.legal-prose ol {
    margin: 0 0 1.25rem 1.25rem;
    color: var(--text-secondary);
}

.legal-prose li {
    margin-bottom: 0.5rem;
}

.legal-prose .legal-related {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.legal-prose .legal-related a {
    color: var(--primary-blue);
    font-weight: 600;
}

.legal-prose .legal-related a:hover {
    text-decoration: underline;
}
