/* ==========================================================================
   SlimVivaCo - Premium Weight Management & Product Authenticity System
   Master Stylesheet (100% Mockup Fidelity + Responsive + RTL/LTR Support)
   ========================================================================== */

:root {
  --color-primary: #0e382c;
  --color-primary-dark: #08261e;
  --color-primary-light: #164e3e;
  --color-primary-hover: #134637;
  --color-gold: #cfa36d;
  --color-gold-hover: #be925c;
  --color-gold-light: #faedd9;
  --color-sand: #e6c89f;
  
  --color-bg-page: #fbf9f4;
  --color-bg-card: #ffffff;
  --color-bg-alt: #f4eee2;
  --color-border: #e8e2d5;
  --color-border-light: #f0ebe2;

  --color-text-main: #1c2621;
  --color-text-muted: #64736b;
  --color-text-light: #8e9c94;
  --color-text-white: #ffffff;

  /* Result Badge States */
  --color-valid: #059669;
  --color-valid-bg: #ecfdf5;
  --color-valid-border: #a7f3d0;

  --color-warning: #d97706;
  --color-warning-bg: #fffbeb;
  --color-warning-border: #fde68a;

  --color-danger: #dc2626;
  --color-danger-bg: #fef2f2;
  --color-danger-border: #fecaca;

  --font-en-serif: 'Playfair Display', Georgia, serif;
  --font-en-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-fa: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(14, 56, 44, 0.04);
  --shadow-md: 0 8px 24px rgba(14, 56, 44, 0.06);
  --shadow-lg: 0 16px 40px rgba(14, 56, 44, 0.09);

  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-en-sans);
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* RTL Support */
body[dir="rtl"] {
  font-family: var(--font-fa);
  text-align: right;
}

body[dir="ltr"] {
  font-family: var(--font-en-sans);
  text-align: left;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

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

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-primary);
  color: var(--color-text-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-smooth);
}

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

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 28px;
  height: 28px;
  fill: #85d8aa;
}

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

.brand-name {
  font-family: var(--font-en-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.1;
}

body[dir="rtl"] .brand-name {
  font-family: var(--font-fa);
  font-weight: 800;
}

.brand-tagline {
  font-size: 0.58rem;
  letter-spacing: 1.8px;
  color: #a4c4b8;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-item a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #cfded7;
  padding: 6px 2px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-item a:hover {
  color: #ffffff;
}

.nav-item.active a {
  color: #ffffff;
}

.nav-item.active a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-gold);
  border-radius: 2px;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-auth-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: all var(--transition-smooth);
}

.btn-auth-header:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.btn-auth-header svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a4c4b8;
}

.lang-btn {
  color: #a4c4b8;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-sep {
  opacity: 0.4;
}

/* Hamburger */
.mobile-menu-btn {
  display: none;
  background: none;
  color: #ffffff;
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #06231a;
  background-image: 
    linear-gradient(135deg, rgba(6, 35, 26, 0.90) 0%, rgba(8, 40, 31, 0.75) 45%, rgba(10, 48, 38, 0.60) 80%, rgba(6, 35, 26, 0.85) 100%),
    url('../images/hero_banner.jpg?v=9');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
  padding: 60px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
}

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

.hero-title {
  font-family: var(--font-en-serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body[dir="rtl"] .hero-title {
  font-family: var(--font-fa);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #c9dbd3;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 400;
}

body[dir="rtl"] .hero-subtitle {
  font-size: 1.05rem;
}

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

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-gold);
  color: #172b22;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  box-shadow: 0 6px 18px rgba(207, 163, 109, 0.3);
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(207, 163, 109, 0.4);
}

.btn-outline-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
}

.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-2px);
}

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

.hero-image-wrap img {
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(204, 161, 104, 0.12);
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform var(--transition-smooth);
}

.hero-image-wrap img:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   4 Feature Badges Bar
   ========================================================================== */
.features-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
  box-shadow: var(--shadow-sm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid var(--color-border-light);
}

