/* Xhaust.de Static Site Styles - Exact Match to React Version */

:root {
  /* Xhaust.de Original Color Scheme */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(218, 47%, 9%);
  --card: hsl(210, 40%, 98%);
  --card-foreground: hsl(218, 47%, 9%);
  --primary: hsl(24, 100%, 50%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(210, 40%, 96%);
  --secondary-foreground: hsl(218, 47%, 9%);
  --muted: hsl(214, 18%, 46%);
  --muted-foreground: hsl(214, 18%, 46%);
  --success: hsl(142, 76%, 36%);
  --destructive: hsl(0, 84%, 60%);
  --border: hsl(220, 13%, 91%);
  --radius: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -2.5rem;
  left: 1rem;
  z-index: 100;
  background: var(--background);
  color: var(--foreground);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(245, 245, 247, 0.98);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

@media (min-width: 768px) {
  .header-logo img {
    height: 40px;
  }
}

.header-title {
  font-size: 1rem;
  font-weight: 600;
  display: none;
}

@media (min-width: 768px) {
  .header-title {
    display: block;
  }
}

.menu-button {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  cursor: pointer;
}

.menu-icon {
  position: relative;
  width: 1.25rem;
  height: 2px;
  background: var(--foreground);
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 1.25rem;
  height: 2px;
  background: var(--foreground);
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

/* Mobile Menu Backdrop */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  z-index: 59;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.menu-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 78%;
  max-width: 360px;
  background: white;
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 28px rgba(0, 0, 0, 0.06);
  z-index: 60;
  padding: 1rem;
  transform: translateX(100%);
  transition: transform 0.3s;
}

.mobile-menu.active {
  transform: translateX(0);
}

.close-button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
  padding: 0.625rem 0.75rem;
  border-radius: 10px;
  background: white;
  font-weight: 500;
  cursor: pointer;
}

.mobile-menu a {
  display: block;
  padding: 0.875rem 0.625rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding: 0;
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .hero-logo-wrapper {
    padding-top: 1.5rem;
  }
}

.hero-logo {
  width: 40vw;
  min-width: 280px;
  max-width: 600px;
  height: auto;
}

.hero-content {
  padding: 1.5rem 0 2rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 2rem 0;
  }
}

