@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  /* Common Brand Colors */
  --zohue-blue: #5B6BFF;
  --sky-blue: #7DA8FF;
  --warm-yellow: #FFC857;
  --coral-orange: #FF8A65;
  --aqua-green: #41D1C7;
  
  /* Shared values */
  --font-sans: 'Outfit', 'Noto Sans TC', sans-serif;
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.12s ease;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}

/* Light mode by default */
body {
  --bg-color: #F2F4F7;
  --bg-gradient: linear-gradient(135deg, #F2F4F7 0%, #E2E5EB 100%);
  --surface-color: rgba(255, 255, 255, 0.95);
  --surface-solid: #FFFFFF;
  --text-primary: #15182A;
  --text-secondary: #667085;
  --border-color: #E4E7EC;
  --border-glow: rgba(91, 107, 255, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.96);
  --glass-border: rgba(255, 255, 255, 0.45);
  --shadow-color: rgba(21, 24, 42, 0.06);
  --shadow-soft: 0 12px 40px rgba(21, 24, 42, 0.08);
  --map-bg: #E4E7EB;
  --map-grid: rgba(21, 24, 42, 0.04);
  --logo-text-color: #15182A;
  --card-hover-bg: rgba(255, 255, 255, 0.98);
  --scrollbar-thumb: rgba(0, 0, 0, 0.15);
}

body.dark-mode {
  --bg-color: #0F1326;
  --bg-gradient: linear-gradient(135deg, #0F1326 0%, #1A1F3C 100%);
  --surface-color: rgba(29, 35, 67, 0.95);
  --surface-solid: #1D2343;
  --text-primary: #F2F4F7;
  --text-secondary: #9AA4B8;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(91, 107, 255, 0.35);
  --glass-bg: rgba(25, 30, 58, 0.96);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-color: rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.5);
  --map-bg: #141930;
  --map-grid: rgba(255, 255, 255, 0.03);
  --logo-text-color: #FFFFFF;
  --card-hover-bg: rgba(29, 35, 67, 0.98);
  --scrollbar-thumb: rgba(255, 255, 255, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 4px;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 100;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  transition: background-color var(--transition-normal), border var(--transition-normal);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 24px;
  color: var(--logo-text-color);
  letter-spacing: -0.5px;
}

.logo img {
  height: 38px;
  width: 38px;
  object-fit: contain;
}

.logo-tag {
  font-size: 11px;
  font-weight: 500;
  background: linear-gradient(135deg, var(--zohue-blue), var(--sky-blue));
  color: white;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 2px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

/* Theme Switch Button */
.theme-switch {
  background: var(--border-color);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.theme-switch:hover {
  transform: scale(1.05);
  border-color: var(--zohue-blue);
}

.theme-switch svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.theme-switch .sun-icon {
  display: none;
}
.theme-switch .moon-icon {
  display: block;
}
body.dark-mode .theme-switch .sun-icon {
  display: block;
}
body.dark-mode .theme-switch .moon-icon {
  display: none;
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 107, 255, 0.15) 0%, rgba(91, 107, 255, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

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

.hero-content h1 {
  font-size: 56px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-content h1 span.gradient-text {
  background: linear-gradient(135deg, var(--zohue-blue) 0%, var(--sky-blue) 40%, var(--coral-orange) 80%, var(--warm-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--zohue-blue);
  color: white;
  box-shadow: 0 4px 20px rgba(91, 107, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #4758F5;
  box-shadow: 0 6px 24px rgba(91, 107, 255, 0.45);
}

.btn-secondary {
  background: var(--surface-color);
  color: var(--text-primary);
  border-color: var(--border-color);
}

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

.btn svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  fill: currentColor;
}

/* App Mockup / Visual Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-frame {
  position: relative;
  width: 100%;
  max-width: 290px;
  height: 580px;
  border-radius: 40px;
  background: #000;
  border: 12px solid #1c1d24;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 5;
}

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

.hero-visual-bg-circle {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 168, 255, 0.1) 0%, rgba(255, 138, 101, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
  filter: blur(20px);
  z-index: 1;
}

.floating-card-1, .floating-card-2 {
  position: absolute;
  background: var(--surface-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  z-index: 10;
  animation: float 6s ease-in-out infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.floating-card-1 {
  top: 80px;
  left: -40px;
  width: 180px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 100px;
  right: -30px;
  width: 200px;
  animation-delay: 3s;
}

.f-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.f-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--zohue-blue);
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 14px;
}

.f-avatar.coral { background: var(--coral-orange); }
.f-avatar.yellow { background: var(--warm-yellow); }

.f-info h4 {
  font-size: 13px;
  font-weight: 600;
}
.f-info p {
  font-size: 11px;
  color: var(--text-secondary);
}

.f-reaction-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.f-reaction-bubble {
  background: var(--border-color);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}

/* Float Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Brand Origin Section */
.origin-section {
  padding: 80px 0;
  position: relative;
}

.origin-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 60px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  transition: background-color var(--transition-normal), border var(--transition-normal);
}

.origin-card:hover {
  border-color: var(--border-glow);
}

.origin-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.origin-graphic-gradient {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zohue-blue), var(--sky-blue), var(--coral-orange), var(--warm-yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(91, 107, 255, 0.25);
  animation: float 8s ease-in-out infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.origin-logo-center {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: background-color var(--transition-normal);
}

.origin-logo-center img {
  height: 100px;
  margin-bottom: 8px;
}

.origin-logo-center span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.origin-content h2 {
  font-size: 38px;
  margin-bottom: 24px;
  line-height: 1.3;
  letter-spacing: -1px;
}

.origin-content h2 span {
  color: var(--zohue-blue);
}

.origin-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 20px;
}

.origin-content p strong {
  color: var(--text-primary);
}

/* Feature Section */
.features-section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 38px;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.5;
}

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

.feature-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--card-hover-bg);
  border-color: var(--border-glow);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.feature-icon-wrapper.blue { background: rgba(91, 107, 255, 0.15); color: var(--zohue-blue); }
.feature-icon-wrapper.orange { background: rgba(255, 138, 101, 0.15); color: var(--coral-orange); }
.feature-icon-wrapper.yellow { background: rgba(255, 200, 87, 0.15); color: var(--warm-yellow); }

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Simulator Section */
.simulator-section {
  padding: 80px 0;
  background: rgba(91, 107, 255, 0.02);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.simulator-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.sim-text h2 {
  font-size: 38px;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.sim-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.sim-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-fast);
}

.sim-feature-item:hover {
  border-color: var(--zohue-blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(91, 107, 255, 0.08);
}

.sim-feature-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(91, 107, 255, 0.15);
  color: var(--zohue-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
}

.sim-feature-desc h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.sim-feature-desc p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Actual Interactive Phone Simulator */
.simulator-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.simulator-phone {
  width: 100%;
  max-width: 320px;
  height: 640px;
  border-radius: 44px;
  background: #000;
  border: 12px solid #1c1d24;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Map Screen Mock */
.sim-screen {
  flex: 1;
  background: var(--map-bg);
  position: relative;
  overflow: hidden;
  user-select: none;
}

/* Grid overlay for map feel */
.sim-map-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--map-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--map-grid) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center;
}

/* Navigation capsule pill inside mockup */
.sim-top-pills {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

.sim-sharing-pill {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all var(--transition-fast);
}

.sim-sharing-pill:hover {
  transform: scale(1.03);
  border-color: var(--zohue-blue);
}

.sim-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua-green);
  box-shadow: 0 0 8px var(--aqua-green);
}

.sim-icon-buttons {
  display: flex;
  gap: 8px;
}

.sim-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* User avatar at the center */
.sim-user-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--zohue-blue);
  border: 3px solid #FFF;
  box-shadow: 0 4px 12px rgba(91,107,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  z-index: 10;
}

.sim-user-avatar-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(91, 107, 255, 0.15);
  z-index: 9;
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  80%, 100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

/* Friend Map Markers */
.sim-marker {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid #FFF;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  cursor: pointer;
  z-index: 12;
  transition: all var(--transition-fast);
}

.sim-marker:hover {
  transform: scale(1.1);
  z-index: 15;
}

.sim-marker::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--map-bg);
}

