:root {
  --bg-color: #09090b;
  --primary: #454ade;
  --primary-hover: #5b60ff;
  --secondary-bg: rgba(255, 255, 255, 0.05);
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --border-color: rgba(255, 255, 255, 0.1);
  --glow-color: rgba(69, 74, 222, 0.5);
  --font-family: "Outfit", sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
}

/* Ambient Background */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
}
.glow-top {
  top: -100px;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  opacity: 0.2;
}
.glow-bottom {
  bottom: -100px;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  opacity: 0.15;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo i {
  color: var(--primary);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 600;
  transition: 0.3s;
}
.nav-links a:hover {
  color: var(--text-main);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  min-height: 80vh;
}

.badge {
  display: inline-block;
  background: rgba(69, 74, 222, 0.15);
  color: #818cf8;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(69, 74, 222, 0.3);
}

h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 500px;
}

/* Buttons */
.cta-group {
  display: flex;
  margin-bottom: 3rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px -10px var(--glow-color);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px var(--glow-color);
}

.download-icon {
  font-size: 2rem;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
}

.main-btn-text {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.sub-text {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 400;
}

.stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
}
.stat-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Visual Section (Image) */
.hero-visual {
  position: relative;
  animation: float 6s ease-in-out infinite;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.app-screenshot {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: 0.5s;
  transform: rotateY(-5deg) rotateX(5deg);
}

.hero-visual:hover .app-screenshot {
  transform: rotateY(0) rotateX(0);
}

/* Features Section */
.features {
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  transition: 0.3s;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  border-color: var(--primary);
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(69, 74, 222, 0.2);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

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

/* Footer */
footer {
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
  color: var(--text-muted);
}

.socials {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1.2rem;
}

.socials a {
  color: var(--text-muted);
  transition: 0.3s;
}
.socials a:hover {
  color: var(--primary);
}

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

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
    gap: 2rem;
  }

  .hero-desc {
    margin: 0 auto 2.5rem;
  }

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

  .stats {
    justify-content: center;
    margin-bottom: 3rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .app-screenshot {
    width: 100%;
    max-width: 350px;
    height: 250px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
    transform: rotateY(-5deg) rotateX(5deg);
  }
}
