@charset "UTF-8";

/* ==========================================================================
   TUẤN TỬ TẾ - EXECUTIVE DIGITAL HUB & SMART vCARD 3.0
   Design: Neo-Bento Grid, Luxury Glassmorphism, Dynamic Micro-Animations
   Typography: Be Vietnam Pro & Montserrat (100% Native Vietnamese Support)
   ========================================================================== */

:root {
  /* Common Palette Tokens */
  --gold-primary: #f59e0b;
  --gold-light: #fbbf24;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --ruby-heart: #e11d48;
  --ruby-glow: rgba(225, 29, 72, 0.4);
  --sapphire-blue: #0284c7;
  --emerald-green: #10b981;

  /* Dark Luxury (Default) */
  --bg-app: #080c14;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(23, 33, 56, 0.88);
  --bg-subtle: rgba(30, 41, 59, 0.65);
  --bg-nav: rgba(11, 17, 30, 0.82);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-gold: #fcd34d;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.5);
  --border-card-hover: rgba(245, 158, 11, 0.35);

  --card-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.75);
  --card-glow: 0 0 35px rgba(245, 158, 11, 0.12);

  /* Typography with 100% Vietnamese Diacritics Support */
  --font-heading: 'Montserrat', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Warm Amber Theme */
[data-theme="amber"] {
  --bg-app: #120e0a;
  --bg-card: rgba(28, 20, 14, 0.75);
  --bg-card-hover: rgba(42, 30, 20, 0.9);
  --bg-subtle: rgba(56, 40, 26, 0.65);
  --bg-nav: rgba(22, 16, 11, 0.85);

  --text-main: #fef3c7;
  --text-muted: #d97706;
  --text-dim: #92400e;
  --text-gold: #fef08a;

  --border-glass: rgba(245, 158, 11, 0.15);
  --border-focus: rgba(245, 158, 11, 0.6);
  --border-card-hover: rgba(245, 158, 11, 0.45);

  --card-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.85);
  --card-glow: 0 0 45px rgba(245, 158, 11, 0.2);
}

/* Light Frost Theme */
[data-theme="light"] {
  --bg-app: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-subtle: #e2e8f0;
  --bg-nav: rgba(255, 255, 255, 0.88);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-gold: #b45309;

  --border-glass: rgba(0, 0, 0, 0.08);
  --border-focus: rgba(180, 83, 9, 0.5);
  --border-card-hover: rgba(245, 158, 11, 0.45);

  --card-shadow: 0 14px 34px -8px rgba(15, 23, 42, 0.1);
  --card-glow: 0 0 35px rgba(245, 158, 11, 0.15);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

button, input, textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   AMBIENT BACKGROUND GLOWS
   ========================================================================== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.45;
  transition: var(--transition-smooth);
}

.glow-top {
  top: -150px;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
}

.glow-bottom {
  bottom: -150px;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--ruby-glow) 0%, transparent 70%);
}

.ambient-mesh {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .ambient-mesh {
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

.app-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==========================================================================
   TOP FLOATING NAVBAR
   ========================================================================== */
.top-nav {
  position: sticky;
  top: 14px;
  z-index: 100;
  max-width: 1240px;
  margin: 0 auto;
  width: calc(100% - 32px);
}

.nav-container {
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.4);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.brand-badge:hover {
  transform: scale(1.02);
}

.brand-avatar-mini {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
  flex-shrink: 0;
}

.brand-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

@keyframes pulse-indicator {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.nav-btn svg {
  width: 15px;
  height: 15px;
  color: var(--gold-primary);
}

.nav-btn:hover {
  background: var(--gold-primary);
  color: #000000;
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.nav-btn:hover svg {
  color: #000000;
}

/* Theme Switcher */
.theme-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
}

.theme-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: var(--transition-smooth);
}

.theme-btn svg {
  width: 14px;
  height: 14px;
}

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

.theme-btn.active {
  background: var(--gold-primary);
  color: #000000;
  box-shadow: 0 2px 8px var(--gold-glow);
}

/* ==========================================================================
   BENTO GRID LAYOUT
   ========================================================================== */
.main-content {
  flex: 1;
  padding: 32px 16px 60px;
}

.bento-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--border-card-hover);
  box-shadow: var(--card-shadow), var(--card-glow);
  transform: translateY(-2px);
}