.hero h1 {
  font-size: clamp(22px, 4.6vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: clamp(15px, 2.2vw, 19px);
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.hero-description strong {
  color: var(--foreground);
}

/* USP Badges */
.usp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.usp-badge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}

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

.btn-primary:hover {
  filter: brightness(0.95);
}

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

.btn-outline:hover {
  background: var(--secondary);
}

.btn-lg {
  padding: 1rem 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

/* Section */
.section {
  padding: 1.75rem 0;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

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

.benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
}

.benefit-card .checkmark {
  color: var(--success);
  font-weight: 800;
  margin-right: 0.375rem;
}

.benefit-card strong {
  color: var(--foreground);
}

/* Section Heading */
.section-heading {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtext {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* Table */
.table-wrapper {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--background);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: var(--secondary);
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 600;
}

tbody tr:last-child td {
  border-bottom: none;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.faq-item {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 0.875rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  color: var(--muted-foreground);
  transition: transform 0.2s;
}

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

.faq-answer {
  padding-top: 0.5rem;
  color: var(--muted-foreground);
}

/* Knowledge Articles */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

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

.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  display: block;
  transition: border-color 0.2s;
}

.article-card:hover {
  border-color: rgba(249, 115, 22, 0.5);
}

.article-card h3 {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  margin-bottom: 0.875rem;
}

.article-card p {
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 1.5rem 0;
  margin-top: 1.75rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 0.5rem;
}

.footer-links a {
  color: white;
  text-decoration: underline;
}

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

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

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

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact strong {
  color: white;
}

.footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 1rem 0;
}

.footer-note {
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-section h3 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 1rem;
  font-size: 0.875rem;
}

.footer-locations a:hover {
  color: var(--primary);
}

.footer-map {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.footer-map iframe {
  border: 0;
  border-radius: var(--radius);
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  right: 0.875rem;
  bottom: 0.875rem;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.whatsapp-button.show {
  opacity: 1;
  pointer-events: auto;
}

.whatsapp-button a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem;
  border-radius: 9999px;
  background: #25D366;
  color: white;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  transition: filter 0.2s;
}

.whatsapp-button a:hover {
  filter: brightness(0.95);
}

/* Page Content */
.page-content {
  padding: 1.75rem 0;
}

.page-logo {
  width: 25vw;
  min-width: 180px;
  max-width: 380px;
  height: auto;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.page-title {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Two Column Grid */
.two-column-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

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

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
}

.card h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 0.875rem;
}

.card h3 {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  margin-bottom: 0.875rem;
}

/* Lists */
.card ol {
  list-style-position: inside;
  margin-left: 0;
  padding-left: 0;
}

.card ol li {
  margin-bottom: 0.5rem;
}

.card ul {
  list-style-position: inside;
  margin-left: 0;
  padding-left: 0;
}

.card ul li {
  margin-bottom: 0.25rem;
}

.card p {
  margin-bottom: 0.75rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

/* Prose Content */
.prose {
  max-width: none;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}

.prose h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.prose ul {
  list-style-position: inside;
  margin-bottom: 1rem;
}

.prose ul li {
  margin-bottom: 0.25rem;
  color: var(--muted-foreground);
}

.prose a {
  color: var(--primary);
}

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

.prose strong {
  color: var(--foreground);
}

/* Related Articles Box */
.related-articles {
  margin-top: 2rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.related-articles h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.related-articles ul {
  list-style: none;
  padding: 0;
}

.related-articles li {
  margin-bottom: 0.25rem;
}

.related-articles a {
  color: var(--primary);
}

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

/* Location Page */
.location-hero {
  background: linear-gradient(to bottom, rgba(249, 115, 22, 0.1), var(--background));
  padding: 3rem 0;
}

.location-hero .page-logo {
  margin-left: 0;
  margin-bottom: 1.5rem;
}

.location-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 1rem;
}

.location-hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  max-width: 42rem;
}

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

.location-benefits {
  padding: 3rem 0;
}

.location-benefits h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.location-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.location-benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.location-benefit-card .icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.location-benefit-card h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.location-benefit-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.location-pricing {
  padding: 3rem 0;
  background: rgba(102, 122, 150, 0.1);
}

.location-pricing h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 36rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
}

.pricing-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pricing-card .price {
  font-weight: 700;
}

.pricing-card .price-highlight {
  color: var(--primary);
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

.location-cta {
  padding: 3rem 0;
  text-align: center;
}

.location-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.location-cta p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* CTA Box */
.cta-box {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(210, 220, 230, 0.5);
  border-radius: 0.5rem;
  text-align: center;
}

.cta-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* Article Header */
.article-header {
  margin-bottom: 3rem;
}

.article-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.article-icon .icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: rgba(249, 115, 22, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-icon .icon-box svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.article-icon .category {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.article-header h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .article-header h1 {
    font-size: 2.25rem;
  }
}

.article-header .intro {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

/* Price Comparison Cards */
.price-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
}

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

.price-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--card);
}

.price-card.positive {
  border: 2px solid var(--primary);
}

.price-card.negative {
  border: 2px solid rgba(239, 68, 68, 0.5);
}

.price-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.125rem;
}

.price-card.positive .price-card-header {
  color: var(--primary);
}

.price-card.negative .price-card-header {
  color: var(--destructive);
}

.price-card .price {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.price-card.positive li svg {
  color: var(--primary);
}

.price-card.negative li svg {
  color: var(--destructive);
}

/* Symptoms Grid */
.symptoms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 3rem 0;
}

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

.symptom-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.symptom-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.symptom-card-header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.symptom-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Regeneration Cards */
.regeneration-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
}

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

.regeneration-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.regeneration-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.regeneration-card-header svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.regeneration-card p {
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.regeneration-card p strong {
  color: var(--foreground);
}

.regeneration-card .note {
  font-size: 0.875rem;
  font-style: italic;
}

/* SVG Icons */
.icon-check {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

.icon-x {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

/* Utilities */
.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-foreground);
}

.font-bold {
  font-weight: 700;
}

.mb-4 {
  margin-bottom: 1rem;
}

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

.max-w-4xl {
  max-width: 56rem;
}

/* Min Height Layout */
.min-h-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.flex-1 {
  flex: 1;
}
