/* ==========================================================================
   MystTalk Official Website - Midnight Duet Design System
   Exact 1:1 Recreation of Authentic MystTalk iOS Native App Interface
   ========================================================================== */

/* --- Root Variables & Theme Tokens --- */
:root {
  /* Authentic iOS Dark Theme Colors */
  --bg-primary: #05071E;
  --bg-secondary: #0A0D2C;
  --bg-header: #070A24;
  --bg-card: #101438;
  --bg-card-hover: #171C4C;
  --bg-glass: rgba(10, 13, 44, 0.82);
  --bg-glass-strong: rgba(5, 7, 30, 0.94);
  --border-subtle: rgba(139, 108, 255, 0.18);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(139, 108, 255, 0.45);

  /* Brand Accents */
  --iris: #8B6CFF;
  --iris-light: #A78BFA;
  --iris-glow: rgba(139, 108, 255, 0.35);
  --vapor: #55D8F6;
  --vapor-glow: rgba(85, 216, 246, 0.35);
  --ember: #FF7A59;
  --ember-glow: rgba(255, 122, 89, 0.35);
  --gold-star: #FFD15C;
  --gold-glow: rgba(255, 209, 92, 0.4);
  --online-green: #22C55E;
  --decline-red: #EF4444;

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #9DA3C7;
  --text-muted: #656B96;
  --text-inverse: #05071E;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #8B6CFF 0%, #55D8F6 100%);
  --grad-accent: linear-gradient(135deg, #FF7A59 0%, #FFB057 100%);
  --grad-purple: linear-gradient(135deg, #8B6CFF 0%, #9F75FF 100%);
  --grad-progress: linear-gradient(90deg, #8B6CFF 0%, #FFB057 100%);

  /* Layout & Dimensions */
  --max-width: 1200px;
  --nav-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 12px 36px -8px rgba(0, 0, 0, 0.45);
}

/* Light Theme (Daylight Pearl) */
[data-theme="light"] {
  --bg-primary: #F8F4EE;
  --bg-secondary: #FFFFFF;
  --bg-header: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F2EDE4;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-strong: rgba(248, 244, 238, 0.95);
  --border-subtle: rgba(139, 108, 255, 0.14);
  --border-card: rgba(0, 0, 0, 0.08);
  --border-card-hover: rgba(139, 108, 255, 0.38);

  --text-primary: #11132B;
  --text-secondary: #525875;
  --text-muted: #858BA6;
  --text-inverse: #FFFFFF;

  --shadow-card: 0 12px 32px -6px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, "PingFang TC", "Microsoft JhengHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
}

/* Anti-FOUC (Flash of Untranslated Content) smooth entry - applies only to dynamic i18n pages */
html:not(.i18n-ready):not(.static-page) body {
  opacity: 0;
  visibility: hidden;
}

html.i18n-ready body,
html.static-page body {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.18s ease-out;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: var(--grad-primary);
  color: #05071E;
  box-shadow: 0 4px 20px var(--iris-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(85, 216, 246, 0.45);
}

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

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

.icon-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.icon-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--iris);
  transform: scale(1.05);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--iris-glow);
  object-fit: cover;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-normal);
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

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

/* Language Dropdown */
.lang-dropdown-wrapper {
  position: relative;
}

.lang-selector-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.lang-selector-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--iris);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 250px;
  max-height: 380px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card-hover);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-normal);
  z-index: 1100;
  padding: 6px;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
}

.lang-item:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.lang-item.active {
  background: var(--border-subtle);
  color: var(--iris);
  font-weight: 700;
}

.lang-flag {
  font-size: 1.15rem;
  margin-right: 8px;
}

.lang-item .check-icon {
  opacity: 0;
  color: var(--iris);
}

.lang-item.active .check-icon {
  opacity: 1;
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-card);
  z-index: 2000;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0,0,0,0.5);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  display: block;
  padding: 8px 0;
}

.mobile-drawer-link:hover {
  color: var(--iris);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  top: 10%;
  left: -150px;
  background: var(--iris);
}

.glow-2 {
  top: 25%;
  right: -150px;
  background: var(--vapor);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(139, 108, 255, 0.12);
  border: 1px solid var(--border-subtle);
  color: var(--iris);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-card);
}

.proof-card strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

