/* ==========================================================================
   Fumet Luxury Editorial Landing Website Stylesheet - Switcher Revamp
   Design Ethos: Digital Ledger Heritage, Golden Accent Lines, Thin Bezels
   Theme: Ink (#14140F), Brass Gold (#C8A05B), Parchment (#F1ECDA)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Theme Colors */
  --bg-main: #14140F;             /* Deep Ink */
  --bg-surface: #1C1D15;          /* Raised surface */
  --bg-darker: #0E0F0A;           /* Deeper Ink blocks */
  
  --color-primary: #C8A05B;       /* Premium Brass Gold */
  --color-primary-rgb: 200, 160, 91;
  --color-accent: #C8A05B;        /* Brass */
  
  --text-primary: #F1ECDA;        /* Parchment Cream */
  --text-secondary: #C5C1B1;      /* Soft Parchment */
  --text-muted: #8A887D;          /* Muted Parchment */
  
  --color-income: #7C9473;        /* Sage Green */
  --color-expense: #BC5B3E;       /* Rust Red */
  
  --border-app: #2C2D24;          /* Muted dark olive line */
  --border-app-active: rgba(200, 160, 91, 0.35); /* Glowing Brass Border */
  
  /* Fonts */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  /* Parameters */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1140px;
}

/* --------------------------------------------------------------------------
   2. Base Styles & Ledger Grid Background
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.75;
  background: var(--bg-main);
  /* Faint heritage graph ledger paper background texture */
  background-image: 
    linear-gradient(rgba(200, 160, 91, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 160, 91, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
}

section {
  padding: 90px 0;
  position: relative;
  scroll-margin-top: 75px;
}

/* Ambient Radial Glow Meshes */
.ambient-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.glow-top {
  top: -15vw;
  right: -5vw;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}

.glow-middle {
  top: 50vh;
  left: -20vw;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-app);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   3. Typography & Badges
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.8rem;
}

h2 {
  font-size: 2.8rem;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.6rem;
  font-weight: 400;
}

h4 {
  font-size: 1.15rem;
  font-weight: 500;
}

h5 {
  font-size: 0.95rem;
  font-weight: 600;
}

p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.8;
}

em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--color-primary);
}

.brass-text {
  color: var(--color-primary);
  background: linear-gradient(135deg, #F1ECDA 20%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(200, 160, 91, 0.05);
  border: 1px solid rgba(200, 160, 91, 0.15);
  color: var(--color-primary);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Download store buttons */
.hero-store-badges, .cta-store-badges {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.store-badge {
  display: inline-block;
  transition: var(--transition-smooth);
}

.store-badge:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 6px 15px rgba(200, 160, 91, 0.2));
}

.store-svg {
  display: block;
  cursor: pointer;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-app);
}

.btn-secondary:hover {
  background: rgba(241, 236, 218, 0.04);
  border-color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   4. Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  background: rgba(20, 20, 15, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-app);
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

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

.logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(200, 160, 91, 0.25);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

.nav-btn-compact {
  padding: 8px 16px !important;
  font-size: 0.82rem !important;
}

.btn-premium-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 160, 91, 0.04);
  color: var(--color-primary) !important;
  border: 1px solid rgba(200, 160, 91, 0.35);
  border-radius: 30px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-premium-nav svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium-nav:hover {
  background: rgba(200, 160, 91, 0.12);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(200, 160, 91, 0.22);
  transform: translateY(-1px);
}

.btn-premium-nav:hover svg {
  transform: translateY(1.5px);
}

.btn-premium-nav:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   5. Hero Section (Splash Layout)
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 180px; 
  padding-bottom: 90px;
  position: relative;
  border-bottom: 1px solid var(--border-app);
}

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

.hero-title {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-cta-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

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

.hero-mockup-glow {
  position: absolute;
  width: 95%;
  height: 95%;
  background: radial-gradient(circle, rgba(200, 160, 91, 0.12) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 1;
}

.mockup-container {
  display: flex;
  position: relative;
  width: 100%;
  justify-content: center;
  height: 480px;
}

.phone-frame {
  position: relative;
  border-radius: 20px;
  background: #151610;
  border: 7px solid #282921;
  box-shadow: 0 30px 65px rgba(0,0,0,0.8), 
              0 0 0 1px rgba(200,160,91,0.08);
  overflow: hidden;
  height: 100%;
  aspect-ratio: 9 / 19.5;
  transition: var(--transition-smooth);
  z-index: 3;
}

.phone-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  z-index: 4;
}

.hero-phone {
  width: 240px;
  transform: rotate(-3deg);
  position: relative;
}

/* Elegant Vector Splash Screen inside Hero Phone */
.hero-app-splash {
  width: 100%;
  height: 100%;
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--border-app);
}

