/* CSS Variables */
:root {
  --primary: #2563eb;
  --primary-foreground: #FFFFFF;
  --secondary: #0740BB;
  --secondary-foreground: #FFFFFF;
  --accent: #F59F0A;
  --accent-foreground: #111827;
  --background: #0F172A;
  --foreground: #F8FAFC;
  --card: #1E293B;
  --card-foreground: #F8FAFC;
  --border: #334155;
  --input: #334155;
  --ring: #2563eb;
  --muted: #1E293B;
  --muted-foreground: #94A3B8;
  --font-family: 'Inter', sans-serif;
  --radius: 1rem;
}

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

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

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

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

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

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(--accent);
}

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

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

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  color: var(--primary-foreground);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--primary);
  padding: 0.875rem 2rem;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-2px);
}

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

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

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

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

/* Icons */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  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;
}

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

/* 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);
}

.navbar.transparent {
  background: rgba(15, 23, 42, 0.8);
}

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

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

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

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

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

.thetawvexis_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--background);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.thetawvexis_mobile-menu-content a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  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;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(7, 64, 187, 0.8));
}

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

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

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

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  .9;
}

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

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

/* Page Header */
.page-header {
  padding: 10rem 0 4rem 0;
  background: var(--background);
  text-align: center;
}

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

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

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

/* Section Styles */
section {
  padding: 7rem 0;
  background: var(--background);
}

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

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

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

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

.pricing-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  transform: scale(1.05);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 2rem;
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0.25rem;
}

.period {
  font-size: 1rem;
  color: var(--muted-foreground);
}

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

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

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

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

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

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

/* Features */
.features {
  background: var(--background);
}

.feature-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.feature-image {
  height: 200px;
  overflow: hidden;
}

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

.feature-content {
  padding: 2rem;
}

.feature-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

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

.advantage-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

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

.about-text h2 {
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

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

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

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

.stat-item {
  padding: 2rem;
}

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

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

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

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

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

.step-item {
  text-align: center;
  position: relative;
}

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

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

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

/* Team Preview */
.team-preview {
  background: var(--background);
}

.team-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.team-avatar {
  margin-bottom: 1.5rem;
}

.team-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

.team-cta {
  text-align: center;
  margin-top: 3rem;
}

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

.cta-content {
  position: relative;
  padding: 4rem 0;
  text-align: center;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(7, 64, 187, 0.9));
}

.cta-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  color: var(--primary-foreground);
}

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

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

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

/* Service Pages */
.service-categories {
  background: var(--background);
}

.category-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

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

.service-row {
  margin-bottom: 4rem;
}

.service-row:last-child {
  margin-bottom: 0;
}

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

.service-row.reverse .service-content {
  grid-template-columns: 1fr 1fr;
}

.service-row.reverse .service-text {
  order: 2;
}

.service-row.reverse .service-image {
  order: 1;
}

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

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

.service-pricing {
  margin: 2rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

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

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

@media (max-width: 768px) {
  .service-content {
    grid-template-columns: 1fr;
  }
  
  .service-row.reverse .service-text,
  .service-row.reverse .service-image {
    order: initial;
  }
}

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

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

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

/* Implementation Process */
.implementation-process {
  background: var(--background);
}

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

.timeline-item {
  text-align: center;
  position: relative;
}

.timeline-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
}

.timeline-content h3 {
  margin-bottom: 1rem;
}

.timeline-duration {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 1rem;
  display: block;
}

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

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

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

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

.mission-content {
  display: grid;
  gap: 4rem;
}

.mission-statement {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.mission-statement h3 {
  font-size: 2rem;
  margin: 1rem 0;
}

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

.value-card {
  background: var(--card);
  color: var(--card-foreground);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

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

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

.team-member {
  background: var(--card);
  color: var(--card-foreground);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.team-member:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

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

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

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

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

.achievement-item {
  background: var(--card);
  color: var(--card-foreground);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.achievement-item:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.company-stats {
  background: var(--background);
}

.technology-approach {
  background: var(--background);
}

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

.approach-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.approach-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

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

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

.contact-info-item {
  background: var(--card);
  color: var(--card-foreground);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.contact-info-content h3 {
  margin: 1rem 0 0.5rem 0;
}

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

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

.thetawvexis_contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

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

.thetawvexis_contact-form {
  background: var(--card);
  color: var(--card-foreground);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
}

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

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

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

.form-input {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--input);
  color: var(--foreground);
  font-family: var(--font-family);
  transition: border-color 0.3s ease;
}

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

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

.success-message {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

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

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

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

.contact-option {
  background: var(--card);
  color: var(--card-foreground);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-option:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.business-info {
  background: var(--background);
}

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

.business-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.business-info-item h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.business-hours h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.hours-list {
  margin-bottom: 1rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.hours-item:last-child {
  border-bottom: none;
}

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

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .business-info-content,
  .business-info-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

.legal-updated {
  color: var(--muted-foreground);
  font-size: 1rem;
}

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

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.legal-section h3 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem 0;
  color: var(--foreground);
}

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

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

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

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

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

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

.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 tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 2rem;
  }
}

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

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

.thetawvexis_cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

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

.thetawvexis_cookie-banner-actions button {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  white-space: nowrap;
}

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

.thetawvexis_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

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

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

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

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

.thetawvexis_cookie-toggle-row input[type="checkbox"] {
  margin-left: 1rem;
}

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

.text-lg {
  font-size: 1.125rem;
}

.font-semibold {
  font-weight: 600;
}

.mb-4 {
  margin-bottom: 1rem;
}

.font-medium {
  font-weight: 500;
}

.text-sm {
  font-size: 0.875rem;
}

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

@media (max-width: 768px) {
  .thetawvexis_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .thetawvexis_cookie-banner-actions {
    justify-content: center;
  }
  
  .thetawvexis_cookie-modal-content {
    margin: 1rem;
    width: auto;
  }
  
  .thetawvexis_cookie-toggle-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .thetawvexis_cookie-toggle-row input[type="checkbox"] {
    margin-left: 0;
  }
  
  .thetawvexis_cookie-modal-actions {
    justify-content: center;
  }
}

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

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

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

.footer-address,
.footer-reg,
.footer-vat,
.footer-hours {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

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

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

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

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

.footer-policies {
  display: flex;
  gap: 2rem;
}

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-policies {
    justify-content: 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 */
#thetawvexis_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#thetawvexis_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#thetawvexis_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
