/* ==========================================================================
   বিস্তার - BISTAR (ডিজিটাল ও টেক এজেন্সি)
   NEXT-GEN FLAGSHIP DESIGN SYSTEM v2.0
   - Default White/Light Theme + System Auto Dark Mode (prefers-color-scheme)
   - Universal Fluid Responsiveness: 320px Budget Phones -> 4K Ultra-Wide
   ========================================================================== */

:root,
[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-elevated: rgba(255, 255, 255, 0.92);
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFBF7;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --border-strong: #CBD5E1;
  --brand-orange: #FF6600;
  --brand-orange-dark: #EA580C;
  --brand-orange-soft: rgba(255, 102, 0, 0.10);
  --brand-orange-border: rgba(255, 102, 0, 0.28);
  --accent-emerald: #059669;
  --accent-emerald-soft: rgba(16, 185, 129, 0.12);
  --accent-blue: #2563EB;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
  --shadow-orange: 0 12px 28px -6px rgba(255, 102, 0, 0.32);
  --hero-mesh: radial-gradient(circle at 15% 15%, rgba(255, 102, 0, 0.10) 0%, transparent 45%),
               radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.07) 0%, transparent 45%),
               linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  --logo-light-display: block;
  --logo-dark-display: none;
}

[data-theme="dark"] {
  --bg-primary: #09090B;
  --bg-secondary: #111115;
  --bg-tertiary: #18181F;
  --bg-elevated: rgba(20, 20, 26, 0.92);
  --bg-glass: rgba(15, 15, 20, 0.84);
  --bg-card: #13131A;
  --bg-card-hover: #1B1817;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border-color: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --brand-orange: #FF6A00;
  --brand-orange-dark: #F97316;
  --brand-orange-soft: rgba(255, 106, 0, 0.15);
  --brand-orange-border: rgba(255, 106, 0, 0.38);
  --accent-emerald: #10B981;
  --accent-emerald-soft: rgba(16, 185, 129, 0.16);
  --accent-blue: #3B82F6;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px -4px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 54px -10px rgba(0, 0, 0, 0.72);
  --shadow-orange: 0 12px 30px -4px rgba(255, 106, 0, 0.42);
  --hero-mesh: radial-gradient(circle at 18% 15%, rgba(255, 106, 0, 0.16) 0%, transparent 48%),
               radial-gradient(circle at 82% 22%, rgba(59, 130, 246, 0.10) 0%, transparent 48%),
               linear-gradient(180deg, #09090B 0%, #111115 100%);
  --logo-light-display: none;
  --logo-dark-display: block;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
  min-width: 320px;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 32px);
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-orange) 0%, #F59E0B 55%, #EA580C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==================== DUAL LOGO AUTOMATIC SWITCHING ==================== */
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-logo-img {
  height: clamp(34px, 5vw, 46px);
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.03);
}

.logo-for-light {
  display: var(--logo-light-display);
}

.logo-for-dark {
  display: var(--logo-dark-display);
}

/* ==================== TOP ANNOUNCEMENT BAR ==================== */
.announcement-bar {
  background: linear-gradient(90deg, #0F172A 0%, #1E293B 50%, #2E1505 100%);
  color: #FFFFFF;
  font-size: clamp(11.5px, 1.8vw, 13.5px);
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 102, 0, 0.35);
  position: relative;
  z-index: 60;
}

.announcement-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.announcement-text {
  font-weight: 500;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ann-pill {
  background: rgba(255, 102, 0, 0.22);
  border: 1px solid #FF6600;
  color: #FDBA74;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.ann-pill:hover {
  background: #FF6600;
  color: #FFFFFF;
}

/* ==================== STICKY GLASS NAVBAR ==================== */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 55;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(62px, 8vw, 76px);
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  list-style: none;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  white-space: nowrap;
  padding: 6px 2px;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-orange);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.control-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 38px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.control-pill:hover {
  border-color: var(--brand-orange);
  background: var(--brand-orange-soft);
}

