/* CSS Variables */
: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: 'Roboto', sans-serif;
  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Hidden Class */
.hidden {
  display: none !important;
}

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

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

p {
  margin: 0 0 1rem 0;
  color: var(--foreground);
}

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

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

/* Button Styles */
.btn-primary, .btn-outline, .btn-hero, .btn-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 2px solid var(--primary);
}

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

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

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

.btn-hero {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 2px solid var(--primary);
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-hero:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-cta {
  background: transparent;
  color: var(--primary-foreground);
  border: 2px solid var(--primary-foreground);
}

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

/* Navigation */
.header {
  position: relative;
  z-index: 1000;
}

.navbar {
  background: transparent;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

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

.nav-brand .logo-img {
  height: 40px;
  max-width: 200px;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--foreground);
  margin: 3px 0;
  transition: 0.3s;
}

.logichubnovaex_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--background);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logichubnovaex_mobile-menu-content {
  text-align: center;
}

.logichubnovaex_mobile-menu-link {
  display: block;
  padding: 1rem 0;
  font-size: 1.5rem;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.logichubnovaex_mobile-menu-link:hover {
  color: var(--secondary);
}

/* Hero Section */
.hero {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 7rem 0;
}

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

.hero-text {
  padding-right: 2rem;
}

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

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

.hero-image {
  text-align: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

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

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

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: var(--muted-foreground);
}

/* 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;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-text {
    padding-right: 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
}

/* Icon Styles */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }

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

/* Cards */
.feature-card, .testimonial-card, .service-card, .pricing-card, .team-card, .portfolio-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover, .service-card:hover, .pricing-card:hover, .team-card:hover, .portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature-card h3, .service-card h3, .pricing-card h3, .team-card h3, .portfolio-card h3 {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

.feature-card p, .service-card p, .pricing-card p, .team-card p, .portfolio-card p {
  color: var(--card-foreground);
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

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

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

/* Partner Section */
.partner-section {
  background: var(--background);
}

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

.partner-item {
  text-align: center;
  padding: 2rem;
}

.partner-item p {
  margin-top: 1rem;
  color: var(--foreground);
}

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

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

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

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
}

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

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

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

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

.testimonial-content {
  text-align: center;
}

.testimonial-author {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

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

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

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

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

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

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

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

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

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

/* Services Page */
.page-header {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0;
  text-align: center;
}

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

.page-header p {
  color: var(--primary-foreground);
  .9;
}

.services-overview {
  background: var(--background);
}

.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 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.service-content p {
  color: var(--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(--foreground);
  position: relative;
  padding-left: 1.5rem;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

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

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

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

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

.pricing-card.featured:before {
  content: "Most Popular";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

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

.pricing-card li {
  padding: 0.5rem 0;
  color: var(--card-foreground);
  position: relative;
  padding-left: 1.5rem;
}

.pricing-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Team Page */
.team-section, .team-grid-section {
  background: var(--background);
}

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

.team-avatar, .member-avatar {
  text-align: center;
  margin-bottom: 1.5rem;
}

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

.team-role, .member-role {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

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

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

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

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-image {
  margin-bottom: 1.5rem;
}

.portfolio-img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.category-tag, .feature-tag {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: calc(var(--radius) / 2);
  font-size: 0.875rem;
}

.portfolio-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.feature-tag {
  background: var(--muted);
  color: var(--muted-foreground);
}

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

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

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

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

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

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

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

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

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

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

.contact-details {
  space-y: 1.5rem;
}

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

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

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

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

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

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

.additional-contact {
  background: var(--background);
}

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

.contact-method {
  text-align: center;
  padding: 2rem;
}

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

.contact-method p {
  color: var(--foreground);
}

/* Success Message */
.success-message {
  background: var(--card);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

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

.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;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question h3 {
  margin: 0;
  color: var(--foreground);
  font-size: 1.25rem;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: 1.5rem;
  color: var(--foreground);
  line-height: 1.6;
}

.faq-cta {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

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

.faq-cta p {
  color: var(--primary-foreground);
  margin-bottom: 2rem;
  .9;
}

/* Legal Content */
.legal-content {
  background: var(--background);
  padding: 4rem 0;
}

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

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

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

.legal-text ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

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

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
}

.cookie-table th,
.cookie-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--card-foreground);
}

.cookie-table th {
  background: var(--muted);
  font-weight: 600;
}

/* Cookie Banner */
.logichubnovaex_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  z-index: 1000;
}

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

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

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

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

.logichubnovaex_cookie-banner-actions button {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

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

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

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

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

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

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

.logichubnovaex_cookie-toggle-row p {
  margin: 0;
  color: var(--card-foreground);
}

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

.logichubnovaex_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.logichubnovaex_cookie-modal-actions button {
  flex: 1;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

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

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

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

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

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

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

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

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

.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-bottom p {
  margin: 0;
  color: var(--foreground);
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-content,
  .contact-content,
  .service-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .logichubnovaex_cookie-banner-inner {
    flex-direction: column;
    gap: 1rem;
  }
  
  .logichubnovaex_cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
  
  .logichubnovaex_cookie-modal-actions {
    flex-direction: column;
  }
  
  section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  
  .container {
    padding: 0 0.75rem;
  }
}

/* Form Validation States */
.form-input:invalid {
  border-color: var(--accent);
}

.form-input:valid {
  border-color: var(--primary);
}

/* Loading States */
.btn-primary:disabled,
.btn-outline:disabled {
  .6;
  cursor: not-allowed;
}

/* Focus States */
.btn-primary:focus,
.btn-outline:focus,
.form-input:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .logichubnovaex_cookie-banner,
  .logichubnovaex_cookie-modal {
    display: none;
  }
  
  body {
    color: black;
    background: white;
  }
  
  .container {
    max-width: none;
    margin: 0;
    padding: 0;
  }
}

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