/* src/index.css */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}
/* src/components/LoadingScreen.css */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.loading-screen h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-screen p {
  font-size: 14px;
  opacity: 0.7;
  margin: 0;
}
/* AIchat/src/components/FeedbackButton.css */
.feedback-nav-item {
  position: relative;
}

.feedback-nav-item:hover {
  background: rgba(102, 126, 234, 0.2);
}

.feedback-menu-item {
  background: rgba(102, 126, 234, 0.15) !important;
  border-color: rgba(102, 126, 234, 0.3) !important;
}

.feedback-menu-item:hover {
  background: rgba(102, 126, 234, 0.25) !important;
  border-color: rgba(102, 126, 234, 0.5) !important;
}

/* AIchat/src/components/FeedbackPopup.css */
.feedback-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 99999999999999999 !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  pointer-events: auto !important;
  touch-action: none;
  animation: overlayFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.feedback-popup {
  z-index: 999999999999 !important;
  background: linear-gradient(145deg, rgba(20, 20, 35, 0.98) 0%, rgba(15, 18, 30, 0.98) 100%);
  border-radius: 20px;
  width: 90%;
  max-width: 480px;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(102, 126, 234, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  margin: auto;
  position: relative;
  pointer-events: auto !important;
  touch-action: auto !important;
  animation: popupSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-backdrop-filter: blur(40px);
          backdrop-filter: blur(40px);
}

.feedback-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(102, 126, 234, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(102, 126, 234, 0.05);
  position: relative;
}

.feedback-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.feedback-header h2 {
  margin: 0;
  font-size: 20px;
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.close-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.close-button:hover {
  background: rgba(255, 77, 77, 0.12);
  border-color: rgba(255, 77, 77, 0.25);
  color: #ff6b6b;
  transform: rotate(90deg) scale(1.05);
}

.feedback-content {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1 1;
}

.feedback-section {
  margin-bottom: 18px;
}

.feedback-section label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.feedback-section textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(102, 126, 234, 0.25);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.5;
  min-height: 100px;
}

.feedback-section textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.feedback-section textarea:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 
    0 0 0 3px rgba(102, 126, 234, 0.1),
    0 4px 16px rgba(102, 126, 234, 0.12);
  transform: translateY(-1px);
}

.capture-button {
  padding: 11px 18px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.2);
}

.capture-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.4s;
}

.capture-button:hover:not(:disabled)::before {
  left: 100%;
}

.capture-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.capture-button:active:not(:disabled) {
  transform: translateY(0);
}

.capture-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-top: 10px;
}

.screenshot-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(102, 126, 234, 0.25);
  aspect-ratio: 16/9;
  transition: all 0.2s;
}

.screenshot-item:hover {
  border-color: rgba(102, 126, 234, 0.4);
  transform: scale(1.02);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-screenshot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 70, 70, 0.9);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  opacity: 0;
}

.screenshot-item:hover .remove-screenshot {
  opacity: 1;
}

.remove-screenshot:hover {
  background: rgba(255, 50, 50, 1);
  transform: scale(1.1);
}

.error-summary {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.error-count {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.error-count:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.console-errors {
  background: rgba(255, 193, 7, 0.12);
  color: #ffd54f;
  border: 1.5px solid rgba(255, 193, 7, 0.35);
}

.network-errors {
  background: rgba(244, 67, 54, 0.12);
  color: #ff6b6b;
  border: 1.5px solid rgba(244, 67, 54, 0.35);
}

.feedback-footer {
  padding: 18px 24px;
  border-top: 1px solid rgba(102, 126, 234, 0.12);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  background: rgba(102, 126, 234, 0.04);
}

.cancel-button,
.send-button {
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.cancel-button {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.cancel-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.send-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.25);
}

.send-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.4s;
}

.send-button:hover:not(:disabled)::before {
  left: 100%;
}

.send-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.send-button:active:not(:disabled) {
  transform: translateY(0);
}

.send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.feedback-success {
  padding: 50px 24px;
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
  animation: successPulse 0.5s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.feedback-success h3 {
  margin: 0 0 10px 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.feedback-success p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

@media (max-width: 768px) {
  .feedback-popup-overlay {
    padding: 0.5rem;
  }

  .feedback-popup {
    width: 95%;
    max-height: calc(100vh - 1rem);
  }

  .feedback-header {
    padding: 16px 20px;
  }

  .feedback-content {
    padding: 20px;
  }

  .screenshots-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

@media (max-width: 480px) {
  .feedback-popup-overlay {
    padding: 0.25rem;
  }
  
  .feedback-popup {
    width: 98%;
    max-height: calc(100vh - 0.5rem);
  }
}

/* src/components/Navigation.css */

/* Desktop Navigation */
.desktop-nav {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: 60px;
  max-height: 80px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
}

.nav-container {
  width: 100%;
  height: 100%;
  max-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  margin: 0;
  box-sizing: border-box;
  overflow: visible;
  gap: 6px;
  min-height: 60px;
  pointer-events: auto;
}

@media (max-width: 1200px) {
  .nav-container {
    padding: 8px 8px;
    gap: 4px;
  }
}

@media (max-width: 1024px) {
  .nav-container {
    padding: 8px 6px;
    gap: 3px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 8px 6px;
    gap: 3px;
  }
}

.nav-brand .brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-brand .brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.4));
  transition: transform 0.3s ease;
}

.nav-brand .brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.4));
  transition: transform 0.3s ease;
}

