/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Nunito:wght@400;600;700;800;900&display=swap');

/* ===== CSS Variables & Reset ===== */
:root {
  --primary: #1d3c34;
  --primary-light: #2a5446;
  --primary-dark: #142a24;
  --secondary: #76b82a;
  --secondary-light: #8cd438;
  --accent: #76b82a;
  --yellow: #ffd700;
  --earth: #1d3c34;
  --earth-light: #2a5446;
  --cream: #f7f9f4;
  --cream-dark: #eaf0e4;
  --text: #1d3c34;
  --text-light: #4a6358;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

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

body {
  font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Lilita One', cursive;
  font-weight: 400;
  line-height: 1.1;
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  text-transform: uppercase;
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

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

.section-header h2 {
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 600;
}

.section-label {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-dark);
  background: var(--yellow);
  padding: 6px 18px;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border: none;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--yellow);
  color: #111;
}

.btn-primary:hover {
  background: #ffe033;
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 3px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px) rotate(1deg);
}

.btn-accent {
  background: var(--yellow);
  color: #111;
}

.btn-accent:hover {
  background: #ffe033;
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* ===== Animations ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-3deg); }
  30% { transform: rotate(3deg); }
  45% { transform: rotate(-2deg); }
  60% { transform: rotate(2deg); }
  75% { transform: rotate(-1deg); }
  90% { transform: rotate(1deg); }
}

@keyframes bounce-in {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ===== Section Dividers (removed zigzag, using clean spacing) ===== */

/* ===== Lucide Icon Styling ===== */
.lucide-icon {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.feature-icon .lucide-icon,
.float-icon .lucide-icon {
  width: 32px;
  height: 32px;
}

.value-icon .lucide-icon {
  width: 20px;
  height: 20px;
}

.contact-icon .lucide-icon {
  width: 26px;
  height: 26px;
}

.dash-stat-icon .lucide-icon {
  width: 28px;
  height: 28px;
}

.journey-dot .lucide-icon {
  width: 24px;
  height: 24px;
}

/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--yellow);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.logo-img {
  height: 60px;
  width: auto;
  filter: invert(1) brightness(2);
  -webkit-filter: invert(1) brightness(2);
  mix-blend-mode: screen;
}

.footer .logo-img {
  height: 56px;
  filter: invert(1) brightness(2);
  -webkit-filter: invert(1) brightness(2);
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  text-transform: lowercase;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

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

.nav-links a.active {
  color: var(--white);
}

/* Nav hover preview (mega-menu style) */
.nav-has-preview {
  position: relative;
}

.nav-preview {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1001;
  padding: 12px 0;
  padding-top: 24px;
  margin-top: 0;
}

.nav-preview::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--white);
}

/* Invisible bridge to keep hover alive between link and dropdown */
.nav-has-preview::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
}

.nav-has-preview:hover .nav-preview {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
  pointer-events: auto;
}

.nav-preview a {
  display: block;
  padding: 8px 24px;
  color: var(--text) !important;
  font-family: 'Lilita One', cursive;
  font-size: 1.1rem;
  font-weight: 400;
  transition: all 0.2s ease;
  text-transform: none !important;
}

.nav-preview a::after {
  display: none !important;
}

.nav-preview a:hover {
  background: var(--cream);
  color: var(--primary) !important;
  padding-left: 28px;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--yellow) !important;
  color: #111 !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: #ffe033 !important;
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(118, 184, 42, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: #111;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 24px;
  font-family: 'Nunito', sans-serif;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 span {
  color: var(--yellow);
}

.hero-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.8;
  font-weight: 600;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
}

.hero-stat h3 {
  font-size: 2.2rem;
  color: var(--yellow);
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: rotate(-2deg);
  border: 5px solid var(--yellow);
}

.hero-image-placeholder {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 40px;
}

.hero-image-placeholder .icon {
  font-size: 5rem;
  margin-bottom: 16px;
}

.hero-image-placeholder p {
  font-size: 1rem;
  opacity: 0.8;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 8px 30px var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite;
  border-left: 4px solid var(--yellow);
}

.hero-float-card:nth-child(2) {
  top: 10%;
  right: -20px;
  animation-delay: -2s;
}

.hero-float-card:nth-child(3) {
  bottom: 15%;
  left: -20px;
  animation-delay: -4s;
}

.float-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.float-icon.green { background: rgba(118, 184, 42, 0.2); }
.float-icon.gold { background: rgba(255, 215, 0, 0.25); }

.float-text small {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}

