/* ==========================================================================
   JEWELLERY MANAGEMENT 2.0.0 — PREMIUM REDESIGN
   Exact Brand Palette:
   • Champagne Gold : #F6D69D
   • Honey Gold     : #EDB763
   • Warm Ivory     : #FFF6E7
   • Deep Burgundy  : #801F1E
   • Near Black     : #121212
   • Slate Blue     : #5A6A8F
   ========================================================================== */

/* Local Typefaces */
@font-face {
  font-family: 'Playfair Display SC';
  src: url('/assets/playfair-display-sc-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('/assets/karla-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('/assets/karla-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('/assets/karla-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'JM Bengali';
  src: url('/assets/bengali-bold.woff') format('woff');
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: 'JM Bengali';
  src: url('/assets/bengali.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

/* ==========================================================================
   DESIGN TOKENS & SEMANTIC VARIABLES
   ========================================================================== */
:root {
  /* Exact 6-Color Palette */
  --champagne-gold: #F6D69D;
  --honey-gold:     #EDB763;
  --warm-ivory:     #FFF6E7;
  --deep-burgundy:  #801F1E;
  --near-black:     #121212;
  --slate-blue:     #5A6A8F;

  /* Derived Surface & Tint Tokens */
  --surface-ivory:        #FFFFFF;
  --surface-ivory-warm:   #FFF6E7;
  --surface-ivory-tint:   #F9EEDC;
  --surface-ivory-muted:  #F2E2C9;
  --surface-dark:         #121212;
  --surface-dark-elevated:#1B1B1B;
  --surface-dark-card:    #1E1E1E;

  /* Typography Colors */
  --text-dark:            #121212;
  --text-dark-muted:      #4D4842;
  --text-dark-subtle:     #706A62;
  --text-light:           #FFF6E7;
  --text-light-muted:     rgba(255, 246, 231, 0.84);
  --text-light-subtle:    rgba(255, 246, 231, 0.75);

  /* Border Tokens */
  --border-light:         rgba(18, 18, 18, 0.11);
  --border-light-gold:    rgba(237, 183, 99, 0.38);
  --border-dark:          rgba(246, 214, 157, 0.22);
  --border-dark-subtle:   rgba(255, 246, 231, 0.10);

  /* Semantic Bindings */
  --bg-page:        var(--warm-ivory);
  --bg-surface:     var(--surface-ivory);
  --bg-dark:        var(--near-black);
  --primary:        var(--honey-gold);
  --primary-hover:  #F2C37B;
  --primary-ink:    var(--near-black);
  --secondary:      var(--slate-blue);
  --accent-gold:    var(--champagne-gold);
  --accent-burgundy:var(--deep-burgundy);
  --focus-ring:     var(--honey-gold);

  /* Typography Families */
  --font-display: "Playfair Display SC", Georgia, "Times New Roman", serif;
  --font-body:    "Karla", system-ui, -apple-system, sans-serif;
  --font-bengali: "JM Bengali", "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;

  /* Type Scale */
  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-display:   clamp(2.25rem, 4.6vw + 0.5rem, 4.1rem);
  --text-display-s: clamp(1.9rem, 3.6vw + 0.5rem, 3.15rem);
  --text-section:   clamp(1.75rem, 3vw + 0.45rem, 2.65rem);
  --text-title:     clamp(1.18rem, 1.2vw + 0.8rem, 1.55rem);
  --text-lead:      clamp(1.04rem, 0.4vw + 0.94rem, 1.22rem);

  /* Spacing Scale */
  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs:  8px;
  --space-sm:  12px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  --container: 1200px;
  --gutter: 24px;
  --gap-columns: 24px;
  --section-gap: clamp(56px, 7vw, 88px);

  /* Corner Radii (8-16px per requirements) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Restrained Shadows */
  --shadow-sm: 0 2px 6px rgba(18, 18, 18, 0.04);
  --shadow-md: 0 6px 18px -2px rgba(18, 18, 18, 0.06), 0 2px 6px -1px rgba(18, 18, 18, 0.03);
  --shadow-lg: 0 14px 32px -4px rgba(18, 18, 18, 0.09), 0 4px 10px -2px rgba(18, 18, 18, 0.04);
  --shadow-dark: 0 16px 40px -4px rgba(0, 0, 0, 0.48);
  --shadow-gold-hover: 0 12px 28px -4px rgba(237, 183, 99, 0.28), 0 4px 10px rgba(18, 18, 18, 0.06);

  /* Transitions (150-220ms interactive) */
  --dur-fast: 160ms;
  --dur-med:  190ms;
  --dur-long: 280ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --z-sticky-sub: 200;
  --z-sticky-nav: 300;
  --z-modal: 400;
  --z-skip: 500;
}

/* ==========================================================================
   VIEW TRANSITION (Progressive Enhancement)
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-fade-out 150ms ease-in forwards; }
::view-transition-new(root) { animation: vt-fade-in 150ms ease-out backwards; animation-delay: 25ms; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in  { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-4xl);
  scrollbar-color: var(--honey-gold) var(--near-black);
}
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[lang="bn"] body {
  font-family: var(--font-bengali);
  font-size: 1.0625rem;
  line-height: 1.78;
}

::selection {
  background: var(--honey-gold);
  color: var(--near-black);
}

a {
  color: inherit;
  text-decoration-color: var(--border-light);
  text-underline-offset: 4px;
  transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out);
}
a:hover {
  color: var(--deep-burgundy);
  text-decoration-color: var(--deep-burgundy);
}

button, input, select { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

/* Headings */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
  color: var(--text-dark);
}
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3, html[lang="bn"] h4 {
  font-family: var(--font-bengali);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0 !important;
}

h1 { font-size: var(--text-display); margin-bottom: var(--space-lg); }
h2 { font-size: var(--text-section); margin-bottom: var(--space-md); }
h3 { font-size: var(--text-title); line-height: 1.3; margin-bottom: var(--space-xs); }
p { margin-top: 0; margin-bottom: var(--space-md); color: var(--text-dark-muted); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--honey-gold);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ==========================================================================
   LIGHTWEIGHT, GPU-COMPOSITED SCROLL REVEAL SYSTEM (ZERO LAG)
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 380ms var(--ease-out),
              transform 380ms var(--ease-out);
}
.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-item.stagger-1 { transition-delay: 55ms; }
.reveal-item.stagger-2 { transition-delay: 110ms; }
.reveal-item.stagger-3 { transition-delay: 165ms; }

/* Accessibility: Skip Link */
.skip {
  position: fixed;
  top: var(--space-xs);
  left: var(--space-xs);
  z-index: var(--z-skip);
  transform: translateY(-200%);
  background: var(--near-black);
  color: var(--warm-ivory);
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--champagne-gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-dark);
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip:focus {
  transform: translateY(0);
}

/* ==========================================================================
   NAVIGATION / HEADER (Near Black with Champagne Gold border & Scroll Bar)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky-nav);
  background: var(--near-black);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
}
.header.has-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(246, 214, 157, 0.35);
}

/* Compositor-only Gold Scroll Progress Bar */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--champagne-gold), var(--honey-gold));
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
  pointer-events: none;
}

