: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: 'Inter', 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;
}

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: repeat(2, 1fr);
  gap: 2rem;
}

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

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

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

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

/* Button Styles */
.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 0;
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

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

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

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

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

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

/* Header and Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  padding: 1rem 0;
}

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

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

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

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

.ultraluxis_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.ultraluxis_mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.ultraluxis_mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.ultraluxis_mobile-menu a:hover,
.ultraluxis_mobile-menu a.active {
  background: var(--muted);
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav .container {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .ultraluxis_mobile-menu-toggle {
    display: block;
  }

  .ultraluxis_mobile-menu:not(.hidden) {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: var(--background);
  color: var(--foreground);
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

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

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

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
}

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

.hero-image img {
  width: 100%;
  border: 2px solid var(--primary);
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    justify-content: center;
  }
}

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

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

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

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

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

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

/* Features Section */
.features {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.feature-card {
  text-align: center;
  padding: 2rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

/* Pricing Section */
.pricing-preview {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.pricing-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border: 2px solid var(--border);
  text-align: center;
  position: relative;
}

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

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

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

/* Stats Counter */
.stats-counter {
  background: var(--primary);
  color: var(--primary-foreground);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  .9;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

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

.testimonial-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  display: none;
  text-align: center;
  padding: 2rem;
}

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

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

.testimonial-author h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

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

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

.testimonial-prev,
.testimonial-next {
  background: var(--card);
  border: 2px solid var(--border);
  color: var(--card-foreground);
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  border-color: var(--primary);
}

/* Process Steps */
.process-steps {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

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

.process-step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

/* Partner Logos */
.partner-logos {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

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

.logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

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

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

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

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  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;
}

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

.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-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

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

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

.service-pricing {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.service-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 4rem 0;
}

.additional-services {
  background: var(--muted);
  padding: 4rem 0;
}

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

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.service-process {
  padding: 4rem 0;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

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

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

.process-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

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

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

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

.story-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.mission-values {
  background: var(--muted);
  padding: 4rem 0;
}

.mission-card,
.values-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border: 1px solid var(--border);
}

.mission-card h3,
.values-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.values-card ul {
  list-style: none;
}

.values-card li {
  margin-bottom: 0.75rem;
}

.values-card strong {
  color: var(--primary);
}

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

.team-member {
  text-align: center;
  padding: 2rem;
}

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

.team-member h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

.achievements {
  background: var(--muted);
  padding: 4rem 0;
}

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

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

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

.approach {
  padding: 4rem 0;
}

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

.approach-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.approach-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.approach-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.approach-point h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.location {
  background: var(--muted);
  padding: 4rem 0;
}

.location-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
}

.location-info {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.location-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

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

  .location-content {
    grid-template-columns: 1fr;
  }
}

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

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

.ultraluxis_contact-form-container h2,
.contact-info-container h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-family);
}

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

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

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

.contact-details h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

.contact-details a:hover {
  text-decoration: underline;
}

.contact-options {
  background: var(--muted);
  padding: 4rem 0;
}

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

.contact-option h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.response-info {
  padding: 4rem 0;
}

.response-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
}

.response-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.success-message {
  background: var(--card);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
}

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

.success-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

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

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

  .response-content {
    flex-direction: column;
    text-align: center;
  }
}

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

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  flex-grow: 1;
}

.faq-toggle {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 1rem;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: 1.5rem;
}

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

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

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

.faq-cta .cta-content {
  background: none;
  border: none;
  padding: 2rem;
}

.additional-resources {
  padding: 4rem 0;
}

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

.resource-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

/* Portfolio Page */
.portfolio-overview {
  padding: 4rem 0;
}

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

.overview-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.portfolio-projects {
  background: var(--muted);
  padding: 4rem 0;
}

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

.project-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-content {
  padding: 1.5rem;
}

.project-category {
  margin-bottom: 1rem;
}

.category-tag {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.project-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

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

.results-summary {
  padding: 4rem 0;
}

.results-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.outcome-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.outcome-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.outcome-item p {
  color: var(--muted-foreground);
}

.client-testimonials {
  background: var(--muted);
  padding: 4rem 0;
}

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

.testimonials-grid .testimonial-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border: 1px solid var(--border);
  display: block;
}

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

.testimonials-grid .testimonial-author h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

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

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

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

.legal-document h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
}

.legal-document h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem 0;
}

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

.legal-document ul {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  padding-left: 2rem;
}

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

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

.cookie-table {
  margin: 2rem 0;
  overflow-x: auto;
}

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

.cookie-table td {
  color: var(--muted-foreground);
}

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

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

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

.footer-column h3,
.footer-column h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

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

.footer-column a:hover {
  text-decoration: underline;
}

.footer-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

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

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

.footer-legal a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-legal a:hover {
  text-decoration: underline;
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* Cookie Banner and Modal */
.ultraluxis_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--card);
  border-top: 2px solid var(--primary);
  padding: 1rem 0;
}

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

.ultraluxis_cookie-banner-text {
  flex: 1;
  min-width: 250px;
}

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

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

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

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

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

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

.ultraluxis_cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.ultraluxis_cookie-toggle-row input[type="checkbox"] {
  margin-top: 0.25rem;
}

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

@media (max-width: 768px) {
  .ultraluxis_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .ultraluxis_cookie-banner-actions {
    justify-content: center;
  }

  .ultraluxis_cookie-modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }

  .ultraluxis_cookie-modal-actions {
    justify-content: center;
  }
}

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

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

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

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: 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 */
#ultraluxis_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#ultraluxis_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#ultraluxis_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