.sim-marker.online::after { background: var(--aqua-green); }
.sim-marker.stale::after { background: var(--warm-yellow); }
.sim-marker.offline::after { background: var(--text-secondary); }

/* Friend sheet bottom panel */
.sim-bottom-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  border-radius: 24px 24px 0 0;
  padding: 16px 20px 24px;
  z-index: 25;
  transform: translateY(105%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
}

.sim-bottom-sheet.active {
  transform: translateY(0);
}

.sim-sheet-drag-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--border-color);
  margin: 0 auto 12px;
}

.sim-sheet-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sim-sheet-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
}

.sim-sheet-meta h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.sim-sheet-meta p {
  font-size: 12px;
  color: var(--text-secondary);
}

.sim-sheet-status {
  font-size: 12px;
  background: var(--border-color);
  padding: 6px 12px;
  border-radius: 12px;
  margin-bottom: 16px;
  display: inline-block;
}

.sim-sheet-status span {
  font-weight: 600;
  color: var(--text-primary);
}

/* Floating reaction panel inside bottom sheet */
.sim-reaction-panel {
  display: flex;
  justify-content: space-between;
  background: rgba(0,0,0,0.15);
  border-radius: 16px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

.sim-reaction-btn {
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease;
  outline: none;
}

.sim-reaction-btn:hover {
  transform: scale(1.25);
}
.sim-reaction-btn:active {
  transform: scale(0.9);
}

.sim-sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sim-btn {
  background: var(--border-color);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.sim-btn-primary {
  background: var(--zohue-blue);
  border-color: transparent;
  color: white;
}

/* Navigation tray inside mockup */
.sim-nav-dock {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 6px;
  display: flex;
  gap: 4px;
  z-index: 18;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform var(--transition-normal);
}

.sim-nav-dock.hidden {
  transform: translate(-50%, 100px);
}

.sim-nav-item {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.sim-nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.sim-nav-item.active {
  background: var(--text-primary);
  color: var(--bg-color);
  padding: 0 16px;
  width: auto;
  gap: 8px;
}

.sim-nav-label {
  display: none;
  font-size: 12px;
  font-weight: bold;
}

.sim-nav-item.active .sim-nav-label {
  display: block;
}

/* Floating animation for emoji bursts */
.floating-emoji {
  position: absolute;
  pointer-events: none;
  font-size: 28px;
  z-index: 99;
  animation: emoji-burst 0.8s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes emoji-burst {
  0% {
    transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(1.2) rotate(var(--rot));
    opacity: 0;
  }
}

/* Privacy Options Screen */
.sim-privacy-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 19, 38, 0.8);
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
}

.sim-privacy-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sim-privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.sim-privacy-header h3 {
  font-size: 17px;
  font-weight: 700;
}

.sim-privacy-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
}

.sim-privacy-option {
  background: var(--border-color);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}

.sim-privacy-option:hover {
  border-color: var(--zohue-blue);
  background: rgba(91, 107, 255, 0.05);
}

.sim-privacy-option.selected {
  border-color: var(--zohue-blue);
  background: rgba(91, 107, 255, 0.1);
}

.sim-priv-info h4 {
  font-size: 14px;
  font-weight: 600;
}

.sim-priv-info p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.sim-priv-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-privacy-option.selected .sim-priv-radio {
  border-color: var(--zohue-blue);
}

.sim-privacy-option.selected .sim-priv-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zohue-blue);
}

