/* CSS Variables */
:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #8b5cf6;
  --secondary-foreground: #FFFFFF;
  --accent: #dc2626;
  --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: 'Open Sans', sans-serif;
  --radius: 0.5rem;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

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

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

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

a:hover {
  text-decoration: underline;
}

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

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

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

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

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

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

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

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

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

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 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;
  }
}

/* Button Styles */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  text-decoration: none;
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--input);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--background);
  color: var(--foreground);
}

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

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

.nav-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
}

.logo-link {
  display: block;
}

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

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

.nav-link {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  border-bottom-color: var(--primary);
  text-decoration: none;
}

.draxolenti-top_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.draxolenti-top_mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-nav-link {
  color: var(--foreground);
  padding: 0.75rem 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .nav-centered {
    flex-direction: row;
    justify-content: space-between;
    position: relative;
  }
  
  .nav-main {
    display: none;
  }
  
  .draxolenti-top_mobile-menu-toggle {
    display: block;
  }
  
  .draxolenti-top_mobile-menu {
    display: flex;
  }
  
  .draxolenti-top_mobile-menu.hidden {
    display: none;
  }
}

/* Hero Section */
.hero {
  background: #111 !important;
  color: #fff !important;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

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

.hero-text {
  z-index: 2;
  position: relative;
}

.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;
  color: rgba(255, 255, 255, 0.9);
}

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

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-img {
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.1);
}

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

/* Page Header */
.page-header {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 4rem 0;
  text-align: center;
}

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

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

/* Section Styles */
section {
  padding: 7rem 0;
}

section:nth-child(even) {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

section:nth-child(odd) {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

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

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

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

/* CTA Section */
.cta-section {
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  margin: 2rem 0;
}

.cta-container {
  padding: 4rem 2rem;
  text-align: center;
}

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

.cta-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Card Styles */
.feature-card,
.pricing-card,
.team-card,
.value-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
  text-align: center;
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.animate-in,
.pricing-card.animate-in,
.team-card.animate-in,
.value-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Icon Styles */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--muted);
  border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: 4px 4px 8px #d1d1d1, -4px -4px 8px #ffffff;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

.feature-title,
.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

.feature-description,
.value-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
  text-align: center;
}

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

.testimonial-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--foreground);
  margin-bottom: 2rem;
  line-height: 1.4;
}

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

.author-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.author-title {
  font-size: 0.875rem;
}

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

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

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

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

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--card-foreground);
}

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

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

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.pricing-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* Partners Section */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}

.partner-item {
  text-align: center;
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.partner-icon {
  width: 48px;
  height: 48px;
  color: var(--muted-foreground);
}

.partner-name {
  font-weight: 500;
  color: var(--muted-foreground);
}

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

/* Team Section */
.team-icon,
.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 4px 4px 8px #d1d1d1, -4px -4px 8px #ffffff;
}

.team-member-icon,
.team-avatar-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.team-role,
.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--card-foreground);
}

.team-description,
.team-bio {
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.stat-icon {
  width: 60px;
  height: 60px;
  background: var(--background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 8px #d1d1d1, -4px -4px 8px #ffffff;
}

.stat-icon-element {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.stat-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

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

/* Services Page */
.services-overview {
  padding: 4rem 0;
}

.service-highlight {
  display: flex;
  align-items: center;
}

.service-image {
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

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

.service-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.service-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.benefit-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* Accordion Styles */
.services-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: 4px 4px 8px #d1d1d1, -4px -4px 8px #ffffff;
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.accordion-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin: 0;
}

.accordion-toggle {
  width: 20px;
  height: 20px;
  color: var(--muted-foreground);
  transition: transform 0.3s;
}

.accordion-item.active .accordion-toggle {
  transform: rotate(180deg);
}

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

.accordion-item.active .accordion-content {
  padding: 1.5rem;
  max-height: 500px;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

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

.feature-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  position: relative;
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-content {
  padding: 1rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
  color: var(--foreground);
}

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

/* About Page */
.company-story {
  padding: 4rem 0;
}

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

.story-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

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

.story-image {
  display: flex;
  align-items: center;
}

.story-img {
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

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

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

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.timeline-marker {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.timeline-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-foreground);
}

.timeline-content {
  flex: 1;
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 4px 4px 8px #d1d1d1, -4px -4px 8px #ffffff;
}

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

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

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

/* Achievements */
.achievements-section {
  padding: 4rem 0;
}

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

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.achievement-text {
  flex: 1;
}

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

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

.achievement-image {
  display: flex;
  align-items: center;
}

.achievement-img {
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 8px #ffffff;
}

/* Contact Page */
.contact-section {
  padding: 4rem 0;
}

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

.draxolenti-top_contact-form-container {
  display: flex;
  flex-direction: column;
}

.draxolenti-top_contact-form-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.draxolenti-top_contact-form-description {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.draxolenti-top_contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

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

.form-submit {
  margin-top: 1rem;
}

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

.contact-info-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

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

.contact-info-description {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 8px #d1d1d1, -4px -4px 8px #ffffff;
}

.contact-method-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.contact-details {
  flex: 1;
}

.contact-method-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--card-foreground);
}

.contact-method-info {
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.contact-link {
  color: var(--primary);
}

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

.map-container {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

.map-placeholder {
  padding: 3rem;
  text-align: center;
  background: var(--muted);
}

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

.map-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

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

.map-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 300px;
}

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

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

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

.faq-item {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 4px 4px 8px #d1d1d1, -4px -4px 8px #ffffff;
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 0;
  color: var(--card-foreground);
}

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

/* Success Message */
.success-message {
  background: #dcfce7;
  border: 1px solid #22c55e;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1rem;
}

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

.success-icon {
  width: 24px;
  height: 24px;
  color: #22c55e;
}

.success-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #166534;
}

.success-text {
  color: #166534;
  margin: 0;
}

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

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

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

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-text {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--primary);
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

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

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

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

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

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

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

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

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

.legal-text {
  line-height: 1.7;
  color: var(--foreground);
}

.legal-text h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--foreground);
}

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

.legal-text p {
  margin-bottom: 1rem;
}

.legal-text ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

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

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

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 4px 4px 8px #d1d1d1, -4px -4px 8px #ffffff;
}

.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 Consent Styles */
.draxolenti-top_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  padding: 1rem 0;
}

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

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

.draxolenti-top_cookie-banner-text p {
  margin: 0;
  color: var(--card-foreground);
  line-height: 1.5;
}

.draxolenti-top_cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

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

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

.draxolenti-top_cookie-modal-content {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2);
}

.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.draxolenti-top_cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.draxolenti-top_cookie-toggle-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

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

@media (max-width: 768px) {
  .draxolenti-top_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .draxolenti-top_cookie-banner-actions {
    justify-content: center;
  }
  
  .draxolenti-top_cookie-modal-actions {
    justify-content: 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 */
#draxolenti-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#draxolenti-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#draxolenti-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
