:root {
  --bg-color: #050505;
  --text-color: #ffffff;
  --text-muted: #a0a0a0;
  --primary-color: #00e5ff;
  --primary-hover: #00b8cc;
  --secondary-color: #7000ff;
  --accent-color: #121212;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --container-width: 1200px;
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-color);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  transform: translateY(-2px);
}

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

.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 30px;
}

/* Header */
header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

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

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: var(--text-color);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-left: 10px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.lang-btn:hover {
  border-color: var(--primary-color);
  background: rgba(0, 229, 255, 0.1);
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  min-width: 120px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 5px 0;
}

.lang-switcher:hover .lang-dropdown {
  display: block;
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.lang-dropdown a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #a0a0a0);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Sections General */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.features-grid.grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  transition: transform 0.3s ease;
}

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

.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

/* Booking Form */
.booking-section {
  padding-bottom: 20px;
  /* Reduced from 80px per user request */
}

/* Pricing Page Styles */
.pricing-country {
  margin-bottom: 80px;
}

.pricing-country h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.price-table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

th,
td {
  text-align: left;
  padding: 20px;
  border-bottom: 1px solid var(--glass-border);
}

th {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Booking Form */
.booking-steps {
  max-width: 800px;
  margin: 0 auto;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  position: relative;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--glass-border);
  z-index: -1;
  transform: translateY(-50%);
}

.step-dot {
  width: 40px;
  height: 40px;
  background: var(--bg-color);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s;
}

/* Match HTML class used in booking.html */
.step-indicator {
  width: 40px;
  height: 40px;
  background: var(--bg-color);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
  /* Be above the line */
}

.step-indicator.active {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #000;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.step-indicator.completed {
  border-color: var(--primary-color);
  background: rgba(0, 229, 255, 0.2);
  color: var(--primary-color);
}

/* Spinner for Loading State */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  border-top-color: #000;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.step-dot.active {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #000;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.option-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 20px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.2s;
  margin-bottom: 10px;
}

.option-card:hover,
.option-card.selected {
  border-color: var(--primary-color);
  background: rgba(0, 229, 255, 0.05);
}

