/*
 * Stylesheet for the AI Tools Collections web application. This file defines the
 * colour palette, typography and layout inspired by the reference site
 * toolindex.ai. It uses CSS custom properties to allow easy tuning of
 * colours and spacing. The design utilises a dark backdrop with warm
 * highlights for contrast and readability.
 */

/* Root variables define the core colour scheme and font sizes. Adjusting
   these values will cascade through the entire interface. */
:root {
  --bg-color: #041c32;
  /* deep navy background reminiscent of the reference site */
  --primary-color: #f4a261;
  /* warm orange accent used for highlights and buttons */
  --text-color: #e5e8ef;
  /* soft off‑white for primary text on dark backgrounds */
  --secondary-text: #97a5bf;
  /* muted light blue for secondary text */
  --card-bg: rgba(255, 255, 255, 0.03);
  /* premium semi-transparent dark background */
  --card-border: rgba(255, 255, 255, 0.08);
  /* subtle light border for glass effect */
  --card-shadow: rgba(0, 0, 0, 0.2);
  /* deeper shadow for depth */
  --font-family: 'Poppins', sans-serif;
  --transition-speed: 0.3s;
}

/* Global resets to remove default margins and apply the base font. */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Prevent horizontal scrolling on mobile devices */
  overflow-x: hidden;
}

/* Advanced Global Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
  /* Match the deep navy background */
  border-left: 1px solid rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(244, 162, 97, 0.5) 0%, var(--primary-color) 100%);
  border-radius: 10px;
  border: 2px solid var(--bg-color);
  /* Creates a padded floating effect */
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(244, 162, 97, 0.8) 0%, #e76f51 100%);
}

/* Container utility class centralises content and constrains maximum width. */
.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

/* Navigation styling */
header {
  background-color: var(--bg-color);
  padding: 8px 0;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 70px;
  width: auto;
}

.logo-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.logo-part1 {
  color: var(--text-color);
}

.logo-part2 {
  color: var(--primary-color);
}

.logo-part3 {
  color: var(--text-color);
  font-weight: 500;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-list li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color var(--transition-speed);
}

.nav-list li a:hover {
  color: var(--primary-color);
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.login-btn {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.login-btn:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.register-btn {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.register-btn:hover {
  background-color: #e8954e;
}

/* New Hero section styling */
.hero-new {
  width: 100%;
  background-color: var(--bg-color);
  margin-bottom: 50px;
  /* Added gap between hero and main content */
}

.hero-banner {
  background-image: url('../images/hero-section/Ai Tools Collections Banners Background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1px 0 50px;
  /* Updated as per user request */
  min-height: 550px;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  width: 100%;
}

.hero-left {
  max-width: 600px;
  text-align: left;
}

.hero-site-logo {
  height: 28px;
  margin-bottom: 25px;
}

.hero-left h1 {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(90deg, #4da1ff, #a67cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-left p {
  color: #a0aec0;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.explore-btn {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.explore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.curated-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.curated-feature img {
  height: 32px;
  width: auto;
}

.curated-feature span {
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Hero Features Bar */
.hero-features-bar {
  background-color: var(--bg-color);
  border-top: none;
  border-bottom: none;
  padding: 30px 0;
  /* Increased padding inside features bar */
}

.features-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 200px;
}

.feature-item img {
  height: 36px;
  width: auto;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-text strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}

.feature-text span {
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Responsive adjustments for hero */
@media (max-width: 1024px) {
  .hero-banner {
    background-position: right;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 60px 0;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(11, 15, 25, 0.8);
  }

  .hero-left {
    text-align: center;
    margin: 0 auto;
  }

  .hero-left h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    justify-content: center;
  }

  .features-container {
    justify-content: center;
  }

  .feature-item {
    min-width: 45%;
  }
}

@media (max-width: 480px) {
  .feature-item {
    min-width: 100%;
    justify-content: center;
  }
}

/* Layout for main content */
.main-container {
  display: flex;
  gap: 30px;
  margin-bottom: 60px;
}

/* Sidebar styling */
.sidebar {
  flex: 1;
  max-width: 280px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  color: var(--secondary-text);
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.sidebar .tool-count {
  font-size: 0.8rem;
  margin-bottom: 25px;
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 15px;
  border-radius: 50px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

#tool-count {
  color: var(--primary-color);
  font-weight: 700;
}

.search-box {
  position: relative;
  margin-bottom: 25px;
}

.search-box input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--text-color);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-speed);
}

.search-box input:focus {
  border-color: var(--primary-color);
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.1);
}

.search-box input::placeholder {
  color: rgba(151, 165, 191, 0.5);
}

/* Filter sections */
.filter-section {
  margin-bottom: 20px;
}

.filter-title {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 15px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 5px;
  transition: color 0.2s;
}

.filter-title:hover {
  color: var(--primary-color);
}

.filter-title .arrow {
  display: inline-block;
  transition: transform var(--transition-speed);
  font-size: 0.8rem;
  opacity: 0.6;
}

.filter-title.active .arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.filter-options {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease-out;
}

.filter-options.open {
  max-height: 300px;
  overflow-y: auto;
}

/* Custom scrollbar for filter options to match premium dark theme */
.filter-options::-webkit-scrollbar {
  width: 4px;
}

.filter-options::-webkit-scrollbar-track {
  background: transparent;
}

.filter-options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.filter-options::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.filter-options label {
  display: flex;
  align-items: center;
  margin: 10px 0;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--secondary-text);
  transition: color 0.2s;
  user-select: none;
}

.filter-options label:hover {
  color: var(--text-color);
}

.filter-options input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  margin-right: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.filter-options input[type="checkbox"]:checked {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.filter-options input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--bg-color);
  font-size: 12px;
  font-weight: bold;
}