/* ==========================================================================
   1:1 Authentic iPhone 16 Pro Mockup (iOS Pixel-Perfect)
   ========================================================================== */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 320px;
  height: 660px;
  background: #020310;
  border-radius: 50px;
  border: 3.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.85), 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 40px rgba(139, 108, 255, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.phone-mockup:hover {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.85), 0 30px 70px -12px rgba(0, 0, 0, 0.9), 0 0 50px rgba(85, 216, 246, 0.3);
}

/* iOS Top Status Bar & Dynamic Island */
.phone-top-bar {
  padding: 10px 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFFFFF;
  z-index: 101;
  position: relative;
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #000000;
  border-radius: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.08);
}

.island-camera {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #101628;
  border: 1px solid #1C2442;
}

/* Phone Screen Body */
.phone-screen {
  flex: 1;
  background: #060824;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Screen Header: Category Tabs & Vector SF Symbols */
.screen-header-discovery {
  padding: 8px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ios-category-tabs {
  display: flex;
  gap: 16px;
  align-items: center;
}

.ios-category-tab {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  cursor: pointer;
  padding-bottom: 6px;
}

.ios-category-tab.active {
  color: var(--text-primary);
}

.ios-category-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--iris);
  border-radius: 2px;
}

.screen-header-actions {
  display: flex;
  gap: 8px;
}

.ios-icon-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ios-icon-circle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--iris-light);
}

.ios-icon-circle-btn svg {
  stroke: currentColor;
}

/* Screen Scrollable Content */
.screen-content {
  flex: 1;
  padding: 8px 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Section 1: Spotlight (Exact iOS Visual) */
.ios-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ios-section-title-spotlight {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.02rem;
  font-weight: 800;
}

.ios-section-title-spotlight span:first-child {
  color: var(--iris-light);
}

.ios-spotlight-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-top: 2px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.ios-spotlight-carousel::-webkit-scrollbar {
  display: none;
}

.ios-spotlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 60px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ios-spotlight-item:hover {
  transform: translateY(-2px);
}

.ios-spotlight-circle-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  overflow: hidden;
}

.ios-spotlight-circle-wrap::before,
.ios-stream-avatar-wrap::before,
.ios-profile-avatar-large::before,
.ios-me-avatar-large::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(139,108,255,0.14) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 2s infinite ease-in-out;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

@keyframes skeletonShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.ios-spotlight-circle-wrap.feature-me {
  border: 1.5px dashed var(--iris);
  background: rgba(139, 108, 255, 0.08);
  color: var(--iris-light);
  font-size: 1.15rem;
}

.ios-spotlight-circle-wrap.feature-me::before {
  display: none;
}

.ios-plus-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--iris);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #060824;
  z-index: 2;
}

.ios-spotlight-circle-wrap.user {
  background: #141738;
}

.ios-spotlight-circle-wrap.user img,
.ios-stream-avatar-wrap img,
.ios-profile-avatar-large img,
.ios-me-avatar-large img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  display: block;
}

.ios-presence-dot {
  position: absolute;
  bottom: 1px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--online-green);
  border: 2px solid #060824;
  z-index: 3;
}

.ios-spotlight-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.ios-spotlight-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Section 2: People Stream (3-Column Native iOS Grid) */
.ios-boost-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px dashed var(--iris);
  background: rgba(139, 108, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ios-boost-btn:hover {
  background: rgba(139, 108, 255, 0.25);
  transform: scale(1.03);
}

.ios-stream-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.ios-stream-card {
  background: #0E1236;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 9px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 142px;
  position: relative;
}

.ios-stream-card:hover {
  border-color: var(--iris);
  background: #14194A;
  transform: translateY(-2px);
}

.ios-stream-avatar-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  overflow: hidden;
}

.ios-stream-name {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.ios-lang-badge {
  font-size: 0.55rem;
  padding: 1.5px 5px;
  border-radius: 4px;
  background: rgba(139, 108, 255, 0.18);
  color: var(--iris-light);
  font-weight: 700;
  line-height: 1;
}

.ios-stream-meta {
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1;
}

.ios-chat-pref-pill {
  font-size: 0.55rem;
  padding: 2.5px 6px;
  border-radius: var(--radius-full);
  background: rgba(85, 216, 246, 0.12);
  color: var(--vapor);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: auto;
}

/* ==========================================================================
   Screen 2: Profile Preview Sheet Layout (Screenshot 2 Ground-Truth)
   ========================================================================== */
.ios-profile-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 8px;
}