.navrow {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-columns);
}

/* Brand Identity */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  line-height: 1.1;
  flex-shrink: 0;
  color: var(--warm-ivory);
}
.brand-logo {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(246, 214, 157, 0.35);
  border-radius: var(--radius-sm);
  background: #000000;
  display: block;
  object-fit: contain;
  transition: transform var(--dur-fast) var(--ease-out);
}
.brand:hover .brand-logo {
  transform: translateY(-1px);
}
.brandword {
  font-family: var(--font-body);
  font-size: var(--text-md);
  letter-spacing: 0.01em;
  color: var(--warm-ivory);
}
.brandword strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--champagne-gold);
  letter-spacing: 0.03em;
}
html[lang="bn"] .brandword strong {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-left: auto;
}
.desktop-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-light-muted);
  padding: 8px 2px;
  letter-spacing: 0.01em;
  transition: color var(--dur-fast) var(--ease-out);
}
html[lang="bn"] .desktop-nav a {
  letter-spacing: 0 !important;
  font-size: 1rem;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--champagne-gold), var(--honey-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--champagne-gold);
}
.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}
.desktop-nav a:focus-visible {
  outline: 2px solid var(--honey-gold);
  outline-offset: 4px;
}

/* Tools: Language Switcher, Demo Action, Mobile Trigger */
.tools {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 16px;
  background: var(--honey-gold);
  color: var(--near-black);
  border: 1px solid var(--honey-gold);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.nav-demo:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--near-black);
  transform: translateY(-1px);
}
html[lang="bn"] .nav-demo {
  font-family: var(--font-bengali);
  font-size: 14px;
  letter-spacing: 0 !important;
}

