/* ============================================
   PIXEL-PERFECT REDESIGN - B2B Enterprise UI
   ============================================ */

:root {
  /* Design System Colors */
  --bg-main: #F5F7FA;
  --bg-card: #FFFFFF;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --accent-green: #3f7f3a;
  --accent-blue: #2f6fd6;
  --border: #E5E7EB;
  
  /* Shadows - subtle, very soft */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Border Radius - минимальное скругление */
  --radius-card: 4px;
  --radius-button: 4px;
  
  /* Spacing */
  --section-padding: 96px;
  --container-max: 1280px;
}

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* ============================================
   HEADER - Pixel Perfect
   ============================================ */
header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 0 48px;
  min-height: 80px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

header strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

header strong::after {
  content: 'B2B маркет остатков';
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-size: 14px;
  height: 40px;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  opacity: 0.9;
}

.nav-link-green {
  background: var(--accent-green);
  color: white;
  border-color: var(--accent-green);
}

.nav-link-green:hover {
  background: #356832;
  opacity: 1;
}

.nav-link-blue {
  background: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
}

.nav-link-blue:hover {
  background: #2563eb;
  opacity: 1;
}

.nav-link-primary {
  background: var(--accent-green);
  color: white;
  border-color: var(--accent-green);
}

.nav-link-primary:hover {
  background: #356832;
  opacity: 1;
}

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

