:root {
  --primary: #0f9d8a;
  --primary-dark: #0a7869;
  --primary-light: #e6f7f5;
  --accent: #ff5a1f;
  --accent-hover: #e04812;
  --accent-soft: #fff1eb;
  --gold: #f59e0b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.14);
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-fr: 'Plus Jakarta Sans', 'Cairo', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ar);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: 76px;
}

html[lang="fr"] body {
  font-family: var(--font-fr);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

/* =========================================================================
   1. ANNOUNCEMENT BAR
   ========================================================================= */
.announcement-bar {
  background: linear-gradient(90deg, #0f172a 0%, #134e4a 50%, #0f172a 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.announcement-marquee {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

.announcement-timer {
  background: rgba(255, 255, 255, 0.14);
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.announcement-timer strong {
  color: #fde047;
  font-family: monospace;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* =========================================================================
   2. STICKY HEADER & LANGUAGE SWITCHER
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #14b8a6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(15, 157, 138, 0.25);
}

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

.brand-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-main);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 700;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.94rem;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-header-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #f97316 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 90, 31, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 90, 31, 0.36);
}

.btn-api-settings {
  position: relative;
  border: 1px solid var(--border-color);
  background: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.btn-api-settings:hover {
  background: #f1f5f9;
}

.api-status-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
}

.api-status-dot.connected {
  background: #16a34a;
}

/* =========================================================================
   3. HERO SECTION (PRODUCT GALLERY + DIRECT COD ORDER FORM)
   ========================================================================= */
.hero-section {
  padding: 28px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 32px;
  align-items: start;
}

/* Product Gallery Column */
.gallery-column {
  position: sticky;
  top: 90px;
}

.main-media-stage {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.main-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.main-media-stage:hover .main-product-img {
  transform: scale(1.02);
}

.main-product-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: #000;
}

.discount-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.size-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.85);
  color: #38bdf8;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-main);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  z-index: 5;
}

.gallery-nav:hover {
  background: var(--primary);
  color: #fff;
}

.gallery-nav.prev {
  left: 14px;
}

.gallery-nav.next {
  right: 14px;
}

.thumbnails-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.thumb-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  background: #fff;
  padding: 3px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.thumb-item.active,
.thumb-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 157, 138, 0.2);
}

.video-badge {
  position: absolute;
  inset: auto 2px 2px 2px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 6px;
  text-align: center;
}

/* Trust Strip under Gallery */
.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.trust-chip {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  font-size: 1.45rem;
  line-height: 1;
}

.trust-chip strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
}

.trust-chip p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* =========================================================================
   4. PRODUCT INFO & ORDER FORM CARD
   ========================================================================= */
.product-header-info {
  margin-bottom: 20px;
}

.rating-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fefce8;
  border: 1px solid #fef08a;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.rating-score {
  font-weight: 800;
  font-size: 0.85rem;
  color: #854d0e;
}

.rating-count {
  font-size: 0.8rem;
  color: #713f12;
  font-weight: 600;
}

.product-title {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 10px;
}

.product-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.price-box {
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
  border: 2px solid #99f6e4;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.current-price {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
}

.currency-label {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.price-compare {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.old-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.95rem;
}

.save-badge {
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 2px 10px;
  border-radius: 999px;
}

.stock-urgency {
  width: 100%;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 700;
  color: #dc2626;
}

.stock-dot {
  width: 8px;
  height: 8px;
  background: #dc2626;
  border-radius: 50%;
  animation: pulseGlow 1.4s infinite;
}

/* Order Form Card */
.order-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.form-card-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.form-card-header h2 {
  font-size: 1.12rem;
  font-weight: 800;
}

.form-card-header p {
  font-size: 0.8rem;
  color: #cbd5e1;
}

#cod-order-form {
  padding: 20px;
}

