/* ============================================
   รัตนทิพย์ RATTANATIP - Stylesheet หลัก (Professional)
   สีประจำแบรนด์: แดง - เหลือง
   ============================================ */

/* ===== Variables ===== */
:root {
  --red: #B91C1C;
  --red-dark: #7F1D1D;
  --red-deep: #4C0519;
  --red-light: #DC2626;
  --yellow: #F59E0B;
  --yellow-dark: #D97706;
  --yellow-light: #FEF3C7;
  --gold: #FBBF24;
  --cream: #FFFBEB;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --black: #18181B;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
  --shadow-red: 0 10px 30px -5px rgba(185, 28, 28, 0.3);
  --shadow-yellow: 0 10px 30px -5px rgba(245, 158, 11, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --gradient-red: linear-gradient(135deg, #DC2626 0%, #7F1D1D 100%);
  --gradient-yellow: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  --gradient-warm: linear-gradient(135deg, #DC2626 0%, #F59E0B 100%);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Sarabun', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--black);
  background-color: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-title {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  padding: 6px 18px;
  background: var(--yellow-light);
  border-radius: 30px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--black);
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.section-title h2 .accent {
  color: var(--red);
  position: relative;
}

.section-title p {
  color: var(--gray-500);
  font-size: 1.1rem;
  line-height: 1.7;
}

.divider {
  width: 80px;
  height: 4px;
  background: var(--gradient-warm);
  margin: 20px auto;
  border-radius: 2px;
}

/* ===== Header / Navbar ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

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

.logo-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-red);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--yellow);
  box-shadow: var(--shadow-red);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-yellow);
  opacity: 0;
  transition: var(--transition);
}

.logo:hover .logo-icon::after {
  opacity: 0.2;
}

.logo-text h1 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--red);
  letter-spacing: -0.5px;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--yellow-dark);
  letter-spacing: 3px;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-menu a {
  color: var(--gray-700);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

.nav-menu a:hover {
  color: var(--red);
  background: var(--gray-50);
}

.nav-menu a.active {
  color: var(--red);
  background: var(--yellow-light);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}

.nav-cta {
  background: var(--gradient-red);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 30px;
  box-shadow: var(--shadow-red);
  margin-left: 10px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(185, 28, 28, 0.5);
  background: var(--gradient-red) !important;
}

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

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  background:
    radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(185, 28, 28, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  color: var(--black);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--yellow);
  color: var(--red);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -1px;
  color: var(--black);
}

.hero-text h1 .highlight {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-text .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--red);
  letter-spacing: 4px;
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-text .lead {
  font-size: 1.15rem;
  margin-bottom: 32px;
  color: var(--gray-700);
  max-width: 540px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -8px rgba(185, 28, 28, 0.5);
}

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

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-cta {
  background: var(--gradient-red);
  color: var(--white);
  padding: 16px 44px;
  font-size: 1.1rem;
  box-shadow: var(--shadow-red);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -8px rgba(185, 28, 28, 0.5);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-200);
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item h3 span {
  color: var(--yellow-dark);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Hero Image */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-warm);
}

.hero-card-emoji {
  font-size: 8rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  animation: bounce-soft 3s ease-in-out infinite;
}

@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
}

.hero-card-sub {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-top: 6px;
}

/* Floating badges around hero image */
.hero-floating {
  position: absolute;
  background: var(--white);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
}

.hero-floating .emoji {
  font-size: 1.5rem;
}

.hero-floating.top-left {
  top: 10%;
  left: -5%;
  animation: float 5s ease-in-out infinite;
}

.hero-floating.bottom-right {
  bottom: 15%;
  right: -5%;
  animation: float 6s ease-in-out infinite reverse;
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--black);
  padding: 20px 0;
  overflow: hidden;
}

.trust-track {
  display: flex;
  gap: 60px;
  animation: scroll 25s linear infinite;
  white-space: nowrap;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.95rem;
}