/* Tool grid styling */
.tools-grid {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Card styling */
.card {
  background-color: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--card-shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(244, 162, 97, 0.4);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(244, 162, 97, 0.05), transparent);
  pointer-events: none;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  position: relative;
}

.logo-circle {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-detail-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  flex-grow: 1;
}

.tool-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-color: #ffffff;
  /* Added so transparent favicons have a white background */
  transition: opacity 0.3s ease;
}

.fallback-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bg-color);
  background-color: var(--primary-color);
  border-radius: 50%;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--secondary-text);
  margin-bottom: 16px;
  flex-grow: 1;
  line-height: 1.6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--secondary-text);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.tag:hover {
  background-color: rgba(244, 162, 97, 0.1);
  color: var(--primary-color);
}

.card-footer {
  display: flex;
  justify-content: flex-end;
}

.visit-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, #e76f51 100%);
  color: var(--bg-color);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 15px rgba(244, 162, 97, 0.2);
}

.visit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(244, 162, 97, 0.4);
  filter: brightness(1.1);
}

/* Card actions: like, bookmark, and download buttons */
.card-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card-actions button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--secondary-text);
  transition: color var(--transition-speed);
}

.card-actions button:hover {
  color: var(--primary-color);
}

.card-actions button .like-count {
  margin-left: 4px;
}

.card-actions button.liked,
.card-actions button.bookmarked {
  color: var(--primary-color);
}

/* Header download button styling */
.header-download-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--secondary-text);
  padding: 6px;
  border-radius: 8px;
  transition: all var(--transition-speed);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-download-btn:hover {
  background: rgba(244, 162, 97, 0.1);
  color: var(--primary-color);
  transform: scale(1.1);
}


.header-download-btn.downloading {
  opacity: 0.5;
  cursor: not-allowed;
}