.float-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-dark);
  font-weight: 800;
}

/* ===== Section Spacing ===== */
section {
  padding: 100px 0;
}

.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }

.bg-primary {
  background: var(--primary);
  color: var(--white);
}

.bg-primary h2,
.bg-primary h3,
.bg-primary h4 {
  color: var(--white);
}

.bg-primary .section-label {
  background: var(--yellow);
  color: #111;
}

.bg-primary p {
  color: rgba(255, 255, 255, 0.85);
}

.bg-primary .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.bg-green {
  background: var(--secondary);
  color: var(--white);
}

.bg-green h2,
.bg-green h3 {
  color: var(--white);
}

.bg-green .section-label {
  background: var(--primary);
  color: var(--white);
}

.bg-green p {
  color: rgba(255, 255, 255, 0.9);
}

.bg-green .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  border: 3px solid transparent;
  box-shadow: 0 4px 20px var(--shadow);
}

.feature-card:hover {
  transform: rotate(-1deg) scale(1.02);
  box-shadow: 0 16px 48px var(--shadow-lg);
  border-color: var(--yellow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: var(--yellow);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===== About / Story Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-2deg);
  border: 5px solid var(--yellow);
  transition: transform var(--transition);
}

.about-image:hover {
  transform: rotate(0deg);
}

.about-image .placeholder-img {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 40px;
}

.about-image .placeholder-img .icon {
  font-size: 4rem;
  margin-bottom: 12px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 600;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.value-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===== Products Section ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.products-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  border: 3px solid transparent;
  box-shadow: 0 4px 20px var(--shadow);
}

.product-card:hover {
  transform: rotate(-1deg) scale(1.02);
  box-shadow: 0 16px 48px var(--shadow-lg);
  border-color: var(--yellow);
}

.product-image {
  height: 220px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--yellow);
  color: #111;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  margin-bottom: 8px;
}

.product-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  font-family: 'Lilita One', cursive;
}

.product-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

/* ===== Shop Section ===== */
.shop-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.shop-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.shop-categories button {
  padding: 10px 28px;
  border: 3px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: lowercase;
}

.shop-categories button.active,
.shop-categories button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #111;
  transform: scale(1.05);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.shop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid transparent;
  transition: all var(--transition);
  box-shadow: 0 4px 20px var(--shadow);
}

.shop-card:hover {
  transform: rotate(-1deg) scale(1.02);
  box-shadow: 0 16px 48px var(--shadow-lg);
  border-color: var(--yellow);
}

.shop-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 3.5rem;
  overflow: hidden;
  position: relative;
}

.shop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.shop-card-body {
  padding: 20px;
}

.shop-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.shop-card-body .description {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.shop-card-body .traceability {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--secondary);
  margin-bottom: 16px;
  font-weight: 700;
}

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

.shop-card-footer .price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  font-family: 'Lilita One', cursive;
}

.shop-card-footer .btn-sm {
  border-radius: 50px;
}

/* ===== Coming Soon Cuts Grid ===== */
.cuts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.cut-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--cream-dark);
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.cut-card::after {
  content: 'COMING SOON';
  position: absolute;
  top: 12px;
  right: -28px;
  background: var(--accent);
  color: var(--text);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 4px 32px;
  transform: rotate(35deg);
  letter-spacing: 0.5px;
}

.cut-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: 0 8px 24px var(--shadow);
}

.cut-image {
  height: 160px;
  overflow: hidden;
}

.cut-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transition: all var(--transition);
}

.cut-card:hover .cut-image img {
  filter: saturate(1);
  transform: scale(1.05);
}

.cut-label {
  display: block;
  padding: 14px;
  font-family: 'Lilita One', cursive;
  font-size: 1.1rem;
  color: var(--text);
}

/* ===== Subscription Plans ===== */
.subscription-section {
  padding: 80px 0;
}

.subscription-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.sub-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  border: 3px solid var(--cream-dark);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px var(--shadow);
}

.sub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.sub-card-featured {
  border-color: var(--yellow);
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.sub-card-featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.sub-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--primary-dark);
  font-family: 'Lilita One', cursive;
  font-size: 0.8rem;
  padding: 4px 20px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.sub-badge {
  display: inline-block;
  background: var(--cream);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.sub-card h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.sub-for {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.sub-price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--cream);
}

.sub-amount {
  font-family: 'Lilita One', cursive;
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
}

.sub-period {
  color: var(--text-light);
  font-weight: 700;
}

.sub-perks {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  flex: 1;
}

.sub-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}