.trust-item .emoji {
  font-size: 1.3rem;
}

/* ===== About Preview ===== */
.about-preview {
  background: var(--white);
}

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

.about-image-wrap {
  position: relative;
}

.about-image {
  background: var(--gradient-yellow);
  height: 480px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
}

.about-experience {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--gradient-red);
  color: var(--white);
  padding: 25px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-red);
  text-align: center;
}

.about-experience h3 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
}

.about-experience p {
  font-size: 0.85rem;
  margin-top: 4px;
  opacity: 0.9;
}

.about-text .section-eyebrow {
  margin-bottom: 16px;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--black);
  margin-bottom: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.about-text h2 .accent {
  color: var(--red);
}

.about-text .lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 20px;
  font-style: italic;
  border-left: 4px solid var(--yellow);
  padding-left: 18px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray-700);
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.about-feature:hover {
  background: var(--yellow-light);
  transform: translateX(4px);
}

.about-feature .check {
  width: 32px;
  height: 32px;
  background: var(--gradient-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  font-weight: 700;
}

.about-feature span {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* ===== Products Section ===== */
.products-section {
  background: var(--gray-50);
  position: relative;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, var(--white), transparent);
  pointer-events: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  border: 1px solid var(--gray-100);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--yellow);
}

.product-image {
  height: 240px;
  background: var(--gradient-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  position: relative;
  overflow: hidden;
}

.product-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-image-emoji {
  transition: var(--transition-slow);
  position: relative;
  z-index: 1;
}

.product-card:hover .product-image-emoji {
  transform: scale(1.15) rotate(-5deg);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gradient-red);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: var(--shadow-red);
}

.product-info {
  padding: 24px;
}

.product-category {
  color: var(--yellow-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.product-info h3 {
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 10px;
  font-weight: 700;
}

.product-info p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 18px;
  min-height: 50px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.product-rating .stars {
  color: var(--yellow);
  letter-spacing: 2px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
}

.product-price small {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 400;
}

.product-btn {
  background: var(--yellow);
  color: var(--black);
  padding: 9px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-btn:hover {
  background: var(--gradient-red);
  color: var(--white);
  transform: scale(1.05);
}

/* ===== Why Choose Us ===== */
.why-us {
  background: var(--gradient-red);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.why-us .section-title h2 {
  color: var(--white);
}

.why-us .section-title h2 .accent {
  color: var(--yellow);
}

.why-us .section-eyebrow {
  background: rgba(245, 158, 11, 0.2);
  color: var(--yellow);
}

.why-us .section-title p {
  color: rgba(255, 255, 255, 0.8);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 2;
}

.feature-box {
  text-align: center;
  padding: 40px 28px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
  border: 1px solid rgba(245, 158, 11, 0.2);
  backdrop-filter: blur(10px);
}

.feature-box:hover {
  transform: translateY(-10px);
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--yellow);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-yellow);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.2rem;
  box-shadow: var(--shadow-yellow);
  transition: var(--transition);
}

.feature-box:hover .feature-icon {
  transform: rotate(-10deg) scale(1.1);
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--yellow);
  font-weight: 700;
}

.feature-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Process / Steps ===== */
.process-section {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  position: relative;
}

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

.step-number {
  width: 70px;
  height: 70px;
  background: var(--gradient-warm);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-red);
  position: relative;
  z-index: 2;
}

.step-card h4 {
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 10px;
  font-weight: 700;
}

.step-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
  border-top: 4px solid var(--yellow);
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 28px;
  font-size: 6rem;
  color: var(--yellow);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

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

.testimonial-card p {
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 24px;
  font-size: 1.02rem;
}

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

