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

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

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;
  position: relative;
}

.futuristic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 20% 50%, rgba(27, 108, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 0, 0, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

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

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

.header-content {
  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);
}

.nav {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-left: auto;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transition: width 0.3s ease;
}

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

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

.nav-link:focus {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.cta-btn {
  padding: 12px 32px;
  border: none;
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.cta-btn-primary {
  background-color: var(--blue);
  color: var(--white);
}

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

.cta-btn-secondary {
  background-color: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.cta-btn-secondary:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.cta-btn-large {
  padding: 18px 48px;
  font-size: 18px;
}

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

.hamburger {
  transition: transform 0.3s ease;
}

.hamburger .line {
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active .line-1 {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active .line-2 {
  opacity: 0;
}

.hamburger.active .line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

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

.mobile-nav-link:hover {
  color: var(--blue);
}

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

.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;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title::first-line {
  color: var(--red);
}

.hero-description {
  font-size: 20px;
  line-height: 1.6;
  color: var(--navy);
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-grid {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
}

.grid-line {
  position: absolute;
  background: linear-gradient(180deg, transparent, var(--blue), transparent);
  opacity: 0.15;
  animation: pulse 3s ease-in-out infinite;
}

.grid-line-1 {
  width: 2px;
  height: 60%;
  top: 20%;
  right: 20%;
  animation-delay: 0s;
}

.grid-line-2 {
  width: 2px;
  height: 80%;
  top: 10%;
  right: 40%;
  animation-delay: 0.5s;
}

.grid-line-3 {
  width: 2px;
  height: 50%;
  top: 25%;
  right: 60%;
  animation-delay: 1s;
}

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

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 80px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red));
}

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

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

.feature-card {
  background-color: var(--white);
  border: 1px solid var(--gray);
  padding: 48px 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

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

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transition: width 0.4s ease;
}

.feature-card:hover::before {
  width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

.testimonial-card {
  position: relative;
  padding: 48px;
  background-color: var(--white);
  border: 1px solid var(--gray);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

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

.testimonial-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(27, 108, 255, 0.08);
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--navy);
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-author {
  border-top: 1px solid var(--gray);
  padding-top: 24px;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.author-role {
  font-size: 14px;
  color: var(--navy);
  opacity: 0.6;
}

.testimonial-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--blue), var(--red));
  transition: height 0.4s ease;
}

.testimonial-card:hover .testimonial-accent {
  height: 100%;
}

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

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

.pricing-card {
  background-color: var(--white);
  border: 2px solid var(--navy);
  padding: 48px 40px;
  position: relative;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

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

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

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

.featured-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--burgundy);
  color: var(--white);
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
}

.pricing-description {
  font-size: 15px;
  color: var(--navy);
  opacity: 0.7;
  margin-bottom: 32px;
  min-height: 48px;
}

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

.price-amount {
  font-size: 56px;
  font-weight: 700;
  color: var(--navy);
  display: inline-block;
}

.price-currency {
  font-size: 18px;
  color: var(--navy);
  opacity: 0.6;
  margin-left: 8px;
}

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

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

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E")
    center / contain no-repeat;
}

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

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

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

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

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

.footer-link:hover::after {
  width: 100%;
}

.footer-link:focus {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.cookie-notice {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 2px solid var(--blue);
  box-shadow: 0 -4px 20px rgba(6, 42, 99, 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;
  gap: 40px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 15px;
  color: var(--navy);
  margin: 0;
}

.cookie-btn {
  background-color: var(--blue);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px;
  white-space: nowrap;
}

.cookie-btn:hover {
  background-color: var(--dark-blue);
  box-shadow: 0 4px 12px rgba(27, 108, 255, 0.3);
}

.cookie-btn:focus {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

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

.legal-title {
  font-size: 56px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 60px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--blue);
}

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

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

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

.legal-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.legal-list li {
  padding: 12px 0 12px 32px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--navy);
  position: relative;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E")
    center / contain no-repeat;
}

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

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

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

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

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

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

  .nav {
    display: none;
  }

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

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

  .hero {
    padding: 60px 0;
  }

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

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

  .hero-grid {
    width: 30%;
    opacity: 0.5;
  }

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

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

  .features-grid,
  .testimonials-grid {
    gap: 32px;
  }

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

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cookie-btn {
    width: 100%;
  }

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

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

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

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

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

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

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

  .cta-btn-large {
    padding: 14px 32px;
    font-size: 16px;
  }
}

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