/* ==========================================================================
   SplitPilot Professional Design System
   Crafted with modern UI/UX design standards (Fintech/SaaS aesthetics)
   ========================================================================== */

:root {
  /* Brand Master Palette */
  --primary: #6366F1;
  --primary-hover: #4F46E5;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --primary-soft: rgba(99, 102, 241, 0.12);

  --accent: #06B6D4;
  --accent-hover: #0891B2;
  --accent-glow: rgba(6, 182, 212, 0.3);
  --accent-soft: rgba(6, 182, 212, 0.12);

  --positive: #10B981;
  --positive-soft: rgba(16, 185, 129, 0.12);
  
  --negative: #F43F5E;
  --negative-soft: rgba(244, 63, 94, 0.12);

  --warning: #F59E0B;
  --warning-soft: rgba(245, 158, 11, 0.12);

  /* Dark Theme Surfaces (Obsidian Glass) */
  --bg-body: #07090E;
  --bg-card: rgba(16, 19, 28, 0.72);
  --bg-card-hover: rgba(22, 27, 40, 0.85);
  --bg-elevated: #0D1017;
  --bg-surface-subtle: rgba(255, 255, 255, 0.03);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-focus: rgba(99, 102, 241, 0.45);
  --border-glass: rgba(255, 255, 255, 0.1);

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --nav-bg: rgba(7, 9, 14, 0.85);
  --phone-bg: #0C0F17;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii & Shadows */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 20px 45px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-glow-primary: 0 10px 30px rgba(99, 102, 241, 0.35);

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-body: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #FFFFFF;
  --bg-elevated: #F1F5F9;
  --bg-surface-subtle: rgba(0, 0, 0, 0.02);

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-focus: rgba(99, 102, 241, 0.45);
  --border-glass: rgba(0, 0, 0, 0.12);

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #94A3B8;

  --nav-bg: rgba(248, 250, 252, 0.85);
  --phone-bg: #FFFFFF;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 20px 45px -10px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.font-mono {
  font-family: var(--font-mono);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s var(--ease-spring);
}

button, input, select {
  font-family: inherit;
  outline: none;
  border: none;
}

/* Background Ambient Grids */
.bg-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .bg-grid-pattern {
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  max-width: 100%;
  overflow: hidden;
}