.language {
  min-width: 44px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 6px 14px;
  color: var(--champagne-gold);
  background: rgba(255, 246, 231, 0.05);
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.language:hover {
  border-color: var(--champagne-gold);
  color: var(--warm-ivory);
  background: rgba(246, 214, 157, 0.15);
}

.menu-button {
  display: none;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 246, 231, 0.04);
  color: var(--warm-ivory);
  min-height: 40px;
  min-width: 44px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
html[lang="bn"] .menu-button {
  font-family: var(--font-bengali);
  font-size: 14px;
  letter-spacing: 0 !important;
  text-transform: none;
}
.menu-button:hover {
  background: rgba(246, 214, 157, 0.12);
  border-color: var(--champagne-gold);
  color: var(--champagne-gold);
}
.menu-button[aria-expanded="true"] {
  background: rgba(237, 183, 99, 0.14);
  border-color: var(--honey-gold);
  color: var(--honey-gold);
}

/* Mobile Navigation Panel */
.mobile-nav {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding: var(--space-sm) 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--near-black);
  border-bottom: 2px solid var(--honey-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}
.mobile-nav:not([hidden]) {
  animation: menu-slide 180ms var(--ease-out) both;
}
@keyframes menu-slide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav a {
  display: flex;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
  text-decoration: none;
  min-height: 48px;
  color: var(--warm-ivory);
  font-weight: 600;
  font-size: var(--text-lg);
  border-bottom: 1px solid rgba(255, 246, 231, 0.07);
  background: transparent;
  position: relative;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
html[lang="bn"] .mobile-nav a {
  font-family: var(--font-bengali);
  letter-spacing: 0 !important;
}
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: rgba(246, 214, 157, 0.08);
  color: var(--champagne-gold);
}
.mobile-nav a.mobile-nav-demo {
  margin: var(--space-md) var(--space-lg) 0;
  padding: 12px var(--space-lg);
  justify-content: center;
  background: var(--honey-gold);
  color: var(--near-black);
  border: 1px solid var(--honey-gold);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.mobile-nav a.mobile-nav-demo:hover,
.mobile-nav a.mobile-nav-demo:focus-visible {
  background: var(--primary-hover);
  color: var(--near-black);
}

/* ==========================================================================
   BUTTONS & ACTION CONTROLS
   ========================================================================== */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.button, .btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  padding: 0.78rem 1.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-md);
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
html[lang="bn"] .button,
html[lang="bn"] .btn-primary,
html[lang="bn"] .btn-secondary {
  font-family: var(--font-bengali);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0 !important;
}

/* Primary Action Button (Honey Gold with Near Black text) */
.button, .btn-primary {
  background: var(--honey-gold);
  color: var(--near-black);
  border: 1px solid var(--honey-gold);
  box-shadow: 0 4px 12px rgba(237, 183, 99, 0.28);
}
.button:hover, .btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--near-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(237, 183, 99, 0.42);
}
.button:active, .btn-primary:active {
  transform: translateY(0);
}
.button:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid var(--champagne-gold);
  outline-offset: 3px;
}
.button:disabled, .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Secondary Action Button (Outlined Luxury) */
.button.secondary, .btn-secondary {
  background: rgba(246, 214, 157, 0.06);
  color: var(--warm-ivory);
  border: 1.5px solid rgba(246, 214, 157, 0.65);
  box-shadow: none;
}
.button.secondary:hover, .btn-secondary:hover {
  background: rgba(246, 214, 157, 0.18);
  color: var(--champagne-gold);
  border-color: var(--champagne-gold);
  transform: translateY(-2px);
}
.button.secondary:active, .btn-secondary:active {
  transform: translateY(0);
}

.hero .button.secondary, .hero .btn-secondary,
.hero-section .button.secondary, .hero-section .btn-secondary,
.cta .button.secondary, .cta .btn-secondary {
  color: var(--warm-ivory);
  border-color: rgba(246, 214, 157, 0.65);
  background: rgba(246, 214, 157, 0.06);
}
.hero .button.secondary:hover, .hero .btn-secondary:hover,
.hero-section .button.secondary:hover, .hero-section .btn-secondary:hover,
.cta .button.secondary:hover, .cta .btn-secondary:hover {
  color: var(--champagne-gold);
  border-color: var(--champagne-gold);
  background: rgba(246, 214, 157, 0.18);
}

/* On light surfaces (e.g. Prose / Supporting Pages), secondary button inverts */
.prose .button.secondary {
  color: var(--near-black);
  border: 1.5px solid var(--slate-blue);
  background: transparent;
}
.prose .button.secondary:hover {
  background: rgba(90, 106, 143, 0.1);
  color: var(--slate-blue);
  border-color: var(--slate-blue);
}

/* ==========================================================================
   HERO SECTION (Near Black with Warm Ivory & Champagne Gold)
   ========================================================================== */
