/* UI Components - i-DO Design System */

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--grad-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0, 82, 255, 0.4);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 210, 255, 0.5);
}

.btn-primary .btn-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow-circle {
  transform: translateX(4px);
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-brand-cyan);
  color: #FFFFFF;
}

@media (max-width: 480px) {
  .btn-primary {
    font-size: 0.95rem;
    padding: 12px 20px;
    gap: 8px;
  }
  .btn-secondary-glass {
    font-size: 0.88rem;
    padding: 11px 18px;
    justify-content: center;
  }
}

/* Niche Selector Tabs */
.niche-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 48px;
  background: rgba(10, 17, 40, 0.7);
  padding: 10px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
}

@media (max-width: 768px) {
  .niche-tabs-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: var(--radius-lg);
    margin: 20px 0 28px;
  }
}

@media (max-width: 400px) {
  .niche-tabs-bar {
    grid-template-columns: 1fr;
  }
}

.niche-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: left;
  position: relative;
}

@media (max-width: 768px) {
  .niche-tab-btn {
    padding: 10px 12px;
    width: 100%;
  }
  .niche-tab-btn:nth-child(5) {
    grid-column: span 2;
  }
}

@media (max-width: 400px) {
  .niche-tab-btn:nth-child(5) {
    grid-column: auto;
  }
}

.niche-tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}

.niche-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.25) 0%, rgba(0, 210, 255, 0.15) 100%);
  border-color: var(--color-brand-cyan);
  box-shadow: 0 4px 18px rgba(0, 82, 255, 0.25);
}

.niche-tab-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .niche-tab-name {
    font-size: 0.88rem;
  }
}

.niche-tab-btn.active .niche-tab-name {
  color: #FFFFFF;
}

.niche-tab-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .niche-tab-category {
    font-size: 0.68rem;
  }
}

.niche-tab-btn.active .niche-tab-category {
  color: var(--color-brand-cyan);
}

/* Smartphone Mockup Frame */
.hero-simulator-stage {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#hero-simulator-container {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.mockup-phone {
  width: 100%;
  max-width: 375px;
  height: 740px;
  background: #000000;
  border-radius: 46px;
  border: 8px solid #1E293B;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 82, 255, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .mockup-phone {
    max-width: 340px;
    height: 640px;
    border-radius: 36px;
    border: 6px solid #1E293B;
  }
}

@media (max-width: 480px) {
  .mockup-phone {
    max-width: 100%;
    width: 100%;
    height: min(580px, 78vh);
    border-radius: 28px;
    border: 4px solid #1E293B;
  }
}

.phone-camera-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 25px;
  background: #000000;
  border-radius: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
}

@media (max-width: 480px) {
  .phone-camera-island {
    width: 86px;
    height: 20px;
    top: 6px;
    padding-right: 10px;
  }
  .phone-status-bar {
    height: 36px !important;
    padding: 6px 14px 0 !important;
    font-size: 0.72rem !important;
  }
  .app-portal-header {
    padding: 10px 12px 16px !important;
  }
  .portal-app-name {
    font-size: 1rem !important;
  }
  .portal-logo-bubble {
    width: 32px !important;
    height: 32px !important;
  }
  .phone-bottom-nav {
    height: 56px !important;
  }
  .floating-icon-glow {
    width: 42px !important;
    height: 42px !important;
  }
}

.island-camera {
  width: 10px;
  height: 10px;
  background: #0F172A;
  border-radius: 50%;
  border: 2px solid #1E293B;
}

.phone-status-bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px 0;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 90;
  background: #0A1128;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-screen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #F8FAFC;
  overflow: hidden;
  position: relative;
}

.phone-screen-body {
  flex: 1;
  overflow-y: auto;
  position: relative;
  background: #F1F5F9;
  display: flex;
  flex-direction: column;
}

