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

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

p {
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

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

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

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

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

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

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

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

/* Button Styles */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 2px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-foreground);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

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

/* Icon Styles */
.icon-box {
  background: rgba(7, 182, 213, 0.1);
  border: 1px solid rgba(7, 182, 213, 0.2);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 1rem;
  backdrop-filter: blur(12px);
}

.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-muted { color: var(--muted-foreground); }

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

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

.navbar-brand {
  display: flex;
  align-items: center;
}

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

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

.technonovaer_mobile-menu-toggle:hover {
  background: var(--muted);
}

/* Mobile Menu */
.technonovaer_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
}

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

.technonovaer_mobile-menu-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 250px;
}

.technonovaer_mobile-menu-link {
  padding: 1rem;
  border-radius: var(--radius);
  color: var(--card-foreground);
  font-weight: 500;
  text-align: center;
  transition: background 0.3s ease;
}

.technonovaer_mobile-menu-link:hover,
.technonovaer_mobile-menu-link.active {
  background: var(--muted);
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: var(--primary);
  color: var(--primary-foreground);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: 4rem;
  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;
  clip-path: polygon(0 0, 60% 0, 70% 100%, 0 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}

.hero-text {
  max-width: 600px;
}

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

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

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

@media (max-width: 768px) {
  .hero-image {
    clip-path: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
}

/* Page Header */
.page-header {
  background: var(--background);
  padding: 8rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

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

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

/* Section Styles */
section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

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

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

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

/* CTA Section */
.cta-section {
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  margin: 2rem 1rem;
  padding: 3rem 2rem;
  text-align: center;
}

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

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

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

/* Partner Logos */
.partner-logos {
  background: var(--background);
  padding: 3rem 0;
}

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

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  text-align: center;
  color: var(--card-foreground);
}

/* Feature Cards */
.features-section {
  background: var(--background);
}

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: var(--card-foreground);
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.feature-image {
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
}

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

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

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

/* Gallery Preview */
.gallery-preview {
  background: var(--background);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.5);
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

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

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

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Pricing Preview */
.pricing-preview {
  background: var(--background);
}

.pricing-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  text-align: center;
  position: relative;
  color: var(--card-foreground);
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

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

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

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

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

.advantage-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  color: var(--card-foreground);
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

/* About Preview */
.about-preview {
  background: var(--background);
}

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

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

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

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
}

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

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

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

.stat-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  text-align: center;
  color: var(--card-foreground);
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin: 1rem 0;
}

.stat-label {
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

/* Process Section */
.process-section {
  background: var(--background);
}

.process-step {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  color: var(--card-foreground);
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

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

/* Testimonials */
.testimonials-section {
  background: var(--background);
}

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

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(12px);
  display: none;
  color: var(--card-foreground);
}

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

.testimonial-quote {
  margin-bottom: 1.5rem;
}

.quote-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}

.testimonial-quote p {
  font-style: italic;
  font-size: 1.125rem;
  color: var(--card-foreground);
}

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

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

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

.testimonial-prev,
.testimonial-next {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

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

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

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

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

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

/* Success Message */
.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
}

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

.success-content h3 {
  color: #059669;
  margin-bottom: 0.5rem;
}

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

/* Cookie Banner & Modal */
.technonovaer_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  z-index: 1000;
  padding: 1rem 0;
  backdrop-filter: blur(12px);
}

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

.technonovaer_cookie-banner-text {
  flex: 1;
}

.technonovaer_cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.technonovaer_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
}

.technonovaer_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.technonovaer_cookie-modal-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  z-index: 1;
  color: var(--card-foreground);
}

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

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

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

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

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

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

.footer a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent);
}

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

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.footer-logo {
  height: 2rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand h3 {
  color: #f9fafb;
  margin: 0;
}

.footer-brand p {
  color: #d1d5db;
  margin: 0;
}

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

.footer-right {
  display: flex;
  justify-content: flex-end;
}

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

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

.footer-column a {
  display: block;
  margin-bottom: 0.5rem;
}

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

.legal-links {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #374151;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #d1d5db;
}

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

/* Services Page Styles */
.service-section {
  background: var(--background);
  padding: 3rem 0;
}

.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: 1.5rem;
}

.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 {
  padding: 0.5rem 0;
  color: var(--muted-foreground);
}

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

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

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

.service-pricing p {
  color: var(--muted-foreground);
  margin: 0;
}