.hero-section {
  background: var(--near-black);
  color: var(--warm-ivory);
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 68px) 0 clamp(44px, 6vw, 76px);
}
/* Soft static ambient background glow for depth (zero scroll repaint cost) */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 750px at 72% 30%, rgba(90, 106, 143, 0.13) 0%, transparent 70%),
              radial-gradient(circle 600px at 15% 75%, rgba(128, 31, 30, 0.15) 0%, transparent 60%),
              radial-gradient(circle 480px at 50% 12%, rgba(246, 214, 157, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4vw, 52px);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 16px;
  background: rgba(128, 31, 30, 0.24);
  border: 1px solid rgba(246, 214, 157, 0.38);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--champagne-gold);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
html[lang="bn"] .hero-badge {
  font-size: 14px;
  letter-spacing: 0 !important;
}
.hero-badge .badge-icon {
  color: var(--honey-gold);
  font-size: 14px;
}

.hero h1 {
  font-size: clamp(2.15rem, 3.8vw, 3.65rem);
  line-height: 1.14;
  margin-bottom: 22px;
  color: var(--warm-ivory);
  letter-spacing: -0.01em;
}
html[lang="bn"] .hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.38;
  letter-spacing: 0 !important;
}

/* Champagne Gold headline accent with single soft decorative rule draw & glint */
.hero-accent {
  color: var(--champagne-gold);
  position: relative;
  display: inline-block;
}
.hero-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--champagne-gold), var(--honey-gold));
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  animation: hero-rule-draw 500ms 150ms var(--ease-out) forwards;
}
.hero-accent::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  opacity: 0;
  animation: hero-glint 450ms 650ms var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes hero-rule-draw {
  to { transform: scaleX(1); }
}
@keyframes hero-glint {
  0%   { opacity: 1; left: 0; }
  100% { opacity: 0; left: 100%; }
}

.hero-copy-small { display: none; }

.hero-intro {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-light-muted);
  max-width: 48ch;
  margin-bottom: 28px;
}
html[lang="bn"] .hero-intro {
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero .note {
  font-size: 12.5px;
  color: var(--text-light-subtle);
  margin-top: 16px;
  max-width: 48ch;
}
html[lang="bn"] .hero .note {
  font-size: 13.5px;
}

/* Dashboard Screenshot Frame in Hero (Gentle 10px entrance) */
.hero .real-shot {
  margin: 0;
  padding: 8px;
  background: var(--surface-ivory);
  border: 1px solid rgba(246, 214, 157, 0.38);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  animation: hero-dash-in 550ms 160ms var(--ease-out) both;
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
@keyframes hero-dash-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .real-shot:hover {
  transform: translateY(-2px);
  border-color: var(--champagne-gold);
}
.hero .real-shot figcaption {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark-muted);
  text-align: center;
  padding: 6px 4px 2px;
}

/* ==========================================================================
   TRUST RIBBON / HIGHLIGHT STRIP
   ========================================================================== */
.trust {
  background: var(--near-black);
  color: var(--warm-ivory);
  border-top: 1px solid rgba(246, 214, 157, 0.22);
  border-bottom: 1px solid rgba(246, 214, 157, 0.22);
  padding: 16px 0;
}
.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 600;
}
.trust span {
  color: var(--text-light-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust span:not(:first-child)::before {
  content: "◆";
  font-size: 9px;
  color: var(--honey-gold);
  opacity: 0.85;
}
.trust span:first-child {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--champagne-gold);
  letter-spacing: 0.02em;
}
html[lang="bn"] .trust span:first-child {
  font-family: var(--font-bengali);
  letter-spacing: 0 !important;
}

/* ==========================================================================
   SHOWCASE / WORKSPACE GALLERY (Organized by Menu with Inline View Switcher)
   ========================================================================== */
.real-showcase {
  padding: var(--section-gap) 0 var(--space-2xl);
}
.showcase-intro {
  margin-bottom: var(--space-xl);
}
.showcase-intro h2 {
  font-size: var(--text-section);
  color: var(--near-black);
  margin-bottom: var(--space-xs);
}
.showcase-intro p {
  font-size: var(--text-lead);
  color: var(--text-dark-muted);
  max-width: 64ch;
}

/* Sticky Category Bar (Solid Warm Ivory for zero GPU blur lag during scroll) */
.screen-nav {
  position: sticky;
  top: 68px;
  z-index: var(--z-sticky-sub);
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  margin-top: var(--space-lg);
  padding: 12px 0;
  background: var(--warm-ivory);
  border-bottom: 1px solid rgba(18, 18, 18, 0.1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.screen-nav::-webkit-scrollbar { display: none; }
.screen-nav a {
  padding: 8px 18px;
  border: 1px solid rgba(90, 106, 143, 0.28);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dark-muted);
  background: var(--surface-ivory);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}
html[lang="bn"] .screen-nav a {
  font-family: var(--font-bengali);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0 !important;
}
.screen-nav a:hover {
  color: var(--near-black);
  border-color: var(--honey-gold);
}
.screen-nav a.is-active,
.screen-nav a:active {
  color: var(--champagne-gold);
  background: var(--near-black);
  border-color: var(--honey-gold);
}

.screen-section {
  padding: var(--space-2xl) 0 var(--space-3xl);
  border-top: 1px solid var(--border-light);
  scroll-margin-top: 132px;
}
.screen-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap-columns);
  align-items: start;
  margin-bottom: var(--space-xl);
}
.section-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--slate-blue);
  font-weight: 700;
}
.screen-heading h2 {
  font-size: var(--text-title);
  margin: 0;
  color: var(--near-black);
}
.screen-heading p {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--text-dark-muted);
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-columns);
}
.screen-grid > .real-shot:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 960px;
  width: 100%;
  justify-self: center;
}