/* Security Callout Section */
.security-section {
  padding: 80px 0;
}

.security-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.security-content h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.security-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 24px;
}

.security-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sec-badge {
  background: var(--border-color);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec-badge-icon {
  font-size: 22px;
  color: var(--aqua-green);
}

.sec-badge-text h5 {
  font-size: 13px;
  font-weight: 600;
}

.sec-badge-text p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 0;
  margin-top: 2px;
  line-height: 1.3;
}

.security-shield-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-container {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(65, 209, 199, 0.08);
  border: 1px dashed rgba(65, 209, 199, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 7s ease-in-out infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.shield-inner {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65, 209, 199, 0.2) 0%, rgba(65, 209, 199, 0.02) 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: var(--aqua-green);
}

/* Call to Action Promo (Who Viewed Me Trigger) */
.promo-section {
  padding: 80px 0 100px;
  text-align: center;
}

.promo-banner {
  background: linear-gradient(135deg, rgba(91, 107, 255, 0.1) 0%, rgba(255, 138, 101, 0.05) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  box-shadow: var(--shadow-soft);
  max-width: 900px;
  margin: 0 auto;
}

.promo-banner h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

.promo-banner p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* General Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 19, 38, 0.85);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

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

.modal-back-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.modal-content-scroll {
  padding: 20px;
  max-height: 520px;
  overflow-y: auto;
}

/* Visitor Count Card */
.visitor-count-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.visitor-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(91, 107, 255, 0.15);
  color: var(--zohue-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.visitor-count-num {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.visitor-count-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Visitor Unlock Progress Area */
.unlock-status-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  transition: all var(--transition-normal);
}

.unlock-status-card.unlocked-state {
  border-color: rgba(65, 209, 199, 0.4);
  background: rgba(65, 209, 199, 0.05);
}

.lock-visual-box {
  font-size: 34px;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.unlock-status-card.unlocked-state .lock-visual-box {
  transform: scale(1.15) rotate(15deg);
}

.unlock-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.unlock-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 18px;
}

/* Progress bar inside card */
.unlock-progress-container {
  margin-bottom: 8px;
}

.unlock-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-color);
  overflow: hidden;
}

