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

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

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  color: var(--red);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  color: var(--navy);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.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(--gray);
}

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

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

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

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.cta-btn {
  background: var(--electric-blue);
  color: var(--white);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(27, 108, 255, 0.2);
}

.cta-btn:hover {
  background: var(--deep-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(27, 108, 255, 0.3);
}

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

.cta-btn.large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

.cta-btn.outline {
  background: transparent;
  color: var(--electric-blue);
  border: 2px solid var(--electric-blue);
}

.cta-btn.outline:hover {
  background: var(--electric-blue);
  color: var(--white);
}

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

.mobile-menu-toggle svg {
  transition: transform 0.3s ease;
}

.mobile-menu-toggle.active .line1 {
  transform: rotate(45deg) translate(5px, 5px);
  transform-origin: center;
}

.mobile-menu-toggle.active .line2 {
  opacity: 0;
}

.mobile-menu-toggle.active .line3 {
  transform: rotate(-45deg) translate(7px, -7px);
  transform-origin: center;
}

.mobile-menu-toggle.active svg .line {
  transition: all 0.3s ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  display: none;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 2rem;
}

.mobile-nav a {
  font-size: 2rem;
  font-weight: 600;
  color: var(--red);
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInDown 0.5s ease forwards;
}

.mobile-menu.active .mobile-nav a:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-menu.active .mobile-nav a:nth-child(2) {
  animation-delay: 0.2s;
}

.mobile-menu.active .mobile-nav a:nth-child(3) {
  animation-delay: 0.3s;
}

.mobile-menu.active .mobile-nav a:nth-child(4) {
  animation-delay: 0.4s;
}

.mobile-menu.active .mobile-nav .cta-btn {
  animation-delay: 0.5s;
}

@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  margin-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-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

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

.grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to right, var(--gray) 1px, transparent 1px),
    linear-gradient(to bottom, var(--gray) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  animation: gridMove 20s linear infinite;
}

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

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

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

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

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

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

.feature-card.visible {
  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: 1.5rem;
}

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

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

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

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

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

.testimonials {
  padding: 120px 0;
}

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

.testimonial {
  padding: 40px 0;
  border-top: 1px solid var(--gray);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

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

.testimonial-content {
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-content::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 2px;
  background: var(--electric-blue);
}

.testimonial-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-author strong {
  color: var(--red);
  font-weight: 600;
}

.testimonial-author span {
  color: var(--deep-blue);
  font-size: 0.875rem;
}

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

.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);
  padding: 50px 40px;
  border-radius: 12px;
  border: 2px solid var(--deep-blue);
  position: relative;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

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

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

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

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--burgundy);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--deep-blue);
}

.features-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.features-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray);
  color: var(--navy);
}

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

.features-list li::before {
  content: "✓";
  color: var(--electric-blue);
  font-weight: 700;
  margin-right: 0.75rem;
}

.contact {
  padding: 120px 0;
  background: var(--navy);
}

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

.contact h2 {
  color: var(--white);
}

.contact p {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

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

.footer-content {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.footer a {
  color: var(--deep-blue);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

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

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 2rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-btn {
  background: var(--electric-blue);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

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

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

.legal-content h1 {
  margin-bottom: 1rem;
}

.updated {
  color: var(--deep-blue);
  font-size: 0.95rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--gray);
}

.legal-content section {
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.75rem;
  text-align: left;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-top: 1rem;
}

.legal-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.legal-content a {
  color: var(--electric-blue);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--deep-blue);
}

.back-link {
  color: var(--deep-blue);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero {
    padding: 80px 0;
  }

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

  .hero-visual {
    height: 300px;
  }

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

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

  .cta-btn {
    display: none;
  }

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

  .mobile-menu {
    display: block;
  }

  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  p {
    font-size: 1rem;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-content p {
    font-size: 1.125rem;
  }

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

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

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 0;
  }

  .cookie-btn {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .legal-page {
    padding: 80px 0;
  }

  .header-content {
    padding: 1rem 0;
  }

  main {
    margin-top: 70px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 40px 0;
  }

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

  .price {
    font-size: 2.5rem;
  }

  .feature-card,
  .pricing-card {
    padding: 30px 20px;
  }

  .testimonial {
    padding: 30px 0;
  }
}