.sub-btn {
  width: 100%;
  text-align: center;
  border-radius: 50px !important;
  font-size: 1rem;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 2.5rem;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  border: 4px solid var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: rotate(-1deg) scale(1.03);
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: auto;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay p {
  color: var(--white);
  font-weight: 700;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 3px solid transparent;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: var(--yellow);
  transform: rotate(-1deg);
}

.testimonial-stars {
  color: var(--yellow);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
  font-weight: 600;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== Review Form ===== */
.review-form-wrapper {
  max-width: 640px;
  margin: 48px auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 3px solid var(--cream-dark);
  box-shadow: 0 4px 20px var(--shadow);
}

.review-form-wrapper h3 {
  font-family: 'Lilita One', cursive;
  font-size: 1.4rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 24px;
}

.review-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.review-form .form-group {
  margin-bottom: 16px;
}

.review-form label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text);
}

.review-form input,
.review-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.review-form textarea {
  resize: vertical;
}

.star-rating {
  display: flex;
  gap: 4px;
}

.star-rating .star {
  font-size: 1.8rem;
  color: var(--cream-dark);
  cursor: pointer;
  transition: color 0.15s ease;
}

.star-rating .star.active {
  color: var(--accent);
}

.review-success {
  text-align: center;
  padding: 24px;
}

.review-success h3 {
  color: var(--secondary) !important;
}

/* ===== CTA Banner ===== */
.cta-banner {
  text-align: center;
  padding: 100px 24px;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  max-width: 500px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 32px;
  font-weight: 600;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 12px 40px var(--shadow);
  border: 3px solid var(--cream-dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text);
  text-transform: lowercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 3px solid var(--cream-dark);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
  position: relative;
}

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

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

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--yellow);
  color: #111;
  transform: rotate(-5deg) scale(1.1);
}

.footer-col h4 {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: 'Lilita One', cursive;
  text-transform: uppercase;
}

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

.footer-col ul li a {
  font-weight: 600;
  transition: all var(--transition);
}

.footer-col ul li a:hover {
  color: var(--yellow);
  padding-left: 6px;
}

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

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  display: none;
}

.page-hero h1 {
  margin-bottom: 12px;
  color: var(--white);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 600;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.breadcrumb a {
  color: var(--yellow);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Timeline (About page) ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--yellow);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-content {
  flex: 1;
  padding: 0 40px;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  border: 4px solid var(--cream);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 0 4px var(--yellow);
}

.timeline-year {
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===== Team Grid ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  border: 3px solid transparent;
  transition: all var(--transition);
  box-shadow: 0 4px 20px var(--shadow);
}

.team-card:hover {
  transform: rotate(-1deg) scale(1.02);
  box-shadow: 0 16px 48px var(--shadow-lg);
  border-color: var(--yellow);
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
  border: 4px solid var(--yellow);
}

.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ===== Process Steps ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--yellow);
  color: #111;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 auto 20px;
  font-family: 'Lilita One', cursive;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.process-step p {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== Map placeholder ===== */
.map-container {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 60px;
  border: 4px dashed var(--secondary);
  font-weight: 700;
}

/* ===== Cart Sidebar ===== */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 2001;
  transition: right var(--transition);
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--yellow);
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 3px solid var(--cream-dark);
  background: var(--primary);
  color: var(--white);
}

.cart-header h3 {
  font-size: 1.3rem;
  color: var(--white);
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--white);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-empty {
  text-align: center;
  color: var(--text-light);
  padding: 40px 0;
  font-weight: 600;
}

.cart-empty .icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 2px solid var(--cream-dark);
  align-items: center;
}

