/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  min-height: 100vh;
  font-size: 16px;
  margin: 0;
}

/* Site Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f0f0f0;
  z-index: 100;
}

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

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.header-logo {
  height: 32px;
  width: auto;
}

.header-title {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.01em;
}

.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #dc2626;
}

/* Main Container */
.main-container {
  margin-top: 72px;
}

/* Hero Section */
.hero-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-wrapper {
  max-width: 800px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Tagline Section */
.tagline-section {
  margin-bottom: 60px;
}

.hero-tagline {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative;
  padding: 20px 0;
}

.tagline-black {
  color: #000000;
}

.tagline-red {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #000000 0%, #000000 45%, #dc2626 55%, #dc2626 100%);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 22px;
  color: #6b7280;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Email Capture */
.email-capture {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 40px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  max-width: 600px;
  margin: 80px auto 0;
}

.capture-heading {
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.capture-description {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Email Form */
.email-form {
  width: 100%;
}

.form-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.email-input {
  flex: 1;
  min-width: 280px;
  padding: 16px 20px;
  font-size: 16px;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  background: white;
  color: #000000;
  transition: all 0.3s ease;
  font-family: inherit;
}

.email-input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
  transform: translateY(-1px);
}

.email-input::placeholder {
  color: #9ca3af;
}

.submit-btn {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: #000000;
  border: 2px solid #000000;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.submit-btn:hover {
  transform: translateY(-1px);
  background: #ffffff;
  color: #000000;
}

.submit-btn:active {
  transform: translateY(0);
}

.privacy-note {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  margin: 0;
}

/* About Page Styles */
.about-container {
  margin-top: 72px;
}

.about-hero {
  padding: 80px 40px 60px;
  background: #fafafa;
  text-align: center;
}

.about-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.about-headline {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.about-intro {
  font-size: 24px;
  color: #6b7280;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

.about-content {
  padding: 80px 40px;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.story-section {
  margin-bottom: 60px;
}

.story-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.story-section p {
  font-size: 18px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 20px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 60px 0;
  padding: 40px;
  background: #fafafa;
  border-radius: 12px;
}

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

.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: #dc2626;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.chaos-examples {
  margin: 60px 0;
  padding: 40px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.chaos-examples h3 {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 24px;
}

.chaos-list {
  list-style: none;
}

.chaos-list li {
  padding: 20px 0;
  border-bottom: 1px solid #f3f4f6;
}

.chaos-list li:last-child {
  border-bottom: none;
}

.chaos-list strong {
  display: block;
  font-size: 19px;
  color: #000000;
  font-weight: 700;
  margin-bottom: 8px;
}

.chaos-list li {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}

.cta-section {
  margin-top: 80px;
  padding: 60px 40px;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  border-radius: 12px;
  text-align: center;
  border: 2px solid #dc2626;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 20px;
  line-height: 1.6;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 32px;
}

.about-cta {
  margin-top: 32px;
}

.about-btn {
  display: inline-block;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  background: #000000;
  border: 2px solid #000000;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.about-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-1px);
}

.nav-link.active {
  color: #dc2626;
  font-weight: 600;
}

/* Navigation CTA Button */
.nav-cta-btn {
  background: #dc2626;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  border: 2px solid #dc2626;
}

.nav-cta-btn:hover {
  background: #ffffff;
  color: #dc2626;
}

.nav-cta-btn.active {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

/* Contact Page Styles */
.contact-container {
  margin-top: 72px;
}

.contact-hero {
  padding: 60px 40px 50px;
  background: #fafafa;
  text-align: center;
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact-headline {
  font-size: 42px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.contact-intro {
  font-size: 20px;
  color: #6b7280;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content {
  padding: 60px 40px;
}

.booking-section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #e5e7eb;
}

.booking-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
}

.booking-description {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}

.calendly-section {
  margin: 40px 0;
}

.calendly-placeholder {
  background: #f9fafb;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: #6b7280;
}

.call-details {
  margin-top: 40px;
}

.call-details h3 {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 16px;
}

.details-list {
  list-style: none;
  padding: 0;
}

.details-list li {
  padding: 8px 0;
  color: #4b5563;
  font-size: 16px;
  position: relative;
  padding-left: 24px;
}

.details-list li:before {
  content: "•";
  color: #dc2626;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.alternative-contact h2 {
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
}

.contact-description {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 600px;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.contact-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: #fafafa;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-align: center;
}

.contact-option:hover {
  background: #f3f4f6;
  border-color: #dc2626;
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 28px;
  margin-bottom: 12px;
  color: #dc2626;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  border: 2px solid #dc2626;
}

.contact-details {
  flex: 1;
}

.contact-method {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  color: #6b7280;
}

.location {
  color: #6b7280;
  font-size: 16px;
  margin: 0;
}

/* Calendly Trigger Button */
.calendly-trigger-btn {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border: none;
  border-radius: 12px;
  padding: 24px 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 400px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.calendly-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-icon {
  color: white;
  font-size: 24px;
  min-width: 24px;
}

.btn-content {
  flex: 1;
  text-align: left;
}

.btn-title {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.btn-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.btn-arrow {
  color: white;
  font-size: 16px;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.calendly-trigger-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.calendly-section {
  margin: 24px 0;
  display: flex;
  justify-content: center;
}

/* Calendly Modal Styles */
.calendly-modal-content {
  max-width: 1400px;
  width: 95%;
  margin: 2% auto;
  overflow: hidden;
}

.calendly-modal-body {
  padding: 0;
  width: 100%;
  overflow: hidden;
}

.calendly-modal .calendly-inline-widget {
  border-radius: 0 0 8px 8px;
  margin: 0;
  width: 100%;
}

@media (max-width: 768px) {
  .calendly-trigger-btn {
    padding: 20px 24px;
    gap: 16px;
  }
  
  .btn-title {
    font-size: 16px;
  }
  
  .btn-subtitle {
    font-size: 13px;
  }
  
  .calendly-modal-content {
    margin: 5% auto;
    height: 90vh;
    overflow: hidden;
  }
  
  .calendly-modal .calendly-inline-widget {
    height: calc(100vh - 180px) !important;
    min-width: 280px !important;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.15s ease-out;
}

.modal-content {
  background-color: white;
  margin: 2% auto;
  border-radius: 8px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  animation: slideIn 0.15s ease-out;
}

/* Override modal-content max-width for Calendly modal */
.calendly-modal .modal-content {
  max-width: 1400px;
}

.modal-header {
  padding: 16px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 12px;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #111827;
}

.close {
  color: #6b7280;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 0 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.close:hover {
  color: #dc2626;
  background-color: #fee2e2;
}

.modal-body {
  padding: 0 20px 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin: 0;
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: white;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.btn-secondary {
  padding: 12px 24px;
  background-color: white;
  border: 1px solid #d1d5db;
  color: #374151;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.btn-primary {
  padding: 12px 24px;
  background-color: #dc2626;
  border: none;
  color: white;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #b91c1c;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  
  .header-logo {
    height: 24px;
  }
  
  .header-title {
    font-size: 16px;
  }
  
  .nav-link {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  .header-nav {
    gap: 8px;
  }
  
  .nav-cta-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .hero-section {
    padding: 30px 16px;
    min-height: calc(100vh - 50px);
  }
  
  .main-container {
    margin-top: 50px;
  }
  
  .hero-tagline {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 32px;
  }
  
  .tagline-section {
    margin-bottom: 32px;
    text-align: center;
  }
  
  .email-capture {
    padding: 24px 20px;
    margin: 0 auto;
    max-width: 100%;
  }
  
  .capture-heading {
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .capture-description {
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 100%;
  }
  
  .form-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  
  .email-input {
    min-width: auto;
    width: 100%;
    font-size: 16px;
    padding: 14px 16px;
  }
  
  .submit-btn {
    width: 100%;
    font-size: 16px;
    padding: 14px 24px;
  }
  
  .contact-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .contact-option {
    padding: 16px;
  }
  
  .contact-icon {
    font-size: 20px;
  }
  
  .contact-method {
    font-size: 14px;
  }
  
  .contact-value {
    font-size: 13px;
  }
  
  .calendly-trigger-btn {
    padding: 16px 20px;
    gap: 12px;
    max-width: 100%;
  }
  
  .btn-title {
    font-size: 16px;
  }
  
  .btn-subtitle {
    font-size: 13px;
  }
  
  /* About page mobile styles */
  .about-headline {
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 16px;
  }
  
  .about-intro {
    font-size: 16px;
    margin-bottom: 32px;
  }
  
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .experience-stat {
    padding: 20px;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  /* Modal responsive styles */
  .modal-content {
    margin: 10% auto;
    width: 95%;
    max-width: 400px;
  }

  .modal-header {
    padding: 16px 16px 0;
    margin-bottom: 16px;
  }

  .modal-header h2 {
    font-size: 18px;
  }

  .modal-body {
    padding: 0 16px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-input,
  .form-textarea {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 10px 12px;
  }
  
  .header-brand {
    gap: 6px;
  }
  
  .header-title {
    display: none;
  }
  
  .nav-link {
    font-size: 13px;
    padding: 6px 8px;
  }
  
  .nav-cta-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .hero-section {
    padding: 20px 12px;
  }
  
  .hero-tagline {
    font-size: 24px;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .email-capture {
    padding: 20px 16px;
  }
  
  .capture-heading {
    font-size: 18px;
  }
  
  .capture-description {
    font-size: 14px;
  }
  
  .calendly-modal .modal-content {
    width: 98%;
    margin: 1% auto;
    max-height: 98vh;
  }
  
  .calendly-modal .calendly-inline-widget {
    height: calc(100vh - 120px) !important;
  }
  
  .tagline-black,
  .tagline-red {
    display: block;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .email-capture {
    padding: 28px 20px;
  }
  
  .capture-heading {
    font-size: 22px;
  }
  
  .email-input,
  .submit-btn {
    padding: 14px 18px;
    font-size: 16px;
  }
}

/* Flash Messages */
.flash {
  position: fixed;
  top: 100px;
  right: 20px;
  max-width: 400px;
  min-width: 300px;
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
}

.flash-content {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-left: 4px solid;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.flash-notice .flash-content {
  border-left-color: #10b981;
  background: #f0fdf4;
}

.flash-alert .flash-content {
  border-left-color: #dc2626;
  background: #fef2f2;
}

.flash-notice .flash-content i {
  color: #10b981;
}

.flash-alert .flash-content i {
  color: #dc2626;
}

.flash-content i:first-child {
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.flash-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 14px;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.flash-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #374151;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Auto-hide flash messages */
.flash {
  animation: slideIn 0.3s ease-out, fadeOut 0.3s ease-out 4.7s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Mobile Flash Messages */
@media (max-width: 768px) {
  .flash {
    left: 20px;
    right: 20px;
    max-width: none;
    min-width: auto;
    top: 80px;
  }

  .flash-content {
    padding: 14px 16px;
    font-size: 14px;
  }
}

/* Credibility Bridge Section */
.credibility-section {
  background: #f8f9fa;
  padding: 80px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.credibility-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 40px;
}

.credibility-heading {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 48px;
  color: #1a1a1a;
  line-height: 1.2;
}

.chaos-scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.scenario-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 3px solid #dc2626;
  text-align: left;
}

.scenario-icon {
  color: #dc2626;
  font-size: 18px;
  flex-shrink: 0;
}

.scenario-text {
  color: #374151;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
}

.credibility-teaser {
  font-size: 20px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.credibility-teaser strong {
  color: #1a1a1a;
  font-weight: 700;
}

.credibility-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  border: 2px solid #1a1a1a;
}

.credibility-cta:hover {
  background: #dc2626;
  border-color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.credibility-cta i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.credibility-cta:hover i {
  transform: translateX(2px);
}

/* Mobile Credibility Section */
@media (max-width: 768px) {
  .credibility-section {
    padding: 60px 0;
  }

  .credibility-wrapper {
    padding: 0 24px;
  }

  .credibility-heading {
    font-size: 32px;
    margin-bottom: 36px;
  }

  .chaos-scenarios {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }

  .scenario-item {
    padding: 16px;
  }

  .scenario-text {
    font-size: 15px;
  }

  .credibility-teaser {
    font-size: 18px;
    margin-bottom: 32px;
  }

  .credibility-cta {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* Thank You and Confirmation Pages */
.thank-you-container, .confirm-container {
  min-height: 80vh;
  padding: 120px 0 60px;
  background: #f8fafc;
}

.thank-you-content, .confirm-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.thank-you-wrapper, .confirm-wrapper {
  background: white;
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.thank-you-icon, .success-icon {
  font-size: 64px;
  color: #16a34a;
  margin-bottom: 24px;
}

.error-icon {
  font-size: 64px;
  color: #dc2626;
  margin-bottom: 24px;
}

.thank-you-headline, .confirm-headline {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1f2937;
}

.thank-you-message, .confirm-message {
  font-size: 18px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 32px;
}

.next-steps, .guide-preview, .while-you-wait, .guide-delivered, .next-actions, .error-actions {
  text-align: left;
  margin-bottom: 32px;
}

.next-steps h2, .guide-preview h3, .guide-delivered h2, .next-actions h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
}

.next-steps ol, .guide-preview ul {
  padding-left: 20px;
  line-height: 1.7;
  color: #4b5563;
}

.next-steps li, .guide-preview li {
  margin-bottom: 8px;
}

.inline-link {
  color: #dc2626;
  text-decoration: none;
  font-weight: 600;
}

.inline-link:hover {
  text-decoration: underline;
}

/* Mobile styles for thank you/confirm pages */
@media (max-width: 768px) {
  .thank-you-wrapper, .confirm-wrapper {
    padding: 32px 24px;
  }
  
  .thank-you-headline, .confirm-headline {
    font-size: 28px;
  }
  
  .thank-you-message, .confirm-message {
    font-size: 16px;
  }
  
  .next-steps h2, .guide-preview h3, .guide-delivered h2, .next-actions h3 {
    font-size: 20px;
  }
}

/* Consultancy Section */
.consultancy-section {
  margin-bottom: 48px;
}

.consultancy-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.consultancy-item {
  text-align: center;
  padding: 32px 24px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.consultancy-logo {
  max-height: 60px;
  max-width: 200px;
  width: auto;
  height: auto;
  margin-bottom: 16px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.consultancy-item:hover .consultancy-logo {
  opacity: 1;
}

.consultancy-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

.consultancy-name {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.consultancy-description {
  font-size: 16px;
  color: #6b7280;
  font-weight: 500;
}

/* Mobile consultancy section */
@media (max-width: 768px) {
  .consultancy-logos {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .consultancy-item {
    padding: 24px 20px;
  }
  
  .consultancy-name {
    font-size: 20px;
  }
  
  .consultancy-description {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .credibility-section {
    padding: 50px 0;
  }

  .credibility-wrapper {
    padding: 0 20px;
  }

  .credibility-heading {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .credibility-teaser {
    font-size: 16px;
  }
}

/* Blog Styles */
.blog-container {
  margin-top: 72px;
}

.blog-hero {
  padding: 80px 40px 60px;
  background: #fafafa;
  text-align: center;
}

.blog-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.blog-title {
  font-size: 48px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.blog-subtitle {
  font-size: 20px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-content {
  padding: 80px 40px;
}

.blog-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

/* Breadcrumbs */
.breadcrumbs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 40px 24px;
  font-size: 14px;
  position: relative;
}

.breadcrumbs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background-color: #e5e7eb;
}

.breadcrumb-link {
  color: #dc2626;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #6b7280;
}

.breadcrumb-current {
  color: #6b7280;
  font-weight: 500;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  gap: 32px;
}

.post-card {
  padding: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.post-card:last-child {
  border-bottom: none;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.post-date {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.post-tag {
  background: #f3f4f6;
  color: #4b5563;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.post-tag:hover, .post-tag.active {
  background: #dc2626;
  color: white;
}

.post-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.post-link {
  color: #1f2937;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-link:hover {
  color: #dc2626;
}

.post-excerpt {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 16px;
}

.post-read-more {
  color: #dc2626;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.post-read-more:hover {
  text-decoration: underline;
}

/* No Posts State */
.no-posts {
  text-align: center;
  padding: 80px 32px;
}

.no-posts h2 {
  font-size: 32px;
  color: #1f2937;
  margin-bottom: 16px;
}

.no-posts p {
  color: #6b7280;
  font-size: 18px;
  margin-bottom: 24px;
}

/* Blog Sidebar */
.blog-sidebar {
  padding: 32px 0;
}

.sidebar-section {
  margin-bottom: 48px;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-link {
  background: #f3f4f6;
  color: #4b5563;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag-link:hover, .tag-link.active {
  background: #dc2626;
  color: white;
}

/* Individual Post */
.post-full {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 40px;
  background: white;
}

.post-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.post-full .post-title {
  font-size: 48px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0;
  line-height: 1.2;
}

.post-content {
  line-height: 1.8;
  font-size: 18px;
  color: #374151;
}

.post-content p {
  margin-bottom: 24px;
}

.post-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin: 48px 0 24px;
}

.post-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin: 32px 0 16px;
}

.post-content ul {
  margin-bottom: 24px;
  padding-left: 24px;
  list-style-type: disc;
  list-style-position: inside;
}

.post-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
  list-style-type: decimal;
  list-style-position: inside;
}

.post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.post-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.back-to-blog {
  color: #dc2626;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.back-to-blog:hover {
  text-decoration: underline;
}

/* Mobile Blog Styles */
@media (max-width: 768px) {
  .blog-container {
    padding: 60px 0 40px;
  }
  
  .blog-content {
    padding: 0 20px;
  }
  
  .blog-header {
    padding: 32px 24px;
  }
  
  .blog-title {
    font-size: 36px;
  }
  
  .blog-subtitle {
    font-size: 18px;
  }
  
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
  
  .breadcrumbs {
    padding: 16px 20px;
  }
  
  .breadcrumbs::after {
    left: 20px;
    right: 20px;
  }
  
  .post-card {
    padding: 24px 0;
  }
  
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .post-title {
    font-size: 24px;
  }
  
  .post-full {
    padding: 0 20px;
  }
  
  .post-full .post-title {
    font-size: 32px;
  }
  
  .post-content {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .blog-header {
    padding: 24px 20px;
  }
  
  .blog-title {
    font-size: 28px;
  }
  
  .blog-subtitle {
    font-size: 16px;
  }
  
  .blog-layout {
    padding: 24px 20px;
  }
  
  .post-full .post-title {
    font-size: 28px;
  }
}