.form-section-label {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

/* Bundle Cards */
.bundles-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.bundle-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 2px solid var(--border-color);
  border-radius: 14px;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.bundle-card.popular {
  margin-top: 6px;
}

.popular-ribbon {
  position: absolute;
  top: -11px;
  left: 16px;
  background: linear-gradient(90deg, var(--accent) 0%, #f59e0b 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

html[dir="ltr"] .popular-ribbon {
  left: auto;
  right: 16px;
}

.bundle-card:hover {
  border-color: #94a3b8;
}

.bundle-card.selected {
  border-color: var(--primary);
  background: #f0fdfa;
  box-shadow: 0 4px 14px rgba(15, 157, 138, 0.12);
}

.bundle-card input[type="radio"] {
  display: none;
}

.bundle-radio-ui {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bundle-card.selected .bundle-radio-ui {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 4px #ffffff;
}

.bundle-content {
  flex: 1;
}

.bundle-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.bundle-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
}

.bundle-tag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.bundle-tag.free-ship {
  background: #e0f2fe;
  color: #0369a1;
}

.bundle-tag.discount-tag {
  background: #ffedd5;
  color: #c2410c;
}

.bundle-tag.family-tag {
  background: #f3e8ff;
  color: #7e22ce;
}

.bundle-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  gap: 8px;
}

.bundle-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bundle-prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.bundle-old {
  font-size: 0.78rem;
  color: #94a3b8;
}

.bundle-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary-dark);
}

/* Form Inputs Grid */
.form-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-main);
}

.req {
  color: var(--danger);
}

.opt-tag {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  right: 12px;
  font-size: 1rem;
  pointer-events: none;
}

html[dir="ltr"] .input-icon {
  right: auto;
  left: 12px;
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 11px 38px 11px 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-main);
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

html[dir="ltr"] .input-wrapper input,
html[dir="ltr"] .input-wrapper select {
  padding: 11px 12px 11px 38px;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 157, 138, 0.15);
}

.custom-city-input {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1.5px solid var(--primary);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
}

/* Order Summary Box */
.order-summary-strip {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  padding: 3px 0;
  color: var(--text-muted);
}

.summary-line.total-line {
  border-top: 1px solid var(--border-color);
  margin-top: 6px;
  padding-top: 8px;
  font-size: 0.98rem;
  color: var(--text-main);
}

.free-badge {
  color: var(--success);
  font-weight: 800;
}

.total-amount-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent);
}

.form-alert {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.form-alert.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.btn-submit-order {
  width: 100%;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #f97316 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 900;
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(255, 90, 31, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 90, 31, 0.45);
}

.btn-submit-order:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* =========================================================================
   5. VIDEO REELS SHOWCASE SECTION
   ========================================================================= */
.videos-section {
  padding: 64px 0;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-eyebrow {
  display: inline-block;
  background: rgba(20, 184, 166, 0.15);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.videos-section .section-eyebrow {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
}

.section-title {
  font-size: 1.95rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

.videos-section .section-desc {
  color: #cbd5e1;
}

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

.video-reel-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 20px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
}

.reel-phone-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
  aspect-ratio: 9 / 16;
  background: #000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.reel-phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  z-index: 4;
  background: rgba(255, 90, 31, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  text-align: center;
  pointer-events: none;
}

.reel-badge.secondary {
  background: rgba(15, 157, 138, 0.92);
}

.reel-caption h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.reel-caption p {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 18px;
  line-height: 1.6;
}

.btn-reel-order {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 12px;
  transition: background 0.2s;
}

.btn-reel-order:hover {
  background: var(--accent-hover);
}

/* =========================================================================
   6. INTERACTIVE LIVE LCD TABLET SIMULATOR
   ========================================================================= */
.interactive-demo-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #f0fdfa 0%, #fff7ed 100%);
  border-bottom: 1px solid var(--border-color);
}

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

.demo-perks {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-perks li {
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-cta {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(15, 157, 138, 0.28);
  transition: transform 0.2s;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
}

/* LCD Tablet Physical Frame */
.lcd-tablet-frame {
  background: #18181b;
  border-radius: 26px;
  padding: 16px 18px 18px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22), inset 0 2px 4px rgba(255, 255, 255, 0.15);
  max-width: 500px;
  margin: 0 auto;
  border: 4px solid #27272a;
}

.tablet-pen-slot {
  height: 14px;
  background: #09090b;
  border-radius: 999px;
  margin: 0 auto 12px;
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.stylus-visual {
  width: 85%;
  height: 8px;
  background: linear-gradient(90deg, #3f3f46 0%, #52525b 50%, #27272a 100%);
  border-radius: 999px;
}

.lcd-canvas-container {
  position: relative;
  background: #0c0d0e;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #27272a;
  cursor: crosshair;
  touch-action: none;
}

#lcd-canvas {
  display: block;
  width: 100%;
  height: auto;
}

.canvas-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 1.05rem;
  pointer-events: none;
  transition: opacity 0.3s;
}

.tablet-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 8px;
  color: #a1a1aa;
  font-size: 0.8rem;
}

.lcd-trash-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #e4e4e7;
  background: #27272a;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.2s;
}

.lcd-trash-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.08);
}

