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

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

/* Shared section style */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section + section {
  margin-top: 2rem;
}

/* ----------------------------
  Animations
---------------------------- */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

header { animation-delay: 0.2s; }
.hero { animation-delay: 0.4s; }
.features { animation-delay: 0.6s; }
footer { animation-delay: 0.8s; }

/* ----------------------------
  Header
---------------------------- */
header {
  background: #fff;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #eee;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* ----------------------------
  Buttons
---------------------------- */
.btn {
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: transform 0.3s ease, background 0.3s ease;
  display: inline-block;
}

.primary {
  background: #111;
  color: #fff;
}

.primary:hover {
  background: #333;
  transform: translateY(-2px);
}

.secondary {
  background: transparent;
  border: 1px solid #111;
  color: #111;
  margin-left: 1rem;
}

.secondary:hover {
  background: #f1f1f1;
  transform: translateY(-2px);
}

/* ----------------------------
  Hero Section
---------------------------- */
.hero {
  padding: 6rem 2rem;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
}

.hero-text {
  flex: 1 1 500px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start; 
}

.hero-image-container {
  flex: 1 1 500px;
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 70px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.hero-image:hover { transform: scale(1.02); }

/* ----------------------------
  Features Section
---------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  text-align: center;
  background: #f9f9f9;
  border-radius: 12px;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: #666;
  font-size: 1rem;
}

/* ----------------------------
  Reviews Section
---------------------------- */
.reviews {
  background: #f9f9f9;
  text-align: center;
  border-radius: 12px;
}

.reviews h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.reviews-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  padding: 1rem;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.reviews-container::-webkit-scrollbar { display: none; }

.review {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #fff;
  border-left: 4px solid #6b4fbb;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 8px;
  min-height: 180px;
  text-align: left;
}

.review p {
  font-style: italic;
  color: #555;
}

.review span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}




/* ----------------------------
  Footer
---------------------------- */
footer {
  text-align: center;
  padding: 2rem;
  color: #888;
  font-size: 0.9rem;
  border-top: 1px solid #eee;
  background: #fff;
  margin-top: 2rem;
}

/* ----------------------------
  Responsive
---------------------------- */
@media (max-width: 768px) {
  .hero-content { text-align: center; }
  .hero-text h1 { font-size: 2rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }
  .secondary { margin-left: 0; }
}

/* App icon in navbar */
.app-icon-link {
  display: inline-flex;
  align-items: center;
}

.app-icon {
  width: 100px;
  height: 100px;
  border-radius: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.app-icon:hover {
  transform: scale(1.05);
}

.app-store-link {
  display: inline-block;
}

.app-store-badge {
  height: 50px;  /* slightly larger in hero */
  width: auto;
  transition: transform 0.3s ease;
}

.app-store-badge:hover {
  transform: scale(1.05);
}

/* Interactive Feature Section */
.interactive-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background: #f8f9fa;
}

.interactive-container {
  display: flex;
  max-width: 1000px;
  width: 100%;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.interactive-left {
  flex: 1 1 300px;
}

.interactive-left h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.feature-item {
  padding: 12px 18px;
  margin: 6px 0;
  background: white;
  border-radius: 12px;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: #efefef;
}

.feature-item.active {
  background: #0071e3;
  color: white;
  border-color: #0071e3;
}

.interactive-right {
  flex: 1 1 300px;
  text-align: center;
}

.feature-image {
  width: 100%;
  max-width: 300px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: opacity 0.5s ease;
}
