/* CSS Variables */
:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #F59F0A;
  --secondary-foreground: #111827;
  --accent: #DC2626;
  --accent-foreground: #FFFFFF;
  --background: #FFFFFF;
  --foreground: #1F2937;
  --card: #F9FAFB;
  --card-foreground: #1F2937;
  --border: #E5E7EB;
  --input: #F3F4F6;
  --ring: #000000;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --font-family: 'Open Sans', sans-serif;
  --radius: 1rem;
}

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

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

.hidden {
  display: none !important;
}

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

/* 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.3;
  margin-bottom: 0.5rem;
}

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

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
}

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

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

/* Buttons */
.btn-primary, .btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  border: 2px solid var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}

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

.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 8px 32px rgba(0,0,0,0.08);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 8px 32px rgba(0,0,0,0.08);
}

/* 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: var(--muted);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

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

/* Header */
.header {
  background: transparent;
  padding: 1rem 0;
  position: relative;
  z-index: 1000;
}

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

.logo-img {
  height: 3rem;
  max-width: 100%;
  height: auto;
}

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

.nav-desktop a {
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  border-bottom-color: var(--secondary);
}

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

.macrotrixa_mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.macrotrixa_mobile-menu a {
  padding: 0.5rem 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .macrotrixa_mobile-menu-toggle {
    display: block;
  }
}

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

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

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

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

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

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

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

.page-header h1 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.page-header p {
  font-size: 1.1rem;
  color: var(--muted-foreground);
}

/* Sections */
section {
  padding: 3rem 0;
}

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

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

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

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

.stat-card:hover {
  transform: scale(1.03);
}

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

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

/* Feature Cards */
.feature-card, .service-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover, .service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 8px 32px rgba(0,0,0,0.08);
}

.feature-image, .card-image, .feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.feature-content {
  padding: 1.5rem;
}

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

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

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

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

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

.partner-card p {
  font-weight: 500;
  color: var(--card-foreground);
  margin-top: 1rem;
}

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

/* About Preview */
.about-preview {
  padding: 4rem 0;
}

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

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

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

.about-image .feature-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

/* Process Section */
.process-step {
  text-align: center;
  padding: 1.5rem;
}

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

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

/* Team Preview */
.team-preview {
  background: var(--muted);
}

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

.team-card:hover {
  transform: scale(1.03);
}

.team-avatar {
  margin-bottom: 1rem;
}

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

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

.text-center {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials */
.testimonials-section {
  padding: 4rem 0;
}

.testimonial-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.03);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--card-foreground);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

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

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

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0.9;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--primary-foreground);
}

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

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--primary-foreground);
  .9;
}

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

.cta-section .btn-outline {
  border-color: var(--primary-foreground);
  color: var(--primary-foreground);
}

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

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

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

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

.service-content h2 {
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

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

.service-content ul {
  margin-bottom: 2rem;
}

.service-content li {
  padding: 0.5rem 0;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-content li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
}

.service-image .feature-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

/* Additional Services */
.additional-services {
  background: var(--muted);
}

/* About Page */
.mission-section {
  padding: 4rem 0;
  text-align: center;
}

.mission-content h2 {
  margin-bottom: 2rem;
  color: var(--foreground);
}

.mission-statement {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.story-section {
  padding: 4rem 0;
}

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

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

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

.story-image .feature-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

/* Values Section */
.values-section {
  background: var(--muted);
}

.value-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: scale(1.03);
}

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

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

/* Approach Section */
.approach-section {
  padding: 4rem 0;
}

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

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

.approach-text p {
  margin-bottom: 2rem;
  color: var(--muted-foreground);
}

.approach-point {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.approach-point h4 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.approach-point p {
  color: var(--muted-foreground);
  margin-bottom: 0;
}

.approach-image .feature-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

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

.achievement-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.achievement-card:hover {
  transform: scale(1.03);
}

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

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

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

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

.macrotrixa_contact-form-container h2 {
  margin-bottom: 1rem;
  color: var(--foreground);
}

.macrotrixa_contact-form-container p {
  margin-bottom: 2rem;
  color: var(--muted-foreground);
}

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

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

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

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

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

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

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

/* Contact Info */
.contact-info h2 {
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.contact-details {
  margin-bottom: 3rem;
}

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

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

.contact-text h4 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

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

.contact-cta {
  padding: 2rem;
  background: var(--muted);
  border-radius: var(--radius);
}

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

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

/* Additional Contact */
.additional-contact {
  background: var(--muted);
}

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

.contact-method h3 {
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

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

/* Success Message */
.success-message {
  background: #D1FAE5;
  border: 1px solid #A7F3D0;
  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-message h3 {
  color: #065F46;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: #047857;
  margin-bottom: 0;
}

/* Legal Content */
.legal-content {
  padding: 2rem 0 4rem;
}

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

.legal-text h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.legal-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.legal-text ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-text li {
  list-style: disc;
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}

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

/* 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;
}

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

/* Pricing Page */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.pricing-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.pricing-header h3 {
  margin-bottom: 0.5rem;
  color: var(--card-foreground);
}

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

.pricing-features h4 {
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
}

.feature-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.pricing-action {
  text-align: center;
}

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

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: none;
  }
}

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

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

.info-card h3 {
  margin-bottom: 1.5rem;
  color: var(--card-foreground);
}

.info-card ul {
  padding-left: 1rem;
}

.info-card li {
  list-style: disc;
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
}

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

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

.faq-item h4 {
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

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

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

/* Team Page */
.team-intro {
  padding: 2rem 0 4rem;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content h2 {
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

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

.team-members {
  padding: 4rem 0;
}

.team-members .team-card {
  text-align: left;
  padding: 2rem;
}

.team-info {
  margin-top: 1rem;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.expertise-tag {
  background: var(--muted);
  color: var(--muted-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Team Culture */
.team-culture {
  background: var(--muted);
}

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

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

.culture-text p {
  margin-bottom: 2rem;
  color: var(--muted-foreground);
}

.culture-value {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.culture-value h4 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.culture-value p {
  color: var(--muted-foreground);
  margin-bottom: 0;
}

.culture-image .feature-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

/* Join Team */
.join-team {
  padding: 4rem 0;
}

.join-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.join-content h2 {
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.join-content p {
  margin-bottom: 3rem;
  color: var(--muted-foreground);
}

.join-benefits {
  margin-bottom: 3rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
}

.benefit-item h4 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

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

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

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

.footer-column h4 {
  margin-bottom: 1rem;
  color: #f9fafb;
}

.footer-column p {
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

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

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

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

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

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

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

.footer-legal p {
  margin: 0;
  color: #9CA3AF;
}

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

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

.legal-links a:hover {
  color: #f9fafb;
}

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

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

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

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

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

.macrotrixa_cookie-banner .btn-primary,
.macrotrixa_cookie-banner .btn-outline {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .macrotrixa_cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .macrotrixa_cookie-banner-actions {
    justify-content: center;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Staggered animation delays */
.animate-hidden:nth-child(1) { transition-delay: 0ms; }
.animate-hidden:nth-child(2) { transition-delay: 100ms; }
.animate-hidden:nth-child(3) { transition-delay: 200ms; }
.animate-hidden:nth-child(4) { transition-delay: 300ms; }
.animate-hidden:nth-child(5) { transition-delay: 400ms; }
.animate-hidden:nth-child(6) { transition-delay: 500ms; }

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