:root {
  --primary: #8a2be2;
  --secondary: #ff4d94;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --accent: #00c2cb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--dark);
  color: var(--light);
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: 0.4s;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(10px);
}

header.scrolled {
  padding: 1rem 5%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 1.5rem;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
}

.nav-links a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary);
  transition: 0.3s;
}

.nav-links a:hover:after {
  width: 100%;
}

.cta-button {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 15%;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 650px;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--secondary);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #ccc;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.app-badges {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s;
  cursor: pointer;
}

.badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.hero-image {
  position: absolute;
  right: 15%;
  top: 30%;
  transform: translateY(-50%);
  width: 500px;
  z-index: 0;
  opacity: 0.9;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  border-radius: 40px;
  padding: 15px;
  background: #222;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 3px solid #444;
  overflow: hidden;
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features {
  padding: 8rem 5%;
  background: linear-gradient(to bottom, var(--dark), #1f1f38);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  transition: 0.3s;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: #ccc;
}

.gallery {
  padding: 8rem 5%;
  text-align: center;
}

.gallery-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.gallery-item {
  width: 250px;
  height: 500px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: 0.5s;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section {
  padding: 8rem 5%;
  text-align: center;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
}

footer {
  padding: 4rem 5% 2rem;
  background: #0f0f1e;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.footer-logo span {
  color: var(--secondary);
}

.footer-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.footer-links li {
  margin: 0 1.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.copyright {
  margin-top: 2rem;
  color: #888;
  font-size: 0.9rem;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.floating {
  animation: float 5s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-image {
    opacity: 0.4;
    right: -5%;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-image {
    display: none;
  }

  .gallery-item {
    width: 200px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .app-badges {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .gallery-item {
    width: 170px;
    height: 350px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .gallery-item {
    width: 150px;
    height: 320px;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}
