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

body {
  background: #ffffff;
  color: #171717;
  font-family: "Lexend", sans-serif;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(81, 90, 205, 0.08) 0%,
    rgba(81, 90, 205, 0) 70%
  );
  top: -200px;
  left: -200px;
  animation: float 20s ease-in-out infinite;
}

body::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(216, 180, 254, 0.1) 0%,
    rgba(216, 180, 254, 0) 70%
  );
  bottom: -150px;
  right: -150px;
  animation: float 25s ease-in-out infinite reverse;
}

a {
  text-decoration: none;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* Navbar */
nav {
  width: 100%;
  padding: 1rem 1.5rem;
  position: relative;
  z-index: 100;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}

.logo img {
  height: 2rem;
}

.logo p {
  font-size: 1.875rem;
  color: #28354d;
}

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

.nav-links a {
  color: #28354d;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #515acd;
}

/* Hero Section */
.hero-section {
  padding: 0rem 1.5rem 0rem;
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow: hidden;
}

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #28354d;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

h1.fade-out {
  opacity: 0;
  transform: translateY(-5px);
}

h1.fade-in {
  animation: fadeInUp 0.3s ease forwards;
}

.badge {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  color: #515acd;
  border: 2px solid #515acd;
}

.description {
  font-size: 1.125rem;
  color: #28354d;
  font-weight: 500;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.description.fade-out {
  opacity: 0;
  transform: translateY(-5px);
}

.description.fade-in {
  animation: fadeInUp 0.3s ease 0.03s forwards;
}

.cta-button {
  font-family: "Lexend", sans-serif;
  cursor: pointer;
  background: #515acd;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 60px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(81, 90, 205, 0.2);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(81, 90, 205, 0.3);
}

.cta-button.fade-out {
  opacity: 0;
  transform: translateY(-5px);
}

.cta-button.fade-in {
  animation: fadeInUp 0.3s ease 0.06s forwards;
}

/* Hero Image Section */
.hero-image-container {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  pointer-events: none;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 42rem;
}

.blur-effect {
  position: absolute;
  inset: 0;
  background: rgb(216, 180, 254);
  border-radius: 9999px;
  filter: blur(96px);
  opacity: 0.4;
  transform: scale(1.5);
  pointer-events: none;
}

.hero-image-inner {
  position: relative;
}

.hero-image {
  width: 100%;
  max-width: 700px;
  height: 300px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-image.fade-out {
  opacity: 0;
  transform: scale(0.98);
}

.hero-image.fade-in {
  animation: fadeInScale 0.3s ease 0.09s forwards;
}

/* Side Decorations */
.decoration {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
}

.decoration-left {
  left: 5%;
}

.decoration-right {
  right: 5%;
}

.decoration-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #515acd;
  opacity: 0.15;
  margin: 1.5rem 0;
}

.decoration-ring {
  width: 40px;
  height: 40px;
  border: 2px solid #515acd;
  border-radius: 50%;
  opacity: 0.1;
  margin: 2rem 0;
}

.decoration-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #515acd, transparent);
  opacity: 0.1;
  margin: 1rem auto;
}

/* Tab and Footer Container */
.bottom-section {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  z-index: 10;
}

/* Tab Buttons */
.tab-container {
  position: fixed;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 1000;
  backdrop-filter: blur(12px);
  border-radius: 48px;
  padding: 0.375rem;
  pointer-events: all;
}

.tab-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(29, 29, 29, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  font-size: 0.75rem;
  border: none;
  font-family: "Lexend", sans-serif;
  color: #fff;
  pointer-events: all;
  z-index: 1000;
}

.tab-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: 0px 0px 33px 0px rgba(242, 242, 242, 0.5) inset,
    -3px -4.5px 1.5px -3px rgba(179, 179, 179, 1) inset,
    3px 4.5px 1.5px -3px rgba(179, 179, 179, 0.2) inset,
    4.5px 4.5px 1.5px -5.25px rgba(255, 255, 255, 0.5) inset,
    -4.5px -4.5px 1.5px -5.25px rgba(255, 255, 255, 0.5) inset;
  transition: opacity 0.3s ease;
}

.tab-btn:hover {
  transform: translateY(-2px);
  background: rgba(29, 29, 29, 0.2);
}

.tab-btn.active {
  background: rgba(29, 29, 29, 1);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  width: 100%;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.copyright {
  color: #6b7280;
  font-size: 0.75rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #6b7280;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #111827;
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
}

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

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 767px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.875rem;
  }

  .decoration {
    display: none;
  }
}

@media (min-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .logo img {
    height: 2rem;
  }

  .logo p {
    font-size: 1.875rem;
  }

  .nav-links {
    gap: 2rem;
  }

  .hero-section {
    padding: 3rem 1.5rem 0rem;
    height: calc(100vh - 70px);
  }

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

  .description {
    font-size: 1.375rem;
    margin-bottom: 2rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }

  .hero-image {
    height: 350px;
    max-width: 500px;
  }

  .tab-container {
    bottom: 3.5rem;
    gap: 0.75rem;
    padding: 0.5rem;
  }

  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }

  .footer-container {
    flex-direction: row;
    padding: 0 1.5rem;
  }

  .copyright {
    font-size: 0.875rem;
  }

  .social-links svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .social-links {
    gap: 1.5rem;
  }

  body::before {
    width: 700px;
    height: 700px;
    top: -300px;
    left: -250px;
  }

  body::after {
    width: 600px;
    height: 600px;
    bottom: -200px;
    right: -200px;
  }

  .decoration-circle {
    width: 16px;
    height: 16px;
  }

  .decoration-ring {
    width: 50px;
    height: 50px;
  }

  .decoration-line {
    height: 80px;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3.75rem;
  }
}