.ios-profile-shield-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
}

.ios-profile-close-btn {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.ios-profile-center-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.ios-profile-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  position: relative;
}

.ios-profile-avatar-large img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.ios-profile-presence-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--online-green);
  border: 2.5px solid #060824;
}

.ios-profile-name-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ios-profile-sub-line {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.ios-profile-badges-row {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.ios-badge-online {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(34, 197, 94, 0.12);
  color: var(--online-green);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ios-badge-featured {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--iris);
  color: #FFFFFF;
}

/* Profile Details Card */
.ios-profile-details-card {
  background: #0E1236;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ios-details-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ios-details-icon {
  font-size: 1rem;
  color: var(--iris-light);
  margin-top: 2px;
}

.ios-details-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ios-details-label {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.ios-details-val {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ios-details-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

/* Interests Section */
.ios-section-title-sm {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.ios-interests-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ios-interest-pill {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #11153E;
  border: 1px solid rgba(139, 108, 255, 0.2);
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 600;
}

/* About Box */
.ios-about-box {
  background: #0E1236;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* Full Width Bottom Action */
.ios-open-chat-btn {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-full);
  background: var(--iris);
  color: #FFFFFF;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 16px var(--iris-glow);
}

/* ==========================================================================
   Screen 3: Chats List & Chat Requests Sheet (Screenshot 3 Ground-Truth)
   ========================================================================== */
.ios-chats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 8px;
}

.ios-chats-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.ios-bell-wrap {
  position: relative;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
}

.ios-bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.55rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ios-chats-item-card {
  background: #0E1236;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ios-chats-item-info {
  flex: 1;
}

.ios-chats-item-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ios-chats-item-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Chat Requests Modal Bottom Sheet */
.ios-requests-sheet {
  background: #0A0E2E;
  border: 1px solid rgba(139, 108, 255, 0.25);
  border-radius: 20px 20px 0 0;
  padding: 8px 14px 14px;
  margin-top: auto;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.5);
}

.ios-sheet-handle {
  width: 32px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 10px;
}

.ios-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ios-sheet-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.ios-sheet-done-btn {
  color: var(--iris-light);
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}

.ios-sheet-content-box {
  background: #0E1238;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ios-request-user-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ios-request-user-info {
  flex: 1;
}

.ios-request-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ios-request-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.ios-request-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.ios-req-accept-btn {
  flex: 1;
  padding: 8px;
  border-radius: var(--radius-full);
  background: var(--iris);
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
}

.ios-req-decline-btn {
  flex: 1;
  padding: 8px;
  border-radius: var(--radius-full);
  background: #141738;
  color: var(--decline-red);
  border: 1px solid rgba(239, 68, 68, 0.2);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
}

/* ==========================================================================
   Screen 4: 1-on-1 Chat Conversation Room (Screenshot 4 Ground-Truth)
   ========================================================================== */
.ios-room-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ios-room-back-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
}

.ios-room-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.ios-room-peer-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px 12px;
}

.ios-room-peer-name {
  font-size: 0.88rem;
  font-weight: 700;
}

.ios-room-peer-status {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.ios-chat-date-divider {
  align-self: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.65rem;
  margin: 4px 0 10px;
}

.ios-bubble-outgoing {
  align-self: flex-end;
  background: #9D77FE;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.8rem;
  max-width: 78%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ios-bubble-incoming {
  align-self: flex-start;
  background: #12163A;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.8rem;
  max-width: 78%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ios-bubble-time {
  font-size: 0.6rem;
  opacity: 0.7;
  align-self: flex-end;
}

.ios-composer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}

.ios-composer-input-wrap {
  flex: 1;
  background: #0E1236;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ios-composer-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.78rem;
  outline: none;
}

.ios-mic-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ios-mic-btn.listening {
  color: var(--ember);
  animation: micPulse 1.2s infinite ease-in-out;
}

.ios-send-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #141842;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--iris-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ==========================================================================
   Screen 5: Me / Vitality & Exposure Layout (Screenshot 5 Ground-Truth)
   ========================================================================== */
.ios-me-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 4px;
}

.ios-me-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
}

.ios-me-avatar-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.ios-me-avatar-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  position: relative;
}