@media (max-width: 1400px) {
  .nav-brand .brand-link {
    font-size: 14px;
    gap: 6px;
  }
  
  .nav-brand .brand-link svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 1024px) {
  .nav-brand .brand-link span {
    display: none;
  }
  
  .nav-brand .brand-logo {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .nav-brand .brand-logo {
    width: 26px;
    height: 26px;
  }
}

.nav-brand .brand-link:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.nav-items {
  display: flex;
  gap: 4px;
  flex: 1 1;
  justify-content: center;
  max-width: none;
  flex-wrap: nowrap;
  align-items: center;
  position: relative;
  z-index: auto;
  overflow: visible;
  min-width: 0;
}

@media (max-width: 1400px) {
  .nav-items {
    gap: 3px;
  }
}

@media (max-width: 1200px) {
  .nav-items {
    gap: 2px;
  }
}

@media (max-width: 1024px) {
  .nav-items {
    gap: 2px;
    flex: 0.7 1;
  }
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 13px;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

@media (max-width: 1400px) {
  .nav-item {
    padding: 7px 10px;
    font-size: 12px;
    gap: 4px;
  }
  
  .nav-item svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 1200px) {
  .nav-item span {
    display: none;
  }
  
  .nav-item {
    padding: 8px;
  }
}

@media (max-width: 1024px) {
  .nav-item {
    padding: 6px;
  }
  
  .nav-item svg {
    width: 18px;
    height: 18px;
  }
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

.nav-item.active {
  background: rgba(102, 126, 234, 0.3);
  color: #fff;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.history-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.nav-stats-group {
  display: flex;
  gap: 3px;
  align-items: center;
  flex-shrink: 2;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
}

@media (max-width: 1400px) {
  .nav-stats-group {
    gap: 2px;
  }
}

@media (max-width: 1150px) {
  .nav-stats-group {
    display: none;
  }
}

.nav-stat-item {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 9px;
  color: #fff;
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
}

@media (max-width: 1400px) {
  .nav-stat-item {
    padding: 3px 5px;
    font-size: 8px;
    gap: 2px;
  }
  
  .nav-stat-item svg {
    width: 11px;
    height: 11px;
  }
}

@media (max-width: 1200px) {
  .nav-stat-item .stat-label {
    display: none;
  }
  
  .nav-stat-item {
    padding: 3px 4px;
  }
}

.nav-stat-item .stat-value {
  font-weight: 600;
  color: #65eb6a;
}

.nav-stat-item .stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 8px;
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 10px;
  padding: 5px 8px;
  color: #fff;
  flex-shrink: 1;
  min-width: 70px;
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
}

.user-info span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 1400px) {
  .user-info {
    font-size: 9px;
    padding: 4px 6px;
    min-width: 60px;
  }
}

@media (max-width: 1150px) {
  .user-info {
    display: none;
  }
}

.user-info.clickable {
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.user-info.clickable:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.balance {
  color: #65eb6a;
  font-weight: 600;
}

.history-btn {
  transition: all 0.3s ease;
}

.history-btn:hover {
  background: rgba(102, 126, 234, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.history-btn.active {
  background: rgba(102, 126, 234, 0.3);
  color: #fff;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.upgrade-btn-nav {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border: none;
  padding: 7px 12px;
  border-radius: 8px;
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
  min-width: -webkit-fit-content;
  min-width: fit-content;
  position: relative;
  z-index: 150;
}

@media (max-width: 1400px) {
  .upgrade-btn-nav {
    padding: 6px 10px;
    font-size: 0.7rem;
    z-index: 150;
  }
}

@media (max-width: 1200px) {
  .upgrade-btn-nav {
    padding: 6px 8px;
    font-size: 0.65rem;
    z-index: 150;
  }
}

@media (max-width: 1024px) {
  .upgrade-btn-nav {
    padding: 7px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 150;
  }
  
  .upgrade-btn-nav::before {
    content: '👑';
    font-size: 1.2rem;
    line-height: 1;
  }
}

@media (max-width: 768px) {
  .upgrade-btn-nav {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 6px;
    z-index: 150;
  }
  
  .upgrade-btn-nav::before {
    font-size: 1.1rem;
  }
}

.upgrade-btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

.upgrade-mobile {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  border-color: rgba(255, 215, 0, 0.5) !important;
  color: #000 !important;
  font-weight: 700 !important;
}

.upgrade-mobile:hover {
  background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%) !important;
  transform: translateY(-1px);
}

@media (max-width: 1050px) {
  .nav-stats-group {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-item:last-child {
    margin-right: 0;
  }
}

/* Mobile Navigation */
.mobile-nav {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  height: 60px;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 375px) {
  .mobile-nav-header {
    padding: 10px 12px;
    height: 55px;
  }
  
  .brand {
    font-size: 16px !important;
  }
}

@media (max-width: 320px) {
  .mobile-nav-header {
    padding: 8px 10px;
    height: 50px;
  }
  
  .brand {
    font-size: 14px !important;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.4));
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.05);
}

@media (max-width: 375px) {
  .brand-logo {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 320px) {
  .brand-logo {
    width: 24px;
    height: 24px;
  }
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.4));
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.05);
}