/* Individual Menu Screenshot Cards */
.real-shot {
  margin: 0;
  padding: 10px;
  background: var(--surface-ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
}
.real-shot:hover {
  transform: translateY(-2px);
  border-color: var(--honey-gold);
}

/* Menu Path Badge at top of each Screenshot Card */
.shot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 2px;
}
.shot-menu-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(90, 106, 143, 0.1);
  border: 1px solid rgba(90, 106, 143, 0.22);
  color: var(--slate-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.shot-menu-badge::before {
  content: "●";
  font-size: 8px;
  color: var(--honey-gold);
}
html[lang="bn"] .shot-menu-badge {
  font-family: var(--font-bengali);
  font-size: 13px;
  letter-spacing: 0 !important;
}

.screenshot-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--surface-ivory-tint);
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: var(--radius-sm);
}
.screenshot-link img {
  display: block;
  width: 100%;
  height: auto;
}
.zoom-label {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(18, 18, 18, 0.92);
  color: var(--warm-ivory);
  border: 1px solid var(--champagne-gold);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}
html[lang="bn"] .zoom-label {
  font-family: var(--font-bengali);
  letter-spacing: 0 !important;
  font-size: 12px;
}
.screenshot-link:hover .zoom-label,
.screenshot-link:focus-visible .zoom-label {
  opacity: 1;
}
.real-shot figcaption {
  font-size: 13px;
  color: var(--text-dark-muted);
  margin-top: 10px;
  padding: 2px 4px;
  font-weight: 600;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
html[lang="bn"] .real-shot figcaption {
  font-size: 14px;
}

/* Inline Sub-View Switcher Pills inside Multi-Part Menu Cards */
.shot-views {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
}
.shot-view-btn {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(90, 106, 143, 0.28);
  background: var(--warm-ivory);
  color: var(--text-dark-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
html[lang="bn"] .shot-view-btn {
  font-family: var(--font-bengali);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0 !important;
}
.shot-view-btn:hover {
  border-color: var(--honey-gold);
  color: var(--near-black);
}
.shot-view-btn.is-active {
  background: var(--near-black);
  color: var(--champagne-gold);
  border-color: var(--honey-gold);
}

/* Modal Screenshot Dialog */
.image-dialog {
  width: min(1440px, 94vw);
  max-width: 94vw;
  max-height: 92dvh;
  padding: 0;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dark);
  background: var(--near-black);
  color: var(--warm-ivory);
  overflow: hidden;
}
.image-dialog::backdrop {
  background: rgba(18, 18, 18, 0.88);
}
.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 12px 20px;
  font-size: var(--text-xs);
  border-bottom: 1px solid rgba(246, 214, 157, 0.2);
  background: #181818;
}
.viewer-toolbar button {
  min-height: 36px;
  padding: 6px 16px;
  border: 1px solid var(--champagne-gold);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--champagne-gold);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
html[lang="bn"] .viewer-toolbar button {
  font-family: var(--font-bengali);
  letter-spacing: 0 !important;
}
.viewer-toolbar button:hover {
  background: var(--honey-gold);
  border-color: var(--honey-gold);
  color: var(--near-black);
}
.viewer-scroll {
  overflow: auto;
  max-height: calc(92dvh - 60px);
  background: #0f0f0f;
  padding: var(--space-xs);
}
.viewer-scroll img {
  display: block;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  height: auto;
  cursor: zoom-in;
}
.zoomed .viewer-scroll img {
  width: auto;
  max-width: none;
  margin-inline: 0;
  cursor: zoom-out;
}

/* ==========================================================================
   FEATURES SECTION (Warm Ivory Background with Clean Cards)
   ========================================================================== */
.section {
  padding: var(--section-gap) 0;
}
.section.alternate {
  background: var(--surface-ivory-tint);
  border-block: 1px solid rgba(18, 18, 18, 0.08);
}
.intro {
  max-width: 65ch;
  margin-bottom: var(--space-2xl);
}
.intro h2 {
  font-size: var(--text-section);
  color: var(--near-black);
  margin-bottom: var(--space-xs);
}
.intro p {
  font-size: var(--text-lead);
  color: var(--text-dark-muted);
  line-height: 1.68;
}

/* Feature Cards Grid (3 Columns on PC) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-columns);
}
.card {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  background: var(--surface-ivory);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}
/* Subtle Gold Top Accent Detail Revealed on Hover/Intersection */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--honey-gold), var(--champagne-gold));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--dur-long) var(--ease-out);
}
.card.is-visible::before,
.card:hover::before {
  transform: scaleX(1);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--honey-gold);
}