.btn-google-auth {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-google-auth:hover {
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-sm);
}

.user-avatar-chip {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.btn-primary-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 11px;
  border: none;
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: clamp(13.5px, 1.6vw, 15px);
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.btn-primary-orange:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 11px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 700;
  font-size: clamp(13.5px, 1.6vw, 15px);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-secondary-outline:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  background: var(--brand-orange-soft);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 20px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==================== VIP PERSONALIZED CLIENT BANNER ==================== */
.vip-client-banner {
  display: none;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(255, 102, 0, 0.14) 100%);
  border: 1.5px solid var(--accent-emerald);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.vip-client-banner.show {
  display: flex;
}

/* ==================== HERO COMMAND CENTER ==================== */
.hero-section {
  background: var(--hero-mesh);
  padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 72px);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-orange-soft);
  border: 1px solid var(--brand-orange-border);
  color: var(--brand-orange);
  font-size: clamp(12px, 1.5vw, 13.5px);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(26px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(14.5px, 1.7vw, 17px);
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 24px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-val {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1.2;
}

.stat-lbl {
  font-size: clamp(11px, 1.3vw, 12.5px);
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
}

/* ==================== INSTANT LIVE BRAND VISUALIZER LAB ==================== */
.visualizer-card {
  background: var(--bg-card);
  border: 2px solid var(--brand-orange-border);
  border-radius: 20px;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.visualizer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.visualizer-tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

.visualizer-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.vis-input, .vis-select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s;
}

.vis-input:focus, .vis-select:focus {
  border-color: var(--brand-orange);
}

/* Interactive Laptop & Mobile Mockup Stage */
.device-stage {
  background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
  border-radius: 14px;
  padding: 14px;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}

.browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-family: monospace;
  color: #E2E8F0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-preview-body {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 12px;
  align-items: stretch;
}

.mockup-web-pane {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-phone-pane {
  background: #09090B;
  border: 2px solid #334155;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.preview-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0;
}

.preview-chip {
  font-size: 10.5px;
  background: rgba(255, 102, 0, 0.22);
  border: 1px solid rgba(255, 102, 0, 0.5);
  color: #FDBA74;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 600;
}

/* ==================== SECTION HEADERS ==================== */
.section-block {
  padding: clamp(44px, 7vw, 84px) 0;
  border-bottom: 1px solid var(--border-color);
}

.section-block.alt-bg {
  background-color: var(--bg-secondary);
}

.section-header {
  max-width: 820px;
  margin: 0 auto clamp(28px, 4.5vw, 44px);
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-orange-soft);
  border: 1px solid var(--brand-orange-border);
  color: var(--brand-orange);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(22px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.26;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-desc {
  font-size: clamp(14px, 1.6vw, 16.5px);
  color: var(--text-secondary);
}

/* ==================== 60+ BUSINESS CATEGORIES MEGA EXPLORER ==================== */
.cat-explorer-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.cat-search-wrap {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.cat-search-input {
  width: 100%;
  height: 50px;
  padding: 0 18px 0 46px;
  border-radius: 14px;
  border: 2px solid var(--brand-orange-border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: all 0.2s;
}

.cat-search-input:focus {
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-orange);
}

.cat-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  pointer-events: none;
}

.sector-tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.sector-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sector-tab-btn:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.sector-tab-btn.active {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: var(--shadow-orange);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 305px), 1fr));
  gap: 16px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.cat-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.cat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-orange-soft);
  border: 1px solid var(--brand-orange-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cat-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.cat-card-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-orange);
}

.cat-pain-box {
  font-size: 12.8px;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-left: 3px solid var(--brand-orange);
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.cat-feature-list {
  list-style: none;
  margin-bottom: 14px;
}

.cat-feature-list li {
  font-size: 12.8px;
  color: var(--text-primary);
  margin-bottom: 5px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-weight: 500;
}

.cat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}

.cat-action-btn {
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--brand-orange);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: filter 0.2s;
}