.card-glass-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: 0.8s ease;
}

.bento-card:hover .card-glass-shine {
  left: 200%;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.header-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.header-icon.red-icon {
  color: var(--ruby-heart);
  background: rgba(225, 29, 72, 0.1);
  border-color: rgba(225, 29, 72, 0.2);
}

.header-icon.gold-icon {
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
}

.header-icon.heart-icon {
  color: var(--ruby-heart);
  background: rgba(225, 29, 72, 0.12);
  border-color: rgba(225, 29, 72, 0.25);
}

.header-icon svg {
  width: 22px;
  height: 22px;
}

.card-overhead {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-primary);
  letter-spacing: 0.8px;
  display: block;
}

.card-headline {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

/* ==========================================================================
   1. HERO PROFILE CARD (Spans 8 cols)
   ========================================================================== */
.card-hero {
  grid-column: span 8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid var(--gold-primary);
}

.hero-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.kindness-pill {
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: #fda4af;
}

[data-theme="light"] .kindness-pill {
  color: var(--ruby-heart);
  background: #ffe4e6;
}

.heart-pulse {
  color: var(--ruby-heart);
  animation: pulse-heart 1.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  display: inline-block;
}

@keyframes pulse-heart {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.verified-badge svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
}

.fb-followers-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(24, 119, 242, 0.12);
  border: 1px solid rgba(24, 119, 242, 0.35);
  color: #70b5f9;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.fb-followers-pill:hover {
  background: rgba(24, 119, 242, 0.25);
  border-color: #1877f2;
  transform: translateY(-1px);
  color: #ffffff;
}

.fb-followers-pill svg {
  width: 14px;
  height: 14px;
  color: #1877f2;
}

.hero-body {
  display: flex;
  align-items: center;
  gap: 32px;
}

.avatar-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}

.avatar-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--ruby-heart));
  opacity: 0.85;
  filter: blur(2px);
  animation: rotate-ring 6s linear infinite;
}

@keyframes rotate-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-card);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.avatar-online-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: var(--emerald-green);
  border: 3px solid var(--bg-card);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-green);
}

.hero-intro {
  flex: 1;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.6px;
  line-height: 1.1;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-alias {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}

.hero-titles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.role-badge {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.role-badge.highlight {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--gold-light);
  font-weight: 700;
}

/* Facebook Mission Tagline */
.hero-mission-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(24, 119, 242, 0.08) 100%);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 16px;
}

[data-theme="light"] .hero-mission-row {
  color: #b45309;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(180, 83, 9, 0.4);
}

.mission-sparkle {
  color: var(--gold-primary);
  font-size: 0.95rem;
}

/* Motto Box */
.motto-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(225, 29, 72, 0.05) 100%);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 12px 18px;
  margin-bottom: 22px;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: -10px;
  right: 14px;
  font-family: serif;
  font-size: 3rem;
  color: rgba(245, 158, 11, 0.15);
  line-height: 1;
}

.motto-en {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.4;
}

[data-theme="light"] .motto-en {
  color: #b45309;
}

.motto-vi {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Quick Connect Row */
.quick-connect-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.cta-btn svg {
  width: 16px;
  height: 16px;
}

.primary-cta {
  background: var(--gold-primary);
  color: #000000;
  box-shadow: 0 4px 16px var(--gold-glow);
}

.primary-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--gold-glow);
}

.secondary-cta {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}

.secondary-cta:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.facebook-cta {
  background: #1877f2;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.3);
}

.facebook-cta:hover {
  background: #166fe5;
  transform: translateY(-2px);
}

.qr-cta {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
}

.qr-cta:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   2. QUICK STATS CARD (Spans 4 cols)
   ========================================================================== */
.card-stats {
  grid-column: span 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--text-main);
}

.stat-number.gold-text {
  color: var(--gold-primary);
}

.stat-number.fb-blue-text {
  color: #1877f2;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 4px;
}

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

.stat-divider {
  height: 1px;
  background: var(--border-glass);
  width: 60%;
  margin: 0 auto;
}

/* ==========================================================================
   3. BUSINESS ECOSYSTEM / PORTFOLIO CARD (Spans 12 cols)
   ========================================================================== */