.card .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(90, 106, 143, 0.1);
  color: var(--slate-blue);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: var(--space-md);
  border: 1px solid rgba(90, 106, 143, 0.22);
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
html[lang="bn"] .card .number {
  font-family: var(--font-bengali);
  letter-spacing: 0 !important;
  font-size: 16px;
}
.card:hover .number {
  background: rgba(237, 183, 99, 0.18);
  border-color: var(--honey-gold);
  color: #9A6B19;
}
.card h3 {
  font-size: var(--text-title);
  color: var(--near-black);
  margin-bottom: var(--space-xs);
}
.card p {
  font-size: var(--text-sm);
  line-height: 1.68;
  color: var(--text-dark-muted);
  margin-bottom: 0;
}
html[lang="bn"] .card p {
  font-size: 1rem;
  line-height: 1.78;
}

/* ==========================================================================
   WORKFLOW / SETUP SECTION ("How it works" with Progression Line)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-columns);
  position: relative;
}
@media (min-width: 761px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(90, 106, 143, 0.25), rgba(237, 183, 99, 0.55), rgba(90, 106, 143, 0.25));
    z-index: 0;
    pointer-events: none;
  }
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: var(--surface-ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--honey-gold);
}
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--slate-blue);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--space-md);
  border: 2px solid var(--champagne-gold);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.step:hover .step-badge {
  background: var(--near-black);
  color: var(--champagne-gold);
}
html[lang="bn"] .step-badge {
  font-family: var(--font-bengali);
  letter-spacing: 0 !important;
  font-size: 17px;
}
.step h3 {
  font-size: var(--text-title);
  color: var(--near-black);
  margin-bottom: var(--space-xs);
}
.step p {
  font-size: var(--text-sm);
  line-height: 1.68;
  color: var(--text-dark-muted);
  margin-bottom: 0;
}
html[lang="bn"] .step p {
  font-size: 1rem;
  line-height: 1.78;
}

/* ==========================================================================
   PRICING SECTION (Near Black Card with Champagne & Honey Gold)
   ========================================================================== */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  position: relative;
  padding-block: var(--section-gap);
}
.pricing-copy {
  max-width: 520px;
}
.pricing .plan-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--deep-burgundy);
  margin-bottom: 14px;
  text-transform: uppercase;
}
html[lang="bn"] .pricing .plan-eyebrow {
  font-family: var(--font-bengali);
  letter-spacing: 0 !important;
  font-size: 15px;
}
.pricing h2 {
  font-size: var(--text-section);
  color: var(--near-black);
  margin-bottom: 18px;
}
.pricing-copy > p:not(.plan-eyebrow) {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-dark-muted);
  margin-bottom: 24px;
}
html[lang="bn"] .pricing-copy > p:not(.plan-eyebrow) {
  font-size: 1.05rem;
}

