:root {
  --primary: #D5001C;
  --primary-light: #FF5757;
  --red: #c80e13;
  --red-light: #ff3a22;
  --white: #ffffff;
  --dark: #111;
  --bg-light: #fafafa;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Helvetica', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
  line-height: 1.6;
}

section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: auto;
  position: relative;
  background: transparent;
}

h1, h2 {
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}

#vanta-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  padding: 2rem;
  background: rgba(0,0,0,0.4);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  font-size: 2.5rem;
  color: var(--white);
}

.hero-content p {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #eee;
}

.cta-buttons {
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
  border: none;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease-in-out;
}

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

.btn.secondary {
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--red);
}

.btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Features Section */
.features {
  padding: 8rem 0;
  background-color: var(--light-grey);
  position: relative;
  overflow: hidden;
}

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

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary);
}

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

.feature-card {
  background-color: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover::before {
  width: 100%;
  opacity: 0.05;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  line-height: 1.6;
  color: #666;
}

/* Pricing */
.pricing {
  padding: 8rem 0;
  position: relative;
}

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

.pricing-card {
  background-color: var(--white);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 20px;
  right: -35px;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 3rem;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-type {
  font-size: 1.25rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 1rem;
}

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

.pricing-price-subscription {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
  margin-left: 40%;
}

.pricing-price span {
  font-size: 1rem;
  color: #666;
}

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

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

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

/* Contact */
.contact {
  padding: 8rem 0;
  background-color: var(--light-grey);
  position: relative;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: var(--transition);
  font-size: 1rem;
}

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

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.btn-block {
  width: 100%;
  text-align: center;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

/* Footer */
footer {
  background: var(--red);
  padding: 2rem;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #c0c0c0;
  text-align: center;
  width: 100%;
  margin-left: -20px;
  margin-bottom: -20px;
}

.footer-bottom {
  position: relative;
  margin-top: 1rem;
}

.footer-right a {
  margin: 0 0.5rem;
  color: var(--white);
  text-decoration: none;
  position: relative;
  top: 5px;
}

.footer-right a:hover {
  text-decoration: underline;
}
  
  .swiss-icon {
    color: var(--white);
    margin-right: 0.5rem;
    font-size: 2rem;
  }

  .swiss-icon:hover {
    color: var(--red-light);
  }
  .swiss-icon:active {
    color: var(--red);
  }
  .swiss-icon:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(200, 14, 19, 0.5);
  }
  .swiss-icon:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(200, 14, 19, 0.5);
  }

/* Header */
#site-header {
  position: fixed;
  top: 0;
  left: -80px;
  width: 100%;
  z-index: 999;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease-in-out;
}

#site-header  {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: auto;
}

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


.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: auto;
}

#site-header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo-img {
  width: 50px;
  height: auto;
  position: relative;
  top: 6px;
}



.nav-links a {
  margin-left: 1.5rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.nav-links a.active {
  color: var(--red);
  font-weight: 700;
}

.language-select {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-light);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
}

.subscription-details {
  text-align: center;
}



/* Ensure body doesn't hide under fixed header */
body {
  padding-top: 80px;
}

@media (max-width: 480px) {
  #site-header {
    left: -5%; /* sovrascrive left: -80px */
    padding: 1rem;
  }

  .logo-text {
    display: none;
  }

  .language-select {
    top: 50px;
}
  .nav-links {
    display: none; /* Hide nav links on small screens */
  }

  .logo-container {
    justify-content: center;
  }

  .logo-img {
    width: 40px; /* Adjust logo size for mobile */
  }

  .hero-content h1 {
    font-size: 2rem; /* Adjust hero title for mobile */
  }

  .hero-content p {
    font-size: 1rem; /* Adjust hero subtitle for mobile */
  }
  .cta-buttons .btn{
    flex-direction: column; /* Stack buttons vertically */
  }
}