:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #EC4899;
  --secondary-foreground: #111827;
  --accent: #F59E0B;
  --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: 'Inter', sans-serif;
  --radius: 0.25rem;
}

* {
  box-sizing: border-box;
}

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

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

/* Hidden utility class */
.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: 1.5rem;
}

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

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

p {
  margin: 0 0 1rem 0;
}

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

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

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

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

/* Button styles */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}

.btn-primary:hover {
  background: var(--secondary);
  color: var(--secondary-foreground);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 6px 20px rgba(0,0,0,0.08);
}

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

.btn-outline {
  background: transparent;
  color: var(--foreground);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 6px 20px rgba(0,0,0,0.08);
}

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

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

/* Icon styles */
.icon-box {
  width: 3rem;
  height: 3rem;
  background: var(--card);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary);
}

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

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

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

/* Success message */
.success-message {
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}

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

.success-title {
  color: var(--accent);
  margin: 0;
}

.success-description {
  color: var(--card-foreground);
  margin: 0;
}

/* Navigation */
.navbar {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

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

.hamburger-btn {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hamburger-btn:hover {
  background: var(--primary);
}

.hamburger-btn:hover .hamburger-icon {
  color: var(--primary-foreground);
}

.hamburger-icon {
  color: var(--foreground);
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile menu */
.hypertrixum_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.hypertrixum_mobile-menu-overlay {
  background: rgba(0, 0, 0, 0.95);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.mobile-nav-link {
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 500;
  padding: 1rem;
  transition: color 0.2s ease;
}

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

/* Hero section */
.hero {
  background: #111;
  color: #fff;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.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;
  opacity: 0.4;
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.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: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

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

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

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

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

/* Cards */
.feature-card,
.service-card,
.team-card,
.benefit-card,
.value-card,
.achievement-card {
  background: var(--card);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}

.feature-card:hover,
.service-card:hover,
.team-card:hover,
.benefit-card:hover,
.value-card:hover,
.achievement-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 6px 20px rgba(0,0,0,0.08);
}

.card-image,
.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.card-image img,
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title,
.service-title,
.team-name,
.benefit-title,
.value-title,
.achievement-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.75rem;
}

.card-description,
.service-description,
.team-description,
.benefit-description,
.value-description,
.achievement-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Process steps */
.process-step {
  text-align: center;
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

/* Newsletter */
.newsletter {
  background: var(--card);
  padding: 3rem 0;
}

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

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

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

.email-signup-form {
  display: flex;
  gap: 1rem;
}

.newsletter-input {
  flex: 1;
}

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

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

.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
  text-align: center;
}

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

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

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

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1rem 0;
}

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

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

/* About preview */
.about-content,
.story-content,
.why-content,
.location-content,
.office-content,
.expertise-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-title,
.story-title,
.why-title,
.location-title,
.office-title,
.expertise-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.about-description,
.story-paragraph,
.why-description,
.location-description {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.about-image,
.story-image,
.why-image,
.location-image,
.office-image,
.expertise-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
  .about-content,
  .story-content,
  .why-content,
  .location-content,
  .office-content,
  .expertise-content {
    grid-template-columns: 1fr;
  }
}

/* Testimonials */
.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  display: none;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}

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

.quote-icon {
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--card-foreground);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-author strong {
  color: var(--card-foreground);
  font-weight: 600;
}

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

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

.slider-btn {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.slider-btn:hover .icon-sm {
  color: var(--primary-foreground);
}

/* CTA section */
.cta {
  background: var(--primary);
  color: var(--primary-foreground);
  position: relative;
  padding: 4rem 0;
}

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

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

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

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

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

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

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

/* Footer */
footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0 1rem;
}

footer a {
  color: var(--primary-foreground);
  .85;
}

footer a:hover {
  opacity: 1;
}

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

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

.footer-info,
.footer-contact {
  color: rgba(255, 255, 255, 0.85);
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

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

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

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

/* Page header */
.page-header {
  background: var(--card);
  padding: 6rem 0 3rem;
  text-align: center;
}

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

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

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

/* Services page */
.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-features li {
  padding: 0.25rem 0;
  color: var(--muted-foreground);
}

.service-features li:before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  margin-right: 0.5rem;
}

.service-pricing {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
  text-align: center;
}

.price-label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

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

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

.package-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--primary);
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}

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