/* Headers inside the App Mockup */
.app-portal-header {
  background: linear-gradient(180deg, #0A1128 0%, #0F1A3A 100%);
  color: #FFFFFF;
  padding: 12px 18px 24px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

.portal-logo-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.portal-brand-text {
  display: flex;
  flex-direction: column;
}

.portal-app-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.portal-client-tag {
  font-size: 0.72rem;
  color: var(--color-brand-cyan);
  font-weight: 600;
}

.portal-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-action-bell {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #FFFFFF;
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 15px;
  height: 15px;
  background: #EF4444;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-action-exit {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Chat Header */
.app-chat-header, .app-queue-header, .app-game-header {
  background: #0A1128;
  color: #FFFFFF;
  padding: 10px 14px;
}

.chat-header-main, .app-queue-header, .app-game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-title h4, .queue-title-center h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.chat-header-status {
  font-size: 0.72rem;
  color: var(--color-brand-cyan);
}

.chat-end-btn {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

.chat-header-sub {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  color: #94A3B8;
}

.chat-header-sub strong {
  color: #FFFFFF;
  margin-left: 4px;
}

/* Screen Departments */
.screen-departments {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.departments-card-box {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.dept-box-title {
  color: #0F172A;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.dept-box-desc {
  font-size: 0.8rem;
  color: #64748B;
  margin-bottom: 14px;
}

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

.department-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.department-item:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
  transform: translateX(3px);
}

.dept-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 82, 255, 0.1);
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dept-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dept-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1E293B;
}

.dept-desc {
  font-size: 0.72rem;
  color: #64748B;
}

.dept-arrow {
  color: #94A3B8;
}

/* Recent History Card */
.recent-history-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.recent-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.recent-card-head h4 {
  color: #0F172A;
  font-size: 0.95rem;
}

.recent-ticket-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.ticket-header-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.8rem;
  color: #1E293B;
}

.ticket-status-pill {
  background: #E2E8F0;
  color: #475569;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.ticket-meta-row {
  font-size: 0.7rem;
  color: #64748B;
  margin: 4px 0 6px;
}

.ticket-last-msg {
  font-size: 0.75rem;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Queue Screen */
.screen-queue {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.queue-card-hero {
  background: #FEF3C7;
  border: 2px solid #FCD34D;
  border-radius: 22px;
  padding: 24px 20px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);
}

.queue-badge-pos {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pos-label {
  font-size: 0.85rem;
  color: #92400E;
  font-weight: 600;
}

.pos-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: #78350F;
  line-height: 1;
  margin: 6px 0;
}

.queue-waiting-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  color: #B45309;
  font-size: 0.95rem;
}

.queue-time-estimate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #92400E;
  margin: 12px 0;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-full);
}

.queue-tranquilo-msg {
  font-size: 0.78rem;
  color: #92400E;
  line-height: 1.4;
  margin-bottom: 16px;
}

.queue-notify-btn {
  width: 100%;
  background: #0F172A;
  color: #FFFFFF;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.queue-game-promo {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px;
  width: 100%;
  text-align: center;
}

.game-promo-text {
  font-size: 0.85rem;
  color: #334155;
  font-weight: 600;
  margin-bottom: 12px;
}

.game-play-btn {
  width: 100%;
  background: var(--color-brand-primary);
  color: #FFFFFF;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.skip-queue-btn {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--color-brand-primary);
  text-decoration: underline;
  background: none;
}

/* Game Screen */
.screen-game {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.game-top-banner {
  background: #F59E0B;
  color: #78350F;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.game-banner-alert {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
}

.game-score-row {
  display: flex;
  justify-content: space-around;
  margin-top: 6px;
}

.score-pill {
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 14px;
  border-radius: 10px;
  display: flex;
  gap: 6px;
  font-size: 0.75rem;
}

.canvas-wrapper {
  position: relative;
  flex: 1;
  background: #000;
}

#flappyCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-tap-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  pointer-events: none;
}

.game-footer-action {
  padding: 8px 12px;
  background: #0A1128;
}

.open-chat-now-btn {
  width: 100%;
  background: var(--color-brand-emerald);
  color: #064E3B;
  padding: 10px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
}

/* Chat Screen */
.screen-chat {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.chat-messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F1F5F9;
}

.chat-bubble-system {
  align-self: center;
  background: #E2E8F0;
  color: #475569;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.chat-bubble-row {
  display: flex;
  flex-direction: column;
  max-width: 82%;
}

.chat-bubble-row.attendant {
  align-self: flex-start;
}

.chat-bubble-row.user {
  align-self: flex-end;
}

.bubble-sender-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284C7;
  margin-bottom: 2px;
  margin-left: 6px;
}