.cat-action-btn:hover {
  filter: brightness(1.1);
}

/* ==================== 4 CORE PILLARS BENTO GRID ==================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--brand-orange);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.pillar-icon {
  font-size: 32px;
}

.pillar-num {
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-orange-soft);
  color: var(--brand-orange);
}

.pillar-title {
  font-size: 18.5px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.pillar-bullets {
  list-style: none;
}

.pillar-bullets li {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ==================== INTERACTIVE LABS: ROI CALCULATOR & GOOGLE RANK SIMULATOR ==================== */
.labs-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.lab-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-md);
}

.range-slider {
  width: 100%;
  accent-color: var(--brand-orange);
  height: 8px;
  cursor: pointer;
  margin: 10px 0 18px;
}

.roi-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.roi-box-loss {
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 12px;
  padding: 14px;
}

.roi-box-gain {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.38);
  border-radius: 12px;
  padding: 14px;
}

/* Google Map Simulator */
.sim-toggle-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-secondary);
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.sim-toggle-btn {
  padding: 10px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.sim-toggle-btn.active.bad {
  background: #EF4444;
  color: #FFFFFF;
}

.sim-toggle-btn.active.good {
  background: #10B981;
  color: #FFFFFF;
}

.google-serp-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 16px;
}

/* ==================== PORTFOLIO & AI VIDEO STUDIO ==================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.portfolio-visual {
  padding: 20px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-bottom: 1px solid var(--border-color);
}

.portfolio-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==================== PRICING PACKAGES ==================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.pricing-card.popular {
  border: 2.5px solid var(--brand-orange);
  box-shadow: var(--shadow-orange);
}

.price-amount {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 900;
  color: var(--brand-orange);
  margin: 10px 0 4px;
}

.price-features {
  list-style: none;
  margin: 18px 0 22px;
}

.price-features li {
  font-size: 13.5px;
  margin-bottom: 9px;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ==================== MODALS (FREE DEMO, CATEGORY DETAIL, GOOGLE AUTH) ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(8px);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow-y: auto;
}

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

.modal-box {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1.5px solid var(--brand-orange-border);
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  padding: clamp(18px, 3.5vw, 28px);
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-orange);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: #09090B;
  color: #E2E8F0;
  padding: 56px 0 90px;
  border-top: 3px solid var(--brand-orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 14px;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-links a:hover {
  color: #FF6600;
}

/* ==================== STICKY MOBILE BOTTOM APP BAR (ALL PHONE RESOLUTIONS) ==================== */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: var(--bg-elevated);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-strong);
  padding: 6px 8px env(safe-area-inset-bottom, 6px);
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 2px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  min-height: 46px;
}

.dock-item.highlight {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: #FFFFFF;
}

.dock-icon {
  font-size: 17px;
  line-height: 1.1;
  margin-bottom: 2px;
}

/* ==================== MULTI-RESOLUTION MEDIA QUERIES (320px -> 4K) ==================== */
@media (max-width: 1080px) {
  .hero-grid,
  .labs-dual-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mockup-preview-body {
    grid-template-columns: 1fr;
  }
  .visualizer-controls,
  .roi-result-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-bottom-dock {
    display: grid;
  }
  .hide-on-mobile {
    display: none !important;
  }
}

/* Compact & Budget Smartphones (320px - 380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 10px;
  }
  .control-pill, .btn-google-auth {
    padding: 0 8px;
    font-size: 11.5px;
    height: 34px;
  }
  .brand-logo-img {
    height: 30px;
  }
  .hero-cta-row .btn-primary-orange,
  .hero-cta-row .btn-secondary-outline {
    width: 100%;
  }
}

/* Mobile Slide-Down Drawer */
.mobile-nav-drawer {
  display: none;
  background: var(--bg-card);
  border-bottom: 2px solid var(--brand-orange);
  padding: 16px;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-drawer a {
  display: block;
  padding: 11px 8px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}
