* {
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0A0F0D;
    color: #FFFFFF;
}

.glow-button {
    box-shadow: 0 0 20px rgba(0, 255, 194, 0.5);
    transition: all 0.3s ease;
}

.glow-button:hover {
    box-shadow: 0 0 30px rgba(0, 255, 194, 0.8);
    transform: translateY(-2px);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 255, 194, 0.4);
}

.neon-text {
    color: #00FFC2;
    text-shadow: 0 0 10px rgba(0, 255, 194, 0.5);
}

.result-authentic {
    background: rgba(0, 255, 153, 0.1);
    border: 2px solid #00FF99;
    box-shadow: 0 0 20px rgba(0, 255, 153, 0.3);
}

.result-ai {
    background: rgba(255, 0, 77, 0.1);
    border: 2px solid #FF004D;
    box-shadow: 0 0 20px rgba(255, 0, 77, 0.3);
}

.gradient-bg {
    background: linear-gradient(135deg, #0A0F0D 0%, #001F1A 100%);
}

.dropdown {
    display: none;
    position: absolute;
    background: #101515;
    border: 1px solid #00FFC2;
    border-radius: 8px;
    margin-top: 8px;
    z-index: 1000;
    min-width: 200px;
}

.dropdown.active {
    display: block;
}

.dropdown-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(0, 255, 194, 0.1);
    color: #00FFC2;
}

.page-section {
    display: none;
}

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

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00FFC2;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(20px); }
}

textarea, input[type="text"], input[type="email"], input[type="url"] {
    background: #101515;
    border: 1px solid #00FFC2;
    color: #FFFFFF;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

textarea:focus, input:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(0, 255, 194, 0.5);
}

.upload-zone {
    border: 2px dashed #00FFC2;
    background: rgba(16, 21, 21, 0.5);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-zone:hover {
    background: rgba(0, 255, 194, 0.05);
    border-color: #00BFFF;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #101515;
    border-radius: 4px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00FFC2, #00BFFF);
    width: 0%;
    transition: width 0.3s ease;
}

@keyframes gradientPulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
  .animate-gradientPulse {
    background-size: 200% 200%;
    animation: gradientPulse 6s ease infinite;
  }

  /* Reveal Animations */
@keyframes fadeUp { from {opacity:0;transform:translateY(40px);} to {opacity:1;transform:translateY(0);} }
@keyframes slideLeft { from {opacity:0;transform:translateX(-50px);} to {opacity:1;transform:translateX(0);} }
@keyframes slideRight { from {opacity:0;transform:translateX(50px);} to {opacity:1;transform:translateX(0);} }
@keyframes slideUp { from {opacity:0;transform:translateY(50px);} to {opacity:1;transform:translateY(0);} }
@keyframes slideDown { from {opacity:0;transform:translateY(-50px);} to {opacity:1;transform:translateY(0);} }
@keyframes scaleIn { from {opacity:0;transform:scale(0.8);} to {opacity:1;transform:scale(1);} }
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }

.reveal { opacity: 0; transition: all 0.6s ease-out; }
.reveal.animate.fade-up { animation: fadeUp 1s ease forwards; }
.reveal.animate.slide-left { animation: slideLeft 1s ease forwards; }
.reveal.animate.slide-right { animation: slideRight 1s ease forwards; }
.reveal.animate.slide-up { animation: slideUp 1s ease forwards; }
.reveal.animate.slide-down { animation: slideDown 1s ease forwards; }
.reveal.animate.scale-in { animation: scaleIn 1s ease forwards; }
.reveal.animate.fade-in { animation: fadeIn 1.2s ease forwards; }