.cart-item-image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cart-item-details .cart-item-price {
  color: var(--primary);
  font-weight: 800;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-item-qty button {
  width: 30px;
  height: 30px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.cart-item-qty button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.cart-item-qty span {
  font-weight: 800;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
}

.cart-item-remove:hover {
  color: #c0392b;
  animation: wiggle 0.5s ease;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 3px solid var(--cream-dark);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 800;
}

.cart-total .amount {
  color: var(--primary);
  font-size: 1.4rem;
  font-family: 'Lilita One', cursive;
}

.cart-footer .btn {
  width: 100%;
  justify-content: center;
}

/* Cart count badge */
.cart-count {
  background: var(--yellow);
  color: #111;
  font-size: 0.7rem;
  font-weight: 900;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  vertical-align: middle;
}

/* ===== Toast Notification ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--yellow);
  color: #111;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  animation: pop 0.3s ease;
}

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

  .hero-content { max-width: 100%; }

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

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

  .hero-visual { display: none; }

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

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

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

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

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .timeline::before { left: 20px; }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    padding: 0 0 0 50px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 20px;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-preview {
    display: none !important;
  }

  .nav-links.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  section { padding: 70px 0; }

  .review-form .form-row {
    grid-template-columns: 1fr;
  }

  .review-form-wrapper {
    padding: 24px;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .products-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .cuts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cut-image {
    height: 120px;
  }

  .subscription-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .sub-card-featured {
    transform: none;
  }

  .sub-card-featured:hover {
    transform: translateY(-4px);
  }

  .about-values {
    grid-template-columns: 1fr;
  }
}

/* ===== Live Farm Stats Dashboard ===== */
.farm-dashboard {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 12px 40px var(--shadow);
  border: 3px solid var(--cream-dark);
  max-width: 900px;
  margin: 0 auto;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--cream-dark);
}

.dashboard-header h3 {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(118, 184, 42, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(118, 184, 42, 0); }
}

.dashboard-time {
  font-size: 0.8rem;
  color: var(--text-light);
  font-family: 'Nunito', monospace;
  font-weight: 700;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dash-stat {
  text-align: center;
  padding: 20px 8px;
  background: var(--cream);
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 3px solid transparent;
}

.dash-stat:hover {
  transform: translateY(-4px) rotate(-1deg);
  border-color: var(--yellow);
}

.dash-stat-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.dash-stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  font-family: 'Lilita One', cursive;
  line-height: 1;
  margin-bottom: 4px;
}

.dash-stat-value.excellent {
  color: var(--secondary);
}

.dash-stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

/* ===== Meet Your Pig QR Demo ===== */
.qr-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.qr-phone {
  width: 280px;
  height: 540px;
  background: #111;
  border-radius: 36px;
  padding: 12px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  border: 3px solid #333;
}

.qr-phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.qr-scan-view {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  transition: opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.qr-scan-view.hidden {
  opacity: 0;
  pointer-events: none;
}

.qr-viewfinder {
  width: 160px;
  height: 160px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  position: relative;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.qr-viewfinder::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--yellow);
  animation: qr-scan-line 2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--yellow);
}

@keyframes qr-scan-line {
  0%, 100% { top: -1px; }
  50% { top: calc(100% - 2px); }
}

.qr-scan-text {
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 600;
}

.qr-scan-btn {
  margin-top: 20px;
  padding: 12px 32px;
  background: var(--yellow);
  color: #111;
  border: none;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
}

.qr-scan-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.qr-profile-view {
  width: 100%;
  height: 100%;
  padding: 20px 16px;
  overflow-y: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background: var(--cream);
}

.qr-profile-header {
  text-align: center;
  margin-bottom: 16px;
}

.qr-pig-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 8px;
  border: 3px solid var(--yellow);
}

.qr-profile-header h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.qr-profile-header .qr-tag-id {
  font-size: 0.7rem;
  color: var(--text-light);
  font-family: monospace;
  background: var(--yellow);
  color: #111;
  padding: 2px 10px;
  border-radius: 4px;
  display: inline-block;
  font-weight: 800;
}

.qr-profile-section {
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border: 2px solid var(--cream-dark);
}

.qr-profile-section h5 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 800;
}

.qr-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.78rem;
}

.qr-stat-row span:first-child {
  color: var(--text-light);
  font-weight: 600;
}

.qr-stat-row span:last-child {
  font-weight: 800;
  color: var(--primary-dark);
}

.qr-health-bar {
  height: 8px;
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}

.qr-health-fill {
  height: 100%;
  background: var(--secondary);
  border-radius: 4px;
  transition: width 1s ease;
}

.qr-reset-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: all var(--transition);
}

.qr-reset-btn:hover {
  background: var(--primary-light);
}

/* ===== Pig Name Generator ===== */
.name-generator {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.name-display {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: 0 8px 30px var(--shadow);
  border: 4px dashed var(--cream-dark);
  transition: all 0.4s ease;
}

.name-display.revealed {
  border-color: var(--yellow);
  border-style: solid;
  animation: pop 0.4s ease;
}

.name-display .pig-emoji {
  font-size: 3.5rem;
  margin-bottom: 8px;
  transition: transform 0.4s ease;
}

.name-display.revealed .pig-emoji {
  animation: pig-bounce 0.6s ease;
}

@keyframes pig-bounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-20px) rotate(-5deg); }
  60% { transform: translateY(-10px) rotate(5deg); }
}

