/* ==========================================================================
   Pháp Thoại Dưỡng Tâm — Landing Page Styles
   Japanese Zen & Pure Land Minimalist Theme (Thiền & Tịnh Độ)
   Consistent with mobile app palette: Sumi Ink, Sandalwood & Washi Paper
   ========================================================================== */

:root {
  /* Exact App Semantic Color Tokens (PhapThoaiColors.dark) */
  --canvas-bg: #121214;        /* Sumi ink matte charcoal */
  --surface-card: #18181B;     /* Dark river stone surface */
  --surface-raised: #222226;   /* Elevated ink card */
  --surface-glass: rgba(24, 24, 27, 0.88);
  
  --primary: #C59B5F;          /* Monastic ochre / Sandalwood clay (Gỗ trầm / Đất hoàng thổ) */
  --accent: #D6B27C;           /* Warm aged wood / Cát thiền Karesansui */
  --primary-hover: #DFBE8E;
  
  --lotus-ash: #B87882;        /* Muted dried lotus / sakura ash (Cánh sen tịnh độ tro tàn) */
  --moss-green: #6E9987;       /* Moss garden green (Rêu phong Kokedama) */
  --incense-amber: #D99B43;    /* Candle / Incense glow */
  
  --text-primary: #EDE8DF;     /* Warm washi rice paper ivory (Trắng ngà giấy Dó / Washi) */
  --text-muted: #888278;       /* Incense ash grey (Xám tro tàn nhang) */
  --text-subtle: #5E5950;      /* Calligraphic ink grey */
  --text-dark: #121214;

  --border-subtle: #2D2D33;    /* Ultra subtle ink border */
  --border-hover: rgba(197, 155, 95, 0.45);
  --border-gold: rgba(197, 155, 95, 0.3);

  /* Typography */
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant Garamond', 'Shippori Mincho', serif;
  --font-ui: 'Plus Jakarta Sans', var(--font-sans);

  /* Spacing & Radii (Subtle, refined corners matching Wabi-Sabi minimalism) */
  --header-height: 76px;
  --container-max-width: 1160px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 18px;
  --border-radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body.zen-japanese-theme {
  font-family: var(--font-sans);
  background-color: var(--canvas-bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

/* Dynamic Zen Background with Rice Paper Texture */
.zen-bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('assets/images/backgrounds/zen_bg_sumie_mist.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: background-image 0.8s ease-in-out;
  pointer-events: none;
}

.zen-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 20, 0.82) 0%,
    rgba(18, 18, 20, 0.90) 35%,
    rgba(18, 18, 20, 0.95) 70%,
    rgba(18, 18, 20, 0.98) 100%
  );
  pointer-events: none;
}

/* Washi Paper Grain */
.zen-bg-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(#EDE8DF 0.75px, transparent 0.75px);
  background-size: 8px 8px;
  pointer-events: none;
}

/* Ambient Enso Soft Halo */
.enso-ambient-halo {
  position: fixed;
  top: 15%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 155, 95, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* Zen Japanese Card (Wabi-Sabi clean borders, quiet stone shadows) */
.zen-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-normal);
}

.zen-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

/* Japanese Seal / Inkan Stamp Badge */
.zen-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid #A83232;
  color: #D34545;
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(168, 50, 50, 0.08);
  margin-right: 8px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font-serif);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.text-ochre {
  color: var(--primary);
}

.text-sand {
  color: var(--accent);
}

.text-lotus {
  color: var(--lotus-ash);
}

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