.bubble-content {
  background: #FFFFFF;
  color: #1E293B;
  padding: 10px 14px;
  border-radius: 16px;
  border-top-left-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-size: 0.82rem;
  position: relative;
}

.bubble-content.user-content {
  background: var(--color-brand-primary);
  color: #FFFFFF;
  border-top-left-radius: 16px;
  border-top-right-radius: 4px;
}

.bubble-time {
  display: block;
  font-size: 0.65rem;
  color: #94A3B8;
  text-align: right;
  margin-top: 4px;
}

.user-content .bubble-time {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.chat-attachment-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  padding: 8px 12px;
  border-radius: 10px;
  margin-top: 8px;
  cursor: pointer;
}

.attach-icon {
  color: var(--color-brand-primary);
}

.attach-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.attach-meta strong {
  font-size: 0.78rem;
  color: #0F172A;
}

.attach-meta small {
  font-size: 0.68rem;
  color: #64748B;
}

.attach-download-icon {
  font-weight: 900;
  color: var(--color-brand-primary);
}

.bubble-typing {
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: 16px;
  display: inline-flex;
  gap: 4px;
}

.bubble-typing span {
  width: 6px;
  height: 6px;
  background: #94A3B8;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.chat-quick-suggestions {
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  overflow-x: auto;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}

.quick-chip {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  color: #334155;
  white-space: nowrap;
}

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

.chat-input-action {
  color: #64748B;
}

.chat-text-input {
  flex: 1;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 0.8rem;
  color: #0F172A;
  outline: none;
}

