:root {
  --primary: #16A34A;
  --primary-foreground: #FFFFFF;
  --secondary: #15803D;
  --secondary-foreground: #FFFFFF;
  --accent: #CA8A04;
  --accent-foreground: #422006;
  --background: #FEFCE8;
  --foreground: #1C1917;
  --card: #FFFFFF;
  --card-foreground: #1C1917;
  --border: #D6D3D1;
  --input: #D6D3D1;
  --ring: #16A34A;
  --muted: #F5F5F4;
  --muted-foreground: #78716C;
  --font-family: 'Open Sans', sans-serif;
  --radius: 0.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--foreground);
  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 {
  margin: 0 0 1rem 0;
  line-height: 1.3;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

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

.img-responsive {
  width: 100%;
  height: auto;
}

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

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

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

/* Buttons */
.btn-primary,
.btn-outline {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary-foreground);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

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

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

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

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

.form-input:focus {
  outline: none;
  border-color: var(--ring);
}

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

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

/* Success Message */
.success-message {
  background: #dcfce7;
  border: 2px solid #16a34a;
  color: #15803d;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 1rem;
}

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

.success-icon {
  width: 2rem;
  height: 2rem;
  color: #16a34a;
}

.success-message h3 {
  margin: 0 0 0.5rem 0;
  color: #15803d;
}

.success-message p {
  margin: 0;
}

/* Header */
.header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

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

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--foreground);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nexorvexia-top_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--foreground);
}

.nexorvexia-top_mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
}

.nexorvexia-top_mobile-menu a {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.nexorvexia-top_mobile-menu a:hover,
.nexorvexia-top_mobile-menu a.active {
  color: var(--primary);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nexorvexia-top_mobile-menu-toggle {
    display: block;
  }
  
  .nexorvexia-top_mobile-menu:not(.hidden) {
    display: flex;
  }
}

/* Hero Section */
.hero {
  position: relative;
  background: #111;
  color: #fff;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 7rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

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

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.page-header p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

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

section:last-child {
  border-bottom: none;
}

/* Newsletter Section */
.newsletter-section {
  background: var(--muted);
  padding: 4rem 0;
}

.newsletter-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.newsletter-text h2 {
  margin-bottom: 0.5rem;
}

.newsletter-form {
  flex-shrink: 0;
}

.newsletter-input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.newsletter-input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  min-width: 300px;
  font-family: var(--font-family);
}

.newsletter-disclaimer {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-input-group {
    flex-direction: column;
  }
  
  .newsletter-input {
    min-width: auto;
  }
}

/* About Preview Section */
.about-preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-preview-features {
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

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

.feature-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

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

@media (max-width: 768px) {
  .about-preview-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* FAQ Preview Section */
.faq-preview {
  background: var(--muted);
}

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

.faq-preview-header h2 {
  margin-bottom: 1rem;
}

.faq-preview-header p {
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.faq-preview-items {
  margin-bottom: 3rem;
}

.faq-item {
  background: var(--card);
  border: 2px solid transparent;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  color: var(--card-foreground);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary);
}

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

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--muted-foreground);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-preview-header + .btn-primary {
  display: block;
  margin: 0 auto;
  text-align: center;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-section .btn-outline {
  border-color: #fff;
  color: #fff;
}

.cta-section .btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  margin-bottom: 1rem;
}

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

.service-card ul {
  text-align: left;
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.service-card li {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

/* Detailed Services */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-detail.reverse {
    direction: ltr;
  }
}

/* Pricing */
.pricing-section {
  background: var(--muted);
}

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

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

.pricing-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.featured-badge {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
}

.pricing-card ul {
  text-align: left;
  margin: 2rem 0;
  padding-left: 1.5rem;
}

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

/* Icons */
.icon-box {
  background: var(--muted);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

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

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

.text-lg {
  font-size: 1.125rem;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.text-sm {
  font-size: 0.875rem;
}

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

/* Company Story */
.story-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

/* Mission */
.mission-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mission-content h2 {
  margin-bottom: 2rem;
}

.mission-content p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
  margin-bottom: 1rem;
}

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

/* Approach */
.approach-steps {
  margin-top: 3rem;
}

.step-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

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

.step-number {
  background: var(--primary);
  color: var(--primary-foreground);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--muted-foreground);
  margin: 0;
}

/* Achievements */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.achievement-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.achievement-item p {
  color: var(--muted-foreground);
  margin: 0;
}

/* Contact */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

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

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

.contact-icon {
  flex-shrink: 0;
}

.contact-details h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.contact-details p {
  margin: 0.25rem 0;
  color: var(--muted-foreground);
}

.contact-details address {
  font-style: normal;
  color: var(--muted-foreground);
}

.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-option-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-option-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.contact-option-card p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

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

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

.blog-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.blog-date,
.blog-category {
  background: var(--muted);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.blog-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.blog-newsletter {
  background: var(--muted);
  padding: 4rem 0;
  text-align: center;
}

.blog-newsletter h2 {
  margin-bottom: 1rem;
}

.blog-newsletter p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Legal Content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
}

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

.legal-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

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

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.legal-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

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

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  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(--muted-foreground);
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.footer {
  background: var(--muted);
  color: var(--foreground);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-column p,
.footer-column address {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  font-style: normal;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-column a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

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

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

.footer-links a {
  color: var(--primary);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-legal {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* Cookie Banner */
.nexorvexia-top_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 2px solid var(--border);
  padding: 1rem 0;
  z-index: 10000;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

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

.nexorvexia-top_cookie-banner-text {
  flex: 1;
}

.nexorvexia-top_cookie-banner-text p {
  margin: 0;
  color: var(--foreground);
  font-size: 0.9rem;
}

.nexorvexia-top_cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.nexorvexia-top_cookie-banner-actions button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nexorvexia-top_cookie-banner-inner {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nexorvexia-top_cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
}

/* Cookie Modal */
.nexorvexia-top_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.nexorvexia-top_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.nexorvexia-top_cookie-modal-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  z-index: 1;
  max-height: 80vh;
  overflow-y: auto;
}

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

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

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

.nexorvexia-top_cookie-toggle-row input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.nexorvexia-top_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .nexorvexia-top_cookie-modal-actions {
    flex-direction: column;
  }
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  margin-bottom: 3rem;
}

.faq-cta {
  background: var(--muted);
  text-align: center;
}

/* Animation Classes */
.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .page-header {
    padding: 3rem 0 1.5rem 0;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .cta-content h2 {
    font-size: 1.75rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

/* === 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 */
#nexorvexia-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#nexorvexia-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#nexorvexia-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
