@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&display=swap');

:root {
  --bg: #090914;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #7c5cfc;
  --accent-glow: rgba(124, 92, 252, 0.5);
  --gold: #f7c948;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Dynamic Background Orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  animation: float 20s infinite ease-in-out alternate;
}
.orb-1 { width: 400px; height: 400px; background: rgba(124, 92, 252, 0.15); top: -10%; left: -10%; }
.orb-2 { width: 300px; height: 300px; background: rgba(247, 201, 72, 0.1); bottom: 10%; right: -5%; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: rgba(34, 211, 238, 0.1); top: 40%; left: 40%; animation-delay: -10s; }

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 16px 0;
  background: rgba(9, 9, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
}
.logo img { width: 36px; height: 36px; border-radius: 10px; }

.nav-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}
.nav-btn:hover { background: rgba(255,255,255,0.1); }

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding-top: 80px;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 540px;
}

.badge {
  display: inline-block;
  background: rgba(124, 92, 252, 0.1);
  color: #a78bfa;
  border: 1px solid rgba(124, 92, 252, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 32px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}

.download-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}

.rating {
  display: flex;
  flex-direction: column;
}
.stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.rating span { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-icon-wrapper {
  position: relative;
  width: clamp(200px, 30vw, 320px);
  height: clamp(200px, 30vw, 320px);
  animation: float-icon 6s infinite ease-in-out alternate;
}

@keyframes float-icon {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(2deg); }
}

.app-icon {
  width: 100%;
  height: 100%;
  border-radius: 22%;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 2px 4px rgba(255,255,255,0.2);
  position: relative;
  z-index: 2;
}

.icon-glow {
  position: absolute;
  top: 10%; left: 10%; right: 10%; bottom: 10%;
  background: var(--accent);
  filter: blur(60px);
  z-index: 1;
  opacity: 0.6;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 100px;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 40px 32px;
  border-radius: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 92, 252, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
  width: 56px; height: 56px;
  background: rgba(0,0,0,0.3);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.05);
}

.feature-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 15px; }

/* Content Pages */
.content-box {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 60px;
  border-radius: 32px;
  border: 1px solid var(--glass-border);
  margin: 120px auto 60px;
  max-width: 900px;
}

.content-box h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 24px; border-bottom: 1px solid var(--glass-border); padding-bottom: 24px; }
.content-box h2 { font-size: 24px; margin: 40px 0 16px; color: #a78bfa; }
.content-box p, .content-box ul { color: var(--text-muted); margin-bottom: 20px; font-size: 16px; }
.content-box ul { margin-left: 24px; }
.content-box a { color: var(--accent); text-decoration: none; }
.content-box a:hover { text-decoration: underline; }

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 0;
  background: rgba(0,0,0,0.2);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
}
.footer-logo img { width: 32px; height: 32px; border-radius: 8px; filter: grayscale(1); opacity: 0.7; }

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.copyright { color: rgba(255,255,255,0.2); font-size: 14px; }

/* Responsive Mobile Rules */
@media (max-width: 860px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 60px;
    gap: 60px;
  }
  .hero-content { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
  .hero-actions { justify-content: center; }
  
  .content-box { padding: 32px 24px; margin-top: 100px; border-radius: 24px; }
  
  .features { grid-template-columns: 1fr; }
}
