/* ===================================================
   RIO FRESH AÇAÍ BOWLS V3 - CONVERSION OPTIMIZED
   Based on A/B testing data for food ordering sites
   Key: Appetite appeal, trust signals, low friction
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  /* Rio Fresh Bowls - Authentic Brazilian Açaí Palette */
  --acai-deep: #3D1152;
  --acai-rich: #5C2D7A;
  --acai-purple: #7B3FA0;
  --amazon-green: #2E7D32;
  --amazon-light: #4CAF50;
  --tropical-gold: #F9A825;
  --pitaya-pink: #E91E63;
  --cream: #FDF8F3;
  --sand: #F5EDE4;
  --palm-green: #1B5E20;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --charcoal: #1C1C1C;
  --text-primary: #2A2A2A;
  --text-secondary: #5A5A5A;
  --text-muted: #8A8A8A;

  /* Trust Colors */
  --success: #22C55E;
  --star-gold: #FBBF24;

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 4px 30px rgba(61, 17, 82, 0.35);

  /* Spacing */
  --section-padding: 80px;
  --container-max: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== BUTTONS (Conversion Optimized) ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-transform: none;
}

/* Primary CTA - High Contrast, Action-Oriented */
.btn-order {
  background: linear-gradient(135deg, var(--amazon-green) 0%, var(--palm-green) 100%);
  color: var(--white);
  box-shadow: 0 4px 25px rgba(46, 125, 50, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-order::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-order:hover::before {
  left: 100%;
}

.btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(46, 125, 50, 0.5);
}

.btn-secondary {
  background: var(--white);
  color: var(--acai-deep);
  border: 2px solid var(--acai-deep);
}

.btn-secondary:hover {
  background: var(--acai-deep);
  color: var(--white);
}

.btn-sm {
  padding: 12px 24px;
  font-size: 0.9rem;
}

/* ==================== STICKY HEADER (Always Visible CTA) ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--acai-rich), var(--acai-deep));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
}

.logo-text span {
  color: var(--amazon-green);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--acai-deep);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.header-rating .stars {
  color: var(--star-gold);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--charcoal);
}

/* ==================== MOBILE NAV ==================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/* ==================== HERO - FOOD FORWARD ==================== */
.hero {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

/* Trust Badge - Shows Social Proof Early */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 8px 16px 8px 8px;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.trust-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
}

.trust-badge-text {
  font-weight: 600;
  color: var(--text-primary);
}

.trust-badge-text span {
  color: var(--star-gold);
}

.hero h1 {
  color: var(--charcoal);
  margin-bottom: 16px;
}

.hero h1 .highlight {
  color: var(--acai-deep);
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 480px;
}

/* Value Props - Quick Scannable */
.value-props {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.value-prop {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.value-prop-icon {
  color: var(--success);
  font-size: 1.25rem;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Image - Large, Appetizing */
.hero-image {
  position: relative;
}

.hero-image-main {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Floating Elements for Social Proof */
.floating-review {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-md);
  max-width: 220px;
  animation: float 4s ease-in-out infinite;
}

.floating-review.top {
  top: -20px;
  right: -20px;
}

.floating-review.bottom {
  bottom: 40px;
  left: -30px;
  animation-delay: -2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.floating-review-stars {
  color: var(--star-gold);
  margin-bottom: 6px;
}

.floating-review-text {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 8px;
}

.floating-review-author {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==================== SOCIAL PROOF BAR ==================== */
.social-proof-bar {
  background: linear-gradient(135deg, var(--acai-deep) 0%, var(--acai-rich) 100%);
  padding: 20px 0;
}

.proof-items {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.proof-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}

.proof-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ==================== MENU SECTION ==================== */
.menu-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  display: inline-block;
  background: var(--sand);
  color: var(--acai-deep);
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-header h2 {
  color: var(--charcoal);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
}

/* Menu Grid - Visual Focus */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.menu-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.menu-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.08);
}

.menu-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--amazon-green);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.menu-card-badge.bestseller {
  background: var(--tropical-gold);
  color: var(--charcoal);
}

.menu-card-body {
  padding: 24px;
}

.menu-card-body h3 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.menu-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.menu-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--acai-deep);
}

.menu-add-btn {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--amazon-green), var(--palm-green));
  border: none;
  border-radius: 12px;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-add-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.4);
}

/* ==================== WHY CHOOSE US ==================== */
.why-section {
  padding: var(--section-padding) 0;
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--tropical-gold), var(--amazon-green));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.why-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==================== REVIEWS SECTION ==================== */
.reviews-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--cream);
  padding: 28px;
  border-radius: 20px;
  transition: all 0.3s var(--ease);
}

.review-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: var(--star-gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.review-text {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--acai-rich), var(--pitaya-pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.review-info strong {
  display: block;
  color: var(--charcoal);
  font-weight: 700;
}

.review-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==================== ORDER CTA SECTION ==================== */
.order-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--acai-deep) 0%, var(--acai-rich) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.order-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.order-cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.order-cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 32px;
  position: relative;
}

.order-cta-section .btn-order {
  background: var(--tropical-gold);
  color: var(--charcoal);
  font-size: 1.1rem;
  padding: 18px 40px;
}

.order-cta-section .btn-order:hover {
  background: var(--amazon-green);
  color: var(--white);
}

/* ==================== CONTACT / LOCATION ==================== */
.contact-section {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.contact-text p,
.contact-text a {
  color: var(--text-secondary);
}

.contact-text a:hover {
  color: var(--berry);
}

.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 350px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--charcoal);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--tropical-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ==================== FLOATING ORDER BUTTON (Mobile) ==================== */
.floating-order-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 900;
  background: linear-gradient(135deg, var(--amazon-green), var(--palm-green));
  color: var(--white);
  padding: 16px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.5);
  transition: all 0.3s var(--ease);
}

.floating-order-btn:hover {
  transform: translateY(-3px);
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
    max-width: 550px;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin: 0 auto 28px;
  }

  .value-props {
    justify-content: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .floating-review {
    display: none;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .nav-menu,
  .header-cta .header-rating {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .floating-order-btn {
    display: block;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .proof-items {
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .value-props {
    flex-direction: column;
    align-items: center;
  }
}