.unlock-progress-fill {
  height: 100%;
  width: 33.33%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--zohue-blue), var(--sky-blue));
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.unlock-status-card.unlocked-state .unlock-progress-fill {
  background: var(--aqua-green);
}

.unlock-progress-label {
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

.share-invite-sim-btn {
  width: 100%;
  background: var(--zohue-blue);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: 16px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.share-invite-sim-btn:hover {
  background: #4758F5;
}

.share-invite-sim-btn.completed {
  background: var(--aqua-green);
  cursor: default;
}

/* Visitor lists */
.recent-visitors-section {
  margin-top: 24px;
}

.recent-visitors-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.recent-visitors-title span.title-sub {
  font-weight: 400;
  font-size: 11px;
}

.visitor-list-box {
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.visitor-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  transition: filter 0.4s ease;
}

.visitor-row:last-child {
  border-bottom: none;
}

.visitor-row.blurred {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}

.visitor-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 12px;
}

.visitor-avatar.v1 { background: var(--coral-orange); }
.visitor-avatar.v2 { background: var(--warm-yellow); }
.visitor-avatar.v3 { background: var(--sky-blue); }

.visitor-details {
  flex: 1;
}

.visitor-name {
  font-size: 14px;
  font-weight: 600;
}

.visitor-username {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 1px;
}

.visitor-time {
  font-size: 11px;
  color: var(--text-secondary);
}

.visitor-explain-text {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 12px;
}

/* Privacy Page Specifics */
.privacy-body {
  padding-top: 120px !important;
  padding-bottom: 80px;
}

.privacy-content-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-soft);
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content-card h1 {
  font-size: 34px;
  margin-bottom: 12px;
  font-weight: 700;
  text-align: center;
}

.privacy-last-update {
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 40px;
}

.privacy-intro-box {
  background: rgba(91, 107, 255, 0.06);
  border-left: 4px solid var(--zohue-blue);
  padding: 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 30px;
}

.privacy-intro-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 0;
}

.privacy-section-block {
  margin-bottom: 30px;
}

.privacy-section-block h2 {
  font-size: 20px;
  margin-bottom: 14px;
  border-left: 3px solid var(--aqua-green);
  padding-left: 12px;
  font-weight: 600;
}

.privacy-section-block p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.privacy-section-block ul {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.privacy-section-block li {
  margin-bottom: 6px;
}

.privacy-footer-contact {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.privacy-footer-contact p {
  font-size: 13px;
  color: var(--text-secondary);
}

.privacy-footer-contact a {
  color: var(--zohue-blue);
  text-decoration: none;
  font-weight: 500;
}

/* Footer Section */
footer {
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  transition: background-color var(--transition-normal), border var(--transition-normal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  max-width: 400px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 60px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color var(--transition-fast);
}

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

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

.footer-bottom p {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--zohue-blue);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .floating-card-1 {
    left: 10px;
  }
  .floating-card-2 {
    right: 10px;
  }
  .origin-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .simulator-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .simulator-visual {
    order: -1;
  }
  .security-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
  .security-shield-visual {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  header {
    height: 70px;
  }
  .logo {
    font-size: 18px;
  }
  .logo img {
    height: 28px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-links a[href^="#"] {
    display: none;
  }
  .nav-links a:not([href^="#"]) {
    font-size: 13px;
  }
  .theme-switch {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }
  .logo-tag {
    display: none;
  }
  .logo {
    font-size: 17px;
    gap: 8px;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links a:not([href^="#"]) {
    font-size: 12px;
  }
  .theme-switch {
    width: 32px;
    height: 32px;
  }
  .theme-switch svg {
    width: 16px;
    height: 16px;
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .origin-card {
    padding: 30px 20px;
  }
  .origin-content h2 {
    font-size: 28px;
  }
  .security-card {
    padding: 30px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .privacy-content-card {
    padding: 30px 20px;
  }
  .privacy-content-card h1 {
    font-size: 24px;
    margin-bottom: 8px;
  }
}