.ios-me-avatar-large img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.ios-camera-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--iris);
  color: #FFFFFF;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #060824;
}

.ios-me-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.ios-me-age {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ios-pencil-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--iris);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--iris-glow);
}

/* Complete Profile Banner */
.ios-complete-profile-card {
  background: #0E1236;
  border: 1px solid rgba(139, 108, 255, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ios-complete-profile-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ios-complete-profile-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Social Vitality & Exposure Card (Flame Icon) */
.ios-vitality-card {
  background: #0E1238;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ios-vitality-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ios-vitality-unlock-pill {
  background: rgba(139, 108, 255, 0.15);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.65rem;
  color: var(--iris-light);
  font-weight: 600;
}

.ios-vitality-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ios-vitality-bar-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.ios-progress-track {
  width: 100%;
  height: 6px;
  background: #181D4E;
  border-radius: 3px;
  overflow: hidden;
}

.ios-progress-fill {
  width: 30%;
  height: 100%;
  background: var(--grad-progress);
  border-radius: 3px;
}

.ios-karma-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 4px;
}

.ios-karma-score {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ios-karma-boost-pill {
  background: rgba(139, 108, 255, 0.18);
  color: var(--iris-light);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.62rem;
  font-weight: 700;
}

/* Floating Bottom Tabbar */
.phone-tabbar {
  height: 54px;
  background: #0A0D2C;
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 0.64rem;
  font-weight: 600;
  cursor: pointer;
}

.phone-tab-item.active {
  color: var(--iris-light);
}

/* ==========================================================================
   Features Section (6 Deep-Dive Cards)
   ========================================================================== */
.features-section {
  padding: 100px 0;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--iris);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-card);
}

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

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(139, 108, 255, 0.12);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--iris);
}

.feature-card:nth-child(2) .feature-icon-box { color: var(--gold-star); background: rgba(255, 209, 92, 0.12); border-color: rgba(255, 209, 92, 0.25); }
.feature-card:nth-child(3) .feature-icon-box { color: var(--ember); background: rgba(255, 122, 89, 0.12); border-color: rgba(255, 122, 89, 0.25); }
.feature-card:nth-child(4) .feature-icon-box { color: var(--vapor); background: rgba(85, 216, 246, 0.12); border-color: rgba(85, 216, 246, 0.25); }
.feature-card:nth-child(5) .feature-icon-box { color: var(--online-green); background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.25); }
.feature-card:nth-child(6) .feature-icon-box { color: var(--iris); background: rgba(139, 108, 255, 0.12); border-color: var(--border-subtle); }

.feature-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-card);
  padding-top: 20px;
}

.feature-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.feature-points li svg {
  color: var(--vapor);
  flex-shrink: 0;
}

/* ==========================================================================
   Interactive Preview Section (5 Modules Tabs)
   ========================================================================== */
.interactive-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.interactive-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

/* Timeline Flow Connection Line */
.interactive-tabs-nav::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 42px;
  width: 2px;
  background: linear-gradient(180deg, rgba(139,108,255,0.4) 0%, rgba(85,216,246,0.4) 100%);
  z-index: 0;
  border-radius: 2px;
}

.mockup-tab-btn {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.mockup-tab-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateX(4px);
}

.mockup-tab-btn.active {
  background: var(--bg-card-hover);
  border-color: var(--iris);
  box-shadow: 0 0 24px var(--iris-glow);
  transform: translateX(4px);
}

/* Auto-tour progress bar indicator on active tab */
.tab-progress-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mockup-tab-btn.auto-progress .tab-progress-line {
  opacity: 1;
  width: 100%;
  transition: width 4.5s linear;
}

.tab-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(139, 108, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--iris);
  flex-shrink: 0;
  border: 1px solid rgba(139, 108, 255, 0.3);
  position: relative;
  transition: all 0.25s ease;
}

.mockup-tab-btn.active .tab-icon-wrap {
  background: var(--iris);
  color: #FFFFFF;
  border-color: var(--iris-light);
  box-shadow: 0 0 16px var(--iris-glow);
}

.tab-text-wrap h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-step-tag {
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-weight: 600;
}

.mockup-tab-btn.active .tab-step-tag {
  background: rgba(139, 108, 255, 0.25);
  color: var(--vapor);
}