/* High-emphasis Near Black Price Card */
.pricecard {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--near-black);
  color: var(--warm-ivory);
  box-shadow: var(--shadow-dark);
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-med) var(--ease-out);
}
.pricecard:hover {
  border-color: rgba(246, 214, 157, 0.45);
}
.pricecard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--honey-gold), var(--champagne-gold));
  border-radius: 0 0 4px 4px;
}
.pricecard .plan-label {
  display: inline-flex;
  padding: 5px 12px;
  border: 1px solid rgba(246, 214, 157, 0.4);
  border-radius: 6px;
  color: var(--champagne-gold);
  background: rgba(246, 214, 157, 0.1);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 20px;
}
html[lang="bn"] .pricecard .plan-label {
  font-family: var(--font-bengali);
  letter-spacing: 0 !important;
  font-size: 13.5px;
}
.pricecard h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.4;
  color: var(--warm-ivory);
  margin-bottom: 16px;
}
.plan-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 16px;
}
.pricing .pricecard .price {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--warm-ivory);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
html[lang="bn"] .pricing .pricecard .price {
  font-family: var(--font-bengali);
  letter-spacing: 0 !important;
  line-height: 1.3;
}
.pricecard .plan-period {
  font-size: 14px;
  color: var(--champagne-gold);
}
html[lang="bn"] .pricecard .plan-period {
  font-size: 15px;
}
.pricing .pricecard .renew {
  color: var(--champagne-gold);
  background: rgba(246, 214, 157, 0.08);
  border: 1px solid rgba(246, 214, 157, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 24px;
}
html[lang="bn"] .pricing .pricecard .renew {
  font-size: 16px;
}
.pricecard .includes {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  color: rgba(255, 246, 231, 0.92);
  font-size: 14.5px;
}
.pricecard .includes li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  line-height: 1.65;
}
.pricecard .includes li::before {
  content: "✓";
  color: var(--honey-gold);
  font-weight: 700;
  flex: none;
}
html[lang="bn"] .pricecard .includes {
  font-size: 16px;
}
.pricecard .button {
  width: 100%;
  min-height: 48px;
  background: var(--honey-gold);
  color: var(--near-black);
  border: 1px solid var(--honey-gold);
  font-weight: 700;
  font-size: 15px;
}
.pricecard .button:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--near-black);
  transform: translateY(-2px);
}

/* ==========================================================================
   FAQ SECTION (Accessible Details/Summary with Animated Icon)
   ========================================================================== */
.faq {
  max-width: 820px;
  margin-inline: auto;
}
.faq h2 {
  font-size: var(--text-section);
  text-align: center;
  margin-bottom: var(--space-2xl);
  color: var(--near-black);
}
.faq details {
  border-bottom: 1px solid rgba(18, 18, 18, 0.12);
  padding: 0;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.faq details:hover {
  background: rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-sm);
}
.faq details[open] {
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-sm);
}
.faq summary {
  cursor: pointer;
  padding: 20px 16px;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--near-black);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible {
  outline: 2px solid var(--honey-gold);
  outline-offset: 2px;
}
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--near-black);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(237, 183, 99, 0.22);
  border: 1px solid rgba(237, 183, 99, 0.45);
  transition: transform var(--dur-med) var(--ease-out),
              background-color var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background: rgba(128, 31, 30, 0.14);
  border-color: rgba(128, 31, 30, 0.3);
  color: var(--deep-burgundy);
}
.faq details p {
  padding: 0 16px 22px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text-dark-muted);
  max-width: 72ch;
  height: auto;
  overflow: visible;
}
html[lang="bn"] .faq details p {
  font-size: 16.5px;
  line-height: 1.85;
}

/* ==========================================================================
   FINAL CTA SECTION (Near Black with Warm Ivory & Honey Gold)
   ========================================================================== */
.cta {
  text-align: center;
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--near-black);
  color: var(--warm-ivory);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(246, 214, 157, 0.2);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 650px at 50% 50%, rgba(246, 214, 157, 0.09) 0%, rgba(128, 31, 30, 0.14) 50%, transparent 80%);
  pointer-events: none;
}
.cta h2 {
  font-size: var(--text-section);
  color: var(--warm-ivory);
  margin-bottom: var(--space-sm);
  position: relative;
}
.cta p {
  font-size: var(--text-lead);
  color: var(--text-light-muted);
  max-width: 56ch;
  margin: 0 auto var(--space-xl);
  position: relative;
}
.cta .actions {
  justify-content: center;
  position: relative;
}

/* ==========================================================================
   FOOTER (Near Black with Champagne Gold Detailing)
   ========================================================================== */
