/* CSS Variables */
:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #EC4699;
  --secondary-foreground: #111827;
  --accent: #16A249;
  --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;
}

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

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

.hidden {
  display: none !important;
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

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

a:hover {
  opacity: 0.8;
}

/* Buttons */
.btn-primary, .btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--card);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

/* Grid Layouts */
.grid-2, .grid-3 {
  display: grid;
  gap: 1rem;
}

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

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

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

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

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

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

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

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

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

/* 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: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

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

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

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

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

.hamburger-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-btn span {
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s ease;
}

.technoluxora_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.9);
}

.technoluxora_mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

/* Hero Section */
.hero {
  padding: 6rem 0 3rem;
  background: var(--background);
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
}

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

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  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%;
  height: auto;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .hero.split-left .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--foreground);
}

.page-header {
  padding: 6rem 0 3rem;
  text-align: center;
  background: var(--background);
  color: var(--foreground);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

/* Feature Cards */
.feature-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  margin-left: 1rem;
}

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

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

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

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

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

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

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

.partner-item p {
  color: var(--foreground);
  font-weight: 500;
}

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

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1.5rem;
}

.gallery-overlay h4 {
  margin-bottom: 0.5rem;
  color: white;
}

.gallery-overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

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

/* Why Choose Us */
.why-choose-us {
  background: var(--background);
  color: var(--foreground);
}

/* About Preview */
.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 img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

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

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

.stat-item {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem 1rem;
  border-radius: var(--radius);
}

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

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

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

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

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

.step-number {
  background: var(--primary);
  color: var(--primary-foreground);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

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

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

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

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

.testimonial-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--secondary);
}

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

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

.testimonial-author strong {
  display: block;
  color: var(--card-foreground);
  margin-bottom: 0.25rem;
}

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

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

/* Services Page */
.service-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

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

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

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

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

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

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

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

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

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

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

.service-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.service-categories {
  background: var(--background);
  color: var(--foreground);
}

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

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

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

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

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

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

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

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

.story-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.mission-values {
  background: var(--background);
  color: var(--foreground);
}

.mission-content {
  text-align: center;
  margin-bottom: 3rem;
}

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

.mission-content p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto;
}

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

.value-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  border-left: 4px solid var(--primary);
}

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

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

.team-section {
  background: var(--background);
  color: var(--foreground);
}

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

.team-member {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  border-left: 4px solid var(--secondary);
}

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

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

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

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

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

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

.achievement-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

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

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

.location-contact {
  background: var(--background);
  color: var(--foreground);
}

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

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

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

.contact-info {
  margin-top: 2rem;
}

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

.contact-item strong {
  color: var(--foreground);
}

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

.location-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .story-content,
  .location-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid,
  .achievements-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

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

.contact-info-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  margin-bottom: 2rem;
}

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

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

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

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

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

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

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

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

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

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

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

.option-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  border-left: 4px solid var(--secondary);
}

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

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

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

/* FAQ Page */
.faq-section {
  background: var(--background);
  color: var(--foreground);
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary);
}

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

.faq-question h3 {
  color: var(--card-foreground);
  margin: 0;
}

.faq-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

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

.support-contact {
  background: var(--background);
  color: var(--foreground);
}

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

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

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

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

.resources-section {
  background: var(--background);
  color: var(--foreground);
}

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

.resource-item {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--secondary);
}

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

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

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

/* Legal Pages */
.legal-content {
  padding: 6rem 0 3rem;
  background: var(--background);
  color: var(--foreground);
}

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

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

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

.legal-document h2 {
  color: var(--foreground);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

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

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

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

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

.contact-details {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
}

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

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

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

.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(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
}

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

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

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

.footer-column h4 {
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.footer-column p {
  color: var(--primary-foreground);
  .85;
  margin-bottom: 0.5rem;
}

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

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

.footer-column a {
  color: var(--primary-foreground);
  .85;
  transition: opacity 0.3s ease;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
  color: var(--primary-foreground);
  .85;
  margin: 0;
}

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

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

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

/* Cookie Consent */
.technoluxora_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--card);
  color: var(--card-foreground);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

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

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

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

.technoluxora_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1002;
  background: rgba(0, 0, 0, 0.8);
}

.technoluxora_cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
}

.technoluxora_cookie-modal-content {
  background: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
}

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

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

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

.technoluxora_cookie-toggle-row .font-medium {
  font-weight: 600;
  color: var(--card-foreground);
}

.technoluxora_cookie-toggle-row .text-sm {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

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

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

/* Responsive adjustments */
@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .btn-primary,
  .btn-outline {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

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