* {
  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;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

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

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

.nav {
  display: flex;
  gap: 40px;
}

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

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

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

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

.cta-button {
  background: var(--color-red);
  color: var(--color-white);
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--color-burgundy);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

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

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

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

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-white);
  z-index: 2000;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

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

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

.hero {
  margin-top: 88px;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

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

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

.hero-text .highlight {
  color: var(--color-red);
  position: relative;
}

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

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

.grid-line {
  position: absolute;
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-burgundy) 100%);
  border-radius: 4px;
}

.grid-line-1 {
  width: 3px;
  height: 300px;
  top: 50px;
  left: 20%;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.grid-line-2 {
  width: 250px;
  height: 3px;
  top: 40%;
  right: 10%;
  animation: float 5s ease-in-out infinite 0.5s;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.grid-line-3 {
  width: 3px;
  height: 200px;
  bottom: 80px;
  right: 30%;
  animation: float 6s ease-in-out infinite 1s;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

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

section {
  padding: 120px 0;
}

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

h2 .highlight {
  color: var(--color-red);
}

.features {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-coral) 50%, var(--color-white) 100%);
}

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

.feature-card {
  background: var(--color-white);
  padding: 50px 40px;
  border: 2px solid var(--color-gray);
  transition: all 0.4s ease;
  position: relative;
}

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

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

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(6, 42, 99, 0.1);
  border-color: var(--color-red);
}

.feature-icon {
  margin-bottom: 30px;
}

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

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

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

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

.testimonials {
  background: var(--color-white);
}

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

.testimonial-card {
  position: relative;
  padding: 50px 40px;
  border-top: 3px solid var(--color-gray);
  transition: all 0.4s ease;
}

.testimonial-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-red);
  transition: width 0.4s ease;
}

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

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

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

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

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

.pricing {
  background: linear-gradient(180deg, var(--color-coral) 0%, var(--color-white) 50%, var(--color-coral) 100%);
}

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

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

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.15);
  border-color: var(--color-red);
}

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

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

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

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

.pricing-price {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--color-gray);
}

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

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

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

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

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

.contact {
  background: var(--color-white);
  text-align: center;
}

.contact-content h2 {
  margin-bottom: 30px;
}

.contact-content p {
  font-size: 20px;
  margin-bottom: 50px;
  color: var(--color-navy);
  opacity: 0.8;
}

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

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

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

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

.footer-copyright {
  color: var(--color-navy);
  font-size: 13px;
  opacity: 0.7;
}

.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 2px solid var(--color-navy);
  padding: 24px;
  z-index: 10000;
  box-shadow: 0 -5px 30px rgba(6, 42, 99, 0.1);
}

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

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

.cookie-accept:hover {
  background: var(--color-burgundy);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.legal-content {
  margin-top: 88px;
  padding: 80px 0;
}

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

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

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

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

.legal-section ul {
  margin-left: 30px;
  margin-bottom: 16px;
}

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

.legal-update {
  font-style: italic;
  color: var(--color-navy);
  opacity: 0.7;
  margin-top: 40px;
}

.legal-back {
  text-align: center;
  margin-top: 60px;
}

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

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

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

  .hero-grid {
    height: 300px;
  }

  h2 {
    font-size: 40px;
    margin-bottom: 60px;
  }

  section {
    padding: 80px 0;
  }
}

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

  .nav {
    display: none;
  }

  .cta-button {
    display: none;
  }

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

  .hero {
    margin-top: 68px;
    padding: 60px 0;
  }

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

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

  .hero-grid {
    display: none;
  }

  h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  section {
    padding: 60px 0;
  }

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

  .testimonials-grid {
    gap: 40px;
  }

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

  .cookie-accept {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

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

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

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

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

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

  h2 {
    font-size: 28px;
  }

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

  .pricing-price .amount {
    font-size: 44px;
  }
}
