/* CSS Variables */
:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #8b5cf6;
  --secondary-foreground: #FFFFFF;
  --accent: #dc2626;
  --accent-foreground: #111827;
  --background: #0F172A;
  --foreground: #F8FAFC;
  --card: #1E293B;
  --card-foreground: #F8FAFC;
  --border: #334155;
  --input: #334155;
  --ring: #000000;
  --muted: #1E293B;
  --muted-foreground: #94A3B8;
  --font-family: 'Roboto', sans-serif;
  --radius: 0.5rem;
  --success: #10b981;
}

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

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

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

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

/* Hidden Utility */
.hidden {
  display: none !important;
}

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

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  .8;
  margin-bottom: 3rem;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  .8;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 2.25rem;
  }
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  transform: translateY(-2px);
}

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

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

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

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

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

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

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

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.modulohubnexis_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

.modulohubnexis_mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .modulohubnexis_mobile-menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  color: var(--primary-foreground);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(139, 92, 246, 0.3));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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

.hero-diagonal {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(220, 38, 38, 0.1) 60%);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}

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

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

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

/* Cards */
.feature-card,
.service-card,
.team-member,
.pricing-card {
  background: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.feature-card:hover,
.service-card:hover,
.team-member:hover,
.pricing-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-image,
.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.feature-title,
.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-description,
.service-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* Stats Section */
.stats-section {
  background: var(--muted);
  color: var(--foreground);
}

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

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

.stat-label {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Partners Section */
.partners-section {
  background: var(--background);
}

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

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.5);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--secondary);
}

.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  text-align: center;
}

.logo-placeholder span {
  font-size: 0.875rem;
  font-weight: 500;
}

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

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

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

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

.service-features ul {
  list-style: none;
  margin-top: 1rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.service-pricing {
  margin: 2rem 0;
}

.pricing-label {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}

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

/* Pricing Cards */
.pricing-card.featured {
  position: relative;
  border-color: var(--secondary);
  background: linear-gradient(135deg, var(--card), rgba(139, 92, 246, 0.1));
}

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

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

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

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

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

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

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

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

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 5rem;
}

.timeline-marker {
  position: absolute;
  left: 1rem;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  z-index: 1;
}

.timeline-year {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-description {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.timeline-duration {
  font-size: 0.875rem;
  color: var(--secondary);
  font-weight: 500;
}

/* Process Timeline */
.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
}

/* About Page */
.company-story {
  background: var(--background);
}

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

.story-text {
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.story-image img {
  border-radius: var(--radius);
}

.values-section {
  background: var(--muted);
}

.mission-card,
.vision-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

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

.value-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.value-title {
  margin-bottom: 0.5rem;
}

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

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .story-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
}

/* Team Section */
.team-section {
  background: var(--background);
}

.member-avatar {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.member-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.member-role {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.member-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.expertise-tag {
  background: rgba(139, 92, 246, 0.1);
  color: var(--secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Achievements Section */
.achievements-section {
  background: var(--muted);
}

.achievement-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.achievement-title {
  margin-bottom: 1rem;
}

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

/* Contact Page */
.contact-section {
  background: var(--background);
}

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

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

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

.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;
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

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

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

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

.contact-info-title {
  margin-bottom: 1.5rem;
}

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

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

.contact-details h4 {
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--secondary);
  text-decoration: none;
}

.map-placeholder {
  background: var(--muted);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.map-content h4 {
  margin: 1rem 0 0.5rem;
}

.contact-options {
  background: var(--muted);
}

.contact-option {
  text-align: center;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.option-title {
  margin-bottom: 1rem;
}

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

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

/* Success Message */
.success-message {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 1.5rem;
}

.success-content h3 {
  color: var(--success);
  margin-bottom: 1rem;
}

.success-content p {
  color: var(--muted-foreground);
}

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

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

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

.faq-question {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

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

/* Advantages Section */
.advantages-section {
  background: var(--muted);
}

.advantage-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
}

.advantage-title {
  margin-bottom: 0.5rem;
}

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

/* About Preview Section */
.about-preview-section {
  background: var(--muted);
}

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

.about-text {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.about-image img {
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .about-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
}

/* Process Section */
.process-section {
  background: var(--background);
}

.process-step {
  text-align: center;
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.step-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 2rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.step-title {
  margin: 1rem 0 0.5rem;
}

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

/* CTA Section */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  text-align: center;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.cta-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(139, 92, 246, 0.4));
  z-index: 2;
}

.cta-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

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

/* Implementation Section */
.implementation-section {
  background: var(--muted);
}

/* Legal Content */
.legal-content {
  padding: 4rem 0;
  background: var(--background);
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

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

.legal-body {
  max-width: 800px;
  margin: 0 auto;
  color: var(--foreground);
}

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

.legal-body h3 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
  color: var(--secondary);
}

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

.legal-body ul {
  margin: 1rem 0 1.5rem 2rem;
}

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

.legal-body a {
  color: var(--secondary);
  text-decoration: underline;
}

.contact-info {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 2rem 0;
}

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

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

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

.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;
}

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

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

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

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

.modulohubnexis_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modulohubnexis_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

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

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

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

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

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

@media (max-width: 768px) {
  .modulohubnexis_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .modulohubnexis_cookie-modal {
    padding: 1rem;
  }
  
  .modulohubnexis_cookie-modal-actions {
    flex-direction: column;
  }
}

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

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

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  height: 2rem;
  margin-bottom: 1rem;
}

.footer-description {
  color: #d1d5db;
  margin-bottom: 2rem;
}

.footer-contact p {
  color: #d1d5db;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.footer-heading {
  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-links a,
.footer-contact-list a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact-list a:hover {
  color: #8b5cf6;
}

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

.footer-contact-list li {
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  color: #9ca3af;
  font-size: 0.875rem;
}

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

.footer-legal-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-legal-links a:hover {
  color: #8b5cf6;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }

/* Animation Classes */
.animate-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

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

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