/* Background glow pulse */
@keyframes gradientPulse { 0%,100%{opacity:0.8;}50%{opacity:1;} }
.animate-gradientPulse { animation: gradientPulse 6s ease-in-out infinite; }

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    transform: scale(1);
  }
  @keyframes blob {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(30px,-50px) scale(1.1); }
    66% { transform: translate(-20px,30px) scale(0.9); }
  }
  .animate-blob { animation: blob 8s infinite; }
  .animation-delay-2000 { animation-delay: 2s; }
  .animation-delay-3000 { animation-delay: 3s; }
  .animation-delay-4000 { animation-delay: 4s; }


  body {
    background: linear-gradient(135deg, #0a1f1f 0%, #0d1b2a 50%, #1a1a2e 100%);
    background-attachment: fixed;
    font-family: "Inter", sans-serif;
  }
  .gradient-overlay {
    background: radial-gradient(
      circle at 50% 50%,
      rgba(0, 255, 200, 0.1) 0%,
      transparent 50%
    );
  }
  .cyber-grid {
    background-image: linear-gradient(
        rgba(0, 255, 200, 0.03) 1px,
        transparent 1px
      ),
      linear-gradient(90deg, rgba(0, 255, 200, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
  }
  .glow-text {
    text-shadow: 0 0 20px rgba(0, 255, 200, 0.5);
  }
  .btn-primary {
    background: linear-gradient(135deg, #00ffc8 0%, #00d4aa 100%);
    box-shadow: 0 4px 15px rgba(0, 255, 200, 0.3);
  }
  .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 255, 200, 0.5);
    transform: translateY(-2px);
  }
  .card-hover:hover {
    border-color: #00ffc8;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.2);
  }
  .sidebar-bg {
    background: rgba(10, 31, 31, 0.6);
    backdrop-filter: blur(10px);
  }
  .sidebar {
    display: flex;
    transition: width 0.3s ease-in-out;
    overflow: hidden;
  }
  .sidebar.collapsed {
    width: 5rem;
  }
  .sidebar-text {
    transition: opacity 0.2s ease, width 0.2s ease;
    white-space: nowrap;
  }
  .sidebar.collapsed .sidebar-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
  }
  .sidebar.collapsed nav a,
  .sidebar.collapsed .px-4 a {
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sidebar.collapsed nav a .material-icons,
  .sidebar.collapsed .px-4 a .material-icons {
    margin-right: 0;
  }
  .sidebar-header {
    transition: justify-content 0.3s ease;
  }
  .sidebar.collapsed .sidebar-header {
    justify-content: center;
  }
  .sidebar.collapsed .sidebar-header > div:first-child {
    opacity: 0;
    width: 0;
    overflow: hidden;
  }
  
  /* Prevent overflow in sidebar */
  .sidebar nav {
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  /* Custom scrollbar for sidebar */
  .sidebar nav::-webkit-scrollbar {
    width: 4px;
  }
  
  .sidebar nav::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .sidebar nav::-webkit-scrollbar-thumb {
    background: rgba(6, 182, 212, 0.3);
    border-radius: 2px;
  }
  
  .sidebar nav::-webkit-scrollbar-thumb:hover {
    background: rgba(6, 182, 212, 0.5);
  }
  
  /* Collapsed sidebar styles for desktop */
  .sidebar.collapsed .sidebar-text {
    display: none;
  }
  
  .sidebar.collapsed .sidebar-header h1 {
    display: none;
  }
  
  .sidebar.collapsed .sidebar-header {
    justify-content: center;
  }
  
  .sidebar.collapsed .material-icons {
    margin-right: 0 !important;
  }
  
  /* Mobile menu button - hidden on desktop, visible on mobile */
  #mobileToggle {
    display: none;
  }
  
  /* Mobile navigation menu - hidden by default */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    overflow-y: auto;
    padding: 5rem 1.5rem 2rem;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  .mobile-nav.active {
    display: block;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* Mobile nav header */
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(6, 182, 212, 0.3);
    margin-bottom: 1.5rem;
  }
  
  /* Mobile nav links */
  .mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .mobile-nav nav a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #9ca3af;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    font-size: 1rem;
  }
  
  .mobile-nav nav a:hover,
  .mobile-nav nav a.active {
    background: rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.4);
    color: white;
    transform: translateX(5px);
  }
  
  .mobile-nav nav a.active {
    color: #06b6d4;
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
  }
  
  .mobile-nav nav a .material-icons {
    margin-right: 1rem;
    font-size: 1.5rem;
  }
  
  .mobile-nav nav a.active .material-icons {
    color: #06b6d4;
  }
  
  /* Custom scrollbar for mobile nav */
  .mobile-nav::-webkit-scrollbar {
    width: 8px;
  }
  
  .mobile-nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
  }
  
  .mobile-nav::-webkit-scrollbar-thumb {
    background: rgba(6, 182, 212, 0.5);
    border-radius: 4px;
  }
  
  .mobile-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(6, 182, 212, 0.7);
  }
  
  /* Ensure content doesn't overflow */
  * {
    box-sizing: border-box;
  }
  
  body {
    overflow-x: hidden;
  }
  
  /* Responsive images */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Back to Dashboard link - Default: visible on desktop, hidden on mobile */
  .back-to-dashboard {
    display: flex;
  }
  
  /* Mobile Responsive Styles - Only apply on mobile */
  @media (max-width: 768px) {
    /* Hide back to dashboard on mobile */
    .back-to-dashboard {
      display: none !important;
    }
  
    /* Hide sidebar on mobile */
    .sidebar {
      display: none !important;
    }
  
    /* Show mobile menu button */
    #mobileToggle {
      display: flex !important;
      position: fixed;
      top: 1rem;
      right: 1rem;
      z-index: 1000;
      background: linear-gradient(
        135deg,
        rgba(6, 182, 212, 0.2),
        rgba(8, 145, 178, 0.2)
      );
      backdrop-filter: blur(10px);
      border: 1px solid rgba(6, 182, 212, 0.3);
      padding: 0.75rem;
      border-radius: 0.75rem;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
    }
  
    #mobileToggle:hover {
      background: linear-gradient(
        135deg,
        rgba(6, 182, 212, 0.3),
        rgba(8, 145, 178, 0.3)
      );
      box-shadow: 0 6px 12px rgba(6, 182, 212, 0.4);
      transform: scale(1.05);
    }
  
    #mobileToggle:active {
      transform: scale(0.95);
    }
  
    /* Main content takes full width on mobile */
    main {
      width: 100% !important;
      padding: 1rem !important;
    }
  
    /* Adjust header spacing for mobile toggle button */
    main > div:first-child,
    main > .mb-6,
    main > .mb-8 {
      margin-top: 4rem !important;
    }
  
    /* Grid layouts - single column on mobile */
    .grid.grid-cols-2,
    .grid.grid-cols-3,
    .grid.grid-cols-4 {
      grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
  
    /* Text size adjustments */
    .text-4xl {
      font-size: 1.875rem !important;
      line-height: 2.25rem !important;
    }
  
    .text-3xl {
      font-size: 1.5rem !important;
      line-height: 2rem !important;
    }
  
    .text-2xl {
      font-size: 1.25rem !important;
      line-height: 1.75rem !important;
    }
  
    .text-xl {
      font-size: 1.125rem !important;
      line-height: 1.75rem !important;
    }
  
    /* Card padding adjustments */
    .p-8 {
      padding: 1rem !important;
    }
  
    .p-6 {
      padding: 1rem !important;
    }
  
    .px-8 {
      padding-left: 1rem !important;
      padding-right: 1rem !important;
    }
  
    .py-3 {
      padding-top: 0.75rem !important;
      padding-bottom: 0.75rem !important;
    }
  
    /* Drop zone adjustments */
    .drop-zone {
      min-height: 150px !important;
      padding: 1.5rem !important;
    }
  
    /* Textarea adjustments */
    textarea {
      min-height: 200px !important;
    }
  
    /* Results area adjustments */
    #resultsArea {
      padding: 1rem !important;
    }
  
    /* Button adjustments */
    button {
      font-size: 0.875rem !important;
    }
  
    /* Stats cards */
    .stats-card {
      padding: 1rem !important;
    }
  
    /* Table responsive */
    table {
      font-size: 0.75rem !important;
    }
  
    table th,
    table td {
      padding: 0.5rem !important;
    }
  
    /* Image preview grid */
    .image-preview-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 0.5rem !important;
    }
  }
  
  /* Tablet breakpoint - Keep sidebar visible */
  @media (min-width: 769px) and (max-width: 1024px) {
    /* Keep back to dashboard visible on tablet */
    .back-to-dashboard {
      display: flex !important;
    }
  
    .sidebar {
      width: 16rem;
      display: flex !important;
    }
  
    .grid.grid-cols-4 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .grid.grid-cols-3 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    main {
      padding: 1.5rem;
    }
  
    /* Hide mobile toggle on tablet */
    #mobileToggle {
      display: none !important;
    }
  
    .mobile-nav {
      display: none !important;
    }
  }
  
  /* Desktop - Sidebar always visible */
  @media (min-width: 1025px) {
    /* Keep back to dashboard visible on desktop */
    .back-to-dashboard {
      display: flex !important;
    }
  
    .sidebar {
      display: flex !important;
    }
  
    #mobileToggle {
      display: none !important;
    }
  
    .mobile-nav {
      display: none !important;
    }
  
    main {
      padding: 2rem;
    }
  }
  