
:root {
  --primary-color: #6c63ff;
  --secondary-color: #ff6b81;
  --dark-color: #2d3436;
  --light-color: #f9f9f9;
  --gradient-bg: linear-gradient(135deg, #6c63ff 0%, #ff6b81 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.3;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
  background: #574cff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.6);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(108, 99, 255, 0.1);
  transform: translateY(-3px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-bg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--gradient-bg);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
#hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.05;
  z-index: 0;
}

#hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

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

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 10px;
  background: var(--gradient-bg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

.cta-buttons {
  display: flex;
  gap: 15px;
}

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

.phone-mockup {
  width: 280px;
  height: 580px;
  background: #111;
  border-radius: 40px;
  position: relative;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.wallpaper {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  transition: transform 5s ease;
}

.phone-mockup:hover .wallpaper {
  transform: scale(1.1);
}

/* Features Section */
#features {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--gradient-bg);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* How It Works Section */
#how-it-works {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  position: relative;
}

.steps {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -50px;
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), transparent);
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-bg);
  color: white;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* Gallery Section */
#gallery {
  padding: 100px 0;
  background: white;
}

.gallery-wrapper {
  overflow: hidden;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  aspect-ratio: 9/16;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

/* Testimonials Section */
#testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.testimonial-content {
  position: relative;
  padding-top: 30px;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-author {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.testimonial-author h4 {
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-author p {
  color: #777;
  font-size: 0.9rem;
}

/* Download Section */
#download {
  padding: 100px 0;
  background: white;
  text-align: center;
}

.download-options {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.download-button {
  display: flex;
  align-items: center;
  background: var(--dark-color);
  color: white;
  padding: 12px 25px;
  border-radius: 10px;
  transition: var(--transition);
}

.download-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.download-button i {
  font-size: 2.5rem;
  margin-right: 15px;
}

.download-text {
  text-align: left;
  line-height: 1.3;
}

.download-text span {
  display: block;
  font-size: 0.9rem;
}

.store-name {
  font-size: 1.3rem !important;
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 80px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-logo h2 {
  background: var(--gradient-bg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.8rem;
}

.footer-logo p {
  color: #ccc;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.link-group h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.link-group h3::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  bottom: -10px;
  left: 0;
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group ul li a {
  color: #aaa;
  transition: var(--transition);
}

.link-group ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #777;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.7rem;
  }
  
  .steps {
    flex-direction: column;
    gap: 40px;
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  header .container {
    padding: 15px 20px;
  }
  
  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
  }
  
  nav.active {
    transform: translateY(0);
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  #hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 50px;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media screen and (max-width: 576px) {
  .section-header h2 {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-slider {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial {
    width: 100%;
  }
  
  .download-options {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}
