/* Gold Manager Pro v2 - Next-Gen Luxury Light Theme Stylesheet */
@font-face {
  font-family: 'AppCondensed';
  src: url('assets/RobotoCondensed-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

:root {
  /* Exact tokens from lib/app/theme/light_theme.dart */
  --bg: #F8F6F0;
  --surface: #FFFFFF;
  --surface-alt: #F0ECE0;
  --gold-primary: #D4AF37;
  --gold-secondary: #B8962E;
  --gold-dark: #9E7B18;
  --gold-light: #F7E9B8;
  --gold-gradient: linear-gradient(135deg, #ECC85B 0%, #D4AF37 50%, #B8962E 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --text-main: #1A1208;
  --text-muted: #7A7060;
  --border-subtle: #E5E5E5;
  --border-gold: rgba(212, 175, 55, 0.4);
  --live-green: #2E8B3C;
  --danger: #E53935;
  --dark-panel: #261605;
  --dark-panel-card: #3B2408;
  --radius-card: 18px;
  --radius-btn: 14px;
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: 'AppCondensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(184, 150, 46, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, #FAF8F3 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
}

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

.container {
  width: min(var(--container-max), calc(100% - 48px));
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 1000;
  box-shadow: 0 1px 6px rgba(212, 175, 55, 0.6);
}

/* Live Global Rates Ticker */
.rates-ticker-bar {
  background: #201305;
  color: #F8F6F0;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 36px;
  animation: ticker-slide 38s linear infinite;
  user-select: none;
}

.ticker-inner:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.ticker-item b {
  color: var(--gold-primary);
}

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

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(59, 36, 8, 0.08);
}

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

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

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.brand-name-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-title span {
  color: var(--gold-dark);
}

.brand-subtitle {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--gold-dark);
}

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

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-cta-small {
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  background: var(--gold-gradient);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--gold-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.5);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border-gold);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-main);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Hero Section */
.hero-section {
  padding: 48px 0 68px;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live-green);
  box-shadow: 0 0 0 4px rgba(46, 139, 60, 0.2);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 139, 60, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(46, 139, 60, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 139, 60, 0); }
}

.hero-headline {
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.hero-headline em {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #B8962E, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 17.5px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 28px;
}

/* Dual Store Buttons */
.hero-buttons-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.store-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-google-play {
  background: var(--gold-gradient);
  color: var(--text-main);
  border: 1px solid #B8962E;
  box-shadow: 0 8px 22px var(--gold-glow);
}

.btn-google-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.55);
}

.btn-windows-download {
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--border-gold);
  box-shadow: 0 6px 18px rgba(59, 36, 8, 0.06);
}

.btn-windows-download:hover {
  background: #FFFDF9;
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(59, 36, 8, 0.12);
}

.btn-icon-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.btn-text-block {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-small-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.8;
  line-height: 1.2;
}

.btn-big-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-specs-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-spec-item i {
  color: var(--gold-dark);
}

/* Hero Dual Device Mockup Stage */
.hero-device-duo-stage {
  position: relative;
  width: 100%;
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 0 18px;
}

.hero-halo-glow {
  position: absolute;
  inset: -8%;
  background: radial-gradient(circle at 54% 50%, rgba(212, 175, 55, 0.18) 0%, rgba(248, 246, 240, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

/* Desktop Window Mockup */
.hero-desktop-frame {
  position: relative;
  width: 85%;
  max-width: 510px;
  background: #1A1208;
  border-radius: 16px;
  border: 1.5px solid rgba(212, 175, 55, 0.48);
  box-shadow: 0 24px 54px rgba(44, 24, 5, 0.2), 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.hero-desktop-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 64px rgba(44, 24, 5, 0.26);
}

.desktop-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #23170B;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  padding: 9px 14px;
  user-select: none;
}

.desktop-window-controls {
  display: flex;
  gap: 6px;
}

.win-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.win-close { background: #FF5F56; }
.win-min { background: #FFBD2E; }
.win-max { background: #27C93F; }

.desktop-window-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(248, 246, 240, 0.78);
}

.win-title-icon {
  border-radius: 4px;
}

.desktop-window-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.16);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.04em;
}

.desktop-window-screen {
  width: 100%;
  background: #140D05;
  overflow: hidden;
  line-height: 0;
}

.desktop-screen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* Mobile Phone Mockup (Cleanly Tucked Beside Laptop) */
.hero-mobile-frame {
  position: absolute;
  right: 4px;
  bottom: 0;
  width: 170px;
  background: #1A1208;
  border-radius: 28px;
  border: 3px solid #DFBE65;
  box-shadow: 0 20px 44px rgba(26, 18, 8, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.35);
  overflow: hidden;
  z-index: 3;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.hero-mobile-frame:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 56px rgba(26, 18, 8, 0.42);
}

.hero-phone-island {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 10px;
  background: #000000;
  border-radius: 10px;
  z-index: 5;
}

.hero-phone-screen {
  width: 100%;
  height: 342px;
  background: #140D05;
  overflow: hidden;
  line-height: 0;
}

.hero-phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Floating Badge Pill (Single Crisp Status Badge) */
.floating-chip {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 10px 24px rgba(38, 22, 5, 0.14);
  animation: float-chip 6s ease-in-out infinite;
}

.chip-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--gold-light);
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 13px;
}

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