.btn-header-text {
  font-weight: 500;
  padding: 10px 20px;
  background: transparent;
  color: var(--text-primary);
  border: none;
  transition: color 0.2s ease;
  font-size: 14px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.btn-header-text:hover {
  color: var(--accent-green);
  opacity: 1;
}

.btn-header-primary {
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-button);
  background: var(--accent-green);
  color: white;
  border: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
  font-size: 14px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.btn-header-primary:hover {
  box-shadow: var(--shadow-md);
  opacity: 1;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
}

/* ============================================
   HERO SECTION - Pixel Perfect
   ============================================ */
.hero-new {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 64px 56px;
  margin: var(--section-padding) 0;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.hero-stats-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(63, 127, 58, 0.1);
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.stat-icon {
  font-size: 18px;
  line-height: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 0 0 40%;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 400;
  margin: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 16px 32px;
  background: var(--accent-green);
  color: white;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: 16px;
  border: none;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
  opacity: 1;
}

.btn-secondary {
  padding: 16px 32px;
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: 16px;
  transition: border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  opacity: 1;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 60%;
  overflow: visible;
}

.hero-image {
  width: 100%;
  height: auto;
  max-width: 150%;
  object-fit: contain;
  border-radius: var(--radius-card);
  transform: scale(1.5);
}

/* Fallback illustration if image not available */
.warehouse-illustration {
  width: 100%;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  border-radius: var(--radius-card);
}

.laptop-screen {
  width: 320px;
  height: 200px;
  background: var(--bg-card);
  border: 4px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 3;
}

.laptop-screen::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.laptop-base {
  width: 360px;
  height: 24px;
  background: #d1d5db;
  border-radius: 0 0 8px 8px;
  margin-top: -4px;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Робот убран по запросу */

.box-stack {
  position: absolute;
  bottom: 50px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.box {
  width: 60px;
  height: 45px;
  background: #8b5a3c;
  border: 2px solid #6b4423;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.warehouse-stack {
  position: absolute;
  bottom: 50px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

/* ============================================
   FEATURE BLOCKS - Two Cards
   ============================================ */
.feature-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: var(--section-padding) 0;
}

.feature-card {
  padding: 48px 40px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.feature-card-green::before {
  background: var(--accent-green);
}

.feature-card-blue::before {
  background: var(--accent-green);
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 24px;
  display: block;
  line-height: 1;
}

.feature-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.feature-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 32px;
  font-weight: 500;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.feature-list li {
  padding: 12px 0;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-list li::before {
  content: '✓';
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
}

.feature-card-green .feature-list li::before {
  color: var(--accent-green);
}

.feature-card-blue .feature-list li::before {
  color: var(--accent-green);
}

.btn-feature {
  padding: 14px 28px;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: 16px;
  border: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.btn-feature-green {
  background: var(--accent-green);
  color: white;
}

.btn-feature-green:hover {
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.btn-feature-blue {
  background: var(--accent-green);
  color: white;
}

.btn-feature-blue:hover {
  box-shadow: var(--shadow-md);
  opacity: 1;
}

/* ============================================
   LIQUIDITY SECTION
   ============================================ */
.liquidity-section {
  margin: var(--section-padding) 0;
  padding: 64px 56px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.liquidity-title {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 48px;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -0.03em;
}

.liquidity-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.liquidity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.liquidity-list li {
  padding: 16px 0;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.liquidity-list li:last-child {
  border-bottom: none;
}

.liquidity-list li::before {
  content: '✓';
  font-size: 18px;
  font-weight: bold;
  color: var(--accent-green);
  flex-shrink: 0;
}

.liquidity-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.liquidity-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
}

.liquidity-graphic {
  display: flex;
  align-items: center;
  gap: 12px;
}

.liquidity-shield {
  font-size: 48px;
  filter: drop-shadow(0 2px 4px rgba(63, 127, 58, 0.2));
}

.liquidity-check {
  font-size: 32px;
  color: var(--accent-green);
  font-weight: bold;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-section {
  margin: var(--section-padding) 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  padding: 32px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow 0.2s ease;
  cursor: pointer;
}

.category-card:hover {
  box-shadow: var(--shadow-lg);
}

.category-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.category-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.category-count {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.category-card-trust {
  background: rgba(63, 127, 58, 0.05);
  border-color: rgba(63, 127, 58, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  margin-top: var(--section-padding);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-green);
  opacity: 1;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 32px auto 0;
  padding: 24px 48px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   CATALOG & MARKETPLACE - Filters & Cards
   ============================================ */
h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 32px 0 16px;
  letter-spacing: -0.03em;
}

.muted {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 32px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.filters > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filters label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.filters input[type="text"],
.filters input[type="number"],
.filters select {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filters input[type="text"]:focus,
.filters input[type="number"]:focus,
.filters select:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(63, 127, 58, 0.1);
}

.filters button {
  padding: 12px 24px;
  background: var(--accent-green);
  color: white;
  border: none;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
  align-self: end;
}

.filters button:hover {
  box-shadow: var(--shadow-md);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 12px 0 8px;
  line-height: 1.4;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(63, 127, 58, 0.1);
  color: var(--accent-green);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(47, 111, 214, 0.1);
  color: var(--accent-blue);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 12px;
}

.card > div {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 4px 0;
}

.card a.badge {
  margin-right: 8px;
  margin-top: 12px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.card a.badge:hover {
  background: rgba(63, 127, 58, 0.2);
  opacity: 1;
}

/* ============================================
   AUTH PAGES - Login & Register
   ============================================ */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
  padding: 48px 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.auth-card h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 24px;
  text-align: center;
  letter-spacing: -0.02em;
}

.auth-description {
  color: var(--text-secondary);
  font-size: 15px;
  text-align: center;
  margin: 0 0 32px;
  line-height: 1.6;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"] {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(63, 127, 58, 0.1);
}

.btn-full {
  width: 100%;
  margin-top: 8px;
}

.error-message {
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-radius: var(--radius-button);
  font-size: 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.auth-footer {
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.auth-footer a {
  color: var(--accent-green);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  opacity: 0.8;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-readonly {
  background: var(--bg-main) !important;
  color: var(--text-secondary) !important;
  cursor: not-allowed;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label a {
  color: var(--accent-green);
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 64px;
  }
  
  header {
    padding: 0 32px;
    gap: 32px;
  }
  
  main {
    padding: 0 32px;
  }
  
  .hero-content {
    gap: 48px;
  }
  
  .feature-blocks {
    gap: 24px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Дубликат удален - полная версия ниже */

@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
  }
  
  header {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    padding: 16px 20px;
    gap: 16px;
  }
  
  .header-logo {
    justify-self: center;
    text-align: center;
  }
  
  .header-logo img {
    height: 80px !important;
  }
  
  .header-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .nav-link {
    font-size: 13px;
    padding: 8px 16px;
    height: 36px;
  }
  
  .header-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .btn-header-text,
  .btn-header-primary {
    font-size: 13px;
    padding: 8px 16px;
    height: 36px;
  }
  
  main {
    padding: 0 20px;
  }
  
  .hero-new {
    padding: 32px 24px;
    margin: 32px 0;
  }
  
  .hero-stats-bar {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
  }
  
  .stat-badge {
    font-size: 13px;
    padding: 8px 14px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hero-text h1 {
    font-size: 32px;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }
  
  .hero-visual {
    min-height: 250px;
  }
  
  .hero-image {
    transform: scale(1);
    max-width: 100%;
  }
  
  .feature-blocks {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 48px 0;
  }
  
  .feature-card {
    padding: 32px 24px;
  }
  
  .feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .feature-title {
    font-size: 24px;
  }
  
  .feature-subtitle {
    font-size: 15px;
  }
  
  .feature-list {
    margin-bottom: 32px;
  }
  
  .feature-list li {
    font-size: 14px;
    padding: 10px 0;
  }
  
  .liquidity-section {
    padding: 40px 24px;
    margin: 48px 0;
  }
  
  .liquidity-title {
    font-size: 28px;
    margin-bottom: 32px;
  }
  
  .liquidity-content {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }
  
  .liquidity-list li {
    font-size: 15px;
    padding: 14px 0;
  }
  
  .liquidity-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
  }
  
  .liquidity-note {
    font-size: 13px;
  }
  
  .categories-section {
    margin: 48px 0;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .category-card {
    padding: 24px 16px;
  }
  
  .category-icon {
    font-size: 40px;
    margin-bottom: 12px;
  }
  
  .category-name {
    font-size: 16px;
  }
  
  .category-count {
    font-size: 13px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }
  
  .footer-bottom {
    padding: 20px 20px 0;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 32px;
  }
  
  header {
    padding: 12px 16px;
    gap: 12px;
  }
  
  .header-logo img {
    height: 60px !important;
  }
  
  .nav-link {
    font-size: 12px;
    padding: 6px 12px;
    height: 32px;
  }
  
  .btn-header-text,
  .btn-header-primary {
    font-size: 12px;
    padding: 6px 12px;
    height: 32px;
  }
  
  main {
    padding: 0 16px;
  }
  
  .hero-new {
    padding: 24px 20px;
    margin: 24px 0;
  }
  
  .hero-text h1 {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .stat-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .feature-card {
    padding: 24px 20px;
  }
  
  .feature-icon {
    font-size: 40px;
  }
  
  .feature-title {
    font-size: 22px;
  }
  
  .liquidity-section {
    padding: 32px 20px;
  }
  
  .liquidity-title {
    font-size: 24px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .category-card {
    padding: 20px 16px;
  }
  
  .category-icon {
    font-size: 36px;
  }
  
  .footer-content {
    padding: 0 16px;
  }
  
  .footer-bottom {
    padding: 16px 16px 0;
  }
  
  .filters {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  h1 {
    font-size: 28px;
  }
  
  .auth-container {
    padding: 32px 16px;
    min-height: calc(100vh - 160px);
  }
  
  .auth-card {
    padding: 32px 24px;
  }
  
  .auth-card h1 {
    font-size: 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}
