/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

:root {
  --primary-color: #7770b8;
  --primary-dark: #6660a0;
  --primary-light: #9b95d4;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: 1px solid var(--gray-200);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  height: 2.5rem;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.3s;
}

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

.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--gray-700);
  margin: 5px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

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

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

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-store {
  background: #000;
  color: white;
  padding: 0.75rem 1.5rem;
  height: 3.5rem;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-store:hover {
  background: #1f2937;
  text-decoration: none;
}

.btn-store-text {
  text-align: left;
}

.btn-store-small {
  font-size: 0.75rem;
}

.btn-store-large {
  font-size: 1rem;
  font-weight: 600;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

/* Hero Section */
.hero {
  padding-top: 6rem;
  padding-bottom: 3rem;
  background: white;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.badge {
  display: inline-block;
  background: rgba(119, 112, 184, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-icon {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.5rem;
  color: var(--primary-color);
}

.stat-text {
  font-size: 0.875rem;
  color: var(--gray-700);
}

.hero-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.phone-mockup {
  transition: transform 0.3s;
}

.phone-left {
  transform: rotate(-6deg);
}

.phone-left:hover {
  transform: rotate(0deg);
}

.phone-right {
  transform: rotate(6deg);
}

.phone-right:hover {
  transform: rotate(0deg);
}

.phone-screen {
  height: 520px;
  width: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 1.5rem;
}

/* Section */
.section {
  padding: 5rem 0;
}

.section-gray {
  background: var(--gray-50);
}

.section-gradient {
  background: linear-gradient(to bottom right, var(--gray-50), white);
}

.section-purple {
  background: linear-gradient(to bottom right, var(--primary-color), var(--primary-light));
  color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto;
}

.section-purple .section-description {
  color: rgba(255, 255, 255, 0.9);
}

/* Services Grid */
.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
  cursor: pointer;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-image-container {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
}

.service-icon-container {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(119, 112, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-color);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-description {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

/* Reasons Grid */
.reasons-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reason-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: background 0.3s;
}

.reason-card:hover {
  background: var(--gray-50);
}

.reason-icon-container {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(119, 112, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.reason-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary-color);
}

.reason-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.reason-description {
  color: var(--gray-600);
}

/* App Screenshots Grid */
.app-screenshots-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .app-screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .app-screenshots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.screenshot-item {
  text-align: center;
}

.screenshot-mockup {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin-bottom: 1rem;
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--gray-100);
  overflow: hidden;
}

.screenshot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

.screenshot-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.screenshot-description {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Download Section */
.download-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.download-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .download-title {
    font-size: 3rem;
  }
}

.download-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.download-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.8);
}

.download-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.download-app-image {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .download-app-image {
    max-height: 400px;
  }
}

/* CTA Section */
.cta-section {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  margin-bottom: 4rem;
}

.cta-section-border {
  padding-top: 4rem;
  border-top: 1px solid var(--gray-200);
}

.cta-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo {
  margin-bottom: 1rem;
}

.logo-white {
  filter: brightness(0) invert(1);
}

.footer-text {
  color: var(--gray-400);
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-400);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}