/* ==========================================================================
   HostifyOS - Global Digital Guest Guidebook & Upsell Portal
   Design System & Modern Obsidian Dark Theme Engine
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-obsidian: #090D14;
  --bg-card: #131924;
  --bg-card-hover: #1A2232;
  --bg-input: #1C2536;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(16, 185, 129, 0.4);
  
  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  --accent-indigo: #6366F1;
  --accent-amber: #F59E0B;
  --accent-blue: #3B82F6;
  
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #64748B;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Depth */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.25);
  
  /* Radius & Grid */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* Light Mode Theme Overrides ("Açık Ekran") */
body.theme-light {
  --bg-obsidian: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-input: #F1F5F9;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-active: rgba(16, 185, 129, 0.4);
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.theme-light .top-nav {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .brand-name {
  color: #0F172A;
}

body.theme-light .center-nav-links {
  background: #F1F5F9;
  border-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .nav-link {
  color: #475569;
}

body.theme-light .nav-link:hover:not(.active) {
  color: #0F172A;
  background: rgba(0, 0, 0, 0.05);
}

body.theme-light .nav-link.active {
  background: var(--accent-emerald);
  color: #FFFFFF;
}

body.theme-light .panel-card,
body.theme-light .metric-card,
body.theme-light .f-card,
body.theme-light .pricing-card,
body.theme-light .roi-calc-wrapper,
body.theme-light .tunnel-card,
body.theme-light .spot-card,
body.theme-light .service-card,
body.theme-light .modal-card,
body.theme-light .auth-card,
body.theme-light .commission-aggregator-card,
body.theme-light .c-metric-card,
body.theme-light .settings-card,
body.theme-light .host-quick-overview-bar {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: #0F172A !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

body.theme-light .data-table th {
  background: #F8FAFC !important;
  color: #475569 !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

body.theme-light .data-table td {
  border-bottom-color: rgba(0, 0, 0, 0.05) !important;
  color: #0F172A !important;
}

body.theme-light .data-table tr:hover {
  background: #F8FAFC !important;
}

body.theme-light input,
body.theme-light select {
  background: #F8FAFC !important;
  color: #0F172A !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}

body.theme-light .theme-toggle-btn {
  background: #F1F5F9;
  color: #0F172A;
  border-color: rgba(0, 0, 0, 0.1);
}

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

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

button, select, input {
  font-family: inherit;
  font-size: 14px;
}

/* Top Navigation Bar */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-indigo));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}


.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #10B981 0%, #3B82F6 55%, #6366F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: -0.02em;
}

body.theme-light .brand-name {
  background: linear-gradient(135deg, #059669 0%, #2563EB 55%, #4F46E5 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.theme-light .landing-footer span,
body.theme-light .landing-footer p,
body.theme-light .landing-footer a {
  color: #0F172A !important;
}

body.theme-light .landing-footer {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}


.text-accent {
  color: var(--accent-emerald);
}


.badge-tag {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(99, 102, 241, 0.2);
  color: var(--accent-indigo);
  border-radius: var(--radius-full);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Center Navigation Links & Mode Switcher */
.center-nav-links {
  display: flex;
  background: var(--bg-card);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  gap: 2px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-link svg {
  width: 15px;
  height: 15px;
}

.nav-link:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  background: var(--accent-emerald);
  color: #090D14;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
}

/* Nav Right Actions & Property Selector */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.property-nav-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--accent-emerald);
  font-weight: 600;
  font-size: 12px;
  transition: all 0.2s ease;
}

.property-nav-selector svg {
  width: 15px;
  height: 15px;
  color: var(--accent-emerald);
}

.property-nav-selector select {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 12px;
  outline: none;
  cursor: pointer;
  max-width: 200px;
}

.currency-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.currency-selector svg {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
}

.currency-selector select {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 12px;
  outline: none;
  cursor: pointer;
}

/* Custom Multi-Language Dropdown Widget */
.custom-lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-trigger-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-trigger-btn:hover {
  border-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
}

.lang-trigger-btn .flag-icon {
  font-size: 15px;
  line-height: 1;
}

.lang-trigger-btn .chevron-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.custom-lang-dropdown.open .lang-trigger-btn .chevron-icon {
  transform: rotate(180deg);
}

.lang-menu-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  background: #090D14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  padding: 6px;
  z-index: 1000;
  backdrop-filter: blur(16px);
}

body.theme-light .lang-menu-panel {
  background: #FFFFFF !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
}

.custom-lang-dropdown.open .lang-menu-panel {
  display: block;
  animation: fadeInDown 0.15s ease-out;
}

.lang-menu-header {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 6px 10px 4px 10px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}

.lang-option-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-option-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.theme-light .lang-option-item:hover {
  background: rgba(0, 0, 0, 0.04) !important;
}

.lang-option-item.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  font-weight: 700;
}

.lang-option-item .flag {
  font-size: 16px;
}

.lang-option-item .name {
  flex: 1;
  font-size: 13px;
}

.lang-option-item .currency-tag {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-muted);
}

