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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #062a63;
  background: #ffffff;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e6eaf0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

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

.nav a {
  color: #062a63;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff0000;
  transition: width 0.3s ease;
}

.nav a:hover {
  color: #ff0000;
}

.nav a:hover::after {
  width: 100%;
}

.cta-button {
  background: #800000;
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.cta-button:hover {
  background: #ff0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.3);
}

.cta-button:focus {
  outline: 2px solid #ff0000;
  outline-offset: 2px;
}

.cta-button.large {
  padding: 16px 40px;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 24px;
}

.mobile-nav a {
  color: #062a63;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid #e6eaf0;
}

main {
  margin-top: 80px;
}

.hero {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  color: #ff0000;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.6;
  color: #062a63;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-decoration {
  position: relative;
  height: 400px;
}

.grid-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, #e6eaf0 1px, transparent 1px),
    linear-gradient(0deg, #e6eaf0 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

.features {
  padding: 100px 0;
  background: #ffffff;
}

.features h2 {
  font-size: 42px;
  font-weight: 700;
  color: #ff0000;
  text-align: center;
  margin-bottom: 80px;
}

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

.feature-card {
  padding: 40px;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: #800000;
  box-shadow: 0 8px 24px rgba(128, 0, 0, 0.1);
}

.feature-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.feature-icon.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: #062a63;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #062a63;
}

.testimonials {
  padding: 100px 0;
  background: #fafbfc;
}

.testimonials h2 {
  font-size: 42px;
  font-weight: 700;
  color: #ff0000;
  text-align: center;
  margin-bottom: 80px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
}

.testimonial-card {
  padding: 40px;
  background: #ffffff;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.testimonial-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #800000, #ff0000);
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #062a63;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #062a63;
  margin-bottom: 4px;
}

.testimonial-author span {
  display: block;
  font-size: 14px;
  color: #800000;
}

.pricing {
  padding: 100px 0;
  background: #ffffff;
}

.pricing h2 {
  font-size: 42px;
  font-weight: 700;
  color: #ff0000;
  text-align: center;
  margin-bottom: 80px;
}

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

.pricing-card {
  padding: 40px;
  border: 2px solid #0a3d91;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.pricing-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 61, 145, 0.15);
}

.pricing-card.featured {
  border-color: #800000;
  background: #fffafa;
}

.featured-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #800000;
  color: #ffffff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: #062a63;
  margin-bottom: 12px;
}

.pricing-description {
  font-size: 14px;
  color: #062a63;
  margin-bottom: 24px;
}

.pricing-amount {
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price {
  font-size: 42px;
  font-weight: 700;
  color: #ff0000;
}

.period {
  font-size: 16px;
  color: #062a63;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid #e6eaf0;
  font-size: 15px;
  color: #062a63;
}

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

.contact {
  padding: 100px 0;
  background: #fafbfc;
}

.contact-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-content h2 {
  font-size: 42px;
  font-weight: 700;
  color: #ff0000;
  margin-bottom: 24px;
}

.contact-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #062a63;
  margin-bottom: 40px;
}

.footer {
  padding: 40px 0;
  background: #ffffff;
  border-top: 1px solid #e6eaf0;
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.footer-content a {
  color: #062a63;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: #ff0000;
}

.cookie-notice {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 2px solid #800000;
  padding: 24px 0;
  z-index: 1001;
  transition: bottom 0.3s ease;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}

.cookie-notice.visible {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-content p {
  font-size: 14px;
  color: #062a63;
  margin: 0;
}

.cookie-accept {
  background: #800000;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  flex-shrink: 0;
}

.cookie-accept:hover {
  background: #ff0000;
}

.legal-page {
  padding: 80px 0;
  min-height: calc(100vh - 240px);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: #ff0000;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: #062a63;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #062a63;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  font-size: 16px;
  line-height: 1.7;
  color: #062a63;
  margin-bottom: 8px;
}

.legal-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e6eaf0;
}

.legal-footer p {
  font-size: 14px;
  color: #800000;
  margin-bottom: 16px;
}

.back-link {
  display: inline-block;
  color: #800000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #ff0000;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .hero {
    padding: 80px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-decoration {
    height: 300px;
  }

  .features,
  .testimonials,
  .pricing,
  .contact {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .nav {
    display: none;
  }

  .header-content .cta-button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .features h2,
  .testimonials h2,
  .pricing h2,
  .contact-content h2 {
    font-size: 32px;
  }

  .features,
  .testimonials,
  .pricing,
  .contact {
    padding: 60px 0;
  }

  .features-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-accept {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .legal-content h1 {
    font-size: 32px;
  }

  .legal-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .features h2,
  .testimonials h2,
  .pricing h2,
  .contact-content h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .feature-card,
  .testimonial-card,
  .pricing-card {
    padding: 24px;
  }
}