.chip-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.chip-desc {
  font-size: 10px;
  color: var(--text-muted);
}

.chip-desktop-badge {
  bottom: 14px;
  left: 16px;
}

.chip-mobile-badge {
  bottom: 14px;
  left: 16px;
  animation-delay: -3s;
}

@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Section Common Styling */
.section-space {
  padding: 76px 0;
}

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

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--text-main);
  margin-bottom: 14px;
}

.section-title em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--gold-dark);
}

.section-subtitle {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Section 01: Interactive Device Studio (Fixed Switcher + Symmetric Studios) --- */
.device-studio-section {
  background: linear-gradient(180deg, rgba(240, 236, 224, 0.36) 0%, rgba(248, 246, 240, 0.85) 100%);
  border-block: 1px solid var(--border-subtle);
}

.platform-segmented-switch {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 32px;
  padding: 5px;
  gap: 6px;
  box-shadow: 0 6px 20px rgba(59, 36, 8, 0.06);
  margin-top: 24px;
}

.platform-pill {
  padding: 10px 24px;
  border-radius: 26px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.platform-pill:hover:not(.active) {
  color: var(--text-main);
}

.platform-pill.active {
  background: var(--gold-gradient);
  color: var(--text-main);
  box-shadow: 0 4px 14px var(--gold-glow);
}

.studio-swap-in {
  animation: studio-swap 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes studio-swap {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Android Mobile Studio Layout */
.phone-showcase-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 26px;
  padding: 36px 42px;
  box-shadow: 0 16px 44px rgba(59, 36, 8, 0.06);
}

/* Sleek Proportioned Phone Chassis */
.phone-frame-mockup {
  position: relative;
  width: 274px;
  height: 560px;
  background: #1A1208;
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0 22px 48px rgba(44, 24, 5, 0.28),
    0 0 0 2px #4A3319,
    0 0 0 4px rgba(212, 175, 55, 0.35);
  margin: 0 auto;
}

.phone-frame-mockup::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 96px;
  height: 44px;
  width: 3.5px;
  background: #75552B;
  border-radius: 2px;
}

.phone-frame-mockup::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 124px;
  height: 52px;
  width: 3.5px;
  background: #75552B;
  border-radius: 2px;
}

.phone-screen-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  background: #120B04;
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 20px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
}

.island-sensor {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0F141C;
  border: 1px solid #1C2738;
}

.island-camera {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #080C14;
}

.phone-img-display {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.22s ease, transform 0.25s ease;
}

/* Interactive Details & Tabs Column (Shared by Mobile & Windows Studios) */
.phone-details-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-annotated-card {
  background: #FAF8F2;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 24px 26px;
}

