/* ==========================================================================
   ISTANBUL TOUR - LUXURY APP-LIKE INSTAGRAM BIO LANDING
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #070a13;
  --bg-surface: #0f172a;
  --bg-card: rgba(22, 31, 53, 0.75);
  --bg-card-hover: rgba(30, 41, 69, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.25);

  /* Brand Accents */
  --primary: #38bdf8;
  --primary-glow: rgba(56, 189, 248, 0.4);
  --accent-gold: #fbbf24;
  --accent-gold-glow: rgba(251, 191, 36, 0.35);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.35);
  --accent-indigo: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-rose: #f43f5e;
  --whatsapp-color: #25d366;
  --telegram-color: #229ed9;
  --instagram-color: #e1306c;

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Shadows & Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.25);
  --shadow-bottom-nav: 0 -8px 24px rgba(0, 0, 0, 0.45);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-sheet: 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 15px;
  background-color: #04070d;
  color: var(--text-main);
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: radial-gradient(circle at 50% 0%, #111a33 0%, #060912 60%, #03050a 100%);
  position: relative;
  overflow-x: hidden;
}

/* Ambient Glow Orbs (Visible on desktop backdrop) */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

.glow-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: 20%;
  background: radial-gradient(circle, #38bdf8, transparent 70%);
}

.glow-2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  right: 15%;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  animation-duration: 11s;
}

.glow-3 {
  width: 250px;
  height: 250px;
  top: 40%;
  left: 10%;
  background: radial-gradient(circle, #f59e0b, transparent 70%);
  animation-duration: 9s;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.25; }
  100% { transform: scale(1.15) translate(20px, 30px); opacity: 0.45; }
}

/* App Viewport Container */
.app-viewport {
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 500px) {
  .app-viewport {
    margin: 20px auto 40px;
    min-height: calc(100vh - 40px);
    border-radius: 36px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    background: #090e1a;
  }
}

/* Main App Container */
.app-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 14px 20px;
  gap: 14px;
  position: relative;
}

/* App Header */
.app-header {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 14px 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.app-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #fbbf24);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.avatar-ring {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #38bdf8, #fbbf24, #ec4899);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
}