/* Explicit Dropdown Option Styling for Dark & Light Mode Visibility */
select option {
  background-color: #090D14 !important;
  color: #F8FAFC !important;
  padding: 8px 12px;
}

body.theme-light select option {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}



/* App Main Layout */
.app-main {
  max-width: 1280px;
  margin: 24px auto;
  padding: 0 16px;
}

.view-section {
  display: none;
}

.view-section.active {
  display: block;
}

/* ==========================================================================
   1. GUEST VIEW (MOBILE FRAME SIMULATION)
   ========================================================================== */
.guest-wrapper {
  display: flex;
  justify-content: center;
  padding: 16px 0 48px;
}

.mobile-frame {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 36px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.mobile-notch {
  width: 120px;
  height: 20px;
  background: var(--bg-obsidian);
  border-radius: 0 0 16px 16px;
  margin: -16px auto 16px;
}

/* Hero Card Header - Enforced High-Contrast for Light & Dark Mode */
.hero-card,
body.theme-light .hero-card {
  position: relative;
  height: 200px;
  border-radius: var(--radius-md);
  background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=800&q=80');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.hero-overlay,
body.theme-light .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 20, 0.4) 0%, rgba(9, 13, 20, 0.92) 100%) !important;
}

.hero-content,
body.theme-light .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #FFFFFF !important;
}

.welcome-pill,
body.theme-light .welcome-pill {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-weight: 700 !important;
  color: #34D399 !important;
  background: rgba(16, 185, 129, 0.25) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  padding: 4px 10px !important;
  border-radius: var(--radius-full) !important;
  display: inline-block !important;
  margin-bottom: 6px !important;
  backdrop-filter: blur(4px) !important;
}

.hero-content .badge-tag,
body.theme-light .hero-content .badge-tag {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #60A5FA !important;
  background: rgba(59, 130, 246, 0.25) !important;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
  padding: 4px 10px !important;
  border-radius: var(--radius-full) !important;
  backdrop-filter: blur(4px) !important;
}

.hero-content h1,
body.theme-light .hero-content h1,
body.theme-light #prop-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  line-height: 1.3 !important;
  margin-bottom: 4px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.hero-content p,
body.theme-light .hero-content p,
body.theme-light #prop-address {
  font-size: 13px !important;
  color: #E2E8F0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-bottom: 10px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
}

.hero-content p svg,
#prop-address svg {
  color: #34D399 !important;
}