.package-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

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

.package-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.package-features ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--card-foreground);
}

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

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

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

.timeline-item:not(:last-child):before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 3rem;
  width: 2px;
  height: 3rem;
  background: var(--border);
}

.timeline-marker {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--card);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-content {
  flex: 1;
  padding-top: 0.5rem;
}

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

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

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

/* Contact page */
.contact-info-bar {
  background: var(--card);
  padding: 2rem 0;
}

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

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin: 0 0 0.25rem 0;
}

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

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

/* Contact form */
.hypertrixum_contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

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

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

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

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

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

.form-actions {
  text-align: center;
  margin-top: 1rem;
}

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

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

.contact-method-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}

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

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

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

/* Office info */
.detail-group {
  margin-bottom: 1.5rem;
}

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

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

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.expertise-highlights {
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
}

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

.team-avatar {
  width: 4rem;
  height: 4rem;
  background: var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.avatar-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--muted-foreground);
}

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

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

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

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

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

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

.join-description {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

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

/* Mission/Vision cards */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.mv-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}

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

.mv-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

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

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

.achievement-content {
  margin-left: 1rem;
}

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

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

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

.legal-meta {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent);
}

.legal-document h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 2rem 0 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.legal-document h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

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

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

.legal-document ul,
.legal-document ol {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

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

.legal-document a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-document a:hover {
  color: var(--primary);
}

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

.cookie-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(--card-foreground);
}

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

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

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

.hypertrixum_cookie-banner-text {
  flex: 1;
  color: var(--card-foreground);
}

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

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

.hypertrixum_cookie-modal-overlay {
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

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

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

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

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

@media (max-width: 768px) {
  .hypertrixum_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .hypertrixum_cookie-banner-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hypertrixum_cookie-modal-actions {
    flex-direction: column;
  }
}

/* Animation classes for staggered effects */
.animate-hidden {
  opacity: 0;
  transform: translateY(30px);
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Stagger delays for grid items */
.feature-card:nth-child(1) { transition-delay: 0ms; }
.feature-card:nth-child(2) { transition-delay: 100ms; }
.feature-card:nth-child(3) { transition-delay: 200ms; }
.feature-card:nth-child(4) { transition-delay: 300ms; }

.service-card:nth-child(1) { transition-delay: 0ms; }
.service-card:nth-child(2) { transition-delay: 100ms; }
.service-card:nth-child(3) { transition-delay: 200ms; }
.service-card:nth-child(4) { transition-delay: 300ms; }
.service-card:nth-child(5) { transition-delay: 400ms; }
.service-card:nth-child(6) { transition-delay: 500ms; }

.process-step:nth-child(1) { transition-delay: 0ms; }
.process-step:nth-child(2) { transition-delay: 100ms; }
.process-step:nth-child(3) { transition-delay: 200ms; }
.process-step:nth-child(4) { transition-delay: 300ms; }

.benefit-card:nth-child(1) { transition-delay: 0ms; }
.benefit-card:nth-child(2) { transition-delay: 100ms; }
.benefit-card:nth-child(3) { transition-delay: 200ms; }

.value-card:nth-child(1) { transition-delay: 0ms; }
.value-card:nth-child(2) { transition-delay: 100ms; }
.value-card:nth-child(3) { transition-delay: 200ms; }
.value-card:nth-child(4) { transition-delay: 300ms; }
.value-card:nth-child(5) { transition-delay: 400ms; }
.value-card:nth-child(6) { transition-delay: 500ms; }

.team-card:nth-child(1) { transition-delay: 0ms; }
.team-card:nth-child(2) { transition-delay: 100ms; }
.team-card:nth-child(3) { transition-delay: 200ms; }
.team-card:nth-child(4) { transition-delay: 300ms; }
.team-card:nth-child(5) { transition-delay: 400ms; }
.team-card:nth-child(6) { transition-delay: 500ms; }

.package-card:nth-child(1) { transition-delay: 0ms; }
.package-card:nth-child(2) { transition-delay: 100ms; }
.package-card:nth-child(3) { transition-delay: 200ms; }

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  position: relative;
  z-index: 2;
  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 */
#hypertrixum_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#hypertrixum_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#hypertrixum_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