.chat-send-btn {
  width: 34px;
  height: 34px;
  background: var(--color-brand-primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* News & Financial Screens */
.screen-news, .screen-financial, .screen-history {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-header-title h3, .financial-head h3, .history-head h3 {
  color: #0F172A;
  font-size: 1.1rem;
}

.news-header-title p, .financial-head p, .history-head p {
  font-size: 0.78rem;
  color: #64748B;
}

.news-card-item, .invoice-card, .history-item-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  border: 1px solid #E2E8F0;
}

.news-tag {
  background: rgba(0, 82, 255, 0.1);
  color: var(--color-brand-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.news-title {
  color: #0F172A;
  font-size: 0.92rem;
  margin: 6px 0 4px;
}

.news-excerpt {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.4;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #94A3B8;
  margin-top: 10px;
}

.news-link {
  color: var(--color-brand-primary);
  font-weight: 700;
}

.invoice-status-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.invoice-status-badge.aberto {
  background: #FEF3C7;
  color: #B45309;
}

.invoice-status-badge.quitado {
  background: #D1FAE5;
  color: #065F46;
}

.invoice-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.invoice-label {
  font-size: 0.7rem;
  color: #64748B;
  display: block;
}

.invoice-date, .invoice-val {
  font-size: 0.95rem;
  color: #0F172A;
}

.invoice-title-desc {
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 12px;
}

.invoice-actions-row {
  display: flex;
  gap: 8px;
}

.btn-invoice-pix {
  flex: 1;
  background: #0F172A;
  color: #FFFFFF;
  padding: 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-invoice-pdf {
  flex: 1;
  background: var(--color-brand-primary);
  color: #FFFFFF;
  padding: 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-invoice-pdf-secondary {
  width: 100%;
  background: #F1F5F9;
  color: #334155;
  padding: 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Screen Login */
.screen-login {
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-brand-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portal-logo-bubble.large {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
}

.login-app-title {
  color: #0F172A;
  font-size: 1.3rem;
}

.login-subtitle {
  font-size: 0.78rem;
  color: #64748B;
}

.login-card-form {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.login-card-form h4 {
  color: #0F172A;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.form-instruction {
  font-size: 0.78rem;
  color: #64748B;
  margin-bottom: 14px;
}

.form-group-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.form-group-field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
}

.form-input-sim {
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: #0F172A;
  font-weight: 600;
}

.btn-sim-primary {
  width: 100%;
  background: var(--color-brand-primary);
  color: #FFFFFF;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
}

.divider-ou {
  text-align: center;
  margin: 16px 0 12px;
  position: relative;
}

.divider-ou::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #E2E8F0;
}

.divider-ou span {
  position: relative;
  background: #FFFFFF;
  padding: 0 10px;
  font-size: 0.7rem;
  color: #94A3B8;
  font-weight: 700;
}

.btn-sim-fast-login {
  width: 100%;
  background: #FEF3C7;
  color: #92400E;
  border: 1.5px solid #F59E0B;
  padding: 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fast-login-desc {
  display: block;
  font-size: 0.68rem;
  color: #64748B;
  text-align: center;
  margin-top: 8px;
  line-height: 1.3;
}

/* Phone Bottom Nav */
.phone-bottom-nav {
  height: 64px;
  background: #0A1128;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  position: relative;
  z-index: 50;
}

.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #94A3B8;
  font-size: 0.65rem;
  font-weight: 600;
  gap: 3px;
  transition: all var(--transition-fast);
}

.nav-tab.active {
  color: var(--color-brand-cyan);
}

.floating-center-tab {
  position: relative;
  top: -12px;
}

.floating-icon-glow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 82, 255, 0.6);
  border: 3px solid #0A1128;
  transition: transform var(--transition-fast);
}

.floating-center-tab:hover .floating-icon-glow, .floating-center-tab.active .floating-icon-glow {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.7);
}

.phone-home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  z-index: 100;
}

/* Calculator Styles */
.calculator-card-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--grad-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .calculator-card-wrapper {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .calculator-card-wrapper {
    padding: 20px 14px;
    gap: 20px;
    border-radius: var(--radius-lg);
  }
  .calc-header-tag h3 {
    font-size: 1.35rem;
  }
  .calc-header-tag p {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }
  .results-box-glass {
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }
}

.calc-tag-badge {
  display: inline-block;
  background: rgba(0, 210, 255, 0.15);
  color: var(--color-brand-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.calc-header-tag h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.calc-header-tag p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.calc-control-group {
  margin-bottom: 24px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.calc-value-display {
  color: var(--color-brand-cyan);
  font-weight: 700;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brand-cyan);
  cursor: pointer;
  box-shadow: 0 0 12px var(--color-brand-cyan);
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.results-box-glass {
  background: rgba(10, 17, 40, 0.85);
  border: 1px solid var(--border-brand-glow);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.result-header {
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.result-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-highlight-money {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 6.8vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, #00E599 0%, #00D2FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin: 8px 0;
  word-break: break-all;
}

.result-sub-label {
  font-size: 0.82rem;
  color: var(--color-brand-emerald);
}

.results-comparison-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.breakdown-item {
  padding: 14px;
  border-radius: 12px;
}

.breakdown-item.meta-item {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.breakdown-item.ido-item {
  background: rgba(0, 229, 153, 0.08);
  border: 1px solid rgba(0, 229, 153, 0.25);
}

.breakdown-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.badge-danger {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.badge-success {
  background: #00E599;
  color: #064E3B;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.item-monthly-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.item-monthly-val.free {
  color: var(--color-brand-emerald);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.breakdown-list {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.breakdown-list strong {
  color: #FFFFFF;
}

.calc-cta-action {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.btn-calc-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad-primary);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

.btn-calc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4);
}

.calc-cta-action small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Dynamic Niche Accessibility Pill */
.niche-scope-dynamic-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0, 229, 153, 0.08);
  border: 1px solid rgba(0, 229, 153, 0.25);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  margin: -20px auto 40px;
  max-width: 920px;
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1.5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
  text-align: center;
}

.niche-scope-dynamic-pill em {
  color: var(--color-brand-cyan);
  font-style: normal;
  font-weight: 600;
}

.niche-scope-dynamic-pill strong {
  color: #FFFFFF;
}

.pill-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand-emerald);
  box-shadow: 0 0 10px var(--color-brand-emerald);
  animation: pulseGlow 2s infinite;
  flex-shrink: 0;
}

/* Dynamic Interactive Scope Indicator inside Calculator */
.calc-dynamic-scope-indicator {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(0, 82, 255, 0.12) 0%, rgba(0, 229, 153, 0.08) 100%);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  transition: all var(--transition-fast);
}

.scope-pill-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.scope-pill-indicator strong {
  font-size: 0.95rem;
  color: var(--color-brand-cyan);
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}

.calc-dynamic-scope-indicator p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.calc-dynamic-scope-indicator p strong {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .niche-scope-dynamic-pill {
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.85rem;
    margin: -10px 10px 30px;
  }
}