.card-ecosystem {
  grid-column: span 12;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.company-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.company-card:hover {
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

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

.company-logo-wrap {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 6px 14px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.company-logo {
  max-height: 40px;
  max-width: 140px;
  object-fit: contain;
}

.company-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.company-tag.bni-tag {
  background: rgba(225, 29, 72, 0.15);
  color: #fda4af;
  border-color: rgba(225, 29, 72, 0.3);
}

.company-logo-wrap.inspiration-wrap {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(225, 29, 72, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  padding: 0;
}

.inspiration-card-icon {
  width: 26px;
  height: 26px;
  color: var(--gold-primary);
}

.company-tag.inspiration-tag {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-light);
  border-color: rgba(245, 158, 11, 0.35);
}

.secondary-link {
  margin-left: 14px;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-decoration: underline;
}

.secondary-link:hover {
  color: var(--gold-primary);
}

.company-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-main);
}

.company-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.company-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.company-actions {
  margin-top: auto;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  transition: var(--transition-smooth);
}

.link-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.link-btn:hover {
  color: var(--gold-light);
}

.link-btn:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   4. PROFILE & MILESTONES CARD (Spans 6 cols)
   ========================================================================== */
.card-milestones {
  grid-column: span 6;
}

.milestones-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.family-box {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(225, 29, 72, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.family-icon {
  font-size: 2rem;
}

.family-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ruby-heart);
  margin-bottom: 2px;
}

.family-text {
  font-size: 0.88rem;
  color: var(--text-main);
}

.highlight-family {
  color: var(--gold-primary);
  font-weight: 800;
}

/* Timeline List */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-entry {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: var(--transition-smooth);
}

.timeline-entry:hover {
  border-color: var(--border-card-hover);
  transform: translateX(4px);
}

.timeline-marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sapphire-blue);
  flex-shrink: 0;
}

.timeline-marker.gold {
  color: var(--gold-primary);
}

.timeline-marker.trophy {
  color: #eab308;
  background: rgba(234, 179, 8, 0.15);
  border-color: rgba(234, 179, 8, 0.3);
}

.timeline-marker svg {
  width: 18px;
  height: 18px;
}

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

.timeline-date {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 1px;
}

.timeline-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   5. SMART vCARD & QR CARD (Spans 6 cols)
   ========================================================================== */
.card-vcard {
  grid-column: span 6;
}

.vcard-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-code-frame {
  width: 170px;
  height: 170px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold-primary);
}

.qr-code-frame svg {
  width: 100%;
  height: 100%;
}

.qr-loading {
  font-size: 0.8rem;
  color: #0f172a;
  font-weight: 600;
}

.qr-caption {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 8px;
  line-height: 1.3;
}

.vcard-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vcard-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.85rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-glass);
}

.vcard-label {
  font-weight: 600;
  color: var(--text-dim);
  width: 85px;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.vcard-val {
  color: var(--text-main);
  font-weight: 600;
  word-break: break-word;
}

.vcard-val.link-val {
  color: var(--gold-primary);
}

.vcard-val.link-val:hover {
  text-decoration: underline;
}

.vcard-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.vcard-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.vcard-action-btn svg {
  width: 16px;
  height: 16px;
}

.vcard-action-btn.primary {
  background: var(--gold-primary);
  color: #000000;
}

.vcard-action-btn.primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.vcard-action-btn.secondary {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}

.vcard-action-btn.secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* ==========================================================================
   6. THE KINDNESS WALL (Spans 6 cols)
   ========================================================================== */
.card-kindness {
  grid-column: span 6;
}

.kindness-prompt {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.heart-counter-zone {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 20px;
}

.heart-tap-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--ruby-heart) 0%, #be123c 100%);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px var(--ruby-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.heart-tap-btn:active {
  transform: scale(0.92);
}

.heart-tap-btn:hover {
  box-shadow: 0 6px 20px var(--ruby-glow);
}

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

.heart-stats {
  display: flex;
  flex-direction: column;
}