.splash-logo {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  border: 1px solid rgba(200, 160, 91, 0.35);
  animation: logoPulse 4s infinite ease-in-out;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(200,160,91,0)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(200,160,91,0.25)); }
}

.splash-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-primary);
}

.splash-subtitle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
}

/* Floating UI Cards */
.floating-card {
  position: absolute;
  background: rgba(28, 29, 21, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 160, 91, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  z-index: 5;
  animation: floatUI 6s infinite alternate ease-in-out;
}

@keyframes floatUI {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.float-card-1 { top: 60px; left: -20px; }
.float-card-2 { bottom: 80px; right: -25px; animation-delay: 2s; }
.float-card-3 { top: 220px; right: -30px; animation-delay: 4s; }

.float-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
}

.float-icon.income {
  background: rgba(124, 148, 115, 0.15);
  color: var(--color-income);
  border: 1px solid rgba(124, 148, 115, 0.25);
}

.float-icon.warning {
  background: rgba(188, 91, 62, 0.15);
  color: var(--color-expense);
  border: 1px solid rgba(188, 91, 62, 0.25);
}

.float-icon.ai {
  background: rgba(200, 160, 91, 0.15);
  color: var(--color-primary);
  border: 1px solid rgba(200, 160, 91, 0.25);
}

.float-details {
  display: flex;
  flex-direction: column;
}

.float-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.float-value {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: bold;
  color: var(--text-primary);
}

.shadow-brass {
  box-shadow: 0 25px 60px rgba(0,0,0,0.7), 0 0 15px rgba(200, 160, 91, 0.08) !important;
}

/* --------------------------------------------------------------------------
   6. Interactive Showcase Section (Tabbed Switcher)
   -------------------------------------------------------------------------- */
.showcase-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--border-app);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

/* Showcase Menu (Left) */
.showcase-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-tab {
  background: rgba(28, 29, 21, 0.3);
  border: 1px solid var(--border-app);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.menu-tab-icon {
  font-size: 1.4rem;
  padding: 8px;
  background: rgba(200, 160, 91, 0.04);
  border: 1px solid rgba(200, 160, 91, 0.08);
  border-radius: 6px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.menu-tab-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-tab h4 {
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.menu-tab p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  transition: var(--transition-smooth);
}

/* Hover and Active Menu Tab States */
.menu-tab:hover {
  background: rgba(28, 29, 21, 0.6);
  border-color: rgba(200, 160, 91, 0.2);
}

.menu-tab.active {
  background: rgba(200, 160, 91, 0.05);
  border-color: var(--color-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.menu-tab.active .menu-tab-icon {
  background: rgba(200, 160, 91, 0.15);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.menu-tab.active h4 {
  color: var(--color-primary);
}

.menu-tab.active p {
  color: var(--text-secondary);
}

/* Display Canvas (Right) */
.showcase-display {
  background: linear-gradient(135deg, #1C1D15 0%, #151610 100%);
  border: 1px solid var(--border-app);
  border-radius: 16px;
  overflow: hidden;
  height: 600px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.showcase-screen-header {
  padding: 12px 24px;
  border-bottom: 1px solid var(--border-app);
  background: rgba(14, 15, 10, 0.5);
  display: flex;
  align-items: center;
  gap: 20px;
}

.screen-dots {
  display: flex;
  gap: 6px;
}

.screen-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-app);
}

.screen-dots span:nth-child(1) { background: var(--color-expense); }
.screen-dots span:nth-child(2) { background: var(--color-primary); }
.screen-dots span:nth-child(3) { background: var(--color-income); }

.screen-title-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-app);
  padding: 4px 16px;
  border-radius: 4px;
  color: var(--text-muted);
  width: 260px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.showcase-canvas {
  flex: 1;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

/* Display Panels Transitions */
.display-panel {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  opacity: 0;
  transform: scale(0.98);
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.5s;
}

.display-panel.active {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0s;
  z-index: 10;
}

.panel-layout {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   6.1 Panel 1: Dashboard Visuals
   -------------------------------------------------------------------------- */
.dashboard-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1.2fr;
  gap: 20px;
  height: 100%;
}

.dashboard-scorecard {
  grid-column: 1;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-app);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.score-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.score-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-primary);
}

.score-unit {
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  margin-left: 4px;
}

.score-progress-bar {
  height: 6px;
  background: var(--border-app);
  border-radius: 3px;
  overflow: hidden;
  margin: 12px 0;
}

.score-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 3px;
}

.score-footer {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.velocity-gauge-card {
  grid-column: 2;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-app);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.card-label-mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 100%;
  border-bottom: 1px dashed var(--border-app);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.gauge-wrapper {
  position: relative;
  width: 140px;
  height: 80px;
  margin-top: 10px;
}

.gauge-svg {
  width: 100%;
  height: 100%;
}

.gauge-center-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-primary);
}

.gauge-status-label {
  font-size: 0.75rem;
  color: var(--color-income);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

.chart-mockup-card {
  grid-column: 1 / span 2;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-app);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vector-chart {
  flex: 1;
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.chart-svg {
  width: 100%;
  height: 120px;
}

/* --------------------------------------------------------------------------
   6.2 Panel 2: AI Counsel Embedded Simulator
   -------------------------------------------------------------------------- */
.chat-simulator-embedded {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-app);
  border-radius: 12px;
  overflow: hidden;
}

.chat-header-bar {
  padding: 16px 20px;
  background: rgba(14, 15, 10, 0.4);
  border-bottom: 1px solid var(--border-app);
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-income);
  box-shadow: 0 0 8px var(--color-income);
}

.header-titles h5 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.header-titles p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1;
}

