:root {
  --primary: #667eea;
  --primary-dark: #764ba2;
  --secondary: #f093fb;
  --secondary-dark: #f5576c;
  --bg-primary: #0a0a1a;
  --bg-secondary: #14141e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text-primary: #ffffff;
  --text-secondary: #c7d2fe;
  --text-muted: #888;
  --accent: #ffd700;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(
      ellipse at top,
      rgba(102, 126, 234, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at bottom,
      rgba(118, 75, 162, 0.15) 0%,
      transparent 50%
    );
}

.planets {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.planet {
  position: absolute;
  width: 120px;
  height: auto;
  opacity: 0.25;
  animation: floatPlanet 60s infinite ease-in-out;
  filter: drop-shadow(0 0 25px rgba(102, 126, 234, 0.4));
  transition: all 0.3s ease;
}

.planet:hover {
  opacity: 0.5;
  filter: drop-shadow(0 0 40px rgba(102, 126, 234, 0.6));
  transform: scale(1.15);
}

.planet-1 {
  top: 8%;
  left: 3%;
  width: 180px;
  animation-duration: 85s;
  animation-delay: 0s;
}

.planet-2 {
  top: 15%;
  right: 5%;
  width: 160px;
  animation-duration: 95s;
  animation-delay: -25s;
}

.planet-3 {
  top: 55%;
  left: 10%;
  width: 140px;
  animation-duration: 90s;
  animation-delay: -45s;
}

.planet-4 {
  bottom: 10%;
  right: 12%;
  width: 200px;
  animation-duration: 100s;
  animation-delay: -60s;
}

.planet-5 {
  top: 35%;
  left: 30%;
  width: 150px;
  animation-duration: 88s;
  animation-delay: -35s;
}

@keyframes floatPlanet {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -30px) rotate(90deg);
  }
  50% {
    transform: translate(0, -60px) rotate(180deg);
  }
  75% {
    transform: translate(-30px, -30px) rotate(270deg);
  }
}

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 40px);
  max-width: 1200px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 26, 0.85);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

nav:hover {
  background: rgba(10, 10, 26, 0.95);
  border-color: rgba(102, 126, 234, 0.4);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

.logo {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.mobile-menu-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-mockups {
  margin-top: 60px;
  position: relative;
}

.mockup-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  perspective: 1000px;
}

.mockup {
  width: 200px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  filter: drop-shadow(0 10px 20px rgba(102, 126, 234, 0.2));
}

.mockup-1 {
  transform: rotateY(-15deg) rotateX(5deg);
  z-index: 1;
}

.mockup-2 {
  transform: scale(1.1) rotateX(-5deg);
  z-index: 3;
  box-shadow: 0 30px 60px rgba(102, 126, 234, 0.4);
}

.mockup-3 {
  transform: rotateY(15deg) rotateX(5deg);
  z-index: 1;
}

.mockup:hover {
  transform: scale(1.05) rotateY(0deg) rotateX(0deg);
  z-index: 5;
}

.mockup-2:hover {
  transform: scale(1.15) rotateX(0deg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 50%,
    var(--secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(16px, 3vw, 20px);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: white;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.stats {
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.zodiac-card {
  background: linear-gradient(
    135deg,
    var(--glass-bg) 0%,
    rgba(102, 126, 234, 0.05) 100%
  );
}

.zodiac-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 14px;
}

.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 18px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.bento-card {
  padding: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.bento-card.large {
  grid-column: span 2;
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.bento-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.how-it-works {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(102, 126, 234, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(118, 75, 162, 0.15) 0%,
      transparent 50%
    ),
    linear-gradient(
      135deg,
      rgba(102, 126, 234, 0.05) 0%,
      rgba(118, 75, 162, 0.05) 100%
    );
  z-index: 0;
}

.how-it-works .container {
  position: relative;
  z-index: 1;
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 40px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.3),
    rgba(118, 75, 162, 0.3)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.step-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  display: inline-block;
  font-size: 12px;
  color: white;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 6px 16px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  letter-spacing: 1px;
}

.step-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: inline-block;
  filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4));
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(102, 126, 234, 0.6));
  }
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.step-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.step-arrow {
  font-size: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(5px);
  }
}

.download {
  padding: 100px 0;
}

.download-content {
  text-align: center;
}

.download-text h2 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}

.download-text p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.store-icon {
  font-size: 32px;
}

.store-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.store-btn small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.store-btn strong {
  display: block;
  font-size: 16px;
}

.download-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-stat {
  text-align: center;
}

.download-stat strong {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.download-stat span {
  color: var(--text-muted);
  font-size: 14px;
}

footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.footer-col p {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
}

@media (max-width: 768px) {
  header {
    top: 20px;
    width: calc(100% - 20px);
  }

  nav {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    background: rgba(102, 126, 234, 0.1);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .logo {
    font-size: 20px;
  }

  .logo-img {
    width: 28px;
    height: 28px;
  }

  .bento-card.large {
    grid-column: span 1;
  }

  .step-arrow {
    display: none;
  }

  .steps-container {
    flex-direction: column;
  }

  .mockup-container {
    flex-direction: column;
    gap: 30px;
  }

  .mockup {
    width: 250px;
    transform: none !important;
  }

  .mockup:hover {
    transform: scale(1.05) !important;
  }

  .zodiac-icon {
    font-size: 36px;
  }

  .footer-logo-img {
    width: 24px;
    height: 24px;
  }

  .planet {
    width: 60px !important;
  }

  .planet-1 {
    width: 80px !important;
    top: 5%;
    left: 2%;
  }

  .planet-2 {
    width: 70px !important;
    top: 12%;
    right: 3%;
  }

  .planet-3 {
    width: 65px !important;
    top: 60%;
    left: 5%;
  }

  .planet-4 {
    width: 90px !important;
    bottom: 8%;
    right: 8%;
  }

  .planet-5 {
    width: 70px !important;
    top: 40%;
    left: 15%;
  }
}
