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

:root {
  --white: #ffffff;
  --red: #ff0000;
  --burgundy: #800000;
  --navy: #062a63;
  --gray: #e6eaf0;
  --light-coral: #ffcccb;
  --deep-blue: #0a3d91;
  --electric-blue: #1b6cff;
}

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

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

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

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

.logo svg {
  display: block;
  transition: transform 0.3s ease;
}

.logo svg:hover {
  transform: rotate(90deg);
}

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

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

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

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

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

.desktop-nav {
  flex: 1;
}

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 81px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 99;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 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: 60px 40px;
  gap: 32px;
}

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

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

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

.cta-button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Inter", sans-serif;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.15);
}

.cta-button:hover {
  background: var(--burgundy);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.25);
  transform: translateY(-1px);
}

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

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

.hero {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--white) 0%, rgba(230, 234, 240, 0.3) 100%);
  position: relative;
  overflow: hidden;
}

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

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

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

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

.grid-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, rgba(27, 108, 255, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(27, 108, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

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

.grid-lines::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  border: 2px solid var(--electric-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px rgba(27, 108, 255, 0.3);
}

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

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

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

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

.feature-card:hover {
  border-color: var(--electric-blue);
  box-shadow: 0 8px 24px rgba(27, 108, 255, 0.12);
  transform: translateY(-4px);
}

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

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

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

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

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

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

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

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

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

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

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

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

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

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--electric-blue), var(--red));
}

.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(10, 61, 145, 0.1);
  transform: translateY(-4px);
}

.testimonial-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: 24px;
  font-style: italic;
}

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

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

.testimonial-author span {
  font-size: 14px;
  color: var(--deep-blue);
  opacity: 0.8;
}

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

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

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

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

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

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

.pricing-card.featured {
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.12);
}

.pricing-card.featured:hover {
  box-shadow: 0 12px 32px rgba(255, 0, 0, 0.2);
}

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

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

.pricing-description {
  font-size: 15px;
  color: var(--deep-blue);
  margin-bottom: 28px;
  line-height: 1.5;
  min-height: 60px;
}

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

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

.price .currency {
  font-size: 18px;
  color: var(--deep-blue);
  font-weight: 500;
}

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

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

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

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

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

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

.footer a {
  color: var(--deep-blue);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--electric-blue);
  padding: 20px 0;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

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

.cookie-content p {
  font-size: 14px;
  color: var(--navy);
  flex: 1;
}

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

.cookie-accept:hover {
  background: var(--deep-blue);
}

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

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

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

.legal-page h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 20px;
}

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

.legal-page ul {
  list-style: none;
  margin-left: 24px;
}

.legal-page ul li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}

.legal-page ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--electric-blue);
  font-weight: 700;
}

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

  .header-content {
    padding: 20px 32px;
  }

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

  .hero-visual {
    height: 400px;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

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

  .header-content {
    padding: 16px 24px;
  }

  .desktop-nav {
    display: none;
  }

  .cta-button {
    display: none;
  }

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

  .mobile-menu {
    display: block;
  }

  .hero {
    padding: 80px 0;
  }

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

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

  .hero-visual {
    height: 300px;
  }

  .features {
    padding: 80px 0;
  }

  .features h2 {
    font-size: 36px;
    margin-bottom: 48px;
  }

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

  .testimonials {
    padding: 80px 0;
  }

  .testimonials h2 {
    font-size: 36px;
    margin-bottom: 48px;
  }

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

  .pricing {
    padding: 80px 0;
  }

  .pricing h2 {
    font-size: 36px;
    margin-bottom: 48px;
  }

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

  .legal-page h1 {
    font-size: 36px;
  }

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

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 28px;
  }

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

  .features h2,
  .testimonials h2,
  .pricing h2 {
    font-size: 28px;
  }

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