.lock-switch-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #e4e4e7;
  font-weight: 700;
}

.tablet-size-label {
  font-family: monospace;
  font-weight: 700;
  color: #71717a;
}

/* =========================================================================
   7. FEATURES & ANATOMY SECTION
   ========================================================================= */
.features-section {
  padding: 64px 0;
  background: #ffffff;
}

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

.feature-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 14px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.anatomy-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.anatomy-img-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.anatomy-img-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.anatomy-caption {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-main);
  background: #f8fafc;
}

/* =========================================================================
   8. CUSTOMER REVIEWS & FAQ
   ========================================================================= */
.reviews-section {
  padding: 64px 0;
  background: var(--bg-page);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

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

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.review-top strong {
  display: block;
  font-size: 0.92rem;
}

.verified-badge {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 700;
}

.review-stars {
  margin-right: auto;
  color: #f59e0b;
}

html[dir="ltr"] .review-stars {
  margin-right: 0;
  margin-left: auto;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
}

/* FAQ */
.faq-section {
  padding: 64px 0;
  background: #ffffff;
}

.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px 20px;
  background: #f8fafc;
}

.faq-item summary {
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-main);
}

.faq-item p {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* =========================================================================
   9. FOOTER & MOBILE STICKY BAR
   ========================================================================= */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 36px 0;
  font-size: 0.88rem;
}

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

.btn-footer-api {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
}

.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 85;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.1);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sticky-price-info {
  display: flex;
  flex-direction: column;
}

.sticky-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
}

.sticky-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.btn-sticky-order {
  background: linear-gradient(135deg, var(--accent) 0%, #f97316 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.96rem;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(255, 90, 31, 0.3);
}

/* =========================================================================
   10. MODALS & ADMIN COD SOLUTIONS API DRAWER
   ========================================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #ffffff;
  border-radius: 22px;
  max-width: 480px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.success-check-icon {
  font-size: 3.2rem;
  margin-bottom: 10px;
}

.receipt-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 18px 0;
  text-align: initial;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 0.9rem;
}

.receipt-row.total {
  border-top: 1px dashed var(--border-color);
  margin-top: 6px;
  padding-top: 8px;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.btn-close-modal {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}

/* Admin Drawer */
.admin-drawer {
  background: #ffffff;
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-fr);
}

.admin-drawer-header {
  background: #0f172a;
  color: #fff;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-drawer-header h3 {
  font-size: 1.1rem;
}

.admin-drawer-header p {
  font-size: 0.78rem;
  color: #94a3b8;
}

.btn-icon-close {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
}

.admin-drawer-body {
  padding: 20px 22px;
  overflow-y: auto;
}

.api-banner {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.api-banner.connected {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.admin-field {
  margin-bottom: 12px;
}

.admin-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.admin-field input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.88rem;
}

.admin-field small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-light);
  margin-top: 3px;
}

.admin-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 16px;
}

.btn-admin-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.btn-admin-secondary {
  background: #f1f5f9;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}

.admin-code-box {
  background: #0f172a;
  color: #38bdf8;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.76rem;
  max-height: 180px;
  overflow: auto;
  margin-bottom: 16px;
}

.admin-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.btn-admin-sm {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  cursor: pointer;
}

.admin-order-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  background: #f8fafc;
}

.admin-order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.sync-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.sync-pill.synced {
  background: #dcfce7;
  color: #166534;
}

.sync-pill.local {
  background: #fef3c7;
  color: #92400e;
}

.sync-pill.error {
  background: #fee2e2;
  color: #991b1b;
}

/* =========================================================================
   11. RESPONSIVE BREAKPOINTS
   ========================================================================= */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .gallery-column {
    position: static;
  }
  .header-nav {
    display: none;
  }
  .video-reels-grid {
    grid-template-columns: 1fr;
  }
  .demo-wrapper {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid,
  .anatomy-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .btn-header-cta {
    display: none;
  }
  .product-title {
    font-size: 1.32rem;
  }
  .form-fields-grid {
    grid-template-columns: 1fr;
  }
  .hero-trust-strip {
    grid-template-columns: 1fr;
  }
  .video-reel-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .reel-phone-frame {
    width: 220px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .thumbnails-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
