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

:root {
  --primary: #3887a3;
  --secondary: #d3e5ec;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-light: #5a6c7d;
  --special: #D4A373;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--white);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(56, 135, 163, 0.1);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo::before {
  content: "⭐";
  font-size: 2rem;
  animation: rotate 5s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--white) 100%);
  padding: 6rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "⭐";
  position: absolute;
  font-size: 10rem;
  opacity: 0.05;
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: "🚀";
  position: absolute;
  font-size: 8rem;
  opacity: 0.05;
  bottom: 10%;
  left: 5%;
  animation: float 8s ease-in-out infinite;
}

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

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-content h1 .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-content h1 .special {
  color: var(--special);
  position: relative;
  display: inline-block;
  text-decoration-line: underline;
  font-style: italic;
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 15px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(56, 135, 163, 0.2);
  position: relative;
  overflow: hidden;
}

.store-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--primary);
  transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
  transform: translate(-50%, -50%);
  z-index: 0;
}

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

.store-button:hover,  .store-button:hover svg{
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(56, 135, 163, 0.3);
}

.store-button span {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-button .coming-soon {
  font-size: 0.7rem;
  opacity: 0.8;
  font-weight: 400;
}

.store-button .store-name {
  font-size: 1rem;
  font-weight: 700;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.app-img {
  max-width: 250px;
  width: 100%;
  animation: floatAstronaut 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(183, 211, 222, 0.3));
}

@keyframes floatAstronaut {
  0%,
  100% {
    transform: translateY(0px) rotate(-5deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  background: var(--white);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

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

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s;
  border: 2px solid var(--secondary);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}

.feature-card:hover::before {
  opacity: 0.1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(56, 135, 163, 0.2);
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

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

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 2rem 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-about h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.footer-about p {
  line-height: 1.6;
  opacity: 0.9;
}

.footer-links h4 {
  margin-bottom: 1rem;
  color: var(--secondary);
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(5px);
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 8rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }

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

  .store-button {
    width: 100%;
    justify-content: center;
  }
}
