/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Serif+TC:wght@500;700;900&family=Playfair+Display:ital,wght@1,500&display=swap');

:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #121216;
  --bg-card: rgba(20, 20, 25, 0.7);
  --color-gold: #f4a261;
  --color-gold-bright: #e9c46a;
  --color-gold-dark: #b87d4b;
  --color-accent-green: #2a9d8f;
  --color-accent-red: #e76f51;
  --color-text-main: #f8f9fa;
  --color-text-muted: #a0a0b0;
  
  --font-serif: 'Noto Serif TC', serif;
  --font-sans: 'Noto Sans TC', sans-serif;
  --font-display: 'Playfair Display', serif;
  
  --glass-bg: rgba(18, 18, 22, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.5);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --container-width: 1200px;
}

/* ==========================================================================
   BASE & RESET STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--color-text-main);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Common Typography & Layout */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.05em;
}

p {
  color: var(--color-text-muted);
  font-weight: 300;
}

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

ul {
  list-style: none;
}

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

section {
  padding: 8rem 0;
  position: relative;
}

/* Section Titles */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header .subtitle {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--color-text-main);
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-sans);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: #0f0f12;
  box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(244, 162, 97, 0.5);
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-bright));
}

.btn-outline {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: var(--bg-primary);
  box-shadow: var(--glass-shadow);
  padding: 0.5rem 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  border-radius: 50% 0 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #121216;
  font-weight: 900;
  font-size: 1.2rem;
  font-family: var(--font-serif);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-desc {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-muted);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

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

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/hero.jpg') no-repeat center center/cover;
  opacity: 0.45;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate ease-in-out;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 50%, rgba(10, 10, 12, 0.4) 0%, rgba(10, 10, 12, 0.95) 80%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
}

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

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(244, 162, 97, 0.1);
  border: 1px solid rgba(244, 162, 97, 0.25);
  color: var(--color-gold);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
  font-size: 3.8rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  font-weight: 900;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

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

/* ==========================================================================
   VERTICAL SHORT VIDEO PLAYER
   ========================================================================== */
.hero-video-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s ease 0.5s forwards;
  opacity: 0;
}

.phone-frame {
  width: 280px;
  height: 500px;
  background: rgba(18, 18, 22, 0.4);
  border: 4px solid var(--glass-border);
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(244, 162, 97, 0.1);
  padding: 8px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.phone-frame:hover {
  transform: translateY(-5px) rotate(1deg);
  border-color: rgba(244, 162, 97, 0.3);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(244, 162, 97, 0.2);
}

.phone-frame::before {
  /* Phone Notch */
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 16px;
  background: #000;
  border-radius: 0 0 12px 12px;
  z-index: 15;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
}

.video-overlay-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 40%, transparent 80%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

.video-overlay-ui * {
  pointer-events: auto;
}

.video-sidebar {
  position: absolute;
  right: 10px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  z-index: 12;
}

.video-sidebar .action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
  transition: var(--transition-fast);
}

.video-sidebar .action-btn i {
  font-size: 1.3rem;
  margin-bottom: 3px;
  transition: var(--transition-fast);
}

.video-sidebar .action-btn span {
  font-size: 0.7rem;
  font-weight: 500;
}

.video-sidebar .action-btn:hover i {
  transform: scale(1.15);
}

.video-sidebar .action-btn:hover .fa-heart {
  color: var(--color-accent-red);
}

