/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Ontobox brand colors */
  --primary: #4abaa5;
  --secondary: #5d5d5d;
  --background: #fafafa;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --accent: #f0f9ff;
  --radius: 12px;
}

.dark {
  --background: #0a0a0a;
  --foreground: #fafafa;
  --card: #1a1a1a;
  --card-foreground: #fafafa;
  --muted: #262626;
  --muted-foreground: #a3a3a3;
  --border: #404040;
  --accent: #1e293b;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 229, 229, 0.4);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo {
  height: 64px;
  width: auto;
}

.logo-sm {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: #3da892;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(74, 186, 165, 0.2);
}

.btn-outline:hover {
  background: rgba(74, 186, 165, 0.1);
}

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

.btn-ghost:hover {
  background: rgba(74, 186, 165, 0.1);
}

.btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(2px);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.geometric-bg {
  background: radial-gradient(circle at 20% 80%, rgba(74, 186, 165, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(93, 93, 93, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(74, 186, 165, 0.05) 0%, transparent 50%);
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(74, 186, 165, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 186, 165, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(74, 186, 165, 0.1);
  color: var(--primary);
  border: 1px solid rgba(74, 186, 165, 0.2);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(74, 186, 165, 0.2);
}

.badge-secondary {
  background: rgba(74, 186, 165, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  margin-top: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

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

/* Text effects */
.text-gradient {
  background: linear-gradient(135deg, #4abaa5, #5d5d5d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(245, 245, 245, 0.2);
}

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

.section-header-centered {
  text-align: center;
  max-width: 64rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-wrap: balance;
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.faq-grid {
  max-width: 64rem;
  margin: 0 auto;
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 229, 229, 0.4);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.card-large {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 229, 229, 0.4);
  border-radius: var(--radius);
  padding: 2rem;
}

.card-content {
  padding: 1.5rem;
}

.card-centered {
  text-align: center;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-title-lg {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-title-sm {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Icons */
.icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(74, 186, 165, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper-lg {
  width: 64px;
  height: 64px;
  background: rgba(74, 186, 165, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.icon-lg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.step-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* Lists */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.feature-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.feature-list-large {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.feature-list-large li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.check-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Text styles */
.text-large {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  text-wrap: pretty;
}

/* Pilot section */
.pilot-content {
  margin-bottom: 2rem;
}

.pilot-item {
  margin-bottom: 1.5rem;
}

.pilot-label {
  font-size: 1.125rem;
  color: var(--foreground);
  display: block;
  margin-bottom: 0.5rem;
}

.pilot-description {
  color: var(--muted-foreground);
  margin: 0;
}

/* Button groups */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(229, 229, 229, 0.4);
  padding: 3rem 0;
  background: rgba(245, 245, 245, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(229, 229, 229, 0.4);
  text-align: center;
}

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

/* Animations */
.logo-float {
  animation: logoFloat 8s ease-in-out infinite;
}

.logo-glow {
  filter: drop-shadow(0 0 20px rgba(74, 186, 165, 0.3));
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out forwards;
  opacity: 0;
  transform: scale(0.9);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(74, 186, 165, 0.1);
  border-color: rgba(74, 186, 165, 0.4);
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(1deg);
  }
  50% {
    transform: translateY(-5px) rotate(0deg);
  }
  75% {
    transform: translateY(-15px) rotate(-1deg);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Process Slider */
.process-slider {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 229, 229, 0.4);
  box-shadow: 0 10px 40px rgba(74, 186, 165, 0.1);
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.process-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(74, 186, 165, 0.1);
  color: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 186, 165, 0.2);
}

.slider-btn:hover {
  background: rgba(74, 186, 165, 0.2);
  transform: scale(1.05);
}

.slider-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.slider-btn svg {
  width: 20px;
  height: 20px;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border: none;
  background: rgba(74, 186, 165, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(74, 186, 165, 0.6);
}

.slide-counter {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 3rem 0;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .slide {
    padding: 1rem;
  }

  .slider-controls {
    gap: 1rem;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slider-btn svg {
    width: 16px;
    height: 16px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #fafafa;
    --card: #1a1a1a;
    --card-foreground: #fafafa;
    --muted: #262626;
    --muted-foreground: #a3a3a3;
    --border: #404040;
    --accent: #1e293b;
  }

  .nav {
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(64, 64, 64, 0.4);
  }

  .section-alt {
    background: rgba(38, 38, 38, 0.2);
  }

  .card {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(64, 64, 64, 0.4);
  }

  .card-large {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(64, 64, 64, 0.4);
  }

  .footer {
    border-top: 1px solid rgba(64, 64, 64, 0.4);
    background: rgba(38, 38, 38, 0.1);
  }

  .footer-bottom {
    border-top: 1px solid rgba(64, 64, 64, 0.4);
  }

  .slider-container {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(64, 64, 64, 0.4);
  }

  .process-image {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
}

/* COOKIES */
.cookies {
  z-index: 10000; 
  position: fixed; 
  bottom: 0; 
  background: #FFFFFF;
  opacity: 0.8;    
  padding: 1rem 2rem;
  font-size: 1rem;
  border: 2px solid #4abaa5;
  border-radius: 1rem;
  margin: 2rem 5rem;
  width: -webkit-fill-available;
  width: -moz-available;
}

.cookies p {color: #737373; display:inline;line-height: 2.5;}
.cookies a {font-weight: bold; color: #4abaa5}
.cookie_button{
  cursor: pointer;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: bold;
  margin-left: 2rem;
  text-align: center;
  background: #4abaa5;
  float: right;
}