.stay-meta-bar,
body.theme-light .stay-meta-bar {
  display: flex !important;
  gap: 14px !important;
  background: rgba(15, 23, 42, 0.7) !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.meta-item,
body.theme-light .meta-item,
.meta-item span,
body.theme-light .meta-item span {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #F8FAFC !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.meta-item svg {
  width: 14px !important;
  height: 14px !important;
  color: #34D399 !important;
}


/* Quick Action Grid */
.quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.action-card {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.action-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon.amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
}

.card-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.card-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-icon-copy, .btn-reveal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.btn-icon-copy:hover, .btn-reveal:hover {
  color: var(--accent-emerald);
}

/* Guest Navigation Tabs */
.guest-tabs {
  display: flex;
  background: var(--bg-obsidian);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid var(--border-subtle);
}

.g-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 600;
  background: transparent;
  border: none;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.g-tab svg {
  width: 14px;
  height: 14px;
}

.g-tab.active {
  background: var(--bg-card);
  color: var(--accent-emerald);
  box-shadow: var(--shadow-sm);
}

.badge-count {
  background: var(--accent-emerald);
  color: #090D14;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* Guest & Host Tab Contents */
.g-tab-content,
.h-tab-content {
  display: none;
}

.g-tab-content.active,
.h-tab-content.active {
  display: block;
}


.section-block {
  margin-bottom: 20px;
}

.section-title {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.section-title svg {
  width: 16px;
  height: 16px;
  color: var(--accent-emerald);
}

.section-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Video Cards horizontal scroll */
.video-guides-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.video-card {
  min-width: 160px;
  background: var(--bg-obsidian);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.video-card:hover {
  border-color: var(--border-active);
}

.thumb-container {
  position: relative;
  height: 95px;
}

.thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s ease;
}

.play-overlay svg {
  width: 32px;
  height: 32px;
  color: var(--accent-emerald);
}

.video-card:hover .play-overlay {
  transform: scale(1.1);
}

.v-info {
  padding: 8px;
}

.v-info h4 {
  font-size: 12px;
  margin-bottom: 2px;
}

.v-info span {
  font-size: 10px;
  color: var(--text-muted);
}

/* Rules Accordion */
.rules-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rule-item {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.rule-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.rule-item strong {
  font-size: 12px;
  display: block;
  margin-bottom: 2px;
}

.rule-item p {
  font-size: 11px;
  color: var(--text-muted);
}

/* Store & Concierge Services Grid */
.store-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.btn-cart-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-details h4 {
  font-size: 13px;
  margin-bottom: 2px;
}

.service-details p {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.service-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-emerald);
}

.btn-add-service {
  background: var(--accent-emerald);
  color: #090D14;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.btn-add-service:hover {
  transform: scale(1.05);
}

/* Local Guide Chips & Spot Cards */
.local-category-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 12px;
  padding-bottom: 4px;
}

.chip {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}

.chip.active {
  background: var(--accent-indigo);
  color: #fff;
  border-color: var(--accent-indigo);
}

.local-spots-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spot-card {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.spot-card img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.spot-info h4 {
  font-size: 12px;
}

.spot-info p {
  font-size: 11px;
  color: var(--text-muted);
}

/* Guest Footer */
.guest-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.btn-whatsapp-host {
  width: 100%;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 12px;
}

.powered-by {
  font-size: 10px;
  color: var(--text-muted);
}

/* ==========================================================================
   2. HOST PORTAL DASHBOARD
   ========================================================================== */
.host-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 0 64px;
}

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

.host-title {
  font-size: 28px;
  margin-bottom: 4px;
}

.host-sub {
  color: var(--text-muted);
  font-size: 14px;
}

.host-header-actions {
  display: flex;
  gap: 12px;
}

/* Metrics Overview Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.m-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.icon-indigo { background: rgba(99, 102, 241, 0.15); color: var(--accent-indigo); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }

.m-data {
  display: flex;
  flex-direction: column;
}

.m-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.m-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.m-trend {
  font-size: 11px;
  font-weight: 600;
}

.m-trend.positive { color: var(--accent-emerald); }

.m-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Host Tabs Navigation */
.host-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.h-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  padding: 10px 16px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.h-tab.active {
  color: var(--accent-emerald);
  border-bottom-color: var(--accent-emerald);
}

/* Panel Card Container */
.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.panel-header {
  margin-bottom: 16px;
}

/* Data Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

.data-table th, .data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
}

.data-table th {
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
}

/* Stripe Connect Banner & Settings */
.stripe-connect-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(16, 185, 129, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.stripe-text h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

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

.btn-stripe-dashboard {
  background: var(--accent-indigo);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.settings-card {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.settings-card h4 {
  font-size: 14px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
}

/* Printable QR Stand Generator */
.qr-gen-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.qr-preview-box {
  background: #fff;
  color: #090D14;
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.stand-card h2 {
  font-size: 14px;
  color: #64748B;
  text-transform: uppercase;
}

.stand-card h1 {
  font-size: 20px;
  color: #090D14;
  margin-bottom: 16px;
}

.stand-qr-frame {
  margin: 0 auto 16px;
  width: 180px;
  height: 180px;
  border: 2px dashed #CBD5E1;
  padding: 8px;
  border-radius: 8px;
}

.stand-qr-frame img {
  width: 100%;
  height: 100%;
}

.stand-instruction {
  font-size: 11px;
  color: #475569;
  margin-bottom: 16px;
}

.stand-footer {
  font-size: 9px;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 700;
}

/* Modal System */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 13, 20, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 24px;
  position: relative;
}

.modal-card.modal-lg {
  max-width: 760px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

/* Checkout Grid */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.checkout-summary {
  background: var(--bg-obsidian);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
  max-height: 180px;
  overflow-y: auto;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border-subtle);
}

.cart-total-box {
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 4px;
}

.main-total {
  font-size: 16px;
  margin-top: 8px;
}

.express-pay-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.btn-apple-pay {
  background: #000;
  color: #fff;
  border: 1px solid var(--border-subtle);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-google-pay {
  background: #fff;
  color: #000;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}

.divider-text {
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 12px 0;
  position: relative;
}

/* Forms */
.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-group input, .form-group select {
  width: 100%;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  outline: none;
}

.form-group input:focus {
  border-color: var(--accent-emerald);
}

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

/* Buttons */
.btn-primary {
  background: var(--accent-emerald);
  color: #090D14;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-primary-sm {
  background: var(--accent-emerald);
  color: #090D14;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-primary-lg {
  width: 100%;
  background: var(--accent-emerald);
  color: #090D14;
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  cursor: pointer;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-pay-now {
  width: 100%;
  background: var(--accent-emerald);
  color: #090D14;
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

/* Toast Bar */
.toast-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  background: var(--accent-emerald);
  color: #090D14;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-bar.active {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 12px;
  }

  .qr-gen-wrapper, .checkout-grid, .payment-settings-grid {
    grid-template-columns: 1fr;
  }
}

/* Multi-Property Portfolio Styling */
.property-nav-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.property-nav-selector svg {
  width: 16px;
  height: 16px;
  color: var(--accent-emerald);
}

.property-nav-selector select {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  max-width: 220px;
}

.link-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-indigo);
  font-family: monospace;
  font-size: 11px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.1);
  transition: background 0.15s ease;
}

.link-copy:hover {
  background: rgba(99, 102, 241, 0.25);
}

/* Guest Tunnels & Funnel Automation Styling */
.tunnels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.tunnel-card {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tunnel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tunnel-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tunnel-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.status-active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

.status-paused {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
}

.tunnel-stats-row {
  display: flex;
  justify-content: space-between;
  background: var(--bg-card);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
}

.t-stat {
  display: flex;
  flex-direction: column;
}

.t-stat span {
  color: var(--text-muted);
}

.tunnel-metrics-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.m-sub-box {
  display: flex;
  flex-direction: column;
  font-size: 10px;
}

.m-sub-box span {
  color: var(--text-muted);
}

.m-sub-box strong {
  font-size: 13px;
}

.tunnel-steps-pipeline {
  font-size: 11px;
}

.pipeline-title {
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.pipeline-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.p-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 10px;
}

.p-step span {
  color: var(--accent-emerald);
  font-weight: 800;
}

.arrow-step {
  width: 12px;
  height: 12px;
  color: var(--text-muted);
}

.tunnel-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.btn-secondary-sm {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   B2B SAAS LANDING PAGE & PRICING STYLING
   ========================================================================== */
.landing-hero {
  text-align: center;
  max-width: 900px;
  margin: 40px auto 60px;
  padding: 0 16px;
}

.hero-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent-emerald), #059669);
  color: #090D14;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-glow);
  transition: transform 0.15s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-stats-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 16px 32px;
  border-radius: var(--radius-lg);
}

.h-stat-item {
  display: flex;
  flex-direction: column;
}

.h-stat-item strong {
  font-size: 22px;
  color: var(--text-primary);
}

.h-stat-item span {
  font-size: 11px;
  color: var(--text-muted);
}

.h-stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
}

/* Landing Section Helper */
.landing-section {
  max-width: 1140px;
  margin: 0 auto 80px;
  padding: 0 16px;
}

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

.section-center-head h2 {
  font-size: 30px;
  margin: 8px 0;
}

.section-center-head p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ROI Calculator Widget */
.roi-calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.calc-header {
  margin-bottom: 24px;
}

.calc-header h3 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.calc-header p {
  font-size: 13px;
  color: var(--text-muted);
}

.calc-slider-box {
  margin-bottom: 24px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
}

.slider-label-row strong {
  color: var(--accent-emerald);
  font-size: 18px;
}

.roi-slider {
  width: 100%;
  accent-color: var(--accent-emerald);
  height: 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-res-card {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.res-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.res-val {
  font-size: 28px;
  font-weight: 800;

}

.res-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Landing Features Grid */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

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

.f-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-card h3 {
  font-size: 16px;
}

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

/* Pricing Section Styling */
.billing-toggle-box {
  display: inline-flex;
  background: var(--bg-card);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  margin-top: 16px;
}

.b-toggle {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.b-toggle.active {
  background: var(--bg-obsidian);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.badge-save {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-glow);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-emerald);
  color: #090D14;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.p-tier-name {
  font-size: 20px;
  font-weight: 800;
  display: block;
}

.p-tier-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.p-price-box {
  margin: 20px 0 24px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.p-price {
  font-size: 38px;
  font-weight: 900;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.p-period {
  font-size: 12px;
  color: var(--text-muted);
}

.p-features-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;

}

.p-features-list li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.p-features-list li.fee-note {
  font-size: 11px;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.1);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.btn-tier-action {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  cursor: pointer;
  border: none;
  font-size: 14px;
}

.btn-tier-action.primary {
  background: var(--accent-emerald);
  color: #090D14;
}

.btn-tier-action.secondary {
  background: var(--bg-obsidian);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.t-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.t-card p {
  font-style: italic;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-author img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.t-author strong {
  font-size: 13px;
  display: block;
}

.t-author span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Landing Bottom CTA */
.landing-bottom-cta {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.landing-bottom-cta h2 {
  font-size: 28px;
}

.landing-bottom-cta p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Host OS Quick Overview Control Bar */
.host-quick-overview-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.h-overview-info h2 {
  font-size: 20px;
  margin: 4px 0 6px;
}

.h-overview-info p {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.h-overview-info p svg {
  width: 14px;
  height: 14px;
  color: var(--accent-emerald);
}

.btn-edit-inline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-edit-inline:hover {
  color: var(--accent-emerald);
  border-color: var(--border-active);
}

.h-overview-actions {
  display: flex;
  gap: 10px;
}

/* Trial Status Control Banner */
.trial-status-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.trial-status-bar.active-trial {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.04);
}

.trial-status-bar.cancelled-trial {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.04);
}

.t-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-banner-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-cancel-sub {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #EF4444;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-cancel-sub:hover {
  background: rgba(239, 68, 68, 0.2);
}

.btn-test-expiry, .btn-test-lock {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-test-expiry:hover, .btn-test-lock:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* Host Login Gate Screen */
.auth-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.auth-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.auth-card h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.auth-card p {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 24px;
}

.auth-divider {
  margin: 20px 0;
  position: relative;
  text-align: center;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-subtle);
}

.auth-divider span {
  position: relative;
  background: var(--bg-card);
  padding: 0 12px;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.btn-secondary-lg {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* System Locked Overlay Screen */
.locked-overlay-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.locked-card {
  background: var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.locked-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.locked-reason-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 20px 0 24px;
  text-align: left;
}

.trial-guarantee-note {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 11px;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

/* Commission Aggregator Banner Styling */
.commission-aggregator-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

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

.comm-header h3 {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comm-header p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.comm-header-actions {
  display: flex;
  gap: 10px;
}

.comm-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.c-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.c-metric-card span {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.c-metric-card strong {
  font-size: 24px;
  font-family: 'Outfit', sans-serif;
  margin: 6px 0 2px;
}

.c-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.c-metric-card.highlight-emerald {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.03);
}

.c-metric-card.highlight-amber {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.03);
}

/* Fail-Safe Pointer Events Fix for Tab Buttons */
.h-tab *, .g-tab *, .toggle-btn * {
  pointer-events: none !important;
}

.h-tab, .g-tab, .toggle-btn {
  cursor: pointer !important;
  user-select: none;
}

/* Auth Role Switcher (Host vs Super Admin) */
.auth-role-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 20px;
  gap: 4px;
}

.auth-role-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-role-btn.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.auth-role-btn:hover:not(.active) {
  color: var(--text-secondary);
}

/* User Pill Badge & Top Nav Session Styling */
.user-pill-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-pill-badge.admin {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--accent-amber);
}

/* Theme Toggle Button (Light/Dark Mode) */
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
}

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

/* ==========================================================================
   SALES FUNNEL ARCHITECTURE STYLING
   ========================================================================== */
.funnel-quiz-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.quiz-header {
  text-align: center;
  margin-bottom: 28px;
}

.quiz-header h2 {
  font-size: 26px;
  margin: 10px 0 6px;
}

.quiz-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.quiz-step h4 {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.quiz-opt-btn {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.quiz-opt-btn:hover {
  border-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
  transform: translateY(-2px);
}

.quiz-result-box {
  text-align: center;
  padding: 24px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
}

.q-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 10px;
}

.quiz-result-box h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.quiz-result-box p {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 20px;
}

/* Agitation Comparison Grid (Before vs After) */
.agitation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.agit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.agit-card.before {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.02);
}

.agit-card.after {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.03);
}

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

.agit-header h3 {
  font-size: 18px;
}

.agit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agit-list li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.text-red {
  color: #EF4444;
}

/* FAQ Accordion */
.faq-accordion-wrapper {
  max-width: 800px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h4 {
  font-size: 16px;
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-answer {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-emerald);
}

/* Feature Showcase Tabs & Panels */
.feature-showcase-container {
  max-width: 960px;
  margin: 32px auto 0;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.s-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.s-tab svg {
  width: 16px;
  height: 16px;
}

.s-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-active);
}

.s-tab.active {
  background: var(--accent-emerald);
  color: #090D14;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
}

.showcase-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.showcase-panel {
  display: none;
}

.showcase-panel.active {
  display: block;
}

.s-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 768px) {
  .s-panel-grid {
    grid-template-columns: 1fr;
  }
}

.s-panel-grid h3 {
  font-size: 22px;
  margin: 10px 0 12px;
}

.s-panel-grid p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.s-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s-check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.t-user-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.t-user-head img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--accent-emerald);
}

.t-user-head h4 {
  font-size: 15px;
  margin-bottom: 2px;
}

.t-user-head span {
  font-size: 11px;
  color: var(--text-muted);
}

.testimonial-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.t-rating {
  color: var(--accent-amber);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.t-revenue {
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
}

/* ==========================================================================
   HOST MOBILE PHONE APP INTERFACE STYLING
   ========================================================================== */
.host-mode-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.h-mode-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
}

.h-mode-buttons {
  display: flex;
  gap: 6px;
  background: var(--bg-obsidian);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.h-mode-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.h-mode-btn.active {
  background: var(--accent-emerald);
  color: #090D14;
  font-weight: 700;
}

/* Host Mobile App Frame Container */
.host-mobile-frame-container {
  display: flex;
  justify-content: center;
  padding: 12px 0 32px;
}

.host-mobile-frame {
  width: 100%;
  max-width: 400px;
  background: var(--bg-obsidian);
  border: 10px solid #1E293B;
  border-radius: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  padding: 24px 16px 70px;
}

.h-mob-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

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

.h-mob-user img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--accent-emerald);
}

.h-mob-user h4 {
  font-size: 14px;
  margin-bottom: 2px;
}

.h-mob-notif-btn {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.h-mob-notif-btn .badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent-emerald);
  color: #090D14;
  font-size: 10px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.h-mob-prop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
}

.h-mob-prop-card h3 {
  font-size: 15px;
  margin: 6px 0 10px;
}

.h-mob-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 11px;
  background: var(--bg-obsidian);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.h-mob-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.h-mob-action-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.h-mob-action-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
}

.h-mob-revenue-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.h-mob-revenue-card span {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

.h-mob-revenue-card strong {
  font-size: 18px;
  color: var(--accent-emerald);
}

.h-mob-orders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mob-order-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mob-order-item strong {
  font-size: 12px;
}

.h-mob-nav-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
}

.h-mob-nav-item {
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.h-mob-nav-item.active {
  color: var(--accent-emerald);
}

.h-mob-nav-item svg {
  width: 18px;
  height: 18px;
}