.service-image {
  border-radius: var(--radius);
  overflow: hidden;
}

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

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

.category-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  text-align: center;
  position: relative;
  color: var(--card-foreground);
}

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

.category-badge {
  position: absolute;
  top: -10px;
  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;
}

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

.category-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

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

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

/* About Page Styles */
.mission-section {
  background: var(--background);
  text-align: center;
  padding: 5rem 0;
}

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

.mission-statement {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.story-section {
  background: var(--background);
}

.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 {
  border-radius: var(--radius);
  overflow: hidden;
}

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

.values-section {
  background: var(--background);
}

.value-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  color: var(--card-foreground);
}

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

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

.expertise-section {
  background: var(--background);
}

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

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

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

.expertise-areas {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

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

.expertise-image {
  border-radius: var(--radius);
  overflow: hidden;
}

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

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

.approach-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  text-align: center;
  color: var(--card-foreground);
}

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

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

.achievements-section {
  background: var(--background);
}

.achievement-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--card-foreground);
}

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

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

.location-section {
  background: var(--background);
}

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

.location-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.location-item strong {
  color: var(--foreground);
  display: block;
  margin-bottom: 0.5rem;
}

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

.location-image {
  border-radius: var(--radius);
  overflow: hidden;
}

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

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

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

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

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

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

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

.contact-info-item a {
  color: var(--primary);
  font-weight: 600;
}

.technonovaer_contact-form-section {
  background: var(--background);
}

.technonovaer_contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.technonovaer_contact-form-header p {
  color: var(--muted-foreground);
}

.technonovaer_contact-form {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-custom {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--input);
  border-radius: 0.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-details-section {
  background: var(--background);
}

.contact-details-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(12px);
  text-align: center;
  color: var(--card-foreground);
}

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

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

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

.why-contact-section {
  background: var(--background);
}

.benefit-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  text-align: center;
  color: var(--card-foreground);
}

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

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

.faq-section {
  background: var(--background);
}

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

.faq-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  color: var(--card-foreground);
}

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

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

/* Pricing Page Styles */
.pricing-section {
  background: var(--background);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.pricing-features h4 {
  color: var(--card-foreground);
  margin: 1.5rem 0 1rem;
  font-size: 1rem;
}

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

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

.feature-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.pricing-footer {
  margin-top: auto;
  padding-top: 1rem;
}

.feature-comparison {
  background: var(--background);
}

.comparison-table {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  background: var(--muted);
  font-weight: 600;
  color: var(--foreground);
}

.comparison-header > div {
  padding: 1rem;
  border-right: 1px solid var(--border);
}

.comparison-header > div:last-child {
  border-right: none;
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  color: var(--card-foreground);
}

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

.comparison-row > div {
  padding: 1rem;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-row > div:first-child {
  justify-content: flex-start;
  font-weight: 500;
}

.comparison-row > div:last-child {
  border-right: none;
}

.addons-section {
  background: var(--background);
}

.addon-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  text-align: center;
  color: var(--card-foreground);
}

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

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

.addon-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.pricing-faq {
  background: var(--background);
}

.implementation-section {
  background: var(--background);
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
  }
  
  .comparison-header > div,
  .comparison-row > div {
    border-right: none;
    border-bottom: 1px solid var(--border);
    justify-content: flex-start;
  }
}

/* Portfolio Page Styles */
.portfolio-showcase {
  background: var(--background);
}

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

.portfolio-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  overflow: hidden;
  color: var(--card-foreground);
  
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.portfolio-image {
  position: relative;
  overflow: hidden;
}

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

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
}

.portfolio-content {
  padding: 1.5rem;
}

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

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

.portfolio-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.result-item {
  text-align: center;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.result-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

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

.case-study-highlights {
  background: var(--background);
}

.highlight-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  color: var(--card-foreground);
}

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

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

.highlight-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.highlight-card li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.5rem;
}

.industry-expertise {
  background: var(--background);
}

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

.expertise-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  text-align: center;
  color: var(--card-foreground);
}

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

.expertise-card p {
  color: var(--muted-foreground);
  margin: 0;
}

.success-metrics {
  background: var(--background);
}

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

.metric-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  text-align: center;
  color: var(--card-foreground);
}

.metric-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin: 1rem 0;
}

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

.metric-card p {
  color: var(--muted-foreground);
  margin: 0;
  font-size: 0.875rem;
}

.project-process {
  background: var(--background);
}

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

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

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