/* ============================================================
   Choply — Landing Page (index.css)
   ============================================================ */

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0D0D1A 0%, #1A1A2E 50%, #16163A 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.18) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,214,160,0.10) 0%, transparent 70%);
  bottom: -80px; left: 10%;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 320px; height: 320px;
  background: rgba(255,107,53,0.15);
  top: 20%; right: 15%;
  animation: floatSlow 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 200px; height: 200px;
  background: rgba(6,214,160,0.12);
  bottom: 20%; right: 35%;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.3);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  margin-bottom: 24px;
  animation: fadeInDown 0.6s var(--ease-out) both;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: var(--font-black);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s var(--ease-out) 0.1s both;
}
.hero-headline .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-light), #FFD166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 4s ease infinite;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
  animation: fadeInUp 0.7s var(--ease-out) 0.2s both;
}

.hero-ctas {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.7s var(--ease-out) 0.3s both;
}

.hero-search-wrap {
  animation: fadeInUp 0.7s var(--ease-out) 0.4s both;
  margin-bottom: 48px;
}
.hero-search {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  display: flex; align-items: center;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
  max-width: 560px;
}
.hero-search-icon { color: var(--text-muted); margin-right: 10px; font-size: 16px; }
.hero-search-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: var(--text-primary);
  font-family: var(--font-sans);
}
.hero-search-input::placeholder { color: var(--text-muted); }
.hero-search-divider { width: 1px; height: 26px; background: rgba(0,0,0,0.1); margin: 0 12px; flex-shrink: 0; }
.hero-search-loc {
  border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--text-secondary);
  font-family: var(--font-sans);
  width: 120px;
}
.hero-search-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border: none; cursor: pointer;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: var(--font-semibold);
  font-size: 14px;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.hero-search-btn:hover { box-shadow: 0 6px 20px var(--primary-glow); transform: scale(1.03); }

.hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  animation: fadeInUp 0.7s var(--ease-out) 0.5s both;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: var(--font-black);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.hero-stat-sep { width: 1px; background: rgba(255,255,255,0.1); align-self: stretch; }

/* Floating cards */
.hero-float-area {
  position: relative;
  height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  color: #fff;
  width: 200px;
}
.hero-float-card.card-1 {
  top: 5%; right: 10%;
  animation: float 5s ease-in-out infinite;
}
.hero-float-card.card-2 {
  bottom: 10%; right: 0%;
  animation: float 6s ease-in-out 1s infinite;
  width: 180px;
}
.hero-float-card.card-3 {
  top: 40%; left: 5%;
  animation: float 7s ease-in-out 0.5s infinite;
  width: 160px;
}
.hero-main-img {
  width: 340px; height: 340px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,107,53,0.3);
  box-shadow: 0 0 80px rgba(255,107,53,0.2), 0 20px 60px rgba(0,0,0,0.4);
}

/* ── Categories Section ── */
.categories-section { padding: var(--space-20) 0 var(--space-16); }
.category-pill {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  padding: 20px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-spring);
  text-decoration: none;
  color: var(--text-primary);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.category-pill:hover, .category-pill.active {
  border-color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}
.category-pill-emoji { font-size: 32px; line-height: 1; }
.category-pill-name { font-size: var(--text-sm); font-weight: var(--font-semibold); }
.categories-scroll {
  display: flex; gap: 16px;
  overflow-x: auto; padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.categories-scroll::-webkit-scrollbar { display: none; }

/* ── Featured Restaurants ── */
.featured-section { padding: var(--space-16) 0 var(--space-20); background: var(--bg-elevated); }
[data-theme="dark"] .featured-section { background: var(--bg-card); }

/* ── How It Works ── */
.how-section { padding: var(--space-24) 0; }
.step-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
  height: 100%;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.step-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: var(--font-black); font-size: var(--text-sm);
  box-shadow: 0 4px 12px var(--primary-glow);
}
.step-icon {
  width: 72px; height: 72px;
  background: var(--primary-subtle);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
}
.step-title { font-family: var(--font-display); font-weight: var(--font-bold); font-size: var(--text-xl); margin-bottom: 12px; }
.step-desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }
.step-connector {
  display: none;
  position: absolute; top: 50%; right: -24px;
  transform: translateY(-50%);
  color: var(--primary); font-size: 20px; z-index: 1;
}
@media (min-width: 992px) {
  .step-col:not(:last-child) .step-connector { display: block; }
}

/* ── Testimonials ── */
.testimonials-section {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #252540 100%);
  position: relative; overflow: hidden;
}
.testimonials-section::before {
  content: '❝';
  position: absolute; top: -40px; left: 5%;
  font-size: 200px; color: rgba(255,107,53,0.05);
  font-family: serif; line-height: 1;
  pointer-events: none;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: transform var(--transition-spring), background var(--transition-base);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
}
.testimonial-text {
  font-size: var(--text-sm); line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.testimonial-name { font-weight: var(--font-semibold); color: #fff; font-size: var(--text-sm); }
.testimonial-location { font-size: var(--text-xs); color: rgba(255,255,255,0.4); }
.testimonial-stars { color: var(--warning); font-size: 12px; margin-bottom: 12px; }

/* ── CTA Section ── */
.cta-section {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #FFD166 100%);
  background-size: 300% 300%;
  animation: heroGradient 8s ease infinite;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-title {
  font-family: var(--font-display);
  font-weight: var(--font-black);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #fff; margin-bottom: 16px;
}
.cta-sub { color: rgba(255,255,255,0.85); font-size: var(--text-lg); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-btn-white {
  background: #fff; color: var(--primary);
  padding: 14px 32px; border-radius: var(--radius-full);
  font-weight: var(--font-bold); font-size: var(--text-base);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: all var(--transition-base);
}
.cta-btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); color: var(--primary-dark); }
.cta-btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 14px 32px; border-radius: var(--radius-full);
  font-weight: var(--font-semibold); font-size: var(--text-base);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--transition-base);
}
.cta-btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; transform: translateY(-2px); }

/* ── App Download floaters ── */
.phone-mockup {
  width: 240px; height: 480px;
  background: linear-gradient(180deg, #1A1A2E 0%, #0D0D1A 100%);
  border-radius: 40px;
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hero-float-area { height: 280px; }
  .hero-main-img { width: 220px; height: 220px; }
  .hero-float-card { display: none; }
  .hero-stats { gap: 24px; }
}
