/* ==========================================================================
   MDMA SPICES AND FOODS — Core Design System & Global Stylesheet
   Brand Identity: Clean Minimal Neutral System (White, Black, Gray) with Red Accent
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Core Colors (Refined Red Accent & Neutral System) */
  --color-primary: #C5221F;
  --color-primary-hover: #A71B18;
  --color-primary-light: #DC2626;
  --color-primary-dark: #991B1B;
  --color-primary-subtle: #FDF2F2;

  --color-red: #C5221F;
  --color-red-light: #DC2626;
  --color-red-dark: #991B1B;

  /* Legacy variable mappings to ensure 100% theme compatibility */
  --color-gold: #C5221F;
  --color-gold-light: #DC2626;
  --color-gold-dark: #991B1B;
  --color-gold-glow: rgba(197, 34, 31, 0.15);

  --color-green: #374151;
  --color-green-light: #4B5563;
  --color-green-dark: #1F2937;
  --color-green-badge: #F3F4F6;

  /* Clean Dark Neutral Backgrounds */
  --bg-dark-primary: #111827;
  --bg-dark-secondary: #18181B;
  --bg-dark-card: #1F2937;
  --bg-dark-elevated: #27272A;

  /* Clean Light Neutral Backgrounds */
  --bg-light-primary: #FFFFFF;
  --bg-light-secondary: #F8F9FA;
  --bg-light-card: #FFFFFF;
  --bg-light-cream: #F9FAFB;

  /* Text Colors */
  --text-light: #F9FAFB;
  --text-light-muted: #9CA3AF;
  --text-dark: #111827;
  --text-dark-muted: #6B7280;
  --text-gold: #C5221F;
  --text-primary: #C5221F;

  /* Clean Neutral Borders */
  --border-gold: #E5E7EB;
  --border-gold-strong: #D1D5DB;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-light: #E5E7EB;
  --border-neutral: #E5E7EB;

  /* Typography */
  --font-serif: 'Playfair Display', 'Cinzel', Georgia, serif;
  --font-display: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions & Minimal Clean Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-dark-card: 0 10px 30px rgba(0, 0, 0, 0.25);

  /* Global Layout Variables */
  --container-max: 1360px;
  --container-pad: 24px;
  --header-height: 84px;
  --topbar-height: 38px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;
}

/* ==========================================================================
   Base Reset & Normalization (Zero Horizontal Scroll Guarantee)
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-light-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main,
.main-content {
  flex-grow: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  box-sizing: border-box;
  max-width: 100%;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}
.font-display {
  font-family: var(--font-display);
}

.text-gold {
  color: var(--color-primary) !important;
}

.text-gold-light {
  color: var(--color-primary-light) !important;
}

.text-red {
  color: var(--color-primary) !important;
}

.text-green {
  color: #374151 !important;
}

.text-muted {
  color: var(--text-dark-muted) !important;
}

.text-light-muted {
  color: var(--text-light-muted) !important;
}

.text-white {
  color: #FFFFFF !important;
}

/* Responsive Container System */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-fluid {
  width: 100%;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Sections */
.section {
  padding: clamp(50px, 7vw, 90px) 0;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.section-lg {
  padding: clamp(70px, 9vw, 120px) 0;
}

.section-sm {
  padding: clamp(35px, 5vw, 60px) 0;
}

.section-dark {
  background-color: var(--bg-dark-primary);
  color: var(--text-light);
}

.section-dark-secondary {
  background-color: var(--bg-dark-secondary);
  color: var(--text-light);
}

.section-light {
  background-color: var(--bg-light-primary);
  color: var(--text-dark);
}

.section-cream {
  background-color: var(--bg-light-secondary);
  color: var(--text-dark);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(30px, 5vw, 50px) auto;
  position: relative;
  padding: 0 10px;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.section-tag::before,
.section-tag::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: #D1D5DB;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  color: inherit;
  margin-bottom: 14px;
}

.section-dark .section-title,
.section-dark-secondary .section-title {
  color: var(--text-light);
}

.section-subtitle {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: var(--text-dark-muted);
  line-height: 1.65;
}

.section-dark .section-subtitle,
.section-dark-secondary .section-subtitle {
  color: var(--text-light-muted);
}

/* ==========================================================================
   MASTER GLOBAL HEADER & TOP BAR
   ========================================================================== */

/* Top Announcement Bar */
.top-bar {
  background: #111827;
  color: #F9FAFB;
  font-size: 0.8rem;
  font-weight: 500;
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 101;
  padding: 4px 0;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.top-bar-badge {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.top-bar-center {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #D1D5DB;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #D1D5DB;
  transition: color var(--transition-fast);
}

.top-bar-link:hover {
  color: #FFFFFF;
}

/* Main Header */
.main-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--transition-smooth);
}

.main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom-color: var(--border-gold-strong);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.6vw, 24px);
  width: 100%;
}

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

.header-logo img {
  height: clamp(34px, 3.8vw, 46px);
  width: auto;
  max-width: 195px;
  transition: transform var(--transition-fast);
}