.video-bottom-info {
  position: absolute;
  left: 15px;
  bottom: 20px;
  right: 65px;
  color: #fff;
  z-index: 12;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.video-bottom-info h4 {
  font-size: 0.9rem;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 4px;
}

.video-bottom-info p {
  font-size: 0.7rem;
  color: #e0e0e0;
  line-height: 1.4;
  margin-bottom: 8px;
}

.music-disc-wrap {
  display: flex;
  align-items: center;
}

.music-disc {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #111, #333);
  border: 4px solid #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 0.7rem;
  animation: rotateDisc 4s linear infinite;
  position: absolute;
  right: -50px;
  bottom: 0px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@keyframes rotateDisc {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.video-controls {
  position: absolute;
  top: 25px;
  right: 15px;
  display: flex;
  gap: 0.6rem;
  z-index: 12;
}

.video-controls button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: var(--transition-fast);
}

.video-controls button:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: scale(1.05);
}

/* ==========================================================================
   BRAND STORY SECTION
   ========================================================================== */
.brand-story {
  background-color: var(--bg-secondary);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.story-content h3 {
  font-size: 1.8rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.story-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.story-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.story-highlight {
  border-left: 3px solid var(--color-gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.story-highlight blockquote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-text-main);
  font-style: italic;
}

.story-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: left;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-gold-bright);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* Glass Card inside story */
.story-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-card {
  width: 100%;
  max-width: 400px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.story-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(244,162,97,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.story-card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-text-main);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.story-card-title i {
  color: var(--color-gold);
}

.story-card-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.story-card-icon {
  width: 32px;
  height: 32px;
  background: rgba(244, 162, 97, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.story-card-text h4 {
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 0.2rem;
}

.story-card-text p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==========================================================================
   PRODUCTS SHOWCASE SECTION
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--color-gold), transparent, var(--color-accent-green)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--glass-shadow);
  border-color: rgba(255, 255, 255, 0.15);
}

.product-card:hover::after {
  opacity: 1;
}

.product-img-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background-color: #121216;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

/* Sesame Creative CSS Graphic Background */
.product-img-sesame-fallback {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #201a18 0%, #0a0808 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sesame-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.6;
}

.sesame-seed {
  position: absolute;
  width: 8px;
  height: 14px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: rotate(45deg);
  box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.2);
}

.sesame-white {
  background-color: #ebd7c8;
}

.sesame-black {
  background-color: #2b2521;
}

.sesame-peanut-core {
  width: 120px;
  height: 80px;
  background: radial-gradient(circle at 40% 40%, #e6a060 0%, #b86a2f 100%);
  border-radius: 40px 60px 40px 60px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6), inset 2px 2px 5px rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: peanutFloat 6s infinite ease-in-out;
}

.sesame-peanut-core::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: 10%;
  left: 15%;
  filter: blur(5px);
}

/* Tiny seeds stuck on peanut */
.peanut-seed {
  position: absolute;
  width: 6px;
  height: 10px;
  border-radius: 50%;
}
.peanut-seed:nth-child(1) { top: 20%; left: 30%; background: #ebd7c8; transform: rotate(12deg); }
.peanut-seed:nth-child(2) { top: 40%; left: 20%; background: #2b2521; transform: rotate(-35deg); }
.peanut-seed:nth-child(3) { top: 30%; left: 60%; background: #ebd7c8; transform: rotate(75deg); }
.peanut-seed:nth-child(4) { top: 60%; left: 50%; background: #2b2521; transform: rotate(45deg); }
.peanut-seed:nth-child(5) { top: 50%; left: 75%; background: #ebd7c8; transform: rotate(-15deg); }

@keyframes peanutFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

/* Tag style inside img wrap */
.product-tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-gold);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
  z-index: 2;
  backdrop-filter: blur(5px);
  letter-spacing: 0.05em;
}

.product-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.8rem;
}

.product-header h3 {
  font-size: 1.5rem;
  color: var(--color-text-main);
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-gold);
  font-weight: 700;
}

.product-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Radar-like Taste metrics */
.product-metrics {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.metric-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
}

.metric-bar-bg {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold));
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 0; /* Dynamic loading in JS */
}

/* ==========================================================================
   TASTE SELECTOR SECTION
   ========================================================================== */
.taste-selector {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #121614 100%);
  overflow: hidden;
}

.taste-wrap {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  box-shadow: var(--glass-shadow);
  padding: 4rem;
  backdrop-filter: blur(25px);
  position: relative;
}

.taste-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.05) 0%, rgba(230, 160, 96, 0.02) 100%);
  pointer-events: none;
  border-radius: 32px;
}

.taste-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem auto;
}

.taste-intro h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.taste-intro p {
  font-size: 1rem;
}

.selector-steps {
  position: relative;
  min-height: 250px;
}