.heart-count-number {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.heart-subtext {
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* Kindness Form */
.kindness-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row input {
  flex: 1;
}

input[type="text"], textarea {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-smooth);
}

input[type="text"]:focus, textarea:focus {
  border-color: var(--gold-primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

textarea {
  resize: none;
}

.send-kindness-btn {
  background: var(--gold-primary);
  color: #000000;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.send-kindness-btn:hover {
  background: var(--gold-light);
}

/* Kindness Stream */
.kindness-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 6px;
}

.kindness-stream::-webkit-scrollbar {
  width: 4px;
}

.kindness-stream::-webkit-scrollbar-thumb {
  background: var(--border-glass);
  border-radius: 4px;
}

.stream-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  animation: slide-down 0.3s ease;
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.stream-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.stream-author {
  font-weight: 700;
  color: var(--gold-primary);
}

.stream-time {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.stream-msg {
  color: var(--text-main);
  line-height: 1.4;
}

/* ==========================================================================
   7. DIRECT CONTACT CHANNELS (Spans 6 cols)
   ========================================================================== */
.card-contact {
  grid-column: span 6;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.channel-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.channel-card:hover {
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.phone-bg { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.zalo-bg { background: linear-gradient(135deg, #0068ff 0%, #0050c7 100%); }
.mail-bg { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.fb-bg { background: #1877f2; }
.yt-bg { background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); }
.web-bg { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.map-bg { background: linear-gradient(135deg, #e11d48 0%, #be123c 100%); }
.in-bg { background: #0a66c2; }
.skype-bg { background: #00aff0; }

.text-icon {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
}

.channel-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.channel-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.channel-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   APP FOOTER
   ========================================================================== */
.app-footer {
  max-width: 1240px;
  margin: 0 auto;
  width: calc(100% - 32px);
  padding: 24px 0 36px;
  border-top: 1px solid var(--border-glass);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.copyright a {
  color: var(--gold-primary);
  font-weight: 700;
}

.hosting-note {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.hosting-note a {
  color: #38bdf8;
  font-weight: 600;
}

.philosophy-footer {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fda4af;
  background: rgba(225, 29, 72, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(225, 29, 72, 0.25);
}

[data-theme="light"] .philosophy-footer {
  color: var(--ruby-heart);
  background: #ffe4e6;
}

/* ==========================================================================
   SHARE MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-head h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close {
  font-size: 1.5rem;
  color: var(--text-dim);
  line-height: 1;
}

.modal-close:hover {
  color: var(--ruby-heart);
}

.modal-body-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.share-avatar-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.share-modal-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  object-fit: cover;
}

.share-avatar-group h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.share-avatar-group p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.share-link-box {
  display: flex;
  gap: 8px;
}

.share-link-box input {
  flex: 1;
  font-family: monospace;
  font-size: 0.8rem;
}

.copy-url-btn {
  background: var(--gold-primary);
  color: #000000;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.share-actions-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.social-share-btn {
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-share-btn.fb { background: #1877f2; }
.social-share-btn.zalo { background: #0068ff; }
.social-share-btn.native { background: var(--bg-subtle); color: var(--text-main); border: 1px solid var(--border-glass); }

.social-share-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ==========================================================================
   FLYING HEARTS CANVAS
   ========================================================================== */
.hearts-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.flying-heart {
  position: absolute;
  color: var(--ruby-heart);
  user-select: none;
  pointer-events: none;
  animation: fly-up 1.8s forwards cubic-bezier(0.12, 0.84, 0.45, 1);
}

@keyframes fly-up {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--rand-x), -350px) scale(1.6) rotate(var(--rand-rot));
  }
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-msg {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card-hover);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-slide 0.3s ease;
  border-left: 4px solid var(--gold-primary);
}

@keyframes toast-slide {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .card-hero {
    grid-column: span 12;
  }
  
  .card-stats {
    grid-column: span 12;
  }

  .stats-grid {
    flex-direction: row;
    justify-content: space-around;
  }

  .stat-divider {
    width: 1px;
    height: 40px;
    margin: auto 0;
  }
}

@media (max-width: 768px) {
  .bento-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-hero,
  .card-stats,
  .card-ecosystem,
  .card-milestones,
  .card-vcard,
  .card-kindness,
  .card-contact {
    grid-column: span 1;
    padding: 20px;
  }

  .hero-body {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

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

  .quick-connect-row {
    justify-content: center;
  }

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

  .vcard-body {
    grid-template-columns: 1fr;
  }

  .contact-channels-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 60%;
    height: 1px;
    margin: 0 auto;
  }

  .nav-status-badge {
    display: none;
  }

  .btn-label {
    display: none;
  }

  .nav-btn {
    padding: 8px 10px;
  }

  .form-row {
    flex-direction: column;
  }
}