.avatar-ring:hover {
  transform: scale(1.05) rotate(4deg);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.online-indicator {
  position: absolute;
  bottom: 1px;
  left: 1px;
  width: 13px;
  height: 13px;
  background-color: var(--accent-emerald);
  border: 2.5px solid #090e1a;
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.verified-badge {
  color: #38bdf8;
  font-size: 0.95rem;
  display: inline-flex;
}

.brand-subtitle {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: 2px;
  width: fit-content;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 8px #10b981; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

.header-action-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-bounce);
}

.header-action-btn:hover, .header-action-btn:active {
  background: #38bdf8;
  color: #070a13;
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

/* Stories / Highlights */
.stories-section {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.stories-section::-webkit-scrollbar {
  display: none;
}

.stories-track {
  display: flex;
  gap: 14px;
  padding: 2px 4px;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

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

.story-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 2.5px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  position: relative;
  transition: all var(--transition-fast);
}

.story-ring.unread {
  background: linear-gradient(45deg, #f59e0b, #ec4899, #38bdf8);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.35);
  animation: storyGlow 3s infinite alternate ease-in-out;
}

@keyframes storyGlow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(45deg); }
}

.story-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #101728;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  border: 2px solid #090e1a;
}

.story-item:nth-child(1) .story-circle { color: #fbbf24; }
.story-item:nth-child(2) .story-circle { color: #38bdf8; }
.story-item:nth-child(3) .story-circle { color: #34d399; }
.story-item:nth-child(4) .story-circle { color: #818cf8; }
.story-item:nth-child(5) .story-circle { color: #f43f5e; }

.story-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 68px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   1. SLIM HERO BANNER (بالای کادر سرچ با مفهوم کل پیج)
   ========================================================================== */
.slim-hero-section {
  position: relative;
}

.slim-hero-card {
  background: linear-gradient(135deg, rgba(26, 38, 64, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
}

.slim-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #38bdf8, #818cf8, #fbbf24);
}

.slim-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slim-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  width: fit-content;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.slim-hero-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}

.slim-hero-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.slim-hero-glow {
  position: absolute;
  top: -30px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
  pointer-events: none;
}

/* Faded Minimalist Banner Graphics */
.banner-faded-img-wrap {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 155px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
}

.banner-faded-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.4;
  filter: brightness(1.08) contrast(1.15);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.slim-hero-card:hover .banner-faded-img,
.section-banner-card:hover .banner-faded-img,
.yacht-banner-card:hover .banner-faded-img {
  transform: scale(1.06);
  opacity: 0.55;
}

.yacht-faded-wrap {
  width: 220px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 75%, transparent 100%);
}

.yacht-faded-wrap .banner-faded-img {
  object-fit: cover;
  object-position: 25% center;
  opacity: 0.5;
}

/* Search Bar Section */
.search-section {
  position: relative;
  z-index: 10;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--primary);
  background: rgba(22, 31, 53, 0.95);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.search-icon {
  color: var(--text-dim);
  font-size: 1rem;
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.84rem;
}

.search-box input::placeholder {
  color: var(--text-dim);
}

.clear-search-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  cursor: pointer;
  display: none;
}

.clear-search-btn.show {
  display: block;
}

/* Live Search Suggestions Dropdown */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  max-height: 280px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  padding: 6px;
}

.search-results-dropdown.active {
  display: block;
  animation: fadeInDown 0.2s ease-out;
}

.search-result-item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: rgba(56, 189, 248, 0.12);
}

.search-result-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

.search-result-cat {
  font-size: 0.68rem;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

/* Quick Connect Chips */
.quick-connect-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.quick-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.quick-chip:active {
  transform: scale(0.97);
}

.chip-whatsapp {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ade80;
}

.chip-whatsapp:hover {
  background: rgba(37, 211, 102, 0.28);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.chip-badge {
  position: absolute;
  top: 3px;
  left: 6px;
  font-size: 0.58rem;
  background: #16a34a;
  color: #fff;
  padding: 1px 5px;
  border-radius: var(--radius-full);
}

.chip-call {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(30, 58, 138, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.chip-call:hover {
  background: rgba(56, 189, 248, 0.28);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.chip-telegram {
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.18), rgba(15, 23, 42, 0.2));
  border: 1px solid rgba(34, 158, 217, 0.35);
  color: #38bdf8;
}

.chip-instagram {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.18), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(225, 48, 108, 0.35);
  color: #fb7185;
}

/* Popular Section */
.popular-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #fff;
}

.text-gold { color: #fbbf24; }
.text-cyan { color: #38bdf8; }

.section-tag, .badge-count {
  font-size: 0.68rem;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.popular-chips-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pop-chip {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pop-chip:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateX(-3px);
}

.pop-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.pop-chip:nth-child(1) .pop-icon { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.pop-chip:nth-child(2) .pop-icon { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.pop-chip:nth-child(3) .pop-icon { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.pop-chip:nth-child(4) .pop-icon { background: rgba(129, 140, 248, 0.15); color: #818cf8; }

.pop-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pop-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

.pop-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.pop-arrow {
  color: var(--text-dim);
  font-size: 0.8rem;
  transition: transform var(--transition-fast);
}

.pop-chip:hover .pop-arrow {
  color: var(--primary);
  transform: translateX(-4px);
}

.pop-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.pop-wa-btn:hover, .pop-wa-btn:active {
  background: #25d366;
  color: #000;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.4);
  transform: scale(1.04);
}

/* ==========================================================================
   2. CATEGORY BANNER (بنر بالای دسته‌بندی جامع با ابعاد هماهنگ)
   ========================================================================== */
.category-banner-section {
  position: relative;
}

.section-banner-card {
  background: linear-gradient(135deg, rgba(20, 30, 52, 0.95), rgba(11, 17, 32, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-lg);
  padding: 13px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 82%;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  width: fit-content;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.banner-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}

.banner-desc {
  font-size: 0.71rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.banner-icon-bg {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: rgba(56, 189, 248, 0.08);
  pointer-events: none;
}

/* Categories Grid */
.categories-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-bounce);
}

.category-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.2);
}

.category-card:active {
  transform: scale(0.97);
}

.cat-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform var(--transition-bounce);
}

.category-card:hover .cat-icon-wrap {
  transform: rotate(-6deg) scale(1.1);
}

.cat-count-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.cat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.cat-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-action-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cat-view-link {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
}

.cat-arrow-icon {
  font-size: 0.75rem;
  color: var(--primary);
}

/* Category Themes & Colors */
.cat-theme-residence .cat-icon-wrap { background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(244, 63, 94, 0.1)); color: #f43f5e; }
.cat-theme-residence:hover { border-color: rgba(244, 63, 94, 0.4); }

.cat-theme-banking .cat-icon-wrap { background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(245, 158, 11, 0.1)); color: #fbbf24; }
.cat-theme-banking:hover { border-color: rgba(251, 191, 36, 0.4); }

.cat-theme-realestate .cat-icon-wrap { background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.1)); color: #10b981; }
.cat-theme-realestate:hover { border-color: rgba(16, 185, 129, 0.4); }

.cat-theme-university .cat-icon-wrap { background: linear-gradient(135deg, rgba(129, 140, 248, 0.25), rgba(99, 102, 241, 0.1)); color: #818cf8; }
.cat-theme-university:hover { border-color: rgba(129, 140, 248, 0.4); }

.cat-theme-company .cat-icon-wrap { background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(2, 132, 199, 0.1)); color: #38bdf8; }
.cat-theme-company:hover { border-color: rgba(56, 189, 248, 0.4); }

.cat-theme-license .cat-icon-wrap { background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(147, 51, 234, 0.1)); color: #c084fc; }
.cat-theme-license:hover { border-color: rgba(168, 85, 247, 0.4); }

.cat-theme-flight .cat-icon-wrap { background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(3, 105, 161, 0.1)); color: #38bdf8; }
.cat-theme-flight:hover { border-color: rgba(14, 165, 233, 0.4); }

.cat-theme-transport .cat-icon-wrap { background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(202, 138, 4, 0.1)); color: #facc15; }
.cat-theme-transport:hover { border-color: rgba(234, 179, 8, 0.4); }

/* ==========================================================================
   3. YACHT & MARINE BANNER (بنر یات و تفریحات آبی استانبول)
   ========================================================================== */
.yacht-banner-section {
  position: relative;
  margin-top: 4px;
}

.yacht-banner-card {
  background: linear-gradient(135deg, rgba(13, 37, 58, 0.95), rgba(8, 24, 43, 0.98));
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yacht-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.15);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.yacht-banner-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}

.yacht-banner-desc {
  font-size: 0.74rem;
  color: #cbd5e1;
  line-height: 1.48;
  position: relative;
  z-index: 2;
}

.yacht-banner-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  position: relative;
  z-index: 2;
}

.btn-yacht-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #06b6d4, #0284c7);
  color: #fff;
  border: none;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
  transition: all var(--transition-fast);
}

.btn-yacht-cta:hover, .btn-yacht-cta:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.5);
}

.btn-yacht-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-yacht-details:hover {
  background: rgba(255, 255, 255, 0.12);
}

.yacht-decor-icon {
  position: absolute;
  left: 6px;
  top: 8px;
  font-size: 5rem;
  color: rgba(6, 182, 212, 0.08);
  pointer-events: none;
}

/* Why Us Section */
.why-us-section {
  margin-top: 2px;
}

.why-us-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
}

.why-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 14px;
}

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

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.trust-stat {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
}