body[dir="rtl"] .feature-item {
  border-right: none;
  border-left: 1px solid var(--color-border-light);
}

.feature-item:last-child {
  border-right: none;
  border-left: none;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.feature-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 3px;
}

/* ==========================================================================
   Our Products Section
   ========================================================================== */
.section-products {
  padding: 70px 0 80px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.section-title-wrap h2 {
  font-family: var(--font-en-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.2;
}

body[dir="rtl"] .section-title-wrap h2 {
  font-family: var(--font-fa);
  font-weight: 800;
  font-size: 1.9rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.link-all {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.link-all:hover {
  color: var(--color-primary-light);
  gap: 10px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.product-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-sand);
}

.prod-badge-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: #e8efe9;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.prod-badge-tag.tag-femme {
  color: #9d174d;
  background-color: #fce7f3;
}

.prod-img-box {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background-color: #0b1411;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.prod-img-box img {
  width: 100%;
  height: 100%;
  max-height: none;
  max-width: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.product-card:hover .prod-img-box img {
  transform: scale(1.05);
}

.prod-info-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  gap: 10px;
  flex-wrap: wrap;
}

.prod-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-main);
  font-family: var(--font-en-serif);
}

.prod-spec {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-gold-hover);
}

.prod-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.prod-features-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.prod-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-primary);
  background-color: #f4f1ea;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
}

.prod-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.btn-product-verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-product-verify:hover {
  background-color: var(--color-primary-light);
  color: #ffffff;
  transform: translateY(-1px);
}

.prod-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.prod-link:hover {
  gap: 9px;
  color: var(--color-gold-hover);
}