.author-avatar {
  width: 54px;
  height: 54px;
  background: var(--gradient-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: var(--shadow-red);
}

.author-info h4 {
  font-size: 1.05rem;
  color: var(--black);
  font-weight: 700;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--gradient-yellow);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--red-deep);
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-section p {
  font-size: 1.15rem;
  color: var(--red-dark);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */
.footer {
  background: #0F0F0F;
  color: #ccc;
  padding: 70px 0 0;
}

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

.footer-col h3 {
  color: var(--yellow);
  font-size: 1.2rem;
  margin-bottom: 22px;
  font-weight: 700;
}

.footer-col .logo {
  margin-bottom: 18px;
}

.footer-col .logo-text h1 {
  color: var(--white);
}

.footer-col p {
  color: #999;
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.footer-col ul li a {
  color: #999;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a::before {
  content: '→';
  color: var(--yellow);
  transition: var(--transition);
}

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

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: #999;
  font-size: 0.95rem;
}

.footer-contact li .icon {
  color: var(--yellow);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gradient-red);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-newsletter input::placeholder {
  color: #777;
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--yellow);
}

.footer-newsletter button {
  width: 100%;
  padding: 12px;
  background: var(--gradient-red);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.footer-newsletter button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

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

/* ===== Page Banner ===== */
.page-banner {
  background:
    radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.2) 0%, transparent 50%),
    var(--gradient-red);
  color: var(--white);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
  font-weight: 800;
  letter-spacing: -1px;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  margin-top: 20px;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 30px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

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

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

/* ===== Products Filter ===== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter-btn {
  background: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  font-size: 0.95rem;
}

.filter-btn:hover {
  border-color: var(--yellow);
  color: var(--red);
}

.filter-btn.active {
  background: var(--gradient-red);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-red);
}

/* ===== About Page ===== */
.about-story {
  background: var(--white);
}

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

.about-image-large {
  background: var(--gradient-yellow);
  height: 500px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.about-image-large::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
}

.vision-mission {
  background: var(--gray-50);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vm-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--yellow);
  transition: var(--transition);
}

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

.vm-card .vm-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-red);
  color: var(--white);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 22px;
  box-shadow: var(--shadow-red);
}

.vm-card h3 {
  font-size: 1.6rem;
  color: var(--red);
  margin-bottom: 14px;
  font-weight: 700;
}

.vm-card p {
  color: var(--gray-700);
}

.values-section {
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
  background: var(--white);
}

.value-card:hover {
  border-color: var(--yellow);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: var(--cream);
}

.value-card .value-icon {
  font-size: 3rem;
  margin-bottom: 18px;
}

.value-card h4 {
  color: var(--red);
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

.value-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ===== Stats Section ===== */
.stats-section {
  background: var(--gradient-red);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
  color: var(--white);
}

.stat-box h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box h3 span {
  font-size: 1.5rem;
}

.stat-box p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--gradient-red);
  color: var(--white);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-info-card h3 {
  color: var(--yellow);
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  position: relative;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
  position: relative;
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--yellow);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--white);
  font-weight: 700;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 8px;
  font-weight: 700;
}

.contact-form > p {
  color: var(--gray-500);
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

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

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--gradient-red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-red);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(185, 28, 28, 0.5);
}

.map-section {
  background: var(--gray-50);
}

.map-placeholder {
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  height: 450px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gray-500);
  box-shadow: var(--shadow);
}

.map-placeholder p {
  font-size: 1rem;
  margin-top: 18px;
}

/* ===== Articles Page ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  cursor: pointer;
  border: 1px solid var(--gray-100);
}

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

.article-image {
  height: 220px;
  background: var(--gradient-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
  overflow: hidden;
}

.article-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
}

.article-card:hover .article-image {
  transform: scale(1.05);
}

.article-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gradient-red);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: var(--shadow-red);
}

.article-content {
  padding: 28px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.article-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--gray-300);
  border-radius: 50%;
}

.article-content h3 {
  font-size: 1.35rem;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 700;
  transition: var(--transition);
}

.article-card:hover h3 {
  color: var(--red);
}

.article-content p {
  color: var(--gray-500);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.read-more {
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more:hover {
  gap: 10px;
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: var(--gradient-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-red);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px -8px rgba(185, 28, 28, 0.6);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }

/* ===== FAQ Accordion ===== */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}