.chat-messages-container {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-input-bar {
  padding: 14px 20px;
  border-top: 1px solid var(--border-app);
  background: rgba(14, 15, 10, 0.4);
  display: flex;
  gap: 10px;
}

.chat-input-bar input {
  flex: 1;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-app);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 0.82rem;
}

.chat-action-btn {
  background: var(--border-app);
  color: var(--color-primary);
  border: 1px solid var(--border-app);
  border-radius: 6px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   6.3 Panel 3: Privacy Sync Cryptographic Board
   -------------------------------------------------------------------------- */
.crypto-board-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-app);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  justify-content: space-between;
}

.crypto-card-row {
  background: #0E0F0A;
  border: 1px solid var(--border-app);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.board-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(200, 160, 91, 0.08);
  padding-bottom: 6px;
}

.crypto-board-vertical .code-block {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  padding: 4px 0 0;
  margin: 0;
  overflow: hidden;
}

.crypto-board-vertical .code-block.encrypted {
  color: var(--color-primary);
  word-break: break-all;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.crypto-shield-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.shield-line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-app), var(--border-app) 4px, transparent 4px, transparent 8px);
}

.shield-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 160, 91, 0.06);
  border: 1px solid rgba(200, 160, 91, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.crypto-icon {
  font-size: 1rem;
}

.crypto-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  white-space: nowrap;
}

/* Syntax Highlighting for JSON in Privacy Panel */
.json-key { color: var(--color-expense); }
.json-string { color: var(--color-income); }
.json-number { color: var(--color-primary); }

/* --------------------------------------------------------------------------
   6.4 Panel 4: P2P Split Ledger Simulator
   -------------------------------------------------------------------------- */
.splits-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-app);
  border-radius: 12px;
  padding: 24px;
}

.split-calculator-header h5 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.split-calculator-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

.split-total-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-app);
  border-radius: 8px;
  margin: 16px 0;
}

.total-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.total-value {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--color-primary);
}

.split-slider-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.custom-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-app);
  outline: none;
}

.custom-range-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  border-radius: 3px;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--bg-main);
  cursor: pointer;
  margin-top: -6px;
  box-shadow: 0 0 10px rgba(200, 160, 91, 0.4);
  transition: var(--transition-smooth);
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-markers {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.friend-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.friend-split-card {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-app);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.friend-split-card:hover {
  border-color: rgba(200, 160, 91, 0.2);
}

.friend-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-app);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

