/* =========================================================
   CaffeGo — Landing Page
   ========================================================= */

/* HERO */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(224, 122, 31, 0.22) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(111, 78, 55, 0.18) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}
.hero-eyebrow .pill {
  background: var(--espresso);
  color: var(--cream);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--amber-deep); font-weight: 500; }
[data-theme="dark"] .hero h1 em { color: var(--amber-soft); }
.hero p.lead {
  font-size: 18px; line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-stats {
  margin-top: 48px;
  display: flex; gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-stat .lbl {
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* Hero visual — coffee cup mockup */
.hero-visual { position: relative; }
.phone-mock {
  width: 100%;
  aspect-ratio: 0.78;
  background: var(--espresso);
  border-radius: 36px;
  padding: 14px;
  box-shadow:
    0 60px 120px -30px rgba(42, 24, 16, 0.4),
    inset 0 0 0 2px rgba(244, 232, 214, 0.08);
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--cream-soft);
  border-radius: 24px;
  padding: 20px;
  overflow: hidden;
  position: relative;
}
.mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mock-greeting { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.mock-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--amber), var(--coffee)); }
.mock-search { background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 11px; color: var(--ink-mute); display: flex; gap: 6px; align-items: center; margin-bottom: 16px; border: 1px solid var(--line); }
.mock-card {
  background: #fff; border-radius: 16px;
  padding: 12px; margin-bottom: 10px;
  border: 1px solid var(--line);
  display: flex; gap: 10px; align-items: center;
}
.mock-thumb {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, #d4a374 0%, #8b5e3c 100%);
  position: relative; flex-shrink: 0;
}
.mock-thumb::after {
  content: '☕'; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 22px;
}
.mock-info { flex: 1; }
.mock-name { font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.mock-meta { font-size: 10.5px; color: var(--ink-mute); display: flex; gap: 8px; align-items: center; }
.mock-meta .live { color: var(--leaf); font-weight: 700; }
.mock-price { font-family: var(--font-display); font-weight: 500; color: var(--amber-deep); font-size: 14px; }

.float-card {
  position: absolute;
  background: var(--surface);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  display: flex; gap: 12px; align-items: center;
  animation: float 4s ease-in-out infinite;
}
.float-card .icon-bubble {
  width: 38px; height: 38px;
  background: rgba(95, 122, 79, 0.14);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--leaf);
  font-size: 18px;
}
.float-card .lbl { font-size: 11px; color: var(--ink-mute); }
.float-card .val { font-weight: 700; font-size: 14.5px; }
.float-card.fc-1 { top: 30px; left: -30px; }
.float-card.fc-2 { bottom: 40px; right: -30px; animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* MARQUEE / LOGOS BAR */
.partners-bar {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.partners-lbl {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.partners-row {
  display: flex; justify-content: space-around; align-items: center;
  flex-wrap: wrap; gap: 20px 40px;
}
.partner-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-mute);
  opacity: 0.7;
  letter-spacing: -0.01em;
}
.partner-name em { font-style: italic; }

/* SECTION HEADERS */
.section { padding: 100px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 14px;
  margin-bottom: 18px;
  color: var(--ink);
}
.section-head h2 em { font-style: italic; color: var(--amber-deep); font-weight: 500; }
[data-theme="dark"] .section-head h2 em { color: var(--amber-soft); }
.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card.dark {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}
.feature-card.dark .feature-num { color: var(--amber-soft); }
.feature-card.dark .feature-title { color: var(--cream); }
.feature-card.dark .feature-text { color: rgba(246, 239, 228, 0.7); }
.feature-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  font-style: italic;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 24px;
  opacity: 0.85;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}
.feature-text { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* POPULAR CAFES */
.cafe-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cafe-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.35s var(--ease);
  cursor: pointer;
}
.cafe-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.cafe-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.cafe-image::after {
  content: '☕';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 80px; opacity: 0.3;
  color: #fff;
}
.cafe-image.img-1 { background: linear-gradient(135deg, #8b5e3c 0%, #4a2c1a 100%); }
.cafe-image.img-2 { background: linear-gradient(135deg, #d4a374 0%, #6f4e37 100%); }
.cafe-image.img-3 { background: linear-gradient(135deg, #a0826d 0%, #2a1810 100%); }
.cafe-image.img-4 { background: linear-gradient(135deg, #c9956b 0%, #5a3a23 100%); }
.cafe-image.img-5 { background: linear-gradient(135deg, #8a6a4a 0%, #3a2418 100%); }
.cafe-image.img-6 { background: linear-gradient(135deg, #b8845e 0%, #4f3220 100%); }
.cafe-image .tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(26, 15, 9, 0.7);
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  backdrop-filter: blur(8px);
  display: flex; gap: 6px; align-items: center;
}
.cafe-image .fav-btn {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px;
  backdrop-filter: blur(8px);
  transition: all 0.2s var(--ease);
}
.cafe-image .fav-btn:hover { background: #fff; transform: scale(1.1); }
.cafe-image .fav-btn.active { color: var(--ruby); }
.cafe-body { padding: 20px; }
.cafe-meta-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
  font-size: 12.5px; color: var(--ink-mute);
}
.cafe-rating { display: flex; gap: 4px; align-items: center; color: var(--ink); font-weight: 600; }
.cafe-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--ink);
}
.cafe-desc { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.5; }
.cafe-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.cafe-eta { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--ink-soft); }

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 12px; left: 20px;
  font-family: var(--font-display);
  font-size: 100px;
  line-height: 1;
  color: var(--amber);
  opacity: 0.25;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 24px;
  position: relative;
}
.testimonial-author { display: flex; gap: 12px; align-items: center; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--coffee));
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.author-info .name { font-weight: 700; font-size: 14.5px; }
.author-info .role { font-size: 12.5px; color: var(--ink-mute); }

/* CTA */
.cta-section {
  padding: 80px 0 100px;
}
.cta-card {
  background: var(--espresso);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(224, 122, 31, 0.4) 0%, transparent 60%);
  filter: blur(60px);
}
.cta-card::after {
  content: '☕';
  position: absolute;
  bottom: -40px; left: 40px;
  font-size: 200px;
  opacity: 0.05;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
  position: relative;
  color: var(--cream);
}
.cta-card h2 em { font-style: italic; color: var(--amber-soft); font-weight: 500; }
.cta-card p {
  font-size: 17px;
  color: rgba(246, 239, 228, 0.78);
  max-width: 540px;
  margin: 0 auto 32px;
  position: relative;
}
.cta-card .hero-cta { justify-content: center; position: relative; }

/* FOOTER */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-tagline {
  font-size: 14px; color: var(--ink-soft);
  margin-top: 14px; max-width: 280px;
}
.footer-col h4 {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--amber-deep); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--ink-mute);
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: var(--surface-2);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all 0.2s var(--ease);
}
.footer-socials a:hover { background: var(--espresso); color: var(--cream); }

/* Animations: stagger reveal on load */
.reveal { opacity: 0; transform: translateY(20px); animation: reveal 0.7s var(--ease) forwards; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 56px 0 64px; }
  .features-grid, .cafe-list-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .cta-card { padding: 56px 28px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .float-card.fc-1, .float-card.fc-2 { display: none; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
