html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  z-index: 101;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: all 0.3s;
}

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

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

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

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 5%;
  min-height: 80vh;
}

.hero-content {
  max-width: 50%;
}

.badge {
  display: inline-block;
  background: var(--accent-yellow);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h1 {
  font-family: "Outfit", sans-serif;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.highlight {
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--accent-yellow);
  z-index: -1;
  opacity: 0.6;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 90%;
}

.cta-group {
  display: flex;
  gap: 15px;
}

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

.floating-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  position: absolute;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #f0f0f0;
}

.card-1 {
  width: 200px;
  height: 280px;
  top: 20px;
  left: 40px;
  transform: rotate(-5deg);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.card-2 {
  width: 220px;
  height: 150px;
  bottom: 40px;
  right: 20px;
  transform: rotate(5deg);
  z-index: 3;
  background: var(--accent-blue);
  opacity: 0.2;
  animation: float-reverse 7s ease-in-out infinite;
}

.floating-circle {
  width: 300px;
  height: 300px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  z-index: 1;
  animation: pulse-glow 8s ease-in-out infinite;
}

.trust-bar {
  text-align: center;
  padding: 40px 20px;
  background-color: transparent;
  margin-top: -20px;
  margin-bottom: 40px;
}

.trust-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  opacity: 0.8;
}

.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-item {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-muted);
  opacity: 0.5;
  transition:
    opacity 0.3s,
    color 0.3s;
  cursor: default;
}

.logo-item:hover {
  opacity: 1;
  color: var(--text-main);
}

.features {
  padding: 80px 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 40px;
  border-radius: 20px;
  background: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card.yellow::before {
  background: var(--accent-yellow);
}
.feature-card.pink::before {
  background: var(--primary);
}
.feature-card.blue::before {
  background: var(--accent-blue);
}

.feature-card {
  border-bottom: 4px solid transparent;
}

.site-footer {
  background-color: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 80px 5% 40px;
  margin-top: 80px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 40px;
}

.brand-tagline {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
  opacity: 0.8;
}

.social-link:hover {
  border-color: var(--text-main);
  opacity: 1;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-column h4 {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.footer-column a {
  color: var(--text-muted);
  transition: color 0.2s;
  width: fit-content;
}

.footer-column a:hover {
  color: var(--primary);
  transform: translateX(2px);
  display: inline-block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 24px;
}

.legal-links a:hover {
  color: var(--text-main);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 60px 20px 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    text-align: left;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .brand-tagline {
    margin: 0 auto;
  }

  .footer-column {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }

  .nav-auth {
    display: none;
  }

  .navbar {
    padding: 20px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    padding-top: 80px;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 99;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    gap: 40px;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 60px;
  }

  .cta-group {
    justify-content: center;
    margin-bottom: 40px;
    flex-direction: column;
    align-items: center;
  }

  .hero-visual {
    width: 100%;
    height: 300px;
    margin: 0 auto;
  }

  .floating-card.card-1 {
    left: 50%;
    margin-left: -100px;
  }

  .floating-card.card-2 {
    right: 50%;
    margin-right: -110px;
  }

  .floating-circle {
    width: 250px;
    height: 250px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .features {
    padding: 40px 5%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(-5deg);
  }
  50% {
    transform: translateY(-15px) rotate(-3deg);
  }
  100% {
    transform: translateY(0px) rotate(-5deg);
  }
}

@keyframes float-reverse {
  0% {
    transform: translateY(0px) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) rotate(7deg);
  }
  100% {
    transform: translateY(0px) rotate(5deg);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.25;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.hero-content > * {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.hero-content .badge {
  animation-delay: 0.1s;
}
.hero-content h1 {
  animation-delay: 0.2s;
}
.hero-content p {
  animation-delay: 0.3s;
}
.hero-content .cta-group {
  animation-delay: 0.4s;
}

.floating-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-10px) rotate(0deg) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 10;
}