.card-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.card-headline {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.card-paragraph {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.screen-tabs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.screen-tabs-list.single-col {
  grid-template-columns: 1fr;
}

.screen-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.screen-tab-btn:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.screen-tab-btn.active {
  border-color: var(--gold-primary);
  background: #FFFDF8;
  box-shadow: 0 6px 16px var(--gold-glow);
}

.tab-num {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 12px;
  display: grid;
  place-items: center;
}

.screen-tab-btn.active .tab-num {
  background: var(--gold-primary);
  color: var(--text-main);
}

.tab-title-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.studio-zoom-hint {
  font-size: 12.5px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Desktop Laptop / Workstation Studio (Symmetric 2-Column Layout) */
.desktop-showcase-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 36px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 26px;
  padding: 36px 40px;
  box-shadow: 0 16px 44px rgba(59, 36, 8, 0.06);
}

.laptop-studio-panel {
  width: 100%;
}

.laptop-chassis {
  position: relative;
  background: #1F150B;
  border-radius: 16px 16px 0 0;
  padding: 12px 12px 14px;
  box-shadow: 0 24px 56px rgba(44, 24, 5, 0.22);
  border: 2px solid #5A3E1E;
}

.laptop-webcam {
  width: 6px;
  height: 6px;
  background: #0E0702;
  border-radius: 50%;
  margin: 0 auto 8px;
  border: 1px solid #3B2408;
}

.laptop-display-ratio {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #120B04;
  border-radius: 8px;
  overflow: hidden;
}

.desktop-img-display {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.22s ease, transform 0.25s ease;
}

.laptop-base-stand {
  height: 12px;
  background: linear-gradient(180deg, #8B6538, #3B2408);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.26);
}

/* --- Section 02: Clean Core Highlights Grid (Replaces Bloat) --- */
.home-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  box-shadow: 0 6px 20px rgba(59, 36, 8, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.3s ease;
}

.pillar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 175, 55, 0.13), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(59, 36, 8, 0.09);
}

.pillar-card:hover::after {
  opacity: 1;
}

.pillar-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pillar-card:hover .pillar-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.pillar-icon-wrap img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.pillar-title {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.home-specs-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 34px 0 28px;
}

.home-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.home-spec-pill b {
  color: var(--gold-dark);
}

.home-features-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline-gold {
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  background: var(--surface);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-outline-gold:hover {
  transform: translateY(-2px);
  border-color: var(--gold-primary);
  box-shadow: 0 6px 16px rgba(59, 36, 8, 0.08);
}

/* --- Section 3: The Dual Workflows --- */
.workflows-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.workflow-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(59, 36, 8, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.workflow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.workflow-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.workflow-header {
  margin-bottom: 24px;
}

.workflow-badge {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.workflow-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.workflow-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.workflow-points-list {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.workflow-points-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.workflow-points-list li span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* --- Section 3: 24 Complete Features Matrix --- */
.features-filter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.feature-tab-btn {
  padding: 10px 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.feature-tab-btn.active {
  background: var(--gold-gradient);
  color: var(--text-main);
  border-color: #B8962E;
  box-shadow: 0 4px 12px var(--gold-glow);
}

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

.feature-card-v2 {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 6px 20px rgba(59, 36, 8, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card-v2:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: 0 10px 28px rgba(59, 36, 8, 0.08);
}

.card-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.feat-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-light);
  display: grid;
  place-items: center;
}

.feat-icon-bubble img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.feat-category-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.feat-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feat-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feat-bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-main);
}

.feat-bullets-list li::before {
  content: '•';
  color: var(--gold-primary);
  margin-right: 8px;
  font-weight: 700;
}

/* --- Section 7: Specs & System Reliability Strip --- */
.specs-reliability-strip {
  background: var(--surface);
  border-block: 1px solid var(--border-subtle);
  padding: 40px 0;
}

.specs-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  text-align: center;
}

.spec-strip-item h4 {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.spec-strip-item p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- Section 8: Grand Download Section --- */
.download-cta-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.2) 0%, transparent 60%),
              linear-gradient(145deg, #321E0A 0%, var(--dark-panel) 50%, #150B03 100%);
  color: #F8F6F0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-cta-content {
  max-width: 720px;
  margin: 0 auto;
}

.download-logo-glow {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 24px;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.download-cta-title {
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
}

.download-cta-title em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #F5E6B3;
}

.download-cta-desc {
  font-size: 18px;
  color: rgba(248, 246, 240, 0.8);
  margin-bottom: 38px;
  line-height: 1.7;
}

.download-buttons-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-dark);
}

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

/* Dialog Modal */
dialog {
  width: min(1000px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 24px;
  margin: auto;
  box-shadow: 0 30px 80px rgba(44, 24, 5, 0.4);
}

dialog::backdrop {
  background: rgba(38, 22, 5, 0.75);
  backdrop-filter: blur(8px);
}

.dialog-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dialog-close-btn {
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
}

#zoom-dialog-img {
  max-height: 75vh;
  object-fit: contain;
  margin: 0 auto;
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #201305;
  color: #F8F6F0;
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
}

