/* 
   ====== BASE RESET & VARIABLES ====== 
*/
:root {
  --font-main: 'Outfit', sans-serif;
  --font-accent: 'Playfair Display', serif;
  
  /* Brand Colors */
  --brand-red: #d32f2f;
  --brand-green: #2e7d32;
  --bg-dark-green: #1b5e20;
  --bg-light-green: #e8f5e9;
  
  /* Plan Colors */
  --prime-bg: #fff1e5;
  --prime-border: #ff9800;
  --prime-text: #e65100;
  
  --plus-bg: #e3f2fd;
  --plus-border: #2196f3;
  --plus-text: #0d47a1;
  
  --lite-bg: #c8e6c9;
  --lite-border: #4caf50;
  --lite-text: #1b5e20;
  
  /* General Colors */
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  
  /* Utilities */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for fixed header */
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 
   ====== TYPOGRAPHY ====== 
*/
h1, h2, h3, h4 {
  color: var(--text-dark);
  line-height: 1.2;
}

.highlight {
  color: var(--brand-red);
  font-family: var(--font-accent);
  font-style: italic;
}

.highlight-text {
  color: var(--brand-green);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title-sm {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.divider {
  height: 4px;
  width: 60px;
  background: linear-gradient(to right, var(--brand-red), var(--brand-green));
  border-radius: 2px;
  margin-top: 10px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

/* 
   ====== BUTTONS ====== 
*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-green), var(--bg-dark-green));
  color: white;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.5);
}

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

.btn-secondary:hover {
  background-color: var(--brand-red);
  color: white;
}

/* 
   ====== NAVIGATION ====== 
*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  flex-direction: column;
}

.brand-meal {
  color: var(--brand-red);
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-accent);
}

.brand-tales {
  color: var(--brand-green);
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-accent);
}

.logo-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-green);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-green);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: var(--brand-green);
  cursor: pointer;
}

/* 
   ====== HERO SECTION ====== 
*/
.hero {
  min-height: 100vh;
  padding: 120px 0 60px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232e7d32" fill-opacity="0.05" d="M0,256L48,229.3C96,203,192,149,288,154.7C384,160,480,224,576,218.7C672,213,768,139,864,128C960,117,1056,171,1152,197.3C1248,224,1344,224,1392,224L1440,224L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.badge {
  display: inline-block;
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--brand-green);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  color: var(--bg-dark-green);
  line-height: 1.1;
}

.hero-title .highlight {
  font-size: 4rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 450px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 50%;
  padding: 20px;
  background: white;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-img {
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.floating-badge {
  position: absolute;
  background: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.floating-badge i {
  font-size: 1.8rem;
}

.badge-1 {
  top: 10%;
  left: 0;
  color: var(--brand-green);
  animation: float 5s ease-in-out infinite reverse;
}

.badge-2 {
  bottom: 15%;
  right: -5%;
  color: var(--brand-red);
  animation: float 7s ease-in-out infinite;
}

/* 
   ====== FEATURES SECTION ====== 
*/
.features {
  padding: 5rem 0;
  background-color: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-light);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  background: white;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.bg-blue { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.bg-green { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.bg-purple { background: linear-gradient(135deg, #c471ed 0%, #f64f59 100%); }
.bg-orange { background: linear-gradient(135deg, #fce38a 0%, #f38181 100%); }
.bg-teal { background: linear-gradient(135deg, #16a085 0%, #f4d03f 100%); }
.bg-red { background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%); }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

/* 
   ====== PLANS SECTION ====== 
*/
.plans {
  padding: 6rem 0;
  background-color: var(--bg-light-green);
  position: relative;
}

.plans-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  align-items: center; /* helps highlight the popular one */
}

.pricing-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.card-prime {
  border-top: 6px solid var(--prime-border);
}

.card-plus {
  border-top: 6px solid var(--plus-border);
  transform: scale(1.05);
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

.card-plus:hover {
  transform: scale(1.05) translateY(-10px);
}

.card-lite {
  border-top: 6px solid var(--lite-border);
}

.popular-badge {
  position: absolute;
  top: 25px;
  right: -60px;
  width: 200px;
  background: var(--brand-red);
  color: white;
  padding: 6px 0;
  font-size: 0.8rem;
  font-weight: 700;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 2;
}

.card-header {
  padding: 2rem;
  text-align: center;
}

.card-prime .card-header { background: var(--prime-bg); color: var(--prime-text); }
.card-plus .card-header { background: var(--plus-bg); color: var(--plus-text); }
.card-lite .card-header { background: var(--lite-bg); color: var(--lite-text); }

.card-header h3 {
  font-size: 1.8rem;
  margin: 0;
}

.card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.plan-features {
  margin-bottom: 2rem;
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--text-dark);
}

.plan-features li .feature-text {
  display: flex;
  flex-direction: column;
}

.plan-features li span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

.card-prime .fa-check-circle { color: var(--prime-border); }
.card-plus .fa-check-circle { color: var(--plus-border); }
.card-lite .fa-check-circle { color: var(--lite-border); }

.pricing-list {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 12px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.price-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-value del {
  color: #ef4444;
  font-size: 0.9rem;
  margin-right: 5px;
}

.price-value strong {
  font-size: 1.25rem;
  color: var(--text-dark);
}

.price-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.highlight-item {
  background: white;
  padding: 10px !important;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  margin-top: 5px;
}

.card-footer {
  padding: 0 2rem 2rem;
}

.btn-outline-prime {
  width: 100%;
  background: transparent;
  color: var(--prime-text);
  border: 2px solid var(--prime-border);
}
.btn-outline-prime:hover { background: var(--prime-border); color: white; }

.btn-plus {
  width: 100%;
  background: var(--plus-border);
  color: white;
}
.btn-plus:hover { background: var(--plus-text); }

.btn-outline-lite {
  width: 100%;
  background: transparent;
  color: var(--lite-text);
  border: 2px solid var(--lite-border);
}
.btn-outline-lite:hover { background: var(--lite-border); color: white; }

.global-includes {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--brand-green);
  font-size: 1.2rem;
}

.limited-offer-banner {
  margin-top: 2rem;
  background: linear-gradient(45deg, var(--brand-red), #ff6b6b);
  color: white;
  padding: 20px 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(211, 47, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

.limited-offer-banner i {
  font-size: 2.5rem;
}

.offer-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin: 0 20px;
}

.offer-text strong {
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.btn-offer {
  background: white;
  color: var(--brand-red);
  font-weight: 700;
}
.btn-offer:hover {
  background: var(--text-dark);
  color: white;
}

/* 
   ====== LOCATION & CONTACT SECTION ====== 
*/
.location-contact {
  padding: 5rem 0;
  background: white;
}

.lc-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 2fr;
  gap: 2rem;
}

.location-map {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.map-wrapper {
  flex-grow: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid white;
}

.contact-card {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--brand-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}

.contact-text {
  display: flex;
  flex-direction: column;
}

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

.contact-text strong {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.qr-card {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.qr-image-wrapper img {
  max-width: 150px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.qr-text span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* 
   ====== FOOTER ====== 
*/
footer {
  background: var(--bg-dark-green);
  color: white;
  padding: 4rem 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin: 1.5rem 0;
  max-width: 350px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--brand-red);
  transform: translateY(-3px);
}

.footer-links h3, .footer-legal h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h3::after, .footer-legal h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--brand-red);
}

.footer-links ul, .footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a, .footer-legal a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-links a:hover, .footer-legal a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* 
   ====== RESPONSIVE DESIGN ====== 
*/
@media (max-width: 992px) {
  .hero-container {
      grid-template-columns: 1fr;
      text-align: center;
  }
  
  .hero-title {
      font-size: 3.5rem;
  }
  
  .hero-description {
      margin: 0 auto 2.5rem;
  }
  
  .hero-actions {
      justify-content: center;
  }
  
  .pricing-grid {
      grid-template-columns: 1fr;
      gap: 3rem;
  }
  
  .card-plus {
      transform: none;
  }
  
  .card-plus:hover {
      transform: translateY(-10px);
  }
  
  .popular-badge {
      right: 0;
      top: 0;
      transform: none;
      border-radius: 0 20px 0 20px;
      width: auto;
      padding: 6px 16px;
  }
  
  .footer-container {
      grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
      display: block;
  }
  
  .nav-menu {
      position: fixed;
      top: 70px;
      left: -100%;
      flex-direction: column;
      background: white;
      width: 100%;
      text-align: center;
      transition: 0.3s;
      box-shadow: 0 10px 15px rgba(0,0,0,0.1);
      padding: 2rem 0;
      gap: 1.5rem;
  }
  
  .nav-menu.active {
      left: 0;
  }
  
  .lc-grid {
      grid-template-columns: 1fr;
  }
  
  .limited-offer-banner {
      flex-direction: column;
      text-align: center;
      gap: 1.5rem;
  }
  
  .offer-text {
      margin: 0;
  }
}

@media (max-width: 576px) {
  .hero-title {
      font-size: 2.5rem;
  }
  
  .hero-title .highlight {
      font-size: 2.5rem;
  }
  
  .hero-actions {
      flex-direction: column;
  }
  
  .footer-container {
      grid-template-columns: 1fr;
  }
  
  .contact-card {
      padding: 2rem 1.5rem;
  }
}