.header-logo:hover img {
  transform: scale(1.02);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  flex-shrink: 1;
}

.nav-link {
  color: var(--text-dark);
  font-size: clamp(0.84rem, 0.92vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-smooth);
  border-radius: 2px;
}

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

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

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 10px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-smooth);
  z-index: 105;
}

.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  color: #4B5563;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background-color: var(--bg-light-secondary);
  color: var(--color-primary);
  padding-left: 22px;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 10px);
  flex-shrink: 0;
}

.header-action-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  background: #F3F4F6;
  position: relative;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  font-size: 0.95rem;
}

.header-action-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-primary-subtle);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.action-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  line-height: 1;
  padding: 0 2px;
}

.header-cta-btn {
  padding: 8px 16px;
  background: var(--color-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--border-radius-full);
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(197, 34, 31, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta-btn:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 14px rgba(197, 34, 31, 0.35);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  background: #F3F4F6;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

/* ==========================================================================
   Search Modal
   ========================================================================== */

.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(60px, 12vh, 120px) 16px 20px 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  box-sizing: border-box;
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-box {
  width: 100%;
  max-width: 680px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transform: translateY(-20px);
  transition: transform var(--transition-smooth);
  max-height: 80vh;
  overflow-y: auto;
}

.search-modal.active .search-modal-box {
  transform: translateY(0);
}

.search-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.search-form-header h3 {
  color: var(--text-dark);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

.close-search-btn {
  color: var(--text-dark-muted);
  font-size: 1.5rem;
  transition: color var(--transition-fast);
}

.close-search-btn:hover {
  color: var(--color-primary);
}

.search-input-group {
  position: relative;
  margin-bottom: 18px;
}

.search-input-group input {
  width: 100%;
  padding: 14px 48px 14px 18px;
  background: #F9FAFB;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  color: var(--text-dark);
  font-size: 1.05rem;
}

.search-input-group input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(197, 34, 31, 0.12);
}

.search-submit-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 1.25rem;
}

.search-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.search-quick-tags span {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

.tag-btn {
  padding: 4px 12px;
  background: #F3F4F6;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-full);
  color: #4B5563;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.tag-btn:hover {
  background: var(--color-primary-subtle);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.search-live-results {
  max-height: 280px;
  overflow-y: auto;
  margin-top: 14px;
}

/* ==========================================================================
   MASTER GLOBAL FOOTER
   ========================================================================== */

.main-footer {
  background: #111827;
  color: var(--text-light);
  border-top: 1px solid #1F2937;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: auto;
}

.main-footer .container,
.main-footer .footer-top,
.main-footer .footer-main,
.main-footer .footer-newsletter-inner,
.main-footer .footer-bottom-inner {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(24px, 4.5vw, 60px);
  padding-right: clamp(24px, 4.5vw, 60px);
}

.footer-newsletter {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0;
}

.footer-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-newsletter .newsletter-text h3 {
  color: #FFF;
  font-size: 1.25rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-newsletter .newsletter-text p {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-newsletter .newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  width: 100%;
}

.footer-newsletter .newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-sm);
  color: #FFF;
  font-size: 0.9rem;
  outline: none;
}

.footer-newsletter .newsletter-form input:focus {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.1);
}

.footer-top,
.footer-main {
  padding-top: clamp(50px, 7vw, 80px);
  padding-bottom: clamp(35px, 5vw, 50px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}

.footer-about .footer-logo img {
  height: clamp(38px, 4.5vw, 48px);
  width: auto;
  max-width: 190px;
  margin-bottom: 18px;
}

.footer-about p {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  line-height: 1.68;
  margin-bottom: 22px;
  max-width: 290px;
}

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

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.social-icon-btn:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(197, 34, 31, 0.3);
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: 0.02em;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

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

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-light-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-contact-item i {
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 0.82rem;
  color: var(--text-light-muted);
  background: #0B0F19;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-badges {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.footer-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #D1D5DB;
  font-weight: 500;
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}

.toast {
  pointer-events: auto;
  width: 100%;
  max-width: 400px;
  background: #18181B;
  border: 1px solid #27272A;
  border-radius: var(--border-radius-md);
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #FFFFFF;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

.toast.removing {
  opacity: 0;
  transform: translateX(60px);
}

.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.toast.success .toast-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid #10B981;
}

.toast.error .toast-icon {
  background: rgba(197, 34, 31, 0.15);
  color: #EF4444;
  border: 1px solid #EF4444;
}

.toast.info .toast-icon {
  background: rgba(59, 130, 246, 0.15);
  color: #3B82F6;
  border: 1px solid #3B82F6;
}

.toast-body {
  flex-grow: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.toast-message {
  font-size: 0.82rem;
  color: #9CA3AF;
}

.toast-close {
  color: #9CA3AF;
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition-fast);
}

.toast-close:hover {
  color: #FFFFFF;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   Hero Product Slider & SaaS Product Mockup Showcase
   ========================================================================== */

.hero-slider-section {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #F8F9FA;
  border-bottom: 1px solid var(--border-light);
  padding: 50px 0 65px 0;
}

.hero-slider-track {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-slide {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.97) translateX(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1) translateX(0);
  z-index: 3;
}

.hero-slide-container {
  position: relative;
  z-index: 2;
  padding-top: 15px;
  padding-bottom: 25px;
}

.hero-slide.active .section-tag {
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-slide.active h1 {
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-slide.active p {
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-slide.active .hero-cta-group {
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-slide.active .hero-trust-badges {
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-slide.active .hero-visual {
  animation: heroMockupZoom 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

@keyframes heroFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroMockupZoom {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-gold-gradient {
  color: var(--color-primary);
  background: none;
  -webkit-text-fill-color: initial;
  display: inline-block;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-item i {
  font-size: 1.15rem;
  color: var(--color-primary);
}

.hero-trust-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

/* SaaS Product UI Mockup Card */
.saas-product-mockup {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 490px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.4s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}

.saas-product-mockup:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--border-gold-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.mockup-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #F3F4F6;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.78rem;
}

.mockup-window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.control-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.control-dot.red { background: #EF4444; }
.control-dot.yellow { background: #D1D5DB; }
.control-dot.green { background: #D1D5DB; }

.mockup-window-title {
  color: #4B5563;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.03em;
}

.mockup-window-title i {
  color: var(--color-primary);
}

.mockup-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border: 1px solid rgba(197, 34, 31, 0.2);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 6px var(--color-primary);
  animation: pulseRed 1.8s infinite;
}

@keyframes pulseRed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.mockup-visual-body {
  position: relative;
  padding: 16px;
  overflow: hidden;
  background: #F9FAFB;
}

.mockup-image-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
}

.mockup-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.saas-product-mockup:hover .mockup-product-img {
  transform: scale(1.05);
}

/* Floating SaaS Telemetry Badges */
.mockup-badge {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 2;
  pointer-events: none;
}

.mockup-badge-topleft {
  top: 26px;
  left: 26px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.mockup-badge-topleft .badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.mockup-badge-topleft .badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mockup-badge-topleft .badge-sub {
  font-size: 0.65rem;
  color: #6B7280;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.mockup-badge-topleft .badge-main {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
}

.mockup-badge-topright {
  top: 26px;
  right: 26px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-badge-topright .stars {
  color: #EAB308;
  font-size: 0.75rem;
}

.mockup-badge-topright .badge-score {
  font-size: 0.82rem;
  font-weight: 800;
  color: #111827;
}

.mockup-badge-bottomleft {
  bottom: 26px;
  left: 26px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-nutrition-item {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.badge-nutrition-item .nutri-label {
  font-size: 0.62rem;
  color: #6B7280;
  text-transform: uppercase;
  font-weight: 600;
}

.badge-nutrition-item .nutri-val {
  font-size: 0.8rem;
  font-weight: 800;
  color: #111827;
}

.badge-nutrition-divider {
  width: 1px;
  height: 22px;
  background: var(--border-light);
}

.mockup-badge-bottomright {
  bottom: 26px;
  right: 26px;
  padding: 7px 12px;
  text-align: right;
}

.badge-price-label {
  font-size: 0.62rem;
  color: #6B7280;
  text-transform: uppercase;
  font-weight: 700;
}

.badge-price-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
}

.badge-old-price {
  font-size: 0.72rem;
  color: #9CA3AF;
  text-decoration: line-through;
  font-weight: 500;
  margin-left: 2px;
}

.mockup-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  background: #F3F4F6;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  transition: background 0.3s ease;
}

.saas-product-mockup:hover .mockup-footer-action {
  background: #E5E7EB;
}

.mockup-footer-label {
  color: #4B5563;
  font-weight: 600;
}

.mockup-footer-cta {
  color: var(--color-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.saas-product-mockup:hover .mockup-footer-cta {
  color: var(--color-primary-hover);
  transform: translateX(4px);
}

/* Hero Slider Navigation Arrows */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-slider-arrow:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 14px rgba(197, 34, 31, 0.25);
}

.hero-slider-prev {
  left: 20px;
}

.hero-slider-next {
  right: 20px;
}

/* Hero Slider Pagination */
.hero-slider-pagination {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  padding: 6px 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: calc(100% - 32px);
}

.hero-pagination-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid transparent;
  color: #6B7280;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.hero-pagination-dot:hover {
  color: #111827;
  background: #F3F4F6;
}

.hero-pagination-dot.active {
  background: var(--color-primary-subtle);
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
}

.pagination-dot-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--color-primary);
  transition: width 0.1s linear;
}

.hero-pagination-dot.active.animating .pagination-dot-fill {
  animation: dotProgress 6s linear forwards;
}

@keyframes dotProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes floatSpice {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

.animate-float {
  animation: floatSpice 6s ease-in-out infinite;
}

.animate-float-delay {
  animation: floatSpice 7s ease-in-out 1.5s infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}