.friend-avatar.primary-bg {
  background: rgba(200, 160, 91, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.friend-info {
  display: flex;
  flex-direction: column;
}

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

.friend-percentage {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-primary);
}

.friend-amount {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   6.5 Panel 5: Calendar Grid
   -------------------------------------------------------------------------- */
.calendar-layout {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-app);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calendar-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-app);
  padding-bottom: 12px;
}

.calendar-header-bar h5 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
}

.calendar-legend {
  display: flex;
  gap: 16px;
}

.legend-item {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot.sage-dot { background: var(--color-income); }
.dot.rust-dot { background: var(--color-expense); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  flex: 1;
  margin-top: 16px;
  align-content: center;
}

.cal-day-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-bottom: 6px;
}

.cal-date {
  position: relative;
  background: rgba(0,0,0,0.15);
  border: 1px solid var(--border-app);
  border-radius: 6px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: default;
  transition: var(--transition-smooth);
}

.cal-date.empty {
  background: transparent;
  border: none;
}

.cal-date.has-events {
  border-color: rgba(200, 160, 91, 0.15);
  cursor: pointer;
}

.cal-date.has-events:hover {
  background: rgba(200, 160, 91, 0.04);
  border-color: var(--color-primary);
}

.cal-date.active-date {
  background: rgba(200,160,91,0.06);
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-weight: bold;
}

.event-dots {
  position: absolute;
  bottom: 4px;
  display: flex;
  gap: 3px;
}

.event-dots .dot {
  width: 4px;
  height: 4px;
}

.event-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: #1C1D15;
  border: 1px solid var(--border-app);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  transition: var(--transition-smooth);
  z-index: 15;
}

.event-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1C1D15;
}

.cal-date:hover .event-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   6.6 Panel 6: Home Widget Mockup
   -------------------------------------------------------------------------- */
.widget-preview-layout {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-home-wallpaper {
  width: 320px;
  height: 280px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1C2D24 0%, #10141A 100%); /* Forest/night gradient */
  border: 1px solid var(--border-app);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.mobile-status-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* Simulated widget chassis */
.fumet-home-widget {
  background: rgba(20, 20, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 160, 91, 0.2);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(200, 160, 91, 0.25);
}

.widget-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-primary);
}

.widget-body-row {
  display: flex;
  justify-content: space-between;
}

.widget-stat {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.widget-stat.border-left {
  border-left: 1px solid var(--border-app);
  padding-left: 12px;
}

.widget-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.widget-val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-top: 2px;
}

.widget-val.green-text {
  color: var(--color-primary);
}

.widget-quick-actions {
  display: flex;
  gap: 8px;
}

.widget-btn-action {
  flex: 1;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-app);
  border-radius: 6px;
  padding: 6px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.widget-btn-action:hover {
  background: rgba(200, 160, 91, 0.05);
  border-color: var(--color-primary);
}

.widget-btn-action.font-gold {
  color: var(--color-primary);
}

.desktop-wallpaper-caption {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* --------------------------------------------------------------------------
   7. Technical Specs & Architecture Grid
   -------------------------------------------------------------------------- */
.bg-darker {
  background-color: var(--bg-darker);
}

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

.section-title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.architecture-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.dir-structure-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-app);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.5);
}

.dir-structure-card h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-app);
  padding-bottom: 12px;
}

/* Interactive Dev Console */
.dev-console {
  display: grid;
  grid-template-columns: 290px 1fr;
  background: #0E0F0A;
  border: 1px solid var(--border-app);
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  margin-bottom: 40px;
}

.console-sidebar {
  background: #12130E;
  border-right: 1px solid var(--border-app);
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-header {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.file-tree {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tree-item-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 5px 8px;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.tree-item-btn:hover {
  background: rgba(200, 160, 91, 0.04);
  color: var(--text-primary);
}

.tree-item-btn.active {
  background: rgba(200, 160, 91, 0.08);
  border: 1px solid rgba(200, 160, 91, 0.15);
  color: var(--color-primary);
  font-weight: bold;
}

.folder-toggle {
  color: var(--color-primary);
  font-size: 0.65rem;
  margin-right: 2px;
  display: inline-block;
  width: 10px;
}

.tree-folder-contents {
  margin-left: 10px;
  border-left: 1px solid rgba(200, 160, 91, 0.06);
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-icon {
  font-size: 0.85rem;
}

/* Inspector Viewer (Right side) */
.console-viewer {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #070705;
}

.viewer-tabs {
  background: #0E0F0A;
  border-bottom: 1px solid var(--border-app);
  padding: 0 16px;
  display: flex;
  height: 38px;
  align-items: flex-end;
}

.tab-item {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-app);
  border-left: 1px solid var(--border-app);
  border-right: 1px solid var(--border-app);
  border-bottom: 1px solid #070705;
  padding: 6px 16px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-primary);
}

.inspector-container {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
  position: relative;
}

.inspector-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.inspector-panel.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.inspect-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-app);
  padding-bottom: 16px;
}

