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

:root {
  --color-white: #ffffff;
  --color-red: #ff0000;
  --color-burgundy: #800000;
  --color-navy: #062a63;
  --color-gray: #e6eaf0;
  --color-coral: #ffcccb;
  --color-text: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.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: translateY(-2px);
}

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

.nav-link {
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-red);
  transition: width 0.3s ease;
}

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

.nav-link:hover::after {
  width: 100%;
}

.cta-btn {
  background-color: var(--color-burgundy);
  color: var(--color-white);
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.cta-btn:hover {
  background-color: var(--color-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

.cta-btn:focus {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

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

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

.hamburger line {
  transition: all 0.3s ease;
}

.hamburger.active .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line2 {
  opacity: 0;
}

.hamburger.active .line3 {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  z-index: 999;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

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

.mobile-nav-link {
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 24px;
  transition: color 0.3s ease;
}

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

.mobile-cta {
  margin-top: 20px;
}

.hero {
  padding-top: 160px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

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

.hero-text h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-navy);
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero-text h1::first-line {
  color: var(--color-red);
}

.hero-text p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 32px;
  opacity: 0.9;
}

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

.grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(90deg, rgba(6, 42, 99, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(6, 42, 99, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

.grid-lines::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 60px 60px;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

.features {
  padding: 120px 0;
  background-color: var(--color-white);
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gray), transparent);
}

.features h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 80px;
}

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

.feature-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray);
  padding: 40px 32px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

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

.feature-card:hover {
  border-color: var(--color-red);
  box-shadow: 0 8px 24px rgba(6, 42, 99, 0.08);
  transform: translateY(-4px);
}

.feature-icon {
  margin-bottom: 24px;
}

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

.floating-delay-1 {
  animation-delay: 0.5s;
}

.floating-delay-2 {
  animation-delay: 1s;
}

.floating-delay-3 {
  animation-delay: 1.5s;
}

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

.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-red);
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  opacity: 0.85;
}

.testimonials {
  padding: 120px 0;
  background-color: var(--color-white);
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gray), transparent);
}

.testimonials h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 80px;
}

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

.testimonial-card {
  background-color: var(--color-white);
  border-left: 3px solid var(--color-red);
  padding: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease;
}

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

.testimonial-card:hover {
  border-left-color: var(--color-burgundy);
  box-shadow: 0 8px 24px rgba(6, 42, 99, 0.06);
}

.testimonial-content {
  margin-bottom: 24px;
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
}

.testimonial-author span {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.7;
}

.pricing {
  padding: 120px 0;
  background-color: var(--color-white);
  position: relative;
}

.pricing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gray), transparent);
}

.pricing h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 80px;
}

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

.pricing-card {
  background-color: var(--color-white);
  border: 2px solid var(--color-navy);
  padding: 48px 32px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease;
}

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

.pricing-card:hover {
  border-color: var(--color-red);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(6, 42, 99, 0.1);
}

.pricing-card.featured {
  border-color: var(--color-red);
  border-width: 3px;
}

.featured-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-red);
  color: var(--color-white);
  padding: 6px 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-header {
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.pricing-header p {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.7;
}

.pricing-price {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-gray);
}

.pricing-price .price {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-red);
}

.pricing-price .period {
  font-size: 16px;
  color: var(--color-text);
  opacity: 0.7;
}

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

.pricing-features li {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-weight: 700;
}

.contact {
  padding: 120px 0;
  background-color: var(--color-white);
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gray), transparent);
}

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

.contact-content h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.contact-content p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 40px;
  opacity: 0.9;
}

.footer {
  padding: 60px 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-gray);
}

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

.footer-link {
  color: var(--color-navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.cookie-notice {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-top: 2px solid var(--color-navy);
  padding: 20px 0;
  z-index: 1001;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  transition: bottom 0.4s ease;
}

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

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

.cookie-content p {
  font-size: 14px;
  color: var(--color-text);
  margin: 0;
}

.cookie-accept {
  background-color: var(--color-burgundy);
  color: var(--color-white);
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  white-space: nowrap;
}

.cookie-accept:hover {
  background-color: var(--color-red);
}

.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

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

.legal-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-red);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content section {
  margin-bottom: 32px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 16px;
}

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

.legal-content li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.legal-content strong {
  color: var(--color-navy);
  font-weight: 600;
}

.legal-updated {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-gray);
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.7;
}

.back-link {
  color: var(--color-navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--color-red);
}

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

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

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

  .hero-text p {
    font-size: 18px;
  }

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

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .cta-btn:not(.mobile-cta):not(.cta-large) {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

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

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

  .hero-visual {
    height: 300px;
  }

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

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

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

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

  .cookie-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

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

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

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

  .hero-text h1 {
    font-size: 26px;
  }

  .cta-large {
    padding: 14px 28px;
    font-size: 15px;
  }

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

  .pricing-price .price {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