.selector-step {
  display: none;
  animation: fadeSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.selector-step.active {
  display: block;
}

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

.step-question {
  font-size: 1.3rem;
  font-family: var(--font-serif);
  color: var(--color-text-main);
  text-align: center;
  margin-bottom: 2.5rem;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.option-btn i {
  font-size: 2rem;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.option-btn span {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.option-btn p {
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.option-btn:hover {
  background: rgba(244, 162, 97, 0.08);
  border-color: rgba(244, 162, 97, 0.4);
  transform: translateY(-5px);
}

.option-btn:hover i {
  color: var(--color-gold);
  transform: scale(1.1);
}

.option-btn.selected {
  background: rgba(244, 162, 97, 0.15);
  border-color: var(--color-gold);
  box-shadow: 0 8px 20px rgba(244, 162, 97, 0.1);
}

.option-btn.selected i {
  color: var(--color-gold-bright);
}

/* Result panel styling */
.result-panel {
  display: none;
  text-align: center;
  animation: scaleUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  max-width: 600px;
  margin: 0 auto;
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.result-badge {
  font-size: 0.8rem;
  color: var(--color-accent-green);
  border: 1px solid rgba(42, 157, 143, 0.3);
  background: rgba(42, 157, 143, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  display: inline-block;
  letter-spacing: 0.1em;
}

.result-title {
  font-size: 2.2rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.result-card-preview {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  text-align: left;
  margin-bottom: 2.5rem;
}

.result-card-img {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.result-card-sesame-fallback {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  background: radial-gradient(circle, #201a18 0%, #0a0808 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.result-card-sesame-fallback .sesame-peanut-core {
  width: 70px;
  height: 48px;
  border-radius: 25px 35px 25px 35px;
}

.result-card-info h4 {
  font-size: 1.3rem;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.result-card-info p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

/* ==========================================================================
   ORDER & CONTACT SECTION
   ========================================================================== */
.order-contact {
  background-color: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: stretch;
}

/* Info side */
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-desc h3 {
  font-size: 1.8rem;
  color: var(--color-text-main);
  margin-bottom: 1.2rem;
}

.contact-info-desc p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: rgba(244, 162, 97, 0.08);
  border: 1px solid rgba(244, 162, 97, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.05rem;
  color: var(--color-text-main);
  margin-bottom: 0.3rem;
}

.info-text p {
  font-size: 0.9rem;
}

/* Form side */
.order-form-wrap {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(15px);
  position: relative;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  color: var(--color-text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 12px rgba(244, 162, 97, 0.15);
}

.form-group select option {
  background-color: var(--bg-secondary);
  color: var(--color-text-main);
}

/* Form Submit State style */
.form-success-message {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border-radius: 24px;
  z-index: 10;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  animation: scaleUp 0.5s ease forwards;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(42, 157, 143, 0.1);
  border: 2px solid var(--color-accent-green);
  color: var(--color-accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  animation: bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
  from { opacity: 0; transform: scale(0.3); }
  50% { opacity: 0.9; transform: scale(1.1); }
  80% { transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.form-success-message h3 {
  font-size: 1.8rem;
  color: var(--color-gold-bright);
  margin-bottom: 1rem;
}

.form-success-message p {
  font-size: 0.95rem;
  max-width: 320px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

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

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.8rem;
}

.developer-tag {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.developer-tag span {
  color: var(--color-gold);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  :root {
    --container-width: 900px;
  }
  
  .hero-content h1 {
    font-size: 3.2rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
  
  .story-grid,
  .contact-grid {
    gap: 3rem;
  }
}

@media screen and (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .nav-links {
    display: none; /* Mobile menu should be implemented or simplified */
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero {
    height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .hero-video-wrap {
    margin-top: 3rem;
  }
  
  .story-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .story-highlight {
    border-left: none;
    border-top: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    padding: 1.5rem 0;
  }
  
  .story-stats {
    justify-content: center;
  }
  
  .story-image-wrap {
    margin-top: 2rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }
  
  .options-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .taste-wrap {
    padding: 2.5rem 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    gap: 3rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
