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

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  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: -5px;
  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: #ff0000;
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

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

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

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

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

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-bottom: 60px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-nav a {
  color: #062a63;
  text-decoration: none;
  font-weight: 600;
  font-size: 24px;
  transition: color 0.3s ease;
}

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

.mobile-nav .cta-button {
  margin-top: 20px;
  width: 100%;
}

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

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

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

main {
  margin-top: 88px;
}

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

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #ff0000;
  letter-spacing: -0.02em;
}

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

.hero-grid {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: linear-gradient(90deg, #e6eaf0 1px, transparent 1px),
    linear-gradient(0deg, #e6eaf0 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
  pointer-events: none;
}

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

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

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

  .hero h1 {
    font-size: 36px;
  }

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

  .hero-grid {
    width: 100%;
    opacity: 0.1;
  }
}

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

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

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

.feature-card {
  padding: 40px;
  background: #ffffff;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

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

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

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

.feature-card:nth-child(2) .feature-icon.floating {
  animation-delay: 0.5s;
}

.feature-card:nth-child(3) .feature-icon.floating {
  animation-delay: 1s;
}

.feature-card:nth-child(4) .feature-icon.floating {
  animation-delay: 1.5s;
}

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

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

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

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

  .features h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }

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

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

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

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

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

.testimonial-card {
  padding: 48px;
  background: #ffffff;
  border-left: 3px solid #ff0000;
  border-radius: 8px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

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

.testimonial-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: #ffcccb;
  opacity: 0.2;
  border-radius: 8px 0 8px 0;
}

.testimonial-text {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
  color: #062a63;
  font-style: italic;
}

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

.testimonial-author strong {
  font-size: 16px;
  font-weight: 600;
  color: #062a63;
}

.testimonial-author span {
  font-size: 14px;
  color: #062a63;
  opacity: 0.6;
}

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

  .testimonials h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonial-card {
    padding: 32px;
  }
}

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

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

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

.pricing-card {
  padding: 48px;
  background: #ffffff;
  border: 2px solid #e6eaf0;
  border-radius: 12px;
  transition: all 0.4s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

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

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

.pricing-card.featured {
  border-color: #ff0000;
  border-width: 3px;
}

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

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

.pricing-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: #062a63;
  opacity: 0.7;
  min-height: 72px;
}

.pricing-price {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e6eaf0;
}

.price-amount {
  font-size: 48px;
  font-weight: 700;
  color: #ff0000;
  display: block;
  line-height: 1;
}

.price-currency {
  font-size: 16px;
  color: #062a63;
  opacity: 0.6;
  display: block;
  margin-top: 8px;
}

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

.pricing-features li {
  padding: 12px 0;
  font-size: 15px;
  color: #062a63;
  position: relative;
  padding-left: 28px;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff0000;
  font-weight: 700;
  font-size: 18px;
}

.pricing-card .cta-button {
  width: 100%;
  padding: 14px;
}

@media (max-width: 968px) {
  .pricing {
    padding: 60px 0;
  }

  .pricing h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact {
  padding: 100px 0;
  background: #fafbfc;
  text-align: center;
}

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

.contact p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #062a63;
  opacity: 0.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

  .contact h2 {
    font-size: 32px;
  }
}

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

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

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

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

.footer a:focus {
  outline: 2px solid #ff0000;
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

.cookie-notice {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 2px solid #ff0000;
  box-shadow: 0 -4px 24px rgba(6, 42, 99, 0.1);
  padding: 24px 0;
  z-index: 1000;
  transition: bottom 0.4s ease;
}

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

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

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

.cookie-accept {
  background: #ff0000;
  color: #ffffff;
  border: none;
  padding: 10px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

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

.cookie-accept:focus {
  outline: 2px solid #ff0000;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-accept {
    width: 100%;
  }
}

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

.content-page h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #ff0000;
}

.content-article {
  max-width: 900px;
}

.content-article h2 {
  font-size: 28px;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 20px;
  color: #062a63;
  padding-left: 20px;
  border-left: 4px solid #ff0000;
}

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

.content-article ul {
  margin: 20px 0 20px 40px;
}

.content-article li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: #062a63;
}

.content-article li strong {
  color: #800000;
}

.back-link {
  display: inline-block;
  margin-top: 60px;
  color: #ff0000;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: #800000;
  transform: translateX(-4px);
}

.back-link:focus {
  outline: 2px solid #ff0000;
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .content-page {
    padding: 40px 0 60px;
  }

  .content-page h1 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .content-article h2 {
    font-size: 24px;
    margin-top: 32px;
  }
}

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