.ambient-glow-top {
  width: min(500px, 90vw);
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.ambient-glow-mid {
  width: min(400px, 80vw);
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  top: 35%;
  right: 0;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.max-w-800 {
  max-width: 820px;
}

.section {
  padding: 3.5rem 0;
  position: relative;
}

.bg-elevated {
  background-color: var(--bg-elevated);
}

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

.text-gradient {
  background: linear-gradient(135deg, #A5B4FC 0%, #6366F1 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-positive { color: var(--positive); }
.text-negative { color: var(--negative); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

.bg-primary-soft { background: var(--primary-soft); }
.bg-accent-soft { background: var(--accent-soft); }
.bg-success-soft { background: var(--positive-soft); }
.bg-warning-soft { background: var(--warning-soft); }

/* Section Header Structure */
.section-head {
  max-width: 680px;
  margin: 0 auto 2.25rem auto;
}

.section-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-heading {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.035em;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.top-banner {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
  font-size: 0.82rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}

.top-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.banner-pill {
  background: var(--primary);
  color: #FFF;
  font-weight: 800;
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
}

.banner-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.banner-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-img-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.4));
  transition: transform 0.25s var(--ease-spring);
}

.brand-logo:hover .brand-img-logo {
  transform: scale(1.1) rotate(-3deg);
}

.brand-name span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: var(--text-main);
  font-size: 1.35rem;
  cursor: pointer;
}

/* ==========================================================================
   Buttons System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
}

.btn-xl {
  padding: 0.95rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-subtext {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.btn-maintext {
  font-size: 1rem;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 100%);
  color: #FFF;
  box-shadow: var(--shadow-glow-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass);
  transform: translateY(-2px);
}

.nav-menu-cta {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 2rem 0;
  position: relative;
}

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

.hero-header-wrap {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-subtle);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 10px var(--positive);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-title {
  font-size: 3.4rem;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  max-width: 650px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  box-sizing: border-box;
}

.metric-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

.metric-sep {
  width: 1px;
  height: 30px;
  background: var(--border-subtle);
}

/* ==========================================================================
   Hero Interactive Device Stage
   ========================================================================== */
.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.stage-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
  z-index: 5;
}

.stage-tab-btn {
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stage-tab-btn.active {
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.phone-wrapper {
  position: relative;
}

.phone-chassis {
  width: 240px;
  height: 490px;
  background: var(--phone-bg);
  border-radius: 34px;
  border: 6px solid #1A1E29;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--phone-bg);
}

.notch-camera {
  width: 60px;
  height: 12px;
  background: #000;
  border-radius: 8px;
}

.phone-viewport {
  padding: 0.85rem 0.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.app-user-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #FFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.app-user-name {
  font-size: 0.78rem;
  font-weight: 700;
  display: block;
}

.app-user-status {
  font-size: 0.62rem;
  color: var(--accent);
  display: block;
}

.app-notif-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.app-balance-card {
  background: linear-gradient(135deg, #4338CA 0%, #312E81 100%);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  color: #FFF;
  margin-bottom: 0.75rem;
  box-shadow: 0 8px 20px rgba(67, 56, 202, 0.35);
}

.card-header-sub {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.card-hero-amount {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.15rem 0 0.65rem 0;
}

.card-split-stats {
  display: flex;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-xs);
}

.split-col {
  display: flex;
  flex-direction: column;
}

.stat-tag {
  font-size: 0.55rem;
  opacity: 0.75;
}

.stat-num {
  font-size: 0.7rem;
  font-weight: 700;
}

.stat-vborder {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.app-simplified-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px dashed rgba(6, 182, 212, 0.4);
  border-radius: var(--radius-xs);
  margin-bottom: 0.75rem;
}

.sim-icon-box {
  color: var(--accent);
  font-size: 0.95rem;
}

.sim-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sim-content strong {
  font-size: 0.68rem;
  color: var(--accent);
}

.sim-content span {
  font-size: 0.58rem;
  color: var(--text-muted);
}

.sim-badge {
  font-size: 0.55rem;
  font-weight: 800;
  background: var(--accent);
  color: #000;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

.app-section-title {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}

.app-expense-feed {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.app-expense-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
}

.expense-emoji {
  font-size: 1.15rem;
}

.expense-meta {
  flex: 1;
}

.expense-title {
  font-size: 0.7rem;
  font-weight: 700;
}

.expense-sub {
  font-size: 0.58rem;
  color: var(--text-dim);
}

.expense-cost {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.app-bottom-bar {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-size: 0.8rem;
}

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

.tab-fab {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 4px 10px var(--primary-glow);
  margin-top: -10px;
}



/* ==========================================================================
   Interactive Live Split Calculator Section
   ========================================================================== */
.calc-workbench {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.card-inner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-inner-title {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.calc-live-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--positive);
  background: var(--positive-soft);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 6px var(--positive);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

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

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.currency-symbol {
  position: absolute;
  left: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-select {
  padding-left: 1rem;
  cursor: pointer;
}

/* Mode Tabs */
.mode-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.mode-btn {
  padding: 0.65rem 0.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-btn.active {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
}

.participants-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.add-person-btn {
  background: transparent;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.add-person-btn:hover {
  text-decoration: underline;
}

.participants-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 4px;
}

.participant-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.p-name {
  flex: 1 1 120px;
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
}

.p-btn-payer {
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.p-btn-payer.active {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

.p-input-extra {
  width: 75px;
  padding: 0.3rem 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: right;
}

.p-btn-del {
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.2rem;
}

.p-btn-del:hover {
  color: var(--negative);
}

/* Results Output Column */
.result-hero-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid var(--border-focus);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.res-title-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.res-total-display {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0.25rem 0;
  color: var(--text-main);
}

.res-payer-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.subhead-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.shares-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.share-card-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.minimizer-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 1.15rem;
  border-radius: var(--radius-md);
}

.minimizer-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.min-title-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.min-tag {
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
}

.min-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.transfers-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.transfer-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.85rem;
  background: var(--bg-card);
  border-left: 3px solid var(--positive);
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================================================
   Bento Grid Section
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--ease-spring);
}

.bento-card:hover {
  border-color: var(--border-glass);
  transform: translateY(-3px);
}

.bento-card-2col {
  grid-column: span 2;
}

.bento-icon-tag {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.15rem;
}

.bento-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.bento-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.bento-visual-diagram {
  background: var(--bg-elevated);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.diagram-flow {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 0.75rem;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--positive);
  font-weight: 700;
  gap: 0.25rem;
}

.flow-amt {
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.diagram-badge {
  text-align: center;
  font-size: 0.75rem;
  color: var(--positive);
  font-weight: 700;
}

.bento-link-preview {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.bento-progress-mock {
  background: var(--bg-elevated);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
}

.b-prog-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.b-prog-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.b-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--positive));
  border-radius: var(--radius-full);
}

.bento-tags-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.feature-chip {
  padding: 0.35rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   Use Cases Grid
   ========================================================================== */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-card);
  transition: all 0.2s var(--ease-spring);
}

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

.uc-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.uc-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.uc-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.premium-table th,
.premium-table td {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.premium-table th {
  background: var(--bg-elevated);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.tbl-highlight {
  background: rgba(99, 102, 241, 0.08);
  font-weight: 600;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.accordion-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.acc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.acc-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.acc-chevron {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.acc-card.active .acc-chevron {
  transform: rotate(180deg);
}

.acc-body {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.acc-card.active .acc-body {
  display: block;
}

/* ==========================================================================
   Download CTA Section
   ========================================================================== */
.cta-banner-box {
  position: relative;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-xl);
  padding: 3.25rem 2rem;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cta-banner-title {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.cta-banner-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2rem auto;
}

.cta-buttons-wrap {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 1.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0 1.5rem 0;
  max-width: 280px;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-social-links a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.footer-social-links a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.footer-nav-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-nav-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-nav-col a:hover {
  color: var(--text-main);
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--positive);
  background: var(--positive-soft);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--positive);
}

.footer-arch-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-subline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.dream2code-link {
  color: var(--accent);
  font-weight: 700;
}

.dream2code-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints & Universal Device Optimization
   ========================================================================== */

/* Ultra-wide screens & Laptops (1024px to 1440px) */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 3.5rem; }
  .hero-header-wrap { text-align: center; }
  .hero-title { font-size: 3rem; margin-left: auto; margin-right: auto; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-metrics { justify-content: center; margin-left: auto; margin-right: auto; max-width: 680px; }
  .calc-grid { grid-template-columns: 1fr; gap: 2rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card-2col { grid-column: span 1; }
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

/* Tablets & Large Phones (601px to 768px) */
@media (max-width: 768px) {
  .section { padding: 2.25rem 0; }
  .section-head { margin-bottom: 1.5rem; }
  .section-heading { font-size: 2rem; }
  .section-lead { font-size: 0.95rem; }
  .hero-section { padding: 2.25rem 0 1.25rem 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  
  /* Top Banner */
  .top-banner-content {
    flex-wrap: wrap;
    font-size: 0.78rem;
    gap: 0.4rem;
    text-align: center;
  }

  /* Navigation */
  .nav-btn-cta { display: none !important; }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-elevated);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    gap: 1.25rem;
    box-sizing: border-box;
  }
  
  .nav-menu.open { display: flex; }
  
  .nav-menu-cta {
    display: inline-flex !important;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .mobile-toggle { display: flex; align-items: center; justify-content: center; }

  /* Hero Actions */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  /* Hero Metrics */
  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 3.5rem;
  }
  
  .metric-sep { display: none; }
  .float-card { display: none; }
  
  /* Stage Tabs */
  .stage-tabs {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 340px;
    gap: 0.35rem;
  }
  
  .stage-tab-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
  }

  /* Phone Mockup */
  .phone-chassis {
    width: 225px;
    height: 460px;
  }

  /* Calculator */
  .calc-workbench { padding: 1.25rem; }
  
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .mode-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .participant-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .p-name {
    min-width: 100px;
    flex: 1 1 110px;
  }

  /* Bento Grid */
  .bento-card {
    padding: 1.75rem 1.25rem;
  }
  
  .bento-title {
    font-size: 1.3rem;
  }

  /* Comparison Table */
  .table-container {
    border-radius: var(--radius-md);
  }
  
  .premium-table {
    min-width: 560px;
  }
  
  .premium-table th,
  .premium-table td {
    padding: 1rem 1.15rem;
    font-size: 0.85rem;
  }

  /* Use Cases */
  .usecases-grid { grid-template-columns: 1fr; }
  
  /* Download Banner */
  .cta-banner-box { padding: 3rem 1.5rem; }
  .cta-banner-title { font-size: 2rem; }
  .cta-buttons-wrap { flex-direction: column; width: 100%; }
  .cta-buttons-wrap .btn { width: 100%; }

  /* Footer */
  .footer { padding: 3.5rem 0 2rem 0; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social-links { justify-content: center; }
  .footer-summary { margin-left: auto; margin-right: auto; }
  .footer-subline { flex-direction: column; gap: 0.6rem; text-align: center; }
}

/* Compact Smartphones (320px to 480px) */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-section { padding: 4.5rem 0 3.5rem 0; }
  .hero-title { font-size: 1.95rem; line-height: 1.2; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }
  
  .brand-name { font-size: 1.25rem; }
  .brand-img-logo { width: 34px; height: 34px; }

  .phone-chassis {
    width: 100%;
    max-width: 215px;
    height: 440px;
    border-width: 5px;
    border-radius: 28px;
  }

  .card-hero-amount { font-size: 1.5rem; }
  .res-total-display { font-size: 1.75rem; }
  
  .bento-tags-row {
    flex-direction: column;
  }
}

/* ==========================================================================
   Legal & About Article Layouts
   ========================================================================== */
.article-page {
  padding: 5rem 0 4rem 0;
}

.legal-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem auto;
}

.legal-header h1 {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.legal-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.legal-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.legal-section h2 i {
  color: var(--primary);
  font-size: 1.2rem;
}

.legal-section p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-section ul {
  margin: 0.75rem 0 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-highlight-box {
  background: var(--bg-elevated);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* About Page Specific Styles */
.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.about-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.about-stat-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.25s var(--ease-spring);
}

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

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 1.15rem;
}

.value-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

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

@media (max-width: 768px) {
  .legal-card {
    padding: 2rem 1.25rem;
  }
  .legal-header h1 {
    font-size: 2.1rem;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Download Page Specific Styles */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin: 2.5rem 0;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-spring);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.download-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px var(--primary-glow);
}

.download-card-featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg-card) 60%);
}

.download-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-subtle);
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.badge-recommended {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.badge-direct {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-ios {
  background: rgba(99, 102, 241, 0.12);
  color: #818CF8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.download-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.download-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.download-card-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-top: 1rem;
}

.qr-card-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: var(--shadow-card);
}

.qr-card-text {
  flex: 1;
}

.qr-box {
  background: #FFFFFF;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.qr-box svg, .qr-box img {
  width: 140px;
  height: 140px;
}

.qr-caption {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1E293B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFF;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

@media (max-width: 992px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
  .qr-card-section {
    flex-direction: column;
    text-align: center;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
}