.generated-name {
  font-size: 2.2rem;
  font-family: 'Lilita One', cursive;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.generated-title {
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
  font-weight: 600;
}

.name-placeholder {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
}

.generate-btn {
  padding: 18px 48px;
  background: var(--yellow);
  color: #111;
  border: none;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.generate-btn:hover {
  background: #ffe033;
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.generate-btn:active {
  transform: translateY(0) rotate(0deg);
}

.name-share {
  margin-top: 16px;
  display: none;
}

.name-share.visible {
  display: block;
}

.name-share button {
  padding: 10px 24px;
  background: #25D366;
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Nunito', sans-serif;
}

.name-share button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* ===== Farm to Table Journey ===== */
.journey-section {
  position: relative;
  overflow: hidden;
}

.journey-track {
  display: flex;
  gap: 0;
  position: relative;
  padding: 40px 0;
}

.journey-track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--cream-dark);
  transform: translateY(-50%);
  z-index: 0;
  border-radius: 3px;
}

.journey-progress-line {
  position: absolute;
  top: 50%;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--secondary), var(--yellow));
  transform: translateY(-50%);
  z-index: 1;
  width: 0;
  transition: width 0.6s ease;
  border-radius: 3px;
}

.journey-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  opacity: 0.3;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.journey-step.active {
  opacity: 1;
  transform: translateY(0);
}

.journey-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  border: 4px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
  transition: all 0.5s ease;
  position: relative;
}

.journey-step.active .journey-dot {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.journey-step.active .journey-dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  animation: ring-pulse 1.5s ease-out infinite;
}

@keyframes ring-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.journey-step h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.journey-step p {
  font-size: 0.82rem;
  color: var(--text-light);
  max-width: 150px;
  margin: 0 auto;
  font-weight: 600;
}

.journey-data-reveal {
  text-align: center;
  margin-top: 32px;
  min-height: 60px;
}

.journey-data-card {
  display: inline-block;
  background: var(--white);
  padding: 18px 36px;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px var(--shadow);
  border-left: 5px solid var(--yellow);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.journey-data-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.journey-data-card .data-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

.journey-data-card .data-value {
  font-size: 1.3rem;
  font-family: 'Lilita One', cursive;
  color: var(--primary-dark);
}

/* ===== Responsive for new features ===== */
@media (max-width: 968px) {
  .qr-demo {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .dash-stat-value {
    font-size: 1.5rem;
  }

  .qr-phone {
    width: 240px;
    height: 460px;
  }

  .journey-track {
    flex-direction: column;
    gap: 24px;
    padding: 20px 0;
  }

  .journey-track::before {
    top: 0;
    bottom: 0;
    left: 26px;
    right: auto;
    width: 6px;
    height: 100%;
    transform: none;
  }

  .journey-progress-line {
    top: 0;
    left: 26px;
    width: 6px !important;
    height: 0;
    transform: none;
    transition: height 0.6s ease;
  }

  .journey-step {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .journey-dot {
    margin: 0;
    flex-shrink: 0;
  }

  .journey-step p {
    max-width: none;
    margin: 0;
  }
}

/* ===== Pig Fact Generator (Footer) ===== */
.pig-fact-generator {
  background: var(--yellow);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pig-fact-generator::before {
  content: '🐷';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 4rem;
  opacity: 0.15;
  transform: rotate(15deg);
}

.pig-fact-content {
  position: relative;
  z-index: 1;
}

.pig-fact-label {
  display: inline-block;
  font-family: 'Lilita One', cursive;
  font-size: 1.3rem;
  color: #111;
  margin-bottom: 12px;
  text-transform: lowercase;
}

.pig-fact-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  min-height: 48px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pig-fact-btn {
  padding: 10px 28px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: lowercase;
}

.pig-fact-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ===== Power BI Embed ===== */
.powerbi-section {
  padding: 60px 0;
}

.powerbi-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow);
  border: 3px solid var(--yellow);
}

.powerbi-container iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.powerbi-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 40px;
}

.powerbi-placeholder .lucide-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  color: var(--yellow);
}

.powerbi-placeholder h3 {
  color: var(--yellow);
  margin-bottom: 8px;
}

.powerbi-placeholder p {
  color: rgba(255,255,255,0.7);
  max-width: 400px;
}

@media (max-width: 768px) {
  .powerbi-container iframe {
    height: 400px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Product image overflow for photos */
.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
}

.product-badge {
  position: relative;
  z-index: 2;
}