@media (max-width: 375px) {
  .brand-logo {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 320px) {
  .brand-logo {
    width: 24px;
    height: 24px;
  }
}

.menu-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  z-index: 9998;
  animation: fadeIn 0.3s ease-out;
}

.mobile-menu {
  background: rgba(30, 30, 50, 0.98);
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 0 20px 20px;
  width: 100%;
  max-height: 70vh;
  overflow-y: auto;
  animation: slideDown 0.3s ease-out;
  position: relative;
  z-index: 9999;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header h3 {
  color: #fff;
  margin: 0;
  font-size: 18px;
}

.mobile-menu-header button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 6px;
  color: #fff;
  cursor: pointer;
}

.mobile-menu-items {
  padding: 20px;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 12px;
  font-size: 16px;
}

.mobile-menu-item:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: translateY(-1px);
}

.mobile-menu-item.active {
  background: rgba(102, 126, 234, 0.3);
  border-color: rgba(102, 126, 234, 0.5);
  color: #fff;
}

.mobile-menu-item.logout-btn {
  background: rgba(255, 82, 82, 0.1);
  border-color: rgba(255, 82, 82, 0.3);
  color: #ff5252;
}

.mobile-menu-item.logout-btn:hover {
  background: rgba(255, 82, 82, 0.2);
  border-color: rgba(255, 82, 82, 0.5);
}

.mobile-menu-info {
  margin-top: 20px;
  padding: 16px;
  background: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.3);
  border-radius: 12px;
}

.mobile-menu-info p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.4;
}

.desktop-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 152, 0, 0.2);
  border: 1px solid rgba(255, 152, 0, 0.4);
  border-radius: 8px;
  color: #ff9800;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.desktop-link:hover {
  background: rgba(255, 152, 0, 0.3);
  transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Adjust app content for fixed navigation */
.app-content {
  padding-top: 2px;
  min-height: calc(100vh - 70px);
}

@media (max-width: 768px) {
  .app-content {
    padding-top: 60px;
    min-height: calc(100vh - 60px);
  }
}
/* src/App.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden !important;
  width: 100vw;
  max-width: 100vw;
}

html, body, #root {
  overflow-x: hidden !important;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent horizontal scroll on all screen sizes */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

@media (max-width: 375px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 13px;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #1a0b2e 100%);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden !important;
  color: #fff;
  overscroll-behavior: none;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  padding-bottom: env(safe-area-inset-bottom);
}

/* Safari specific fixes */
@supports (-webkit-appearance: none) {
  input, textarea, button:not(.pricing-cta-btn):not(.cta-main-btn) {
    -webkit-appearance: none;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
  }
  
  input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
  }
  
  .message-bubble {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
  }
  
  .message.user .message-bubble {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
  }
  
  .message.assistant .message-bubble {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
  }
  
  .pricing-card {
    background: rgba(30, 20, 50, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }
  
  .pricing-card.featured {
    background: rgba(80, 70, 140, 0.75) !important;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }
}

.App {
  min-height: 100vh;
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden !important;
  overscroll-behavior: none;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.app-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
}

@media (max-width: 768px) {
  .app-content {
    top: 10px !important;
  }
  /* .layout-content{
    top: 16px !important;
  }  */
  /* chat-container {
    top: 100px !important;;
  } */
   messages-area {
    bottom: 20px !important;
  }
  bottom-navigation {
    bottom: 10px !important;
  }
}

@media (max-width: 768px) {
  .App {
    padding: 0;
  }
}

.App::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #1a0b2e 100%),
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  z-index: -1;
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  33% {
    transform: translateX(-20px) translateY(20px);
  }
  66% {
    transform: translateX(20px) translateY(-20px);
  }
}

/*# sourceMappingURL=main.dca84ea8.css.map*/