/* Promo Card in Grid */
.promo-card {
  background-color: var(--color-primary-dark);
  background-image: linear-gradient(135deg, #051d15 0%, #08261e 50%, #0e382c 100%);
  background-size: cover;
  background-position: center;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 320px;
}

.promo-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.promo-title {
  font-family: var(--font-en-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
}

body[dir="rtl"] .promo-title {
  font-family: var(--font-fa);
  font-weight: 800;
  font-size: 1.25rem;
}

.promo-text {
  font-size: 0.82rem;
  color: #d1ded7;
  line-height: 1.4;
  margin-bottom: 20px;
}

.btn-promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  transition: all var(--transition-fast);
}

.btn-promo:hover {
  background: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}

/* ==========================================================================
   Why SlimVivaCo Section
   ========================================================================== */
.section-why {
  background-color: var(--color-primary);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(204, 161, 104, 0.08) 0%, transparent 40%),
    linear-gradient(135deg, #092c23 0%, #0e382c 50%, #164f3e 100%);
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 60px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
}

.why-content h2 {
  font-family: var(--font-en-serif);
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

body[dir="rtl"] .why-content h2 {
  font-family: var(--font-fa);
  font-weight: 800;
  font-size: 2rem;
}

.why-content p {
  font-size: 0.98rem;
  color: #c9ded5;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-why {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-why:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.why-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.why-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #aee0ca;
  transition: transform var(--transition-fast);
}

.why-badge-item:hover .why-badge-icon {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

.why-badge-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.why-badge-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2f0e9;
  line-height: 1.25;
}

/* ==========================================================================
   Authenticity Check Page View
   ========================================================================== */
.verify-page {
  padding-bottom: 80px;
}

.verify-hero-banner {
  background-color: var(--color-primary-dark);
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(204, 161, 104, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #051d15 0%, #08261e 50%, #0e382c 100%);
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 55px 0 75px;
  text-align: center;
}

.verify-hero-title {
  font-family: var(--font-en-serif);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

body[dir="rtl"] .verify-hero-title {
  font-family: var(--font-fa);
  font-weight: 800;
  font-size: 2.2rem;
}

.verify-hero-sub {
  font-size: 1.05rem;
  color: #c9ded5;
  max-width: 620px;
  margin: 0 auto;
}

/* Main Verification Card */
.verify-card-wrap {
  margin-top: -45px;
  margin-bottom: 35px;
}

.verify-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 40px 42px;
  box-shadow: 0 16px 45px rgba(14, 56, 44, 0.08);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.verify-badge-shield {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #0e382c;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(14, 56, 44, 0.22);
}

.verify-badge-shield svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.verify-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.verify-card-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 26px;
}

/* Verification Input Group */
.verify-form {
  max-width: 580px;
  margin: 0 auto;
}

.input-code-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.input-code {
  width: 100%;
  height: 52px;
  padding: 0 46px 0 18px;
  font-family: var(--font-en-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-text-main);
  background-color: #fbf9f5;
  border: 1.5px solid #dcd3c4;
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition-fast);
}

body[dir="rtl"] .input-code {
  padding: 0 18px 0 46px;
  text-align: right;
  direction: ltr;
}

.input-code:focus {
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(14, 56, 44, 0.12);
}

.input-icon-btn {
  position: absolute;
  right: 14px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

body[dir="rtl"] .input-icon-btn {
  right: auto;
  left: 14px;
}

.input-icon-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.input-icon-btn:hover {
  color: var(--color-primary);
}

.btn-submit-verify {
  width: 100%;
  height: 52px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-smooth);
  box-shadow: 0 6px 18px rgba(14, 56, 44, 0.22);
}

.btn-submit-verify:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(14, 56, 44, 0.3);
}

.btn-submit-verify svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Quick test chips */
.quick-test-bar {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.quick-test-label {
  color: var(--color-text-light);
  font-weight: 500;
}

.test-chip {
  background: var(--color-bg-page);
  border: 1px dashed var(--color-border);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.76rem;
  transition: all var(--transition-fast);
}

.test-chip:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* ==========================================================================
   Live Verification Result Modal / Banner
   ========================================================================== */
.verify-result-box {
  display: none;
  margin-top: 26px;
  border-radius: var(--radius-md);
  padding: 24px 22px;
  text-align: left;
  animation: slideDownFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body[dir="rtl"] .verify-result-box {
  text-align: right;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.verify-result-box.state-valid {
  background-color: var(--color-valid-bg);
  border: 1.5px solid var(--color-valid-border);
}

.verify-result-box.state-already_checked {
  background-color: var(--color-warning-bg);
  border: 1.5px solid var(--color-warning-border);
}

.verify-result-box.state-invalid {
  background-color: var(--color-danger-bg);
  border: 1.5px solid var(--color-danger-border);
}

.result-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.result-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.state-valid .result-icon-badge {
  background-color: var(--color-valid);
  color: #ffffff;
}

.state-already_checked .result-icon-badge {
  background-color: var(--color-warning);
  color: #ffffff;
}

.state-invalid .result-icon-badge {
  background-color: var(--color-danger);
  color: #ffffff;
}

.result-icon-badge svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.result-title-group h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.state-valid .result-title-group h3 {
  color: #065f46;
}

.state-already_checked .result-title-group h3 {
  color: #92400e;
}

.state-invalid .result-title-group h3 {
  color: #991b1b;
}

.result-code-tag {
  display: inline-block;
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  margin-top: 4px;
}

.result-body-text {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 16px;
  color: var(--color-text-main);
}

.result-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.85rem;
}

.result-meta-item strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.result-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.state-valid .result-action-btn {
  background-color: var(--color-valid);
  color: #ffffff;
}

.state-valid .result-action-btn:hover {
  background-color: #047857;
}

.state-already_checked .result-action-btn {
  background-color: var(--color-warning);
  color: #ffffff;
}

.state-already_checked .result-action-btn:hover {
  background-color: #b45309;
}

.state-invalid .result-action-btn {
  background-color: var(--color-danger);
  color: #ffffff;
}

.state-invalid .result-action-btn:hover {
  background-color: #b91c1c;
}

/* ==========================================================================
   Where to find the code? Section (Nested card inside verify-card)
   ========================================================================== */
.card-where-code {
  background-color: #f7f0e8;
  border: none;
  border-radius: 18px;
  padding: 24px 28px;
  margin: 32px 0 26px;
  box-shadow: none;
  text-align: left;
}

body[dir="rtl"] .card-where-code {
  text-align: right;
}

.where-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  align-items: center;
  gap: 28px;
}

.where-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.where-img-wrap img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  display: block;
  box-shadow: none;
}

.where-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0e382c;
  margin-bottom: 16px;
}

