* {
  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-deep-blue: #0a3d91;
  --color-electric-blue: #1b6cff;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-white);
  color: var(--color-navy);
  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;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-gray);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 40px;
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

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

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

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

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

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

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

.btn-primary {
  background: var(--color-electric-blue);
  color: var(--color-white);
  border: 2px solid var(--color-electric-blue);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-electric-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 108, 255, 0.2);
}

.btn-primary:focus {
  outline: 2px solid var(--color-electric-blue);
  outline-offset: 2px;
}

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

.btn-small {
  padding: 8px 20px;
  font-size: 14px;
}

main {
  padding-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 {
  max-width: 600px;
}

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

.hero-description {
  font-size: 18px;
  color: var(--color-navy);
  margin-bottom: 40px;
  line-height: 1.6;
  opacity: 0.9;
}

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

.grid-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      0deg,
      transparent 24%,
      rgba(27, 108, 255, 0.1) 25%,
      rgba(27, 108, 255, 0.1) 26%,
      transparent 27%,
      transparent 74%,
      rgba(27, 108, 255, 0.1) 75%,
      rgba(27, 108, 255, 0.1) 76%,
      transparent 77%,
      transparent
    ),
    linear-gradient(
      90deg,
      transparent 24%,
      rgba(27, 108, 255, 0.1) 25%,
      rgba(27, 108, 255, 0.1) 26%,
      transparent 27%,
      transparent 74%,
      rgba(27, 108, 255, 0.1) 75%,
      rgba(27, 108, 255, 0.1) 76%,
      transparent 77%,
      transparent
    );
  background-size: 80px 80px;
  animation: gridMove 20s linear infinite;
}

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

.features {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-white) 0%, rgba(230, 234, 240, 0.2) 100%);
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-red);
  text-align: center;
  margin-bottom: 80px;
}

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

.feature-card {
  background: var(--color-white);
  padding: 48px;
  border: 2px solid var(--color-gray);
  border-radius: 12px;
  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-electric-blue);
  box-shadow: 0 8px 24px rgba(27, 108, 255, 0.12);
  transform: translateY(-4px);
}

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

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

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

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

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

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

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

.testimonials {
  padding: 100px 0;
}

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

.testimonial-card {
  background: var(--color-white);
  padding: 40px;
  border-left: 3px solid var(--color-electric-blue);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(6, 42, 99, 0.06);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease;
}

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

.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(6, 42, 99, 0.12);
}

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

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

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--color-gray);
}

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

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

.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(230, 234, 240, 0.2) 0%, var(--color-white) 100%);
}

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

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

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

.pricing-card:hover {
  border-color: var(--color-electric-blue);
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(27, 108, 255, 0.15);
}

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

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

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

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

.price-amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-red);
  display: block;
  line-height: 1;
}

.price-currency {
  font-size: 16px;
  color: var(--color-navy);
  opacity: 0.7;
}

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

.pricing-features li {
  padding: 12px 0;
  font-size: 15px;
  color: var(--color-navy);
  position: relative;
  padding-left: 24px;
}

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

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

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

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

.footer a:hover {
  color: var(--color-electric-blue);
}

.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 2px solid var(--color-electric-blue);
  padding: 20px 0;
  z-index: 1001;
  box-shadow: 0 -4px 16px rgba(6, 42, 99, 0.1);
}

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

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

.legal-content {
  padding: 80px 0 120px;
}

.legal-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 60px;
  text-align: center;
}

.legal-content article {
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 20px;
}

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

.legal-content ul {
  list-style: none;
  padding-left: 0;
}

.legal-content ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

.legal-content ul li::before {
  content: "•";
  position: absolute;
  left: 12px;
  color: var(--color-electric-blue);
  font-size: 20px;
}

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

  .hero {
    padding: 80px 0;
  }

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

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

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

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

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

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

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    box-shadow: 0 8px 24px rgba(6, 42, 99, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

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

  .nav .btn-primary {
    display: none;
  }

  .hero {
    padding: 60px 0;
  }

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

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

  .hero-decoration {
    height: 300px;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 48px;
  }

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

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

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

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

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