.footer {
  background: var(--near-black);
  color: var(--warm-ivory);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(246, 214, 157, 0.2);
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--champagne-gold) 25%, var(--honey-gold) 50%, var(--champagne-gold) 75%, transparent 95%);
}
.footer .brand {
  color: var(--warm-ivory);
}
.footer .brand-logo {
  border: 1px solid rgba(246, 214, 157, 0.35);
  border-radius: var(--radius-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--gap-columns);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
  justify-content: flex-end;
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-light-muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  position: relative;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 1px;
  background: var(--honey-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.footer-links a:hover {
  color: var(--champagne-gold);
}
.footer-links a:hover::after {
  transform: scaleX(1);
}
.footer-links a:active {
  color: var(--warm-ivory);
}
.copyright {
  font-size: var(--text-xs);
  color: var(--text-light-subtle);
  margin-top: var(--space-2xl);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   SUPPORTING PAGES (Privacy, Support, Demo Intro, 404)
   ========================================================================== */
.prose {
  max-width: 760px;
  padding: clamp(48px, 6vw, 84px) 0;
  margin-inline: auto;
}
.prose h1 {
  font-size: var(--text-display-s);
  margin-bottom: var(--space-lg);
  color: var(--near-black);
}
.prose h2 {
  font-size: var(--text-title);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-xs);
  color: var(--near-black);
}
.prose p {
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--text-dark-muted);
  margin-bottom: var(--space-md);
}
html[lang="bn"] .prose p {
  font-size: 16.5px;
  line-height: 1.85;
}
.prose .actions {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
}
.prose a {
  color: var(--near-black);
  text-decoration: underline;
  text-decoration-color: var(--honey-gold);
  text-underline-offset: 4px;
}
.prose a:hover {
  color: #B58027;
  text-decoration-color: #B58027;
}
.prose .button {
  text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile 360-760px, Tablet 768-1000px, PC 1001-1440px+)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
    padding: 20px 0;
  }
  .hero > div {
    max-width: 680px;
    margin-inline: auto;
  }
  .hero .actions {
    justify-content: center;
  }
  .hero-intro, .hero .note {
    margin-inline: auto;
  }
  .hero .real-shot {
    width: 100%;
    max-width: 780px;
    margin-inline: auto;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing {
    grid-template-columns: minmax(0, 1fr);
  }
  .pricing-copy {
    max-width: 640px;
  }
  .pricecard {
    width: 100%;
    max-width: 640px;
    justify-self: center;
  }
  .screen-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xs);
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
    --gap-columns: 18px;
  }
  .navrow {
    min-height: 60px;
    gap: var(--space-xs);
  }
  .brand-logo {
    width: 34px;
    height: 34px;
  }
  .brandword {
    font-size: 0.85rem;
  }
  .brandword strong {
    font-size: 0.98rem;
  }
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .hero-section {
    padding: 28px 0 36px;
  }
  .hero {
    padding: 4px 0 8px;
    gap: 24px;
    text-align: left;
  }
  .hero-badge {
    margin: 0 0 14px;
    font-size: 12px;
    padding: 5px 12px;
  }
  .hero-copy-wide { display: none; }
  .hero-copy-small { display: inline; }
  .hero h1 {
    font-size: clamp(1.75rem, 7.2vw, 2.65rem);
    line-height: 1.25;
    margin-bottom: 16px;
  }
  html[lang="bn"] .hero h1 {
    font-size: clamp(1.68rem, 6.8vw, 2.45rem);
    line-height: 1.38;
  }
  .hero-intro {
    font-size: 15.5px;
    line-height: 1.75;
    margin: 0 0 22px;
  }
  .hero .actions {
    justify-content: flex-start;
    gap: 10px;
  }
  .hero .actions .button {
    padding: 10px 18px;
    font-size: 14.5px;
  }
  .trust .wrap {
    justify-content: flex-start;
    gap: 8px 16px;
  }
  .screen-nav {
    top: 60px;
    padding: 10px 0;
  }
  .card, .step {
    padding: 22px;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .screen-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq summary {
    padding: 16px 12px;
    font-size: 1rem;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .actions {
    flex-direction: column;
    width: 100%;
  }
  .actions .button, .actions .btn-primary, .actions .btn-secondary {
    width: 100%;
  }
  .nav-demo {
    display: none;
  }
  .language {
    padding: 6px 10px;
  }
  .menu-button {
    padding: 6px 12px;
  }
}

/* Accessible Coarse Pointers (Touch Screens) */
@media (pointer: coarse) {
  .language, .menu-button { min-width: 44px; min-height: 42px; }
  .screen-nav a, .viewer-toolbar button { min-height: 42px; display: inline-flex; align-items: center; }
  .shot-view-btn { min-height: 36px; padding: 6px 14px; }
  .tools { gap: 8px; }
}

/* ==========================================================================
   REDUCED MOTION: Instant Display Without Jitter
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-accent::after { transform: scaleX(1) !important; }
  .hero-accent::before { display: none !important; }
  .hero .real-shot { opacity: 1 !important; transform: none !important; }
  .card::before { transform: scaleX(1) !important; }
  .card.is-visible::before { transform: scaleX(1) !important; }
  .mobile-nav:not([hidden]) { animation: none !important; }
  @view-transition { navigation: none; }
}

@media print {
  .header, .footer, .actions, .skip, .screen-nav { display: none; }
  body { background: #ffffff; color: #000000; }
}