.where-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
}

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

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e3eae5;
  color: #0e382c;
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.92rem;
  color: #2d3748;
  font-weight: 500;
  line-height: 1.45;
}

/* ==========================================================================
   Possible Results Section
   ========================================================================== */
.section-possible-results {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid #ebe5da;
  text-align: center;
}

.possible-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0e382c;
  margin-bottom: 4px;
}

.possible-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 22px;
}

.results-sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sample-result-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-fast);
  border: 1.5px solid #ece5da;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.sample-result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.sample-result-card.card-valid {
  border-color: #c7eed9;
  background-color: #fafdfc;
}

.sample-result-card.card-already {
  border-color: #fed7aa;
  background-color: #fffdf8;
}

.sample-result-card.card-invalid {
  border-color: #fecaca;
  background-color: #fdfafa;
}

.sample-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card-valid .sample-icon-wrap {
  background-color: #10b981;
  color: #ffffff;
}

.card-already .sample-icon-wrap {
  background-color: #f59e0b;
  color: #ffffff;
}

.card-invalid .sample-icon-wrap {
  background-color: #ef4444;
  color: #ffffff;
}

.sample-icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.sample-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-valid .sample-card-title {
  color: #065f46;
}

.card-already .sample-card-title {
  color: #9a3412;
}

.card-invalid .sample-card-title {
  color: #991b1b;
}

.sample-card-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   Support & Trust Bar
   ========================================================================== */
.support-trust-bar {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.support-trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  align-items: center;
  gap: 20px;
}

.support-col {
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--color-border-light);
  padding-right: 16px;
}

body[dir="rtl"] .support-col {
  border-right: none;
  border-left: 1px solid var(--color-border-light);
  padding-right: 0;
  padding-left: 16px;
}

.support-col:last-child {
  border-right: none;
  border-left: none;
  padding-right: 0;
  padding-left: 0;
}

.support-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f4eee2;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.support-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.2;
}

.support-text p, .support-text a {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.support-text a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #a4c4b8;
  padding: 40px 0 28px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.85rem;
  color: #c9dbd3;
}

.footer-nav a:hover {
  color: #ffffff;
}

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

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-gold);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 0.78rem;
  color: #8faea2;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-links {
  display: flex;
  gap: 18px;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Mobile Bottom Bar (As shown in Mockup right screen)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
  z-index: 999;
  height: 60px;
}

.mobile-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  padding: 6px 16px;
}

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

.mobile-nav-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   Mobile Drawer Overlay
   ========================================================================== */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1001;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--color-primary-dark);
  color: #ffffff;
  z-index: 1002;
  padding: 24px 20px;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

body[dir="rtl"] .mobile-drawer {
  right: auto;
  left: -280px;
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  right: 0;
}

body[dir="rtl"] .mobile-drawer.open {
  left: 0;
  right: auto;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.drawer-close-btn {
  color: #ffffff;
  font-size: 1.5rem;
  padding: 4px;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-nav-list a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #c9ded5;
}

.drawer-nav-list a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .why-badges-grid {
    margin-top: 10px;
  }
  .where-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .where-steps-list {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .btn-auth-header {
    display: none;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-item {
    border: none;
  }
  .results-sample-grid {
    grid-template-columns: 1fr;
  }
  .support-trust-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .support-col {
    border: none;
    padding: 0;
    justify-content: center;
  }
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  body[dir="rtl"] .hero-title {
    font-size: 2.1rem;
  }
  .verify-card {
    padding: 26px 18px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .why-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .container {
    padding: 0 16px;
  }
}
