/* =====================
   Root Variables
===================== */
:root {
  --primary: #6568ff;
  --primaryDark: #4f52e5;
  --textDark: #1f1f1f;
  --textLight: #555;
  --bgLight: #f6f6f6;
  --white: #ffffff;
  --maxWidth: 1200px;
}

/* =====================
   Reset & Base
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: var(--white);
  color: var(--textDark);
  line-height: 1.6;
}

/* =====================
   Container
===================== */
.container {
  width: 100%;
  max-width: var(--maxWidth);
  margin: auto;
  padding: 0 16px;
}

.center-text {
  text-align: center;
}

/* =====================
   Header & Navigation
===================== */
.header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid #e5e5e5;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

/* Nav */
.nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
  pointer-events: auto;
}

/* Show menu */
.nav.active {
  display: flex;
}

/* Nav links */
.nav a {
  text-decoration: none; /* remove underline */
  color: #6568ff; /* brand color */
  font-size: 1rem;
  font-weight: 500;
}

/* Hover / focus */
.nav a:hover,
.nav a:focus {
  color: #4f52e5; /* darker brand shade */
  text-decoration: none;
}

/* Mobile menu button */
.menu-toggle {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 101;
}

/* =====================
   Hero Section
===================== */
.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.hero {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: var(--white);
  padding: 56px 0;
}

.hero h1 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  max-width: 760px;
  margin: auto;
}

.hero p {
  margin: 12px auto 0;
  max-width: 760px;
  font-size: clamp(0.95rem, 3.5vw, 1.05rem);
  opacity: 0.95;
}
/* App Store Badges */
/* App Store Badges – HARD LOCK */
.app-buttons {
  margin-top: 28px;
  display: flex;
  flex-direction: row; /* force row */
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: nowrap; /* NO wrapping */
  white-space: nowrap; /* extra safety */
}

/* Each badge container */
.store-badge {
  display: inline-flex; /* IMPORTANT */
  flex-direction: column;
  align-items: center;
  flex-shrink: 0; /* do NOT shrink */
}

/* Badge images */
.store-badge img {
  height: 44px; /* slightly smaller for mobile */
  width: auto;
  display: inline-block; /* IMPORTANT */
}

/* Disabled iOS badge */
.store-badge.disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* Coming soon text */
.coming-soon-text {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333; /* already defined as #555 */
}

/* =====================
   Buttons
===================== */
/* Generic Buttons */
.buttons {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.buttons.center {
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn {
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  min-width: 220px;
}

.btn.primary {
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
}

.btn.secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =====================
   Sections
===================== */
.section {
  padding: 48px 0;
}

.section.light {
  background: var(--bgLight);
}

.section h2 {
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  margin-bottom: 12px;
}

.section p {
  max-width: 820px;
  margin: auto;
  color: var(--textLight);
}

/* =====================
   Stats
===================== */
.stats {
  background: #f4f5ff;
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-card {
  background: var(--white);
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(101, 104, 255, 0.15);
}

.stat-card h3 {
  font-size: 2rem;
  color: var(--primary);
}

.stat-card p {
  margin-top: 6px;
  color: #555;
}
/* =====================
   Services Carousel
===================== */
.service-carousel {
  margin-top: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.service-track {
  display: flex;
  transition: transform 0.4s ease;
}

.service-card {
  min-width: 100%;
  background: #f7f8ff; /* SAME AS REVIEWS */
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(101, 104, 255, 0.15);
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.service-card p {
  color: #333;
}

/* =====================
   Reviews Carousel
===================== */
.reviews {
  background: var(--white);
}

.review-carousel {
  margin-top: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.review-track {
  display: flex;
  transition: transform 0.4s ease;
}

.review {
  min-width: 100%;
  background: #f7f8ff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(101, 104, 255, 0.15);
}

.review p {
  font-size: 1rem;
  color: #333;
}

.review span {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 12px; /* keeps arrows inside edges */
}

.carousel-btn {
  pointer-events: auto;
  background: none; /* removed circle */
  border: none;
  color: var(--primary);
  font-size: 2rem; /* bigger arrow */
  cursor: pointer;
  line-height: 1;
}

.carousel-btn:hover {
  color: var(--primaryDark);
}

/* Dots */
.carousel-dots {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #c7c8ff;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: var(--primary);
}

/* =====================
   Features
===================== */
.features {
  list-style: none;
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features li {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* =====================
   Contact
===================== */
.contact-info {
  margin-top: 16px;
}

/* =====================
   Footer
===================== */
.footer {
  background: #111;
  color: #ccc;
  padding: 24px 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
}

/* =====================
   Responsive
===================== */
@media (min-width: 768px) {
  .buttons {
    flex-direction: row;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: none;
  }

  .menu-toggle {
    display: none;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