.tab-text-wrap p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Dynamic Interactive Pulse Cues & Hotspot Badges */
.interactive-cue-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #05071E;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px var(--vapor-glow);
  animation: cuePulse 2s infinite ease-in-out;
  z-index: 30;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
  max-width: 95%;
  letter-spacing: -0.01em;
}

@keyframes cuePulse {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(-3px) scale(1.05); box-shadow: 0 6px 18px rgba(85,216,246,0.6); }
}

.ios-stream-card.highlight-interactive {
  border-color: var(--iris) !important;
  box-shadow: 0 0 20px var(--iris-glow);
  animation: cardHighlightPulse 2.5s infinite ease-in-out;
}

@keyframes cardHighlightPulse {
  0%, 100% { box-shadow: 0 0 12px var(--iris-glow); }
  50% { box-shadow: 0 0 24px rgba(139, 108, 255, 0.6); }
}

.mockup-screen-view {
  display: none;
  flex-direction: column;
  height: 100%;
  animation: viewSlideFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes viewSlideFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mockup-screen-view.active {
  display: flex;
}

.ios-mic-btn.listening {
  background: var(--ember) !important;
  color: #FFFFFF !important;
  animation: micPulsate 0.8s infinite alternate ease-in-out;
}

@keyframes micPulsate {
  from { transform: scale(1); box-shadow: 0 0 6px var(--ember-glow); }
  to { transform: scale(1.15); box-shadow: 0 0 18px var(--ember); }
}

/* ==========================================================================
   Feedback Center
   ========================================================================== */
.feedback-section {
  padding: 100px 0;
  position: relative;
}

.feedback-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: start;
}

.feedback-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-normal);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--iris);
  box-shadow: 0 0 0 3px rgba(139, 108, 255, 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.star-rating-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.star-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 2px 4px;
  color: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, color 0.15s ease, text-shadow 0.15s ease;
}

.star-btn:hover {
  transform: scale(1.25);
}

.star-btn.active,
.star-btn.hovered {
  color: var(--gold-star);
  text-shadow: 0 0 12px rgba(255, 209, 92, 0.4);
}

/* When the rating box is being hovered, any star that is NOT .hovered should dim, even if it had .active */
.star-rating-box.is-hovering .star-btn:not(.hovered) {
  color: rgba(255, 255, 255, 0.18);
  text-shadow: none;
}

.star-btn:focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.feedback-dropzone {
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  background: rgba(139, 108, 255, 0.04);
  transition: all var(--transition-normal);
}

.feedback-dropzone:hover, .feedback-dropzone.dragover {
  border-color: var(--iris);
  background: rgba(139, 108, 255, 0.08);
}

.dropzone-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.dropzone-prompt svg {
  color: var(--iris);
}

.dropzone-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.attachment-preview {
  display: none;
  position: relative;
  margin-top: 12px;
}

.attachment-preview img {
  max-height: 160px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
}

.remove-attach-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--ember);
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.75rem;
}

/* Feedback Success Card */
.feedback-success-card {
  display: none;
  text-align: center;
  padding: 48px 32px;
}

.success-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: var(--online-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.ticket-display-box {
  background: var(--bg-secondary);
  border: 1px dashed var(--iris);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 32px;
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vapor);
}

/* Sidebar History Card */
.history-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.history-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-card);
}

.history-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.clear-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
}

.clear-btn:hover {
  color: var(--ember);
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
}

.history-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 32px 0;
}

.history-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.history-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.history-ticket-badge {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--vapor);
  font-weight: 700;
}

.history-status-badge {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--online-green);
}

.history-item-subject {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.history-item-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.history-stars {
  color: var(--gold-star);
}

/* ==========================================================================
   Safety & Guidelines Section
   ========================================================================== */
.safety-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

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

.safety-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.safety-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 122, 89, 0.12);
  color: var(--ember);
  display: flex;
  align-items: center;
  justify-content: center;
}

.safety-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.safety-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 100px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--border-card-hover);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.28s ease;
  color: var(--iris);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Bottom CTA Section
   ========================================================================== */
.cta-section {
  padding: 80px 0 100px;
  position: relative;
}