.toast-msg.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-device-duo-stage {
    justify-content: center;
    max-width: 560px;
    margin: 0 auto;
  }
  .phone-showcase-grid,
  .desktop-showcase-grid {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 32px;
  }
  .home-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflows-grid {
    grid-template-columns: 1fr;
  }
  .features-grid-v2 {
    grid-template-columns: 1fr 1fr;
  }
  .specs-strip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: inline-flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-gold);
    padding: 16px 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 14px 32px rgba(44, 24, 5, 0.12);
    z-index: 899;
  }
  .nav-menu.open {
    display: flex;
  }
  .hero-section {
    padding: 36px 0 48px;
  }
  .hero-device-duo-stage {
    min-height: 310px;
  }
  .hero-desktop-frame {
    width: 82%;
    max-width: 370px;
  }
  .hero-mobile-frame {
    width: 132px;
    bottom: 0;
    right: 0;
    border-radius: 22px;
    border-width: 2.5px;
  }
  .hero-phone-screen {
    height: 266px;
  }
  .hero-phone-island {
    width: 38px;
    height: 9px;
  }
  .chip-desktop-badge {
    top: auto;
    bottom: 10px;
    left: 8px;
  }
  .chip-mobile-badge {
    bottom: 4px;
    left: 4px;
  }
  .phone-frame-mockup {
    width: 244px;
    height: 498px;
    border-radius: 34px;
  }
  .phone-screen-viewport {
    border-radius: 26px;
  }
  .home-pillars-grid,
  .features-grid-v2 {
    grid-template-columns: 1fr;
  }
  .floating-chip {
    transform: scale(0.85);
    transform-origin: left center;
  }
  .screen-tabs-list {
    grid-template-columns: 1fr;
  }
  .section-space {
    padding: 58px 0;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* --- Legal & Policy Pages Styling --- */
.legal-page-header {
  padding: 60px 0 35px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
}

.legal-back-nav {
  margin-bottom: 18px;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-dark);
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  transition: all 0.2s ease;
}

.legal-back-link:hover {
  background: var(--gold-primary);
  color: #1A1208;
  transform: translateX(-3px);
}

.legal-page-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.legal-page-subtitle {
  font-size: 15px;
  color: var(--text-muted);
}

.legal-content-section {
  padding: 50px 0 80px;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 45px 50px;
  box-shadow: 0 12px 36px rgba(59, 36, 8, 0.05);
}

.legal-intro-box {
  background: rgba(212, 175, 55, 0.08);
  border-left: 4px solid var(--gold-primary);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 35px;
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.6;
}

.legal-block {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-block h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-block h2 span.section-num {
  font-size: 13px;
  color: var(--gold-dark);
  background: var(--surface-alt);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.legal-block p {
  color: #382C1E;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-block ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  margin-bottom: 14px;
}

.legal-block ul li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #382C1E;
  margin-bottom: 8px;
}

.legal-block ul li::before {
  content: "◈";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-size: 12px;
  top: 1px;
}

.legal-highlight-pill {
  display: inline-block;
  font-weight: 700;
  color: var(--gold-dark);
}

.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.legal-summary-item {
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
}

.legal-summary-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-summary-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 28px 20px;
  }
}

/* --- Download Thank You & Onboarding Page --- */
.thankyou-hero {
  padding: 60px 0 40px;
  text-align: center;
}

.thankyou-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 45px 35px;
  box-shadow: 0 20px 60px rgba(59, 36, 8, 0.08);
  position: relative;
  overflow: hidden;
}

.thankyou-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

/* Animated Tick / Checkmark */
.checkmark-circle-wrap {
  width: 86px;
  height: 86px;
  margin: 0 auto 20px;
  position: relative;
}

.checkmark-svg {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: var(--gold-primary);
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 var(--gold-primary);
  animation: check-fill 0.4s ease-in-out 0.4s forwards, check-scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: var(--gold-primary);
  fill: none;
  animation: stroke-circle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #1A1208;
  animation: stroke-check 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke-circle {
  100% { stroke-dashoffset: 0; }
}

@keyframes stroke-check {
  100% { stroke-dashoffset: 0; }
}

@keyframes check-fill {
  100% { box-shadow: inset 0 0 0 45px var(--gold-light); }
}

@keyframes check-scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

/* Status & Badges */
.download-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(46, 139, 60, 0.12);
  border: 1px solid rgba(46, 139, 60, 0.3);
  border-radius: 20px;
  color: var(--live-green);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.download-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live-green);
  animation: pulse-ring 1.5s infinite;
}

