:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #EC4699;
  --secondary-foreground: #111827;
  --accent: #07B6D5;
  --accent-foreground: #111827;
  --background: #FFFFFF;
  --foreground: #111827;
  --card: #FFFFFF;
  --card-foreground: #111827;
  --border: #E5E7EB;
  --input: #E5E7EB;
  --ring: #000000;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --font-family: 'Poppins', sans-serif;
  --radius: 0.75rem;
}

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

body {
  font-family: var(--font-family);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

.hidden {
  display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--foreground);
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

/* Layout */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background: var(--muted);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-outline:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
  background: transparent;
  color: var(--primary-foreground);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Icons */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-lg { width: 2rem; height: 2rem; }

.icon-box {
  width: 3rem;
  height: 3rem;
  background: rgba(7, 182, 213, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Header & Navigation */
.header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav {
  padding: 1rem 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  text-decoration: none;
}

.logo-img {
  height: 2rem;
  width: auto;
}

.neurotrixum_mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background 0.3s ease;
}

.neurotrixum_mobile-menu-toggle:hover {
  background: var(--muted);
}

.neurotrixum_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.neurotrixum_mobile-menu-overlay {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neurotrixum_mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-nav-link {
  color: var(--primary-foreground);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--accent);
}

/* Main Content */
main {
  margin-top: 5rem;
}

/* Hero Section */
.hero {
  background: var(--background);
  color: var(--foreground);
  padding: 5rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
}

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

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  max-width: 100%;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
}

/* Sections */
section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Page Header */
.page-header {
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

/* Cards */
.feature-card, .pricing-card, .benefit-card, .expertise-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.3);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover, .pricing-card:hover, .benefit-card:hover, .expertise-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-title, .benefit-title, .expertise-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.card-description, .benefit-description, .expertise-description {
  color: var(--muted-foreground);
}

/* Stats Section */
.stats-section {
  background: var(--muted);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted-foreground);
  font-weight: 500;
}

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

/* Pricing */
.pricing-card {
  position: relative;
}

.pricing-card.featured {
  border-left-color: var(--secondary);
  transform: scale(1.05);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted-foreground);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Testimonials */
.testimonials-section {
  background: var(--muted);
  border-bottom: 1px solid var(--border);
}

.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  display: none;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.3);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.testimonial-card.active {
  display: block;
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--foreground);
}

.testimonial-author {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--foreground);
}

.author-company {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-foreground);
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  .9;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Services Page */
.services-overview {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.service-overview-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.3);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-overview-image {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.service-overview-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.service-overview-description {
  color: var(--muted-foreground);
}

@media (max-width: 768px) {
  .service-overview-card {
    flex-direction: column;
    text-align: center;
  }
  
  .service-overview-image {
    width: 100%;
    height: 200px;
  }
}

/* Accordion */
.services-accordion {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

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

.accordion-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.3);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: rgba(243, 244, 246, 0.5);
}

.accordion-title {
  font-size: 1.25rem;
  color: var(--foreground);
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}

.accordion-body {
  padding: 0 1.5rem 1.5rem;
}

.service-features {
  list-style: none;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--foreground);
  position: relative;
  padding-left: 1.5rem;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.service-pricing {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* About Page */
.company-story {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-text {
  margin-bottom: 1.5rem;
  color: var(--foreground);
  font-size: 1.125rem;
  line-height: 1.7;
}

.story-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  max-width: 100%;
}

.timeline-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-marker {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 2rem;
  position: relative;
  z-index: 1;
}

.timeline-year {
  font-size: 0.875rem;
}

.timeline-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.3);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

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

.mission-values {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.mission-card, .values-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.3);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.mission-title, .values-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.mission-description {
  color: var(--foreground);
  font-size: 1.125rem;
  line-height: 1.7;
}

.values-list {
  list-style: none;
  text-align: left;
}

.values-list li {
  padding: 0.75rem 0;
  color: var(--foreground);
  position: relative;
  padding-left: 1.5rem;
}

.values-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.expertise-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.commitment-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.commitment-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.commitment-description {
  margin-bottom: 1.5rem;
  color: var(--foreground);
  font-size: 1.125rem;
  line-height: 1.7;
}

.commitment-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

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

.commitment-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  max-width: 100%;
}

@media (max-width: 768px) {
  .commitment-content {
    grid-template-columns: 1fr;
  }
  
  .commitment-stats {
    justify-content: center;
  }
}

