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

html {
  scroll-behavior: smooth;
}

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

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

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

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

.header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e6eaf0;
  padding: 24px 0;
}

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

.logo {
  display: flex;
  align-items: center;
}

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

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

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

.nav-link:focus {
  outline: 2px solid #1b6cff;
  outline-offset: 4px;
  border-radius: 2px;
}

.btn {
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn:focus {
  outline: 2px solid #1b6cff;
  outline-offset: 4px;
}

.btn-primary {
  background-color: #800000;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(128, 0, 0, 0.2);
}

.btn-primary:hover {
  background-color: #ff0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

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

.menu-toggle:focus {
  outline: 2px solid #1b6cff;
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 24px;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .btn-primary {
    display: none;
  }
}

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

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

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

.hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 48px;
  color: #062a63;
  font-weight: 400;
}

.btn-hero {
  background-color: #800000;
  color: #ffffff;
  padding: 16px 48px;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(128, 0, 0, 0.3);
}

.btn-hero:hover {
  background-color: #ff0000;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.4);
}

.hero-grid {
  position: absolute;
  top: 0;
  right: -200px;
  width: 800px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.grid-line {
  position: absolute;
  background: linear-gradient(180deg, transparent, #1b6cff, transparent);
  width: 1px;
  height: 100%;
  opacity: 0.2;
}

.grid-line-1 {
  left: 100px;
  animation: glowPulse 3s ease-in-out infinite;
}

.grid-line-2 {
  left: 300px;
  animation: glowPulse 3s ease-in-out infinite 1s;
}

.grid-line-3 {
  left: 500px;
  animation: glowPulse 3s ease-in-out infinite 2s;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.3;
  }
}

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

  .hero-title {
    font-size: 40px;
  }

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

  .hero-grid {
    display: none;
  }
}

.features {
  padding: 120px 0;
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: #ff0000;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 20px;
  color: #062a63;
  font-weight: 400;
}

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

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

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

.feature-card:hover {
  border-color: #1b6cff;
  box-shadow: 0 8px 24px rgba(27, 108, 255, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon {
  animation: float 3s ease-in-out infinite 0.5s;
}

.feature-card:nth-child(3) .feature-icon {
  animation: float 3s ease-in-out infinite 1s;
}

.feature-card:nth-child(4) .feature-icon {
  animation: float 3s ease-in-out infinite 1.5s;
}

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

.feature-title {
  font-size: 24px;
  font-weight: 600;
  color: #ff0000;
  margin-bottom: 16px;
}

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

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

  .section-header {
    margin-bottom: 60px;
  }

  .section-title {
    font-size: 36px;
  }

  .features-grid {
    gap: 24px;
  }
}

.testimonials {
  padding: 120px 0;
  background-color: #ffcccb;
  position: relative;
}

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

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

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

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

.testimonial-card:hover {
  border-color: #1b6cff;
  box-shadow: 0 8px 24px rgba(27, 108, 255, 0.1);
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  color: #062a63;
  margin-bottom: 32px;
  position: relative;
}

.testimonial-text::before {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: #1b6cff;
}

.testimonial-author {
  display: flex;
  gap: 16px;
  align-items: center;
}

.author-name {
  font-weight: 600;
  color: #ff0000;
  font-size: 16px;
  margin-bottom: 4px;
}

.author-role {
  font-size: 14px;
  color: #062a63;
  opacity: 0.8;
}

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

  .testimonials-grid {
    gap: 32px;
  }

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

.pricing {
  padding: 120px 0;
  background-color: #ffffff;
}

.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 40px;
  border: 2px solid #e6eaf0;
  border-radius: 12px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

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

.pricing-card:hover {
  border-color: #1b6cff;
  box-shadow: 0 12px 32px rgba(27, 108, 255, 0.15);
  transform: translateY(-4px);
}

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

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

.pricing-plan {
  font-size: 28px;
  font-weight: 700;
  color: #ff0000;
  margin-bottom: 12px;
}

.pricing-description {
  font-size: 15px;
  color: #062a63;
  margin-bottom: 32px;
  line-height: 1.5;
  min-height: 45px;
}

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

.price-amount {
  font-size: 48px;
  font-weight: 700;
  color: #800000;
}

.price-currency {
  font-size: 24px;
  font-weight: 600;
  color: #062a63;
  margin-left: 4px;
}

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

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

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

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

.btn-pricing {
  width: 100%;
  background-color: #800000;
  color: #ffffff;
  text-align: center;
}

.btn-pricing:hover {
  background-color: #ff0000;
}

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

  .pricing-grid {
    gap: 32px;
  }

  .pricing-card {
    padding: 40px 32px;
  }
}

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

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

.footer-link {
  color: #062a63;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.footer-link:focus {
  outline: 2px solid #1b6cff;
  outline-offset: 4px;
  border-radius: 2px;
}

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

  .footer-content {
    gap: 24px;
  }
}

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

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

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

.cookie-text {
  color: #062a63;
  font-size: 15px;
  flex: 1;
  min-width: 250px;
}

.btn-cookie {
  background-color: #800000;
  color: #ffffff;
  padding: 12px 32px;
  white-space: nowrap;
}

.btn-cookie:hover {
  background-color: #ff0000;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

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

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

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

.legal-title {
  font-size: 48px;
  font-weight: 700;
  color: #ff0000;
  margin-bottom: 16px;
}

.legal-update {
  font-size: 15px;
  color: #062a63;
  opacity: 0.7;
  margin-bottom: 60px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e6eaf0;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-heading {
  font-size: 28px;
  font-weight: 600;
  color: #800000;
  margin-bottom: 20px;
}

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

.legal-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 16px;
}

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

.legal-list li strong {
  color: #800000;
  font-weight: 600;
}

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

  .legal-title {
    font-size: 36px;
  }

  .legal-heading {
    font-size: 24px;
  }

  .legal-text {
    font-size: 15px;
  }
}