.thankyou-title {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.2;
}

.thankyou-title em {
  font-family: Georgia, serif;
  color: var(--gold-dark);
  font-style: italic;
}

.thankyou-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.file-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--surface-alt);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 20px;
}

.file-info-pill span.filename {
  color: var(--gold-dark);
  font-weight: 700;
}

/* Progress Bar */
.download-progress-track {
  width: 100%;
  max-width: 440px;
  height: 6px;
  background: var(--surface-alt);
  border-radius: 6px;
  margin: 0 auto 24px;
  overflow: hidden;
  position: relative;
}

.download-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  border-radius: 6px;
  transition: width 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.manual-download-box {
  font-size: 14px;
  color: var(--text-muted);
}

.manual-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 14px;
  font-family: inherit;
  margin-top: 4px;
}

.manual-download-btn:hover {
  color: var(--text-main);
}

/* Steps Grid */
.steps-section {
  padding: 30px 0 70px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: 0 10px 25px rgba(59, 36, 8, 0.06);
}

.step-number-tag {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--text-main);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px var(--gold-glow);
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.smartscreen-tip {
  margin-top: 10px;
  padding: 8px 10px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  font-size: 12px;
  color: var(--gold-dark);
}

.thankyou-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 35px;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .thankyou-card {
    padding: 35px 20px;
  }
  .thankyou-cta-row {
    flex-direction: column;
  }
}

/* --- Active Navigation State --- */
.nav-link.active {
  color: var(--gold-dark);
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

/* --- FAQ Page Styling --- */
.faq-search-wrap {
  max-width: 580px;
  margin: 0 auto 35px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 14px 20px 14px 46px;
  border-radius: 30px;
  border: 1px solid var(--border-gold);
  background: var(--surface);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-main);
  box-shadow: 0 4px 18px rgba(59, 36, 8, 0.05);
  outline: none;
  transition: all 0.25s ease;
}

.faq-search-input:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.25);
}

.faq-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-size: 16px;
  pointer-events: none;
}

.faq-category-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.faq-pill {
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-pill:hover,
.faq-pill.active {
  background: var(--gold-gradient);
  color: var(--text-main);
  border-color: transparent;
  box-shadow: 0 4px 12px var(--gold-glow);
}

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

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.active {
  border-color: var(--border-gold);
  box-shadow: 0 6px 20px rgba(59, 36, 8, 0.06);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.faq-question-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--gold-dark);
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-item.active .faq-question-icon {
  transform: rotate(180deg);
  background: var(--gold-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 22px;
  color: #382C1E;
  font-size: 14.5px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 22px 20px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

/* --- Pricing Page Styling --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 60px;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(59, 36, 8, 0.08);
}

.pricing-card.featured {
  border: 2px solid var(--gold-primary);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF8 100%);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.18);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-5px);
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: var(--text-main);
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px var(--gold-glow);
}

.pricing-plan-header {
  margin-bottom: 22px;
}

.pricing-plan-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.pricing-plan-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-price-wrap {
  margin-bottom: 26px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-dark);
}

.pricing-amount {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #382C1E;
  line-height: 1.45;
}

.pricing-check {
  color: var(--live-green);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.pricing-cross {
  color: #BBB;
  font-size: 14px;
  flex-shrink: 0;
}

.pricing-btn {
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
}

.pricing-btn-primary {
  background: var(--gold-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.pricing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.pricing-btn-secondary {
  background: var(--surface-alt);
  color: var(--text-main);
  border: 1px solid var(--border-gold);
}

.pricing-btn-secondary:hover {
  background: #FFFDF9;
  transform: translateY(-2px);
}

/* Pricing Table */
.pricing-table-container {
  max-width: 1000px;
  margin: 0 auto 70px;
}

.pricing-table-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 28px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(59, 36, 8, 0.05);
  border: 1px solid var(--border-subtle);
}

.pricing-table th,
.pricing-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.pricing-table th {
  background: #FAF8F2;
  font-weight: 700;
  color: var(--text-main);
}

.pricing-table th:not(:first-child),
.pricing-table td:not(:first-child) {
  text-align: center;
}

.pricing-table tr:hover td {
  background: rgba(212, 175, 55, 0.04);
}

/* --- Blog Page Styling --- */
.blog-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 45px;
}

.blog-cat-pill {
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-cat-pill:hover,
.blog-cat-pill.active {
  background: var(--gold-gradient);
  color: var(--text-main);
  border-color: transparent;
  box-shadow: 0 4px 12px var(--gold-glow);
}

.blog-featured-card {
  max-width: 1100px;
  margin: 0 auto 50px;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: 0 14px 40px rgba(59, 36, 8, 0.06);
  transition: transform 0.3s;
}

.blog-featured-card:hover {
  transform: translateY(-4px);
}

.blog-featured-img-wrap {
  position: relative;
  background: #201305;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-content {
  padding: 38px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-dark);
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 12px;
  align-self: flex-start;
}

.blog-featured-title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 14px;
}

