/* Base Styles */
:root {
  --primary-color: #6c5ce7;
  --secondary-color: #fd79a8;
  --accent-color: #00cec9;
  --gradient-start: #a29bfe;
  --gradient-end: #fd79a8;
  --text-color: #2d3436;
  --light-text: #dfe6e9;
  --background: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.9);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --glow: 0 0 20px rgba(108, 92, 231, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: var(--background);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(108, 92, 231, 0.1) 0%, rgba(253, 121, 168, 0.1) 50%, rgba(0, 206, 201, 0.1) 100%);
  z-index: 0;
}

.hero-content {
  flex: 1;
  z-index: 1;
  padding-right: 30px;
}

.logo-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.app-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.logo-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  box-shadow: var(--glow);
  animation: pulse 2s infinite;
}

.app-name {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.app-slogan {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 30px;
  opacity: 0.8;
}

.download-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(108, 92, 231, 0.4);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.qr-image {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.qr-code p {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.7;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.phone-mockup {
  height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
  animation: float 6s ease-in-out infinite;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-element {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: float-random 10s ease-in-out infinite;
}

.e1 {
  top: 20%;
  left: 10%;
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  animation-delay: 0s;
}

.e2 {
  top: 60%;
  left: 15%;
  background: linear-gradient(45deg, #4ecdc4, #6fe7df);
  animation-delay: 1s;
}

.e3 {
  top: 30%;
  right: 15%;
  background: linear-gradient(45deg, #a78bfa, #c4b5fd);
  animation-delay: 2s;
}

.e4 {
  top: 70%;
  right: 10%;
  background: linear-gradient(45deg, #f9c74f, #fad685);
  animation-delay: 3s;
}

.e5 {
  top: 40%;
  left: 50%;
  background: linear-gradient(45deg, #90be6d, #b5e48c);
  animation-delay: 4s;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: linear-gradient(135deg, #f6f9fc 0%, #f1f4f9 100%);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--text-color);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--icon-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.feature-card p {
  color: var(--text-color);
  opacity: 0.7;
}

/* Screenshots Section */
.screenshots {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
}

.screenshot-carousel {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}

.screenshot-carousel::-webkit-scrollbar {
  display: none;
}

.screenshot {
  flex: 0 0 auto;
  text-align: center;
}

.screenshot-img {
  height: 400px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.screenshot:hover .screenshot-img {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.screenshot p {
  margin-top: 15px;
  font-size: 1.1rem;
  color: var(--text-color);
}

/* Download Section */
.download-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: var(--light-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.download-content {
  flex: 1;
  padding-right: 50px;
}

.download-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.download-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.download-options {
  display: flex;
  gap: 20px;
}

.download-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-option:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.download-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.download-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  animation: float 6s ease-in-out infinite;
}

/* Footer */
.footer {
  background-color: var(--text-color);
  color: var(--light-text);
  text-align: center;
  padding: 30px 0;
}

.footer p {
  margin: 5px 0;
  opacity: 0.7;
}

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

@keyframes float-random {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(10px, -15px);
  }
  50% {
    transform: translate(-5px, 10px);
  }
  75% {
    transform: translate(-10px, -5px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(108, 92, 231, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 50px;
  }
  
  .logo-container {
    margin: 0 auto 20px;
  }
  
  .download-buttons {
    justify-content: center;
  }
  
  .download-section {
    flex-direction: column;
    text-align: center;
  }
  
  .download-content {
    padding-right: 0;
    margin-bottom: 50px;
  }
  
  .download-options {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .app-name {
    font-size: 2.5rem;
  }
  
  .app-slogan {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .screenshot-carousel {
    gap: 15px;
  }
  
  .screenshot-img {
    height: 350px;
  }
  
  .download-options {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .screenshot-img {
    height: 300px;
  }
}