/* Contact Page */
.contact-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.neurotrixum_contact-form-container {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.3);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
}

.neurotrixum_contact-form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.neurotrixum_contact-form-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: var(--background);
  color: var(--foreground);
}

.form-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

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

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-icon {
  width: 3rem;
  height: 3rem;
  color: #22c55e;
}

.success-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin: 0;
}

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

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.3);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--foreground);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: rgba(7, 182, 213, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.contact-info-value {
  color: var(--muted-foreground);
  margin: 0;
}

.contact-info-value a {
  color: var(--primary);
  text-decoration: none;
}

.contact-info-value a:hover {
  text-decoration: underline;
}

.map-placeholder {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.3);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.map-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(236, 70, 153, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin: 0;
}

.map-description {
  color: var(--muted-foreground);
  margin: 0;
}

.contact-cta {
  padding: 3rem 0;
  background: var(--muted);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.contact-cta-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.contact-cta-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.contact-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal Pages */
.legal-content {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.legal-document {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.3);
  border-radius: var(--radius);
  padding: 3rem;
}

.legal-updated {
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 2rem;
}

.legal-document h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.legal-document h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 1rem 0;
  color: var(--foreground);
}

.legal-document p {
  margin-bottom: 1rem;
  color: var(--foreground);
  line-height: 1.7;
}

.legal-document ul, .legal-document ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.legal-document li {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.legal-document a {
  color: var(--primary);
  text-decoration: none;
}

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

/* Cookie Table */
.cookie-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--background);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.cookie-table th {
  background: var(--muted);
  font-weight: 600;
  color: var(--foreground);
}

.cookie-table td {
  color: var(--foreground);
}

/* Cookie Consent */
.neurotrixum_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 1500;
  padding: 1rem 0;
}

.neurotrixum_cookie-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.neurotrixum_cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.neurotrixum_cookie-banner-text p {
  margin: 0;
  color: var(--foreground);
}

.neurotrixum_cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.neurotrixum_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.neurotrixum_cookie-modal-overlay {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.neurotrixum_cookie-modal-content {
  background: var(--background);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-toggles {
  margin: 2rem 0;
}

.neurotrixum_cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.neurotrixum_cookie-toggle-row:last-child {
  border-bottom: none;
}

.neurotrixum_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .neurotrixum_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .neurotrixum_cookie-banner-text {
    min-width: auto;
  }
}

/* Footer */
.footer {
  background: #111827;
  color: #f9fafb;
  padding: 3rem 0 1rem;
}

.footer a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #f9fafb;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 2rem;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  margin-bottom: 1.5rem;
  color: #d1d5db;
  font-style: italic;
}

.footer-address p {
  margin-bottom: 0.25rem;
  color: #d1d5db;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
}

.footer-links-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-links-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f9fafb;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-right {
    justify-content: center;
  }
  
  .footer-links-group {
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Animation Classes */
.animate-slide-in {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.7s ease-out;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .hero-actions,
  .cta-actions,
  .contact-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .timeline:before {
    left: 1rem;
  }
  
  .timeline-marker {
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
  }
  
  .commitment-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-image { /* alias for .hero-img */ }
.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  max-width: 100%;
}
.hero-text { /* alias for .hero-content */ }
.hero-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* === BASELINE SAFETY CSS (injected by engine) === */

/* Ensure .hidden works consistently even with ID-specific overrides */
.hidden { display: none !important; }

/* Prevent content overflow breaking layout */
img, video, iframe { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* Ensure container has responsive padding */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent flex/grid children from overflowing */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid fallbacks */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure forms don't break layout */
.form-input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  max-width: 100%;
}

/* Success message styling */
.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 0.5rem;
  color: #065f46;
  text-align: center;
}

/* Stacking context for hero sections — prevents z-index:-1 children from going behind the page */
.hero, .hero-section, .page-header, .cta, .cta-section { isolation: isolate; position: relative; }

/* Desktop nav injected by engine — show on desktop, hide on mobile */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu .nav-link { text-decoration: none; color: var(--foreground, #1f2937); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu .nav-link:hover { color: var(--primary, #2563eb); }
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
}

/* Fixed header body padding safety */
body { min-height: 100vh; }

/* Prevent long words breaking layout */
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }

/* === END BASELINE SAFETY CSS === */

/* Cookie banner visibility rules */
#neurotrixum_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#neurotrixum_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#neurotrixum_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