.blog-featured-excerpt {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(59, 36, 8, 0.04);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 12px 30px rgba(59, 36, 8, 0.08);
}

.blog-card-thumb {
  height: 180px;
  background: #1A1208;
  position: relative;
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 10px;
}

.blog-card-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.blog-read-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.blog-read-link:hover {
  gap: 8px;
}

/* --- Features Category & Grid Layout --- */
.feature-category-block {
  margin-bottom: 50px;
}

.feature-category-header {
  margin-bottom: 24px;
}

.feature-category-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-category-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.feature-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.feature-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: 0 10px 30px rgba(59, 36, 8, 0.07);
}

.feature-item-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border-gold);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.feature-item-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.feature-item-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}


@media (max-width: 1024px) {
  .pricing-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-featured-card {
    grid-template-columns: 1fr;
  }
  .feature-deep-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .pricing-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
  .feature-hero-showcase {
    padding: 24px 18px;
  }
}

/* --- Pricing Billing Toggle & Plan Switcher --- */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 40px;
}

.pricing-toggle-btn {
  padding: 10px 24px;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.pricing-toggle-btn:hover,
.pricing-toggle-btn.active {
  background: var(--gold-gradient);
  color: var(--text-main);
  border-color: transparent;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.pricing-discount-badge {
  display: inline-block;
  background: #2E8B3C;
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

.pricing-device-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 12px;
  align-self: flex-start;
}

.pricing-original-price {
  font-size: 16px;
  color: #8C7B6B;
  text-decoration: line-through;
  margin-right: 6px;
  font-weight: 500;
}


/* --- Windows Visual Installation Guide --- */
.install-guide-section {
  padding: 40px 0 80px;
}

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

.install-step-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.install-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 12px 30px rgba(59, 36, 8, 0.08);
}

.install-step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.install-step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--text-main);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 10px var(--gold-glow);
}

.install-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.install-step-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.install-step-desc strong {
  color: var(--gold-dark);
}

.install-step-img-wrap {
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #12100E;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.install-step-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.install-step-card:hover .install-step-img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .install-guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* =========================================================================
   HOME PAGE MOTION & PREMIUM UI SYSTEM (index.html only, scoped to .home-page)
   ========================================================================= */

/* --- Scroll Reveal Engine (GPU-Only Transform & Opacity for 60fps+) --- */
html.motion-ready [data-reveal] {
  opacity: 0;
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.motion-ready [data-reveal="up"]    { transform: translate3d(0, 28px, 0); }
html.motion-ready [data-reveal="left"]  { transform: translate3d(-36px, 0, 0); }
html.motion-ready [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
html.motion-ready [data-reveal="zoom"]  { transform: scale3d(0.94, 0.94, 1); }
html.motion-ready [data-reveal="fade"]  { transform: none; }

html.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}

/* --- Hero: Lightweight Animated Background Decor (No Gaussian Blur Bottleneck) --- */
.home-page .hero-section {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(212, 175, 55, 0.11) 0%, transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 100%);
}
.home-page .hero-grid { position: relative; z-index: 1; }

.hero-bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 150, 46, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 150, 46, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 60% 45%, #000 0%, transparent 70%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  animation: orb-drift 16s ease-in-out infinite;
}
.hero-orb.orb-1 {
  width: 440px; height: 440px; top: -100px; right: 4%;
  background: radial-gradient(circle, rgba(236, 200, 91, 0.28) 0%, rgba(236, 200, 91, 0) 70%);
}
.hero-orb.orb-2 {
  width: 360px; height: 360px; bottom: -80px; left: -60px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0) 70%);
  animation-delay: -5s;
}
.hero-orb.orb-3 {
  width: 240px; height: 240px; top: 36%; left: 40%;
  background: radial-gradient(circle, rgba(247, 233, 184, 0.4) 0%, rgba(247, 233, 184, 0) 70%);
  animation-delay: -9s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(20px, -18px, 0) scale(1.05); }
}