.header-download-btn.downloading::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid #44506c;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* Download button specific styling */
.download-btn {
  position: relative;
  padding: 4px;
  border-radius: 4px;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.download-btn:hover {
  background-color: rgba(244, 162, 97, 0.1);
  color: var(--primary-color);
}

.download-btn.downloading {
  color: var(--primary-color);
  cursor: not-allowed;
}

.download-btn.downloading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 2px solid var(--primary-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/*
 * Loading indicator styling
 *
 * The loading element has been moved outside of the tools grid and now
 * resembles a button. It stays hidden until more items are being
 * fetched, then appears centred above the footer. Once all data is
 * loaded the script hides it again. A spinner is created using the
 * border trick and rotates continuously while loading.
 */
.loading-indicator {
  /* Hidden by default; shown via JS with display:flex */
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  color: var(--bg-color);
  background-color: var(--primary-color);
  border-radius: 6px;
  margin: 20px auto;
  user-select: none;
  cursor: default;
}

/* Spinner icon shown before the loading text. Uses border trick to
   create a circular spinner that rotates continuously. */
.loading-indicator::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid var(--bg-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Rotation keyframes for the spinner. */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* When no more items remain, JS adds the `.finished` class. In this
   state the spinner is hidden and the text can change to indicate
   completion. */
.loading-indicator.finished::before {
  display: none;
}

/* Maintain original grid-column rule for backwards compatibility; it
   only applies if the loading indicator remains inside the grid. */
.tools-grid .loading-indicator {
  grid-column: 1 / -1;
}

/* Mobile navigation styling */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 80%;
  height: 100vh;
  background-color: var(--bg-color);
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform var(--transition-speed);
  z-index: 200;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav-overlay.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.mobile-nav-list li {
  margin-bottom: 12px;
}

.mobile-nav-list a,
.mobile-nav-list button {
  color: var(--secondary-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  display: block;
  width: 100%;
  text-align: left;
}

.mobile-nav-list a:hover,
.mobile-nav-list button:hover {
  color: var(--primary-color);
}

.close-menu {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

.mobile-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dropdown-content {
  list-style: none;
  padding-left: 15px;
  margin-top: 6px;
  display: none;
}

.dropdown-content.open {
  display: block;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .sidebar {
    position: static;
    max-width: 100%;
    margin-bottom: 30px;
  }

  /* Hide desktop nav and auth buttons on mobile */
  .nav-container nav,
  .auth-buttons {
    display: none;
  }

  /* Show hamburger menu */
  .menu-toggle {
    display: block;
  }
}

/*
 * Additional mobile-specific styling to improve usability on very
 * narrow screens. The sidebar becomes a full‑width section above the
 * tool cards with clear separation lines. Input sizes and font
 * sizes are increased slightly for better tap targets. Filter
 * sections receive border lines to distinguish them, mirroring the
 * accordion style seen on the reference site. These tweaks apply on
 * screens narrower than 600px.
 */
@media (max-width: 600px) {

  /* Sidebar occupies full width and gains a subtle bottom border */
  .sidebar {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .sidebar .tool-count {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  /* Larger search input for easier interaction */
  .search-box input {
    font-size: 0.95rem;
    padding: 12px 14px;
  }

  /* Filter titles styled as accordions with borders for separation */
  .filter-title {
    font-size: 1rem;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .filter-options {
    padding-left: 10px;
  }

  .filter-options label {
    font-size: 0.9rem;
    padding: 6px 0;
  }

  /* On narrow screens, collapse the tools grid into a single column to
     prevent cards from overflowing beyond the viewport width. Without
     overriding the template, each card retains a minimum width of 300px,
     which causes horizontal scrolling on phones. */
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

/*
 * Desktop dropdown menu for the "More" navigation item. When hovered, the
 * submenu appears as a card with an arrow pointing up. Each entry in
 * the submenu contains a title and a brief description. Colours are
 * chosen to contrast against the dark header and match the card styles
 * used elsewhere on the site.
 */
.desktop-nav .dropdown {
  position: relative;
}

.desktop-nav .dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: -20px;
  background-color: #0b2447;
  /* Solid dark blue for perfect visibility */
  color: var(--text-color);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  padding: 8px;
  width: 280px;
  z-index: 300;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.desktop-nav .dropdown .dropdown-menu.open {
  display: block;
  animation: fadeIn 0.2s ease-out forwards;
}

.desktop-nav .dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.2s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.desktop-nav .dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 35px;
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent #0b2447 transparent;
}

.desktop-nav .dropdown .dropdown-menu::after {
  content: '';
  position: absolute;
  top: -9px;
  right: 35px;
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent rgba(255, 255, 255, 0.1) transparent;
  z-index: -1;
}

.dropdown-menu li {
  margin-bottom: 4px;
}

.dropdown-menu li:last-child {
  margin-bottom: 0;
}

.dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text-color);
  border-radius: 10px;
  transition: all var(--transition-speed);
}

.dropdown-menu a svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--secondary-text);
  transition: all var(--transition-speed);
}

.dropdown-menu a:hover svg {
  color: var(--primary-color);
  transform: scale(1.1);
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

.dropdown-menu strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: #ffffff;
  transition: color var(--transition-speed);
}

.dropdown-menu a:hover strong {
  color: var(--primary-color);
}

.dropdown-menu .desc {
  font-size: 0.8rem;
  color: var(--secondary-text);
  display: block;
  line-height: 1.35;
}

/* Basic form styling for submit and contact pages */
form input,
form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: 0.9rem;
  outline: none;
}

form input::placeholder,
form textarea::placeholder {
  color: var(--secondary-text);
}

form button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

form button:hover {
  background-color: #e8954e;
}

/* Gallery for shared images on the share page */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.image-gallery img,
.shared-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/*
 * Footer styling
/* Footer Redesign */
footer {
  background-color: var(--bg-color);
  padding: 80px 0 40px;
  border-top: none;
  margin-top: auto;
}

.footer-container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo .logo-img {
  height: 60px;
}

/* Social icons row */
.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.footer-socials a:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Copyright text */
.footer-copy {
  color: var(--secondary-text);
  font-size: 0.8rem;
}

/* Ensure the main content grows to fill available space so the footer stays at the bottom */
main {
  flex: 1 0 auto;
}

/* Auth Container */
.auth-container {
  max-width: 450px;
  margin: 60px auto;
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px var(--card-shadow);
}

.auth-container h2 {
  color: #1d3557;
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 600;
}

.auth-container p {
  color: #44506c;
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.auth-container form input {
  background-color: #f8f9fa;
  border: 1px solid #e1e5eb;
  color: #1d3557;
}

.auth-container form input:focus {
  border-color: var(--primary-color);
  background-color: #ffffff;
}

.auth-container form button {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  margin-top: 10px;
}

.auth-links {
  margin-top: 25px;
  text-align: center;
  font-size: 0.9rem;
  color: #44506c;
}

.auth-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed);
}

.auth-links a:hover {
  color: #e8954e;
  text-decoration: underline;
}

/* Tool Detail Page Styling */
.tool-detail-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tool-detail-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  padding: 40px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.detail-logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.detail-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-info-header h1 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 12px;
  background: linear-gradient(to right, #ffffff, var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.tool-type-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(244, 162, 97, 0.1);
  color: var(--primary-color);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(244, 162, 97, 0.2);
}

.tool-content-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.detail-main-card,
.detail-sidebar-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px var(--card-shadow);
}

.detail-sidebar-card {
  padding: 30px;
}

.detail-section-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-section-title i {
  color: var(--primary-color);
}

.detail-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--secondary-text);
  margin-bottom: 30px;
}