/* Section Headers */
.section-header {
  margin-bottom: 52px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: rgba(197, 155, 95, 0.08);
  border: 1px solid rgba(197, 155, 95, 0.25);
  padding: 6px 14px;
  border-radius: var(--border-radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  max-width: 660px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  letter-spacing: 0.02em;
}

/* Sandalwood Monastic Primary Button */
.btn-primary {
  background: var(--primary);
  color: var(--canvas-bg);
  box-shadow: 0 4px 18px rgba(197, 155, 95, 0.25);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #0D0D0E;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(197, 155, 95, 0.35);
}

.btn-secondary {
  background: var(--surface-raised);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #2A2A30;
  border-color: var(--border-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  color: var(--text-primary);
  border-color: var(--accent);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}

.icon {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Header & Zen Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: all var(--transition-normal);
  background: rgba(18, 18, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(237, 232, 223, 0.06);
}

.site-header.scrolled {
  background: rgba(18, 18, 20, 0.95);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
  height: 68px;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  color: var(--accent);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--primary);
  border-radius: 1px;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Zen Background Theme Switcher Pill (Floating bar)
   ========================================================================== */
.zen-switcher-bar {
  background: rgba(24, 24, 27, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-full);
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.switcher-label {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bg-dot-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bg-thumb-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.bg-thumb-btn:hover {
  transform: scale(1.15);
  border-color: var(--accent);
}

.bg-thumb-btn.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(197, 155, 95, 0.5);
  transform: scale(1.15);
}

/* ==========================================================================
   Hero Section (Tối Giản · Thiền Tịnh Độ)
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 70px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 155, 95, 0.08);
  border: 1px solid rgba(197, 155, 95, 0.2);
  border-radius: var(--border-radius-full);
  padding: 5px 14px;
  margin-bottom: 20px;
}

.badge-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 560px;
  line-height: 1.75;
}

.hero-subtitle strong {
  color: var(--primary);
  font-weight: 500;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 34, 38, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  color: var(--text-primary);
}

.pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-serif);
}

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

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* Phone Mockup (Zen Charcoal Bezel) */
.mockup-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.enso-circle-bg {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 155, 95, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.phone-frame {
  width: 295px;
  height: 610px;
  background: #18181B;
  border-radius: 40px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 0 1px #2D2D33;
  border: 2px solid #28282E;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-normal);
}

.phone-frame:hover {
  transform: translateY(-6px);
}

.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 20px;
  background: #101012;
  border-radius: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.notch-camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #18181B;
}

.notch-speaker {
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: #25252A;
}

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

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-reflection {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(105deg, rgba(237,232,223,0.04) 0%, rgba(237,232,223,0) 80%);
  border-radius: 0 40px 40px 0;
  pointer-events: none;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  background: rgba(24, 24, 27, 0.95);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.badge-left-top {
  top: 70px;
  left: -35px;
}

.badge-right-bottom {
  bottom: 90px;
  right: -30px;
}

.badge-icon-box {
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: rgba(197, 155, 95, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-lead {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Mindfulness Bell Bar (Chuông Thiền & Tịnh Độ)
   ========================================================================== */
.mindfulness-sound-bar {
  padding: 10px 0 50px;
}

.bell-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 26px 34px;
  border-left: 3px solid var(--primary);
}

.bell-visual-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bell-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #18181B;
  border: 1.5px solid var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  transition: all var(--transition-fast);
}

.bell-btn:hover {
  background: rgba(197, 155, 95, 0.15);
  transform: scale(1.05);
}

.bell-btn:active {
  transform: scale(0.96);
}

.bell-svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
}

.bell-ripples {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ripple-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(197, 155, 95, 0.6);
  animation: ripple-spread 2.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes ripple-spread {
  0% { width: 40px; height: 40px; opacity: 1; }
  100% { width: 320px; height: 320px; opacity: 0; }
}

.bell-tag {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.bell-heading {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.bell-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bell-desc em {
  color: var(--accent);
  font-family: var(--font-serif);
}

/* ==========================================================================
   Core Features Grid (Tính Năng Tối Giản)
   ========================================================================== */
.features-section {
  padding: 70px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 22px;
}

.feature-card {
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  color: var(--primary);
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
  border-color: var(--primary);
  color: var(--accent);
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.feature-tag {
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 500;
  padding: 3px 10px;
  background: rgba(34, 34, 38, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-muted);
}

/* ==========================================================================
   Video Showcase Section
   ========================================================================== */
.video-section {
  padding: 70px 0;
}

.video-container {
  padding: 22px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-subtle);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

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

.meta-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.meta-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.92rem;
}

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

/* ==========================================================================
   Screens Gallery Section
   ========================================================================== */
.screens-section {
  padding: 70px 0;
}

.screen-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.tab-btn {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--canvas-bg);
  border-color: var(--primary);
  font-weight: 600;
}

.screen-showcase-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
  padding: 44px;
}

.screen-preview-wrapper {
  display: flex;
  justify-content: center;
}

.screen-device-mockup {
  width: 275px;
  height: 570px;
  background: #18181B;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
  border: 2px solid #28282E;
  position: relative;
}

.active-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  transition: opacity 0.3s ease;
}

.zoom-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(24, 24, 27, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.zoom-btn:hover {
  background: var(--primary);
  color: var(--canvas-bg);
}

.zoom-btn svg {
  width: 18px;
  height: 18px;
}

.screen-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.screen-title {
  font-size: 1.85rem;
  margin-bottom: 14px;
}

.screen-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

.screen-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.screen-feature-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.point-bullet {
  color: var(--primary);
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(197, 155, 95, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.screen-nav-buttons {
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   Dharma Masters & Themes (Chư Tôn Đức & Tịnh Độ)
   ========================================================================== */
.masters-section {
  padding: 70px 0;
}

.masters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.master-card {
  padding: 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.master-avatar-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  position: relative;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.master-avatar-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px dashed var(--accent);
  opacity: 0.6;
}

.master-avatar-text {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--accent);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

.master-name {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.master-role {
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.master-quote {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.master-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.master-topics span {
  font-size: 0.74rem;
  padding: 3px 8px;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  color: var(--text-muted);
}

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

.topic-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}

.topic-icon {
  font-size: 1.3rem;
  color: var(--primary);
}

.topic-name {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-primary);
}

/* ==========================================================================
   Download Section
   ========================================================================== */
.download-section {
  padding: 70px 0;
}

.download-box {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 48px;
  padding: 50px;
  border-top: 2px solid var(--primary);
}

.download-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.download-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 600px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  padding: 11px 22px;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-store:hover {
  background: #28282E;
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-store-primary {
  border-color: var(--primary);
  background: rgba(197, 155, 95, 0.1);
}

.btn-store-primary:hover {
  background: rgba(197, 155, 95, 0.18);
  border-color: var(--primary-hover);
}

.store-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
}

.btn-micro {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.btn-main {
  display: block;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
}

.download-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* QR Code Box */
.download-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-frame {
  width: 210px;
  height: 210px;
  background: #EDE8DF;
  border-radius: var(--border-radius-sm);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  margin-bottom: 14px;
  border: 1px solid var(--border-subtle);
}

.qr-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 200px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 70px 0;
}

.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.faq-arrow {
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding-bottom: 20px;
}

/* ==========================================================================
   Footer (Tĩnh lặng & Chân phương)
   ========================================================================== */
.site-footer {
  background: #0E0E10;
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 24px;
  position: relative;
  z-index: 2;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-desc {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 350px;
  line-height: 1.7;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.footer-col h4 {
  font-size: 0.92rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary);
}

.dev-info {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(237, 232, 223, 0.05);
  padding-top: 22px;
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-badges {
  display: flex;
  gap: 10px;
}

.secure-badge {
  background: var(--surface-card);
  padding: 3px 10px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 16, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-body h4 {
  margin-top: 16px;
  margin-bottom: 6px;
  font-size: 1rem;
  color: var(--accent);
}

.modal-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.lightbox-container {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid var(--border-subtle);
}

.lightbox-caption {
  margin-top: 14px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

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

  .zen-switcher-bar {
    margin: 0 auto 20px;
  }

  .hero-subtitle {
    margin: 0 auto 28px;
  }

  .hero-pills {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .screen-showcase-box {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 30px 20px;
    text-align: center;
  }

  .screen-feature-point {
    justify-content: center;
  }

  .screen-nav-buttons {
    justify-content: center;
  }

  .download-box {
    grid-template-columns: 1fr;
    padding: 34px 22px;
    text-align: center;
  }

  .download-buttons {
    align-items: center;
  }

  .download-guarantees {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(18, 18, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .bell-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .bell-visual-wrap {
    margin: 0 auto;
  }

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

  .bottom-flex {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

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