.checkbox-visual {
  width: 20px;
  height: 20px;
  border: 2px solid var(--text-muted);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-card.selected .checkbox-visual {
  border-color: var(--primary-color);
  background: var(--primary-color);
}

.checkbox-visual::after {
  content: '✓';
  color: #000;
  font-size: 14px;
  opacity: 0;
}

.option-card.selected .checkbox-visual::after {
  opacity: 1;
}

/* Calculator Styles */
.calculator-section {
  max-width: 800px;
  margin: 0 auto 60px;
}

.calc-card {
  background: rgba(18, 18, 18, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.calc-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-bottom: 1px solid var(--glass-border);
}

.calc-body {
  padding: 30px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

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

.calc-control {
  margin-bottom: 20px;
}

.calc-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calc-input,
.calc-select {
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

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

.calc-slider-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.calc-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  height: 6px;
  background: var(--glass-border);
  border-radius: 3px;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-toggle-group {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 4px;
}

.calc-toggle-btn {
  flex: 1;
  padding: 8px;
  text-align: center;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s;
}

.calc-toggle-btn.active {
  background: var(--glass-border);
  color: var(--primary-color);
  font-weight: 600;
}

.calc-result-box {
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.calc-result-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

.calc-result-sub {
  font-size: 1rem;
  color: #fff;
  margin-top: 5px;
}

.calc-warning {
  color: #ff4d4d;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
  align-items: center;
  gap: 5px;
}

.calc-fix-btn {
  background: rgba(255, 77, 77, 0.2);
  border: 1px solid #ff4d4d;
  color: #ff4d4d;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 5px;
}

.summary-box {
  background: rgba(0, 0, 0, 0.4);
  padding: 15px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 15px;
  white-space: pre-wrap;
  display: none;
}

/* Tooltip Styles */
.tooltip-trigger {
  color: var(--primary-color);
  cursor: help;
  position: relative;
  text-decoration: underline;
  text-decoration-style: dotted;
}

.tooltip-content {
  visibility: hidden;
  width: 350px;
  background-color: #1a1a1a;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 15px;
  position: absolute;
  z-index: 100;
  bottom: 125%;
  /* Position above */
  left: 50%;
  margin-left: -175px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.8rem;
  line-height: 1.4;
  border: 1px solid var(--glass-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  /* Prevent hovering getting stuck */
}

.tooltip-trigger:hover .tooltip-content {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  /* Enable clicking inside */
}

/* Custom Checkbox */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  user-select: none;
  margin-top: 15px;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  display: inline-block;
  position: relative;
}

.checkbox-container:hover input~.checkmark {
  background-color: rgba(255, 255, 255, 0.2);
}

.checkbox-container input:checked~.checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked~.checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid black;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0 20px;
  margin-top: 60px;
  background: rgba(0, 0, 0, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Align vertically center */
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-brand h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 100%;
}

.footer-links {
  flex: 2;
}

.footer-links h4 {
  display: none;
  /* Hide 'Navigation' label for cleaner look */
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  /* Center links in the middle space */
}

.footer-contact {
  flex: 1;
  text-align: right;
  min-width: 200px;
}

.footer-contact h4 {
  display: none;
  /* Hide 'Kontakt' label */
}

.footer-contact p {
  margin: 0;
  line-height: 1.4;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  /* Mobile Navigation */
  .hamburger {
    display: block;
    cursor: pointer;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: var(--header-height);
    right: -100%;
    height: calc(100vh - var(--header-height));
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: right 0.3s ease-in-out;
    padding: 20px;
    z-index: 999;
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.5rem;
    margin: 10px 0;
  }

  /* Lang Switcher adjustment for mobile */
  .lang-switcher {
    margin-top: 20px;
  }

  .lang-dropdown {
    top: auto;
    bottom: 100%;
    /* Show above the button in mobile view */
  }

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

  .footer-links ul {
    justify-content: center;
  }

  .footer-contact {
    text-align: center;
  }
}

/* Logo Grid Styles */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.logo-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  /* Square cards */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.logo-wrapper {
  padding: 30px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  min-height: 100vh;
  /* Force full viewport height */
  margin: 0;
  padding: 0;
  /* Remove padding to let flex center perfectly */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
  position: relative;
  /* For canvas */
  overflow: hidden;
  /* Contain canvas */
}

.hero .container {
  position: relative;
  z-index: 2;
  /* Above canvas */
}

.logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.3s ease;
}

/* Hover Effects */
.logo-card:hover {
  border-color: var(--primary-color);
}

.logo-card:hover .logo-wrapper {
  filter: blur(4px);
  opacity: 0.3;
}

.logo-card:hover .logo-img {
  filter: grayscale(0%) brightness(1);
}

.logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
  /* Darker background for readability */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.logo-card:hover .logo-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.logo-overlay h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.logo-overlay h3 a {
  color: var(--primary-color);
  text-decoration: none;
  position: relative;
  font-weight: 800;
}

.logo-overlay h3 a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.logo-overlay h3 a:hover::after {
  width: 100%;
}

.logo-overlay p {
  font-size: 0.9rem;
  color: #e0e0e0;
  line-height: 1.5;
  max-width: 95%;
}

/* Success Popup Modal */
.success-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.success-popup-content {
  background: #1a1a1a;
  border: 1px solid var(--primary-color);
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
  animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-popup-content h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.success-popup-content p {
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.success-popup-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.success-popup-content a:hover {
  text-decoration: underline;
}

.popup-close-btn {
  margin-top: 30px;
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
  padding: 10px 25px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.popup-close-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
/* FAQ Section Styles */
.faq-section {
    padding: 60px 0;
}

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

details.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

details.faq-item:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

details.faq-item[open] {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

summary.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none; /* Remove default marker */
    position: relative;
    padding-right: 50px;
    color: #fff;
    outline: none;
}

summary.faq-question::-webkit-details-marker {
    display: none;
}

summary.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 400;
    transition: transform 0.3s ease;
}

details.faq-item[open] summary.faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
    padding-top: 15px;
}
