/* Base Styles */
:root {
  --primary: #6f42c1;
  --primary-dark: #5e35b1;
  --secondary: #dc3545;
  --secondary-dark: #c82333;
  --accent: #e83e8c;
  --accent-light: #ff5ca8;
  --dark: #1a202c;
  --light: #f8f9fa;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --gray-dark: #343a40;
  --body-font: 'Open Sans', sans-serif;
  --heading-font: 'Montserrat', sans-serif;
  --accent-font: 'Playfair Display', serif;
}

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

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--dark);
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

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

.primary {
  color: var(--primary);
}

.accent {
  color: var(--accent);
}

.accent-light {
  color: var(--accent-light);
}

.text-link {
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.text-link:hover {
  color: var(--primary-dark);
}

.text-link i {
  margin-left: 5px;
  font-size: 0.8em;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.age-restriction {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gray);
  margin-bottom: 15px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--heading-font);
}

.btn-primary {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn-outline-light {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: white;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--heading-font);
}

.logo-img {
  width: 40px;
  height: 40px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-item {
  font-weight: 500;
  color: var(--gray-dark);
}

.navbar-item:hover {
  color: var(--primary);
}

.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  color: var(--gray-dark);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 1rem;
}

.dropdown-trigger:hover {
  color: var(--primary);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: var(--gray-dark);
}

.dropdown-content a:hover {
  background-color: var(--gray-light);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-dark);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(rgba(26, 32, 44, 0.85), rgba(26, 32, 44, 0.95));
  color: white;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.user-count {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  margin-right: -10px;
}

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

.phone-mockup {
  position: relative;
  width: 280px;
  background-color: black;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: rotate(6deg);
  z-index: 2;
}

.phone-mockup.secondary {
  position: absolute;
  width: 240px;
  left: -40px;
  bottom: 20px;
  transform: rotate(-6deg);
  z-index: 1;
}

.screenshot {
  width: 100%;
  height: auto;
  border-radius: 30px;
  border: 8px solid black;
}

.app-logo {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 8px;
  border-radius: 50%;
}

.app-logo img {
  width: 40px;
  height: 40px;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: white;
}

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

.feature-card {
  background-color: #f8f9fa;
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
}

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

.feature-card p {
  color: var(--gray);
}

/* Preview Section */
.preview-section {
  padding: 80px 0;
  background-color: var(--gray-light);
}

.preview-section .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.preview-content {
  flex: 1;
}

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

.preview-content p {
  margin-bottom: 30px;
  color: var(--gray-dark);
}

.benefits {
  margin-bottom: 30px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.benefit i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 3px;
}

.preview-image {
  flex: 1;
}

.preview-image img {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
}

/* Categories Section */
.categories-section {
  padding: 80px 0;
  background-color: white;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.category-card {
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-10px);
}

.category-content {
  position: absolute;
  bottom: 0;
  padding: 25px;
  width: 100%;
}

.category-content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.category-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.categories-more {
  text-align: center;
  margin-top: 40px;
}

.categories-more p {
  color: var(--gray);
  margin-bottom: 10px;
}

/* Download Section */
.download-section {
  padding: 80px 0;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
}

.download-section .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.download-content {
  flex: 1;
}

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

.download-content p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.download-options {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.download-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: white;
  color: var(--primary);
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.download-logo {
  width: 25px;
  height: 25px;
}

.qr-code {
  background-color: white;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.qr-code img {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
}

.qr-code p {
  color: var(--gray);
  font-size: 0.8rem;
  margin-bottom: 0;
}

.download-info {
  color: rgba(255, 255, 255, 0.9);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.download-mockups {
  flex: 1;
  position: relative;
}

.mockup-main {
  position: relative;
  z-index: 2;
}

.mockup-secondary {
  position: absolute;
  top: 25%;
  right: -80px;
  z-index: 3;
}

.phone-frame {
  background-color: #222;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  width: 280px;
}

.mockup-secondary .phone-frame {
  width: 220px;
}

.download-button-floating {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.floating-logo {
  position: absolute;
  top: -30px;
  left: -30px;
  z-index: 4;
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.floating-logo img {
  width: 60px;
  height: 60px;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: white;
}

.about-section .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.about-content {
  flex: 1;
}

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

.about-content p {
  margin-bottom: 20px;
  color: var(--gray-dark);
}

.about-values {
  margin: 30px 0;
}

.value {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.value-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.value-detail h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.value-detail p {
  margin-bottom: 0;
}

.contact-info {
  border-top: 1px solid var(--gray-light);
  padding-top: 20px;
}

.contact-info h3 {
  margin-bottom: 15px;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-info i {
  color: var(--primary);
}

.contact-info a:hover {
  color: var(--primary);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--gray-light);
}

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

.faq-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-toggle {
  color: var(--primary);
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
}

.faq-item.active .faq-toggle i {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  display: block;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(26, 32, 44, 0.9), rgba(26, 32, 44, 0.95)), url('https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&h=1080');
  background-size: cover;
  background-position: center;
  color: white;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

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

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-logo h2 {
  font-size: 1.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: white;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--primary);
  margin-top: 5px;
}

.footer-contact a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-image {
    display: none;
  }
  
  .hero-content, .preview-content, .about-content, .download-content {
    flex: 1;
    text-align: center;
  }
  
  .hero-buttons, .cta-buttons {
    justify-content: center;
  }
  
  .user-count {
    justify-content: center;
  }
  
  .preview-section .container, .about-section .container, .download-section .container {
    flex-direction: column;
  }
  
  .preview-image, .about-image, .download-mockups {
    flex: 1;
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: center;
  }
  
  .benefit {
    text-align: left;
  }
  
  .value {
    text-align: left;
  }
  
  .mockup-secondary {
    right: auto;
    left: 100px;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .feature-card {
    text-align: center;
  }
  
  .feature-icon {
    margin: 0 auto 20px;
  }
  
  .download-options {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-brand, .footer-links, .footer-contact {
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
}

/* Mobile Menu - JS will add class 'active' */
.mobile-menu {
  display: none;
  background-color: white;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  color: var(--gray-dark);
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-menu .btn {
  margin-top: 15px;
  width: 100%;
}