.trust-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Consultation Form Section */
.consultation-section {
  position: relative;
}

.consult-box {
  background: linear-gradient(135deg, rgba(30, 41, 69, 0.85), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  box-shadow: var(--shadow-md);
}

.consult-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.consult-content h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.consult-content p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
}

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-group {
  display: flex;
  align-items: center;
  background: rgba(11, 17, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  gap: 10px;
  transition: all var(--transition-fast);
}

.input-group:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.input-icon {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.input-group input, .input-group select {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
}

.input-group input::placeholder {
  color: var(--text-dim);
}

.input-group select {
  cursor: pointer;
}

.input-group select option {
  background: #0f172a;
  color: #fff;
}

.submit-consult-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  transition: all var(--transition-fast);
  margin-top: 4px;
}

.submit-consult-btn:hover, .submit-consult-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* App Footer */
.app-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 16px 0 10px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.3));
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-logo-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.footer-logo-sub {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-btn.wa:hover { background: #25d366; color: #000; border-color: #25d366; }
.social-btn.tg:hover { background: #229ed9; color: #fff; border-color: #229ed9; }
.social-btn.ig:hover { background: #e1306c; color: #fff; border-color: #e1306c; }
.social-btn.ph:hover { background: #38bdf8; color: #000; border-color: #38bdf8; }

.copyright {
  font-size: 0.65rem;
  color: var(--text-dim);
}

.bottom-nav-spacer {
  height: 68px;
}

/* App Bottom Navigation Bar */
.app-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 460px;
  height: 64px;
  background: rgba(11, 16, 28, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  z-index: 90;
}

@media (min-width: 500px) {
  .app-bottom-nav {
    border-radius: 0 0 36px 36px;
  }
}

.nav-item {
  background: transparent;
  border: none;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.nav-item i {
  font-size: 1.15rem;
  transition: transform var(--transition-bounce);
}

.nav-item.active {
  color: #38bdf8;
}

.nav-item.active i {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
}

.nav-item-cta {
  position: relative;
  top: -12px;
  color: #fff;
}

.cta-bubble {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.5), 0 0 0 4px #090e1a;
  color: #fff;
  font-size: 1.25rem;
  transition: all var(--transition-bounce);
}

.nav-item-cta:hover .cta-bubble, .nav-item-cta:active .cta-bubble {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.8), 0 0 0 4px #090e1a;
}

/* ==========================================================================
   BOTTOM SHEET & MODALS
   ========================================================================== */

.bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-sheet);
}

.bottom-sheet-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet-modal {
  width: 100%;
  max-width: 460px;
  max-height: 86vh;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform var(--transition-sheet);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

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

.sheet-drag-handle-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0 4px;
}

.sheet-drag-handle {
  width: 42px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sheet-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sheet-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.bg-gradient-amber {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.sheet-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.sheet-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.sheet-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sheet-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Subservice Card inside Sheet */
.subservice-card {
  background: rgba(22, 31, 53, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all var(--transition-fast);
}

.subservice-card:hover {
  background: rgba(30, 41, 69, 0.85);
  border-color: rgba(56, 189, 248, 0.3);
}

.sub-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.sub-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.sub-action-btn {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-top: 4px;
}

.sub-action-btn:hover {
  background: #25d366;
  color: #000;
}

.sheet-footer {
  padding: 12px 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b1120;
}

.sheet-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366, #16a34a);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
}

.sheet-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Contact Drawer Channels */
.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  padding: 14px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  gap: 12px;
  text-decoration: none;
  transition: all var(--transition-bounce);
}

.contact-channel-card:hover {
  transform: translateX(-4px);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.channel-wa .channel-icon { background: rgba(37, 211, 102, 0.15); color: #4ade80; }
.channel-call .channel-icon { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.channel-tg .channel-icon { background: rgba(34, 158, 217, 0.15); color: #38bdf8; }
.channel-ig .channel-icon { background: rgba(225, 48, 108, 0.15); color: #fb7185; }

.channel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.channel-detail {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.channel-arrow {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Story Viewer Modal */
.story-viewer-modal {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 2000;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 14px 24px;
}

.story-viewer-modal.active {
  display: flex;
}

.story-progress-bar-container {
  display: flex;
  gap: 4px;
  width: 100%;
}

.story-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.story-progress-fill {
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width 0.05s linear;
}

.story-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  z-index: 10;
}

.story-viewer-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-viewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
}

.story-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story-viewer-name {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.story-time {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.story-viewer-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.story-viewer-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  z-index: 5;
}

.story-slide-icon {
  font-size: 3.5rem;
  color: #38bdf8;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.6));
}

.story-slide-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.story-slide-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 320px;
}

.story-nav-zones {
  position: absolute;
  top: 60px;
  bottom: 80px;
  left: 0;
  right: 0;
  display: flex;
  z-index: 8;
}

.story-nav-left, .story-nav-right {
  flex: 1;
  height: 100%;
}

.story-viewer-footer {
  z-index: 10;
  width: 100%;
}

.story-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366, #16a34a);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toastIn {
  0% { transform: translateY(-20px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}