.metadata-item {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metadata-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.metadata-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary-text);
  margin-bottom: 10px;
  font-weight: 700;
}

.metadata-value {
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 500;
}

.visit-tool-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #e76f51 100%);
  color: var(--bg-color);
  padding: 18px 30px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(244, 162, 97, 0.3);
  margin-top: 20px;
  text-align: center;
}

.visit-tool-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(244, 162, 97, 0.5);
  filter: brightness(1.1);
}

.use-cases-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.use-case-tag {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.use-case-tag:hover {
  background: rgba(244, 162, 97, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.error-container {
  text-align: center;
  padding: 100px 20px;
}

.error-container h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.back-home-btn {
  display: inline-block;
  margin-top: 20px;
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 4px;
}

@media (max-width: 900px) {
  .tool-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tool-detail-hero {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px 20px;
  }

  .tool-info-header h1 {
    font-size: 2.5rem;
  }

  .detail-logo-circle {
    width: 100px;
    height: 100px;
  }

  .detail-main-card,
  .detail-sidebar-card {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   NEW MULTI-COLUMN FOOTER STYLES
   ========================================================================== */
footer {
  background-color: #020d18 !important;
  padding: 80px 0 40px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  margin-top: auto !important;
}

.footer-container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-column h3 {
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: #f4a261;
}

.footer-about .footer-logo {
  margin-bottom: 20px;
}

.footer-about .footer-logo .logo-img {
  height: 60px;
}

.footer-about p {
  color: #97a5bf !important;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links li {
  margin-bottom: 12px !important;
}

.footer-links li a {
  color: #97a5bf !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links li a:hover {
  color: #f4a261 !important;
  transform: translateX(5px);
}

.footer-socials {
  display: flex !important;
  gap: 15px !important;
  margin-top: 10px !important;
}

.footer-social-link {
  width: 40px !important;
  height: 40px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.footer-social-link:hover {
  background: #f4a261 !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(244, 162, 97, 0.2);
}

.footer-social-link svg {
  width: 18px !important;
  height: 18px !important;
  fill: #ffffff !important;
  transition: fill 0.3s ease;
}

.footer-social-link:hover svg {
  fill: #041c32 !important;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  color: rgba(151, 165, 191, 0.6) !important;
  font-size: 0.85rem !important;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
}

.footer-bottom-links a {
  color: rgba(151, 165, 191, 0.6) !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #f4a261 !important;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-about p {
    margin: 0 auto;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   PREMIUM CONTACT PAGE STYLES
   ========================================================================== */
.contact-section {
  padding: 80px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top right, rgba(244, 162, 97, 0.05), transparent 400px),
    radial-gradient(circle at bottom left, rgba(42, 157, 143, 0.05), transparent 400px);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  width: 100%;
}

.contact-info-panel {
  background: linear-gradient(135deg, #041c32 0%, #020d18 100%);
  padding: 50px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-panel h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  background: linear-gradient(to right, #ffffff, var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.contact-info-panel p {
  color: var(--secondary-text);
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-details {
  margin: 40px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon-circle {
  width: 45px;
  height: 45px;
  background: rgba(244, 162, 97, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  border: 1px solid rgba(244, 162, 97, 0.2);
}

.contact-item span {
  font-size: 0.95rem;
  color: #ffffff;
}

.contact-form-panel {
  padding: 50px;
}

.contact-form-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--secondary-text);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(244, 162, 97, 0.1);
}

.submit-contact-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #e76f51 100%);
  color: #020d18;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(244, 162, 97, 0.2);
  margin-top: 10px;
}

.submit-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(244, 162, 97, 0.4);
  filter: brightness(1.1);
}

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

  .contact-info-panel {
    padding: 40px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* ==========================================================================
   PREMIUM GLOSSARY & DIRECTORY STYLES
   ========================================================================== */
.glossary-hero {
  padding: 80px 0 40px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(244, 162, 97, 0.08), transparent 50%);
}

.glossary-hero h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.glossary-hero p {
  color: var(--secondary-text);
  font-size: 1.1rem;
}

.alphabet-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.alphabet-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-text);
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.alphabet-link:hover,
.alphabet-link.active {
  background: var(--primary-color);
  color: #020d18;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(244, 162, 97, 0.3);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  padding-bottom: 80px;
}

.glossary-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.glossary-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.glossary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s;
}

.glossary-card:hover::before {
  opacity: 1;
}

.glossary-term {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: block;
}

.glossary-definition {
  color: var(--secondary-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .glossary-hero h2 {
    font-size: 2.2rem;
  }

  .glossary-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NEW HERO SECTION STYLES
   ========================================================================== */
.hero-new {
  position: relative;
  background-color: var(--bg-color);
  overflow: hidden;
}

.hero-banner {
  background-image: url('../images/hero-section/hero-background%20.png');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--bg-color);
  padding: 1px 0 50px;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero-left {
  z-index: 2;
}

.hero-site-logo {
  height: 45px;
  margin-bottom: 25px;
}

.hero-left h1 {
  font-size: 3rem;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-left h1 .gradient-text {
  background: linear-gradient(to right, #f4a261, #e76f51);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-left p {
  font-size: 1.2rem;
  color: var(--secondary-text);
  line-height: 1.6;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.explore-btn {
  display: inline-block;
  padding: 18px 35px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #e76f51 100%);
  color: #020d18;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(244, 162, 97, 0.3);
}

.explore-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(244, 162, 97, 0.5);
}

.curated-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.curated-feature img {
  width: 32px;
  height: 32px;
}

.curated-feature span {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
}

.hero-right {
  position: relative;
  z-index: 2;
}

.hero-assets-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-features-bar {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
}

.features-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
  border-right: none;
  padding-right: 0;
}

.feature-item img {
  width: 40px;
  height: 40px;
}

.feature-text strong {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.feature-text span {
  color: var(--secondary-text);
  font-size: 0.75rem;
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-right {
    order: 2;
  }

  .hero-assets-img {
    max-width: 400px;
    width: 80%;
  }

  .features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .feature-item {
    border-right: none;
    padding-right: 0;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 40px 0 30px;
    background-size: cover;
  }

  .hero-site-logo {
    height: 35px;
    margin-bottom: 20px;
  }

  .hero-left h1 {
    font-size: 2.2rem;
  }

  .hero-left p {
    font-size: 1rem;
  }

  .hero-assets-img {
    max-width: 300px;
    width: 70%;
  }

  .explore-btn {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .curated-feature span {
    font-size: 0.75rem;
  }

  .hero-features-bar {
    padding: 25px 0;
  }

  .feature-item img {
    width: 30px;
    height: 30px;
  }

  .feature-text strong {
    font-size: 0.8rem;
  }

  .feature-text span {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 1.8rem;
  }

  .hero-left p {
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .hero-assets-img {
    max-width: 250px;
  }

  .features-container {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* Auth Container Styles */
.auth-container {
  max-width: 450px;
  margin: 80px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.auth-container h2 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(to right, #ffffff, var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-container p {
  color: var(--secondary-text);
  margin-bottom: 35px;
  font-size: 1rem;
  line-height: 1.6;
}

#login-form input {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

#login-form input:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(244, 162, 97, 0.1);
}

#login-form button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #e76f51 100%);
  border: none;
  border-radius: 12px;
  color: #020d18;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(244, 162, 97, 0.2);
}

#login-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(244, 162, 97, 0.4);
  filter: brightness(1.1);
}