.faq-item.active {
  border-color: var(--yellow);
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--black);
  transition: var(--transition);
}

.faq-item.active .faq-question {
  color: var(--red);
}

.faq-question:hover {
  color: var(--red);
}

.faq-icon {
  width: 30px;
  height: 30px;
  background: var(--yellow-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--red);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--gradient-red);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 26px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--gray-700);
  line-height: 1.8;
}

/* ===== Product Detail ===== */
.detail-breadcrumb {
  padding: 30px 0 0;
}

.detail-breadcrumb a {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.detail-breadcrumb a:hover {
  color: var(--red);
}

.detail-breadcrumb span {
  margin: 0 8px;
  color: var(--gray-300);
}

.detail-breadcrumb .current {
  color: var(--red);
  font-weight: 600;
}

.product-detail {
  padding: 40px 0 80px;
}

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

.detail-gallery {
  position: sticky;
  top: 100px;
}

.detail-main-image {
  background: var(--gradient-yellow);
  height: 480px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.detail-main-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.detail-thumb {
  background: var(--gradient-yellow);
  height: 90px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: 0.7;
}

.detail-thumb:hover,
.detail-thumb.active {
  border-color: var(--red);
  opacity: 1;
  transform: translateY(-3px);
}

.detail-info .detail-category {
  color: var(--yellow-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.detail-info h1 {
  font-size: 2.4rem;
  color: var(--black);
  margin-bottom: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-100);
}

.detail-rating .stars {
  color: var(--yellow);
  font-size: 1.2rem;
  letter-spacing: 3px;
}

.detail-rating span {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}

.detail-price .price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--red);
}

.detail-price .old-price {
  font-size: 1.3rem;
  color: var(--gray-300);
  text-decoration: line-through;
}

.detail-price .discount {
  background: var(--red);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.detail-short-desc {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.detail-quantity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.detail-quantity label {
  font-weight: 600;
  color: var(--gray-700);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-200);
  border-radius: 30px;
  overflow: hidden;
}

.qty-control button {
  width: 42px;
  height: 42px;
  background: var(--gray-50);
  border: none;
  font-size: 1.3rem;
  color: var(--red);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.qty-control button:hover {
  background: var(--yellow);
}

.qty-control input {
  width: 60px;
  height: 42px;
  border: none;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  background: var(--white);
}

.qty-control input:focus {
  outline: none;
}

.detail-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-cart {
  background: var(--gradient-yellow);
  color: var(--black);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.05rem;
  flex: 1;
  min-width: 200px;
  box-shadow: var(--shadow-yellow);
}

.btn-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -8px rgba(245, 158, 11, 0.5);
}

.btn-buy {
  background: var(--gradient-red);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.05rem;
  flex: 1;
  min-width: 200px;
  box-shadow: var(--shadow-red);
}

.btn-buy:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -8px rgba(185, 28, 28, 0.5);
}

.detail-guarantees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 500;
}

.guarantee-item .emoji {
  font-size: 1.4rem;
}

/* Detail Tabs */
.detail-tabs {
  margin-top: 80px;
}

.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--gray-100);
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  padding: 14px 26px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: var(--red);
}

.tab-btn.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

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

.tab-content h3 {
  font-size: 1.4rem;
  color: var(--red);
  margin-bottom: 16px;
  font-weight: 700;
}

.tab-content p {
  color: var(--gray-700);
  margin-bottom: 14px;
  line-height: 1.85;
}

.tab-content ul {
  padding-left: 0;
  margin-bottom: 16px;
}

.tab-content ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--gray-700);
  line-height: 1.7;
}

