:root {
  --swiss-red: #E30613;
  --swiss-red-hover: #C2000D;
  --bg-color: #FFFFFF;
  --bg-secondary: #F7F9FC;
  --text-primary: #1C1E21;
  --text-secondary: #4A5568;
  --border-color: #E2E8F0;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.logo-cross {
  color: var(--swiss-red);
  font-size: 1.25rem;
  font-weight: 900;
}

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

.lang-switcher {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  margin-right: 0.5rem;
}

.lang-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lang-link:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.lang-link.active {
  color: var(--swiss-red);
  background: rgba(227, 6, 19, 0.1);
}

.nav-menu-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
  margin-right: 1.5rem;
}

.nav-menu-link:hover, .nav-menu-link.active {
  color: var(--swiss-red);
}

.login-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--bg-color);
  color: var(--swiss-red);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 1px solid var(--swiss-red);
}

.login-btn:hover {
  background: var(--swiss-red);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.15);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 10;
  animation: slideUp 0.8s ease-out;
}

.swiss-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.swiss-badge span {
  color: var(--swiss-red);
  font-weight: 800;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: var(--text-primary);
}

.text-red {
  color: var(--swiss-red);
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--swiss-red);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.2);
}

.primary-btn:hover {
  background: var(--swiss-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(227, 6, 19, 0.3);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.secondary-btn:hover {
  background: var(--border-color);
  transform: translateY(-2px);
}

/* Graphics / Animations */
.hero-graphics {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16/10;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow-hover);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
  background: white;
  color: var(--swiss-red);
}

.prev-btn {
  left: 1rem;
}

.next-btn {
  right: 1rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--swiss-red);
  transform: scale(1.2);
}

/* Features Section */
.features {
  background-color: var(--bg-secondary);
  padding: 6rem 0;
  border-top: 1px solid var(--border-color);
}

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

.features-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.features-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

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

.feature-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(227, 6, 19, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(227, 6, 19, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--swiss-red);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Stats Section */
.stats {
  background-color: var(--swiss-red);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

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

.stats h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 3rem;
  opacity: 0.9;
}

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

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.stat-text {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.8;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 5rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--swiss-red);
}

.footer-text {
  color: #9CA3AF;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #9CA3AF;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: white;
}

.footer-links-group h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links-group a {
  display: block;
  color: #9CA3AF;
  text-decoration: none;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links-group a:hover {
  color: white;
}

.footer-links-group p {
  color: #9CA3AF;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #6B7280;
  font-size: 0.85rem;
}

/* Legal Pages */
.legal-container {
  max-width: 800px;
  margin: 8rem auto 4rem;
  padding: 0 2rem;
  color: var(--text-primary);
}

.legal-container h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.legal-container h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-container p, .legal-container li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-container ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s ease;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(227, 6, 19, 0.1);
  border-left-color: var(--swiss-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }
  
  .hero-content {
    margin-bottom: 4rem;
  }
  
  .swiss-badge {
    margin: 0 auto 1.5rem;
  }
  
  .hero-content p {
    margin: 0 auto 2.5rem;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .hero-graphics {
    width: 100%;
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
  
  .footer-text {
    margin: 0 auto 1.5rem;
  }
}

@media (max-width: 600px) {
  .navbar-container {
    flex-direction: column;
    padding: 0 1rem;
  }
  
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .hero {
    padding-top: 10rem;
  }
}