.inspect-icon {
  font-size: 2.2rem;
}

.inspect-header h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: 400;
}

.inspect-path {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.inspect-body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.inspect-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.stat-item {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-app);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-primary);
}

.inspect-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.inspect-bullet-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.inspect-bullet-list li::before {
  content: '■';
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 0.55rem;
  color: var(--color-primary);
}

.inspect-badge-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill-badge {
  background: rgba(200, 160, 91, 0.06);
  border: 1px solid rgba(200, 160, 91, 0.15);
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 30px;
}

/* Bento Architecture Specification Grid */
.arch-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-app);
  border-radius: 12px;
  padding: 30px 24px;
  transition: var(--transition-smooth);
}

.spec-card:hover {
  border-color: var(--border-app-active);
  transform: translateY(-4px);
}

.spec-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.spec-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.spec-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. Call to Action & Footer
   -------------------------------------------------------------------------- */
.download-cta {
  padding: 90px 0;
}

.cta-card {
  background: linear-gradient(135deg, rgba(200, 160, 91, 0.06) 0%, rgba(20, 20, 15, 0.6) 100%);
  border: 1px solid var(--border-app);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  max-width: var(--container-width);
  margin: 0 auto;
  box-shadow: 0 20px 45px rgba(0,0,0,0.5);
}

.cta-card h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.cta-card p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 30px;
}

.cta-store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-app);
  padding: 40px 0;
  font-size: 0.85rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.footer-info {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. Scroll Reveal Transitions
   -------------------------------------------------------------------------- */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-element.appeared {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   10. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-store-badges {
    justify-content: center;
  }
  
  .mockup-container {
    height: 420px;
  }
  
  .hero-phone {
    width: 220px;
    margin: 0 auto;
  }
  
  .float-card-1 { left: 10%; }
  .float-card-2 { right: 10%; }
  
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .showcase-menu {
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .showcase-menu::-webkit-scrollbar {
    display: none;
  }

  .menu-tab {
    flex: 0 0 auto;
    padding: 10px 16px;
    gap: 8px;
    align-items: center;
    border-radius: 20px;
  }

  .menu-tab-icon {
    font-size: 1.1rem;
    padding: 4px;
    border-radius: 4px;
  }

  .menu-tab h4 {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .menu-tab p {
    display: none;
  }

  .showcase-display {
    height: 520px;
  }
  
  .dashboard-layout-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  
  .velocity-gauge-card {
    grid-column: 1;
  }
  
  .chart-mockup-card {
    grid-column: 1;
  }

  .crypto-board-vertical {
    padding: 16px;
    gap: 12px;
  }

  .crypto-card-row {
    padding: 12px 16px;
  }

  .crypto-board-vertical .code-block {
    font-size: 0.72rem;
  }

  .crypto-board-horizontal {
    flex-direction: column;
    gap: 12px;
  }
  
  .crypto-board-horizontal .crypto-arrow-center {
    flex-direction: row;
    height: auto;
    border-left: none;
    border-right: none;
    border-top: 1px dashed var(--border-app);
    border-bottom: 1px dashed var(--border-app);
    width: 100%;
    padding: 10px 0;
  }

  .crypto-board-horizontal .code-block {
    height: 110px;
  }
  
  .architecture-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  
  .nav-links {
    display: none;
  }

  .dev-console {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 550px;
  }

  .console-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-app);
    height: 200px;
  }

  .arch-specs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hero-phone {
    width: 190px;
  }
  
  .floating-card {
    padding: 8px 12px;
  }
  
  .float-card-1 { top: 30px; left: 0; }
  .float-card-2 { bottom: 40px; right: 0; }
  .float-card-3 { display: none; }
  
  .mockup-container {
    height: 380px;
  }
  
  .friend-cards-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .cal-date {
    height: 38px;
    font-size: 0.75rem;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