.tab-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: var(--gradient-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.ingredient-card {
  background: var(--gray-50);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.ingredient-card:hover {
  background: var(--yellow-light);
  transform: translateY(-4px);
}

.ingredient-card .emoji {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.ingredient-card h4 {
  color: var(--red);
  font-size: 1rem;
  margin-bottom: 4px;
}

.ingredient-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ===== Article Detail ===== */
.article-detail-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.article-detail-header {
  text-align: center;
  margin-bottom: 36px;
}

.article-detail-header .article-tag {
  position: static;
  display: inline-block;
  margin-bottom: 18px;
}

.article-detail-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--black);
  margin-bottom: 18px;
  line-height: 1.3;
  font-weight: 800;
}

.article-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: var(--gray-500);
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.article-detail-meta .author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-detail-meta .author-avatar {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.article-detail-cover {
  height: 380px;
  background: var(--gradient-yellow);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.article-detail-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
}

.article-detail-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--gray-700);
}

.article-detail-body h2 {
  font-size: 1.7rem;
  color: var(--red);
  margin: 36px 0 16px;
  font-weight: 700;
}

.article-detail-body h3 {
  font-size: 1.35rem;
  color: var(--black);
  margin: 28px 0 12px;
  font-weight: 700;
}

.article-detail-body p {
  margin-bottom: 18px;
}

.article-detail-body blockquote {
  background: var(--yellow-light);
  border-left: 5px solid var(--yellow);
  padding: 22px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 26px 0;
  font-style: italic;
  color: var(--gray-700);
  font-size: 1.15rem;
}

.article-detail-body ul,
.article-detail-body ol {
  margin: 0 0 20px 22px;
}

.article-detail-body ul li,
.article-detail-body ol li {
  margin-bottom: 10px;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 30px 0;
  margin-top: 40px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.article-share span {
  font-weight: 700;
  color: var(--black);
}

.article-share .social-links {
  margin-top: 0;
}

.article-share .social-links a {
  width: 38px;
  height: 38px;
  font-size: 1.05rem;
  background: var(--gray-50);
  color: var(--red);
}

/* ===== Newsletter Inline ===== */
.newsletter-inline {
  background: var(--gradient-warm);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.newsletter-inline h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 12px;
  font-weight: 800;
}

.newsletter-inline p {
  margin-bottom: 28px;
  opacity: 0.95;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form button {
  padding: 14px 30px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

/* ===== Empty / No Results ===== */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
  display: none;
}

.no-results.show {
  display: block;
}

.no-results .emoji {
  font-size: 4rem;
  margin-bottom: 16px;
}

.no-results h3 {
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 8px;
}

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

  .hero-text .lead {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-card {
    max-width: 340px;
  }

  .hero-floating.top-left { left: 0; }
  .hero-floating.bottom-right { right: 0; }

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

  .about-grid,
  .about-full-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-image,
  .about-image-large {
    height: 380px;
  }

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

  .detail-gallery {
    position: static;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 90px 24px 30px;
    gap: 4px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    align-items: stretch;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    width: 100%;
    text-align: left;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 1.05rem;
  }

  .nav-menu a.active::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
    margin-top: 10px;
    margin-left: 0;
  }

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

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

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

  .hero {
    padding-top: 120px;
    min-height: auto;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-item h3 {
    font-size: 1.8rem;
  }

  .hero-floating {
    display: none;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

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

  .about-experience {
    right: 10px;
    bottom: -20px;
    padding: 18px 22px;
  }

  .about-experience h3 {
    font-size: 2rem;
  }

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

  .contact-form,
  .contact-info-card {
    padding: 30px 24px;
  }

  .vm-card {
    padding: 30px;
  }

  .page-banner {
    padding: 130px 0 60px;
  }

  .stats-grid {
    gap: 24px;
  }

  .stat-box h3 {
    font-size: 2.3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

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

  .scroll-top {
    width: 44px;
    height: 44px;
    bottom: 20px;
    right: 20px;
    font-size: 1.3rem;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

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