/* --- Hero: Snappy Load-in Sequence (GPU-Only) --- */
@keyframes hero-rise {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hero-stage-in {
  from { opacity: 0; transform: translate3d(0, 28px, 0) scale(0.96); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes hero-phone-in {
  from { opacity: 0; transform: translate3d(24px, 34px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes chip-pop {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

.home-page .hero-eyebrow      { animation: hero-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.04s backwards; }
.home-page .hero-headline     { animation: hero-rise 0.68s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards; }
.home-page .hero-description  { animation: hero-rise 0.68s cubic-bezier(0.16, 1, 0.3, 1) 0.18s backwards; }
.home-page .hero-buttons-row  { animation: hero-rise 0.68s cubic-bezier(0.16, 1, 0.3, 1) 0.26s backwards; }
.home-page .hero-specs-row    { animation: hero-rise 0.68s cubic-bezier(0.16, 1, 0.3, 1) 0.34s backwards; }
.home-page .hero-desktop-frame { animation: hero-stage-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.18s backwards; }
.home-page .hero-mobile-frame  { animation: hero-phone-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.32s backwards; }
.home-page .chip-desktop-badge { animation: float-chip 6s ease-in-out infinite, chip-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s backwards; }

/* Hero parallax hook */
.home-page .hero-device-duo-stage { translate: 0 var(--hero-scroll-y, 0); }
.home-page .hero-desktop-frame,
.home-page .hero-mobile-frame { transition: transform 0.3s ease, box-shadow 0.3s ease, translate 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

/* Animated gold shimmer on the headline accent */
.home-page .hero-headline em {
  background: linear-gradient(110deg, #9E7B18 0%, #D4AF37 30%, #F7E9B8 45%, #D4AF37 60%, #B8962E 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  animation: gold-shimmer 7s linear infinite;
}
@keyframes gold-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -150% 0; }
}

/* Premium button shine sweep */
.home-page .store-cta-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.home-page .store-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  z-index: 1;
  pointer-events: none;
}
.home-page .store-cta-btn:hover::after { animation: btn-shine 0.85s ease; }
.home-page .store-cta-btn:hover { transform: translateY(-3px); }
@keyframes btn-shine { to { left: 130%; } }

/* --- Section Badge: elegant pill with gold rules --- */
.home-page main .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
}
.home-page main .section-header-center .section-badge::before,
.home-page main .section-header-center .section-badge::after {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

/* --- Stats Band (Crisp Surface Without Heavy Blur Repaint) --- */
.home-stats-band {
  position: relative;
  z-index: 2;
  margin-top: -18px;
  padding-bottom: 24px;
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-stat-card {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(59, 36, 8, 0.06);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}
.home-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(59, 36, 8, 0.11);
}
.home-stat-value {
  display: block;
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.home-stat-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Cursor spotlight on stats & pillars --- */
.home-page .feature-card-v2,
.home-page .workflow-card,
.home-stat-card {
  position: relative;
  isolation: isolate;
}
.home-page .feature-card-v2::after,
.home-page .workflow-card::after,
.home-stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 175, 55, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}
.home-page .feature-card-v2:hover::after,
.home-page .workflow-card:hover::after,
.home-stat-card:hover::after { opacity: 1; }

.home-page .feature-card-v2 { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.35s; }
.home-page .feature-card-v2:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(59, 36, 8, 0.1); }
.home-page .feature-card-v2 .feat-icon-bubble { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.home-page .feature-card-v2:hover .feat-icon-bubble { transform: scale(1.12) rotate(-6deg); }

.home-page .workflow-card {
  transition: transform 0.25s ease-out, border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
}
.home-page .workflow-card:hover { box-shadow: 0 24px 50px rgba(59, 36, 8, 0.12); }

/* Reliability strip accent */
.home-page .spec-strip-item { position: relative; }
.home-page .spec-strip-item + .spec-strip-item::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-gold), transparent);
}

/* --- Download CTA: gold particles + logo glow pulse --- */
.home-page .download-cta-content { position: relative; z-index: 1; }
.cta-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cta-particles span {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, #F7E9B8 0%, #D4AF37 60%, transparent 100%);
  box-shadow: 0 0 8px rgba(236, 200, 91, 0.7);
  animation: particle-rise linear infinite;
}
@keyframes particle-rise {
  0%   { transform: translateY(0) translateX(0); }
  50%  { transform: translateY(-50vh) translateX(18px); }
  100% { transform: translateY(-100vh) translateX(-12px); opacity: 0; }
}
.home-page .download-logo-glow { animation: logo-glow 3.2s ease-in-out infinite; }
@keyframes logo-glow {
  0%, 100% { box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45); }
  50%      { box-shadow: 0 10px 50px rgba(236, 200, 91, 0.85), 0 0 0 8px rgba(212, 175, 55, 0.08); }
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(59, 36, 8, 0.18);
  display: grid;
  place-items: center;
  z-index: 950;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.btt-track { fill: none; stroke: rgba(212, 175, 55, 0.18); stroke-width: 3; }
.btt-ring  { fill: none; stroke: var(--gold-secondary); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset 0.1s linear; }
.btt-arrow { font-size: 20px; font-weight: 700; color: var(--gold-dark); position: relative; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .home-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .home-stats-band { margin-top: 0; }
  .home-stats-grid { gap: 12px; }
  .home-stat-card { padding: 20px 14px; }
  .home-stat-label { font-size: 11px; }
  .hero-orb.orb-1 { width: 240px; height: 240px; }
  .hero-orb.orb-3 { display: none; }
  .home-page .spec-strip-item + .spec-strip-item::before { display: none; }
  .back-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* --- Accessibility: respect reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .home-page .hero-content,
  .home-page .hero-device-duo-stage { translate: none !important; }
  .cta-particles { display: none; }
}


/* =========================================================================
   FEATURES PAGE MOTION & PREMIUM UI SYSTEM (features.html, scoped to .features-page)
   ========================================================================= */

/* Features Hero Styling */
.features-page .legal-page-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
  padding: 55px 0 35px;
  text-align: center;
}

.features-page .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.features-page .legal-page-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.features-page .legal-page-subtitle {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Category Quick Jump Sticky Navigation */
.features-nav-sticky-wrap {
  position: sticky;
  top: 80px;
  z-index: 850;
  padding: 12px 0;
  background: rgba(248, 246, 240, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  margin-bottom: 35px;
  transition: all 0.3s ease;
}

.features-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.features-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(59, 36, 8, 0.04);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}

.features-nav-btn:hover {
  color: var(--gold-dark);
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

.features-nav-btn.active {
  background: var(--gold-gradient);
  color: var(--text-main);
  border-color: #B8962E;
  box-shadow: 0 4px 16px var(--gold-glow);
  transform: translateY(-1px);
}

/* Category Block Polish */
.features-page .feature-category-block {
  scroll-margin-top: 155px;
  margin-bottom: 55px;
}

.features-page .feature-category-header {
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.features-page .feature-category-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.features-page .feature-category-title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.features-page .feature-category-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Feature Item Cards Micro-Interactions */
.features-page .feature-item-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
  overflow: hidden;
  isolation: isolate;
}

/* Cursor Spotlight */
.features-page .feature-item-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 175, 55, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: -1;
}

.features-page .feature-item-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(59, 36, 8, 0.09);
}

.features-page .feature-item-card:hover::after {
  opacity: 1;
}

/* Icon Wrap Bounce */
.features-page .feature-item-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border-gold);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.features-page .feature-item-card:hover .feature-item-icon-wrap {
  transform: scale(1.15) rotate(-6deg);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

.features-page .feature-item-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.25;
}

.features-page .feature-item-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Download CTA Button Shine in Features */
.features-page .download-cta-section .store-cta-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: all 0.25s ease;
}

.features-page .download-cta-section .store-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  z-index: 1;
  pointer-events: none;
}

.features-page .download-cta-section .store-cta-btn:hover::after {
  animation: btn-shine 0.9s ease;
}

.features-page .download-cta-section .store-cta-btn:hover {
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .features-nav-sticky-wrap {
    top: 70px;
  }
}

@media (max-width: 768px) {
  .features-nav-sticky-wrap {
    top: 60px;
    padding: 8px 0;
  }
  .features-nav-bar {
    gap: 8px;
  }
  .features-nav-btn {
    padding: 7px 14px;
    font-size: 12px;
  }
}


/* Responsive Feature Grid */
@media (max-width: 1024px) {
  .feature-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .feature-grid-3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