.cta-box {
  background: radial-gradient(circle at center, #1B1E54 0%, #0D1038 100%);
  border: 1px solid var(--border-card-hover);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
  box-shadow: 0 0 50px -10px var(--iris-glow);
}

.cta-box h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-req-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #030414;
  border-top: 1px solid var(--border-card);
  padding: 64px 0 32px;
}

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

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.adult-warning-badge {
  background: rgba(255, 122, 89, 0.15);
  color: var(--ember);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Language Modal */
.lang-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 30, 0.85);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

.lang-modal.open {
  opacity: 1;
  visibility: visible;
}

.lang-modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card-hover);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.lang-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-card);
}

.lang-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 400px;
  overflow-y: auto;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .hero-proof-grid {
    width: 100%;
    max-width: 600px;
  }

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

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

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-title {
    font-size: 2.4rem;
  }

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

  .feedback-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .lang-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Privacy Policy Dedicated Page Styles
   ========================================================================== */

.privacy-hero {
  padding: calc(var(--nav-height) + 40px) 0 40px;
  text-align: center;
  position: relative;
}

.privacy-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 108, 255, 0.18) 0%, rgba(85, 216, 246, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.privacy-hero .container {
  position: relative;
  z-index: 1;
}

.privacy-badge-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(139, 108, 255, 0.12);
  color: var(--iris-light);
  border: 1px solid var(--border-subtle);
  letter-spacing: 0.5px;
}

.privacy-date-badge {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.privacy-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFFFFF 30%, #9DA3C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .privacy-title {
  background: linear-gradient(135deg, #11132B 30%, #525875 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.privacy-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* Highlights Grid */
.privacy-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  text-align: left;
  transition: var(--transition-normal);
}

.highlight-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(139, 108, 255, 0.15);
}

.highlight-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: inline-block;
}

.highlight-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.highlight-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Main Privacy Layout: TOC + Content */
.privacy-main-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 80px;
}

/* Sticky TOC Sidebar */
.privacy-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  max-height: calc(100vh - var(--nav-height) - 48px);
  overflow-y: auto;
}

.privacy-sidebar::-webkit-scrollbar {
  width: 4px;
}

.privacy-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}

.sidebar-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--iris-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-nav-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  border-left: 2px solid transparent;
}

.toc-nav-link:hover {
  color: var(--text-primary);
  background: rgba(139, 108, 255, 0.08);
  border-left-color: var(--iris);
}

.toc-nav-link.active {
  color: var(--iris-light);
  background: rgba(139, 108, 255, 0.12);
  border-left-color: var(--iris);
  font-weight: 600;
}

/* Privacy Article Content */
.privacy-article {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-card);
}

.privacy-section-block {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-card);
  scroll-margin-top: calc(var(--nav-height) + 30px);
}

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

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

.section-badge-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -2px var(--iris-glow);
}

.section-heading-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.privacy-body-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
}

.privacy-body-text p {
  margin-bottom: 18px;
}

.privacy-body-text p:last-child {
  margin-bottom: 0;
}

.privacy-body-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.privacy-body-text a {
  color: var(--iris-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition-normal);
}

.privacy-body-text a:hover {
  color: var(--vapor);
}

.privacy-body-text ul,
.privacy-body-text ol {
  margin: 16px 0 20px 24px;
}

.privacy-body-text li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.privacy-body-text li:last-child {
  margin-bottom: 0;
}

/* Contact Card Inside Policy */
.contact-card {
  background: rgba(139, 108, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  margin-top: 24px;
}

.contact-card p {
  margin-bottom: 8px !important;
}

.contact-card p:last-child {
  margin-bottom: 0 !important;
}

/* Privacy Navigation Bar Action Buttons */
.privacy-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition-normal);
}

.btn-nav-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-card-hover);
  background: rgba(255, 255, 255, 0.05);
}

/* Responsive Styles for Privacy Page */
@media (max-width: 1024px) {
  .privacy-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-main-layout {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

  .privacy-article {
    padding: 36px 28px;
  }
}

@media (max-width: 768px) {
  .privacy-title {
    font-size: 2.1rem;
  }

  .privacy-highlights {
    grid-template-columns: 1fr;
  }

  .privacy-main-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .privacy-sidebar {
    position: relative;
    top: 0;
    max-height: none;
  }

  .privacy-article {
    padding: 28px 20px;
  }

  .section-heading-text {
    font-size: 1.2rem;
  }
}

