.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-image:
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  border-radius: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.1) 0 0.5px, transparent 0.5px),
    radial-gradient(circle at 10% 60%, rgba(255, 255, 255, 0.1) 0 0.5px, transparent 0.5px),
    radial-gradient(circle at 90% 40%, rgba(255, 255, 255, 0.1) 0 0.5px, transparent 0.5px);
  background-size: 100px 100px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(45deg, #ffffff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title i {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 0.5rem;
}

.hero-subtitle {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-description {
  font-size: 1.2rem;
  margin: 0 auto 2.5rem auto;
  opacity: 0.9;
  max-width: 700px;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-item i {
  font-size: 1.3rem;
  color: #ffd700;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.action-card,
.feature-card,
.stat-card,
.recent-file-card {
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.action-card {
  padding: 2.5rem;
  border-radius: 1rem;
  text-align: center;
}

.action-card:hover,
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.action-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.action-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.action-card p,
.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.action-card p {
  margin-bottom: 2rem;
}

.action-card .btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.action-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.features-section {
  margin-top: 3rem;
}

.features-section h2,
.statistics-section h2,
.recent-files-section h2 {
  text-align: center;
  color: var(--text-primary);
}

.features-section h2 {
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.statistics-section {
  margin: 4rem 0;
  padding: 3rem 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 1rem;
}

.statistics-section h2,
.recent-files-section h2 {
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.stat-card {
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.stat-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.recent-files-section {
  margin: 4rem 0;
  padding: 0 1rem;
}

.recent-files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.recent-file-card {
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 80px;
  overflow: hidden;
}

.recent-file-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.recent-file-card .file-icon {
  font-size: 2rem;
  color: var(--primary-color);
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.recent-file-card .file-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.recent-file-card .file-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.3;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-file-card .file-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.recent-file-card .file-meta span {
  white-space: nowrap;
}

.recent-file-card .file-link {
  color: var(--primary-color);
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.recent-file-card .file-link:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1.5rem;
    border-radius: 1rem;
  }

  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.3rem; }
  .hero-description { font-size: 1.1rem; max-width: 100%; }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .feature-item {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }

  .features-grid,
  .quick-actions,
  .recent-files-grid {
    grid-template-columns: 1fr;
  }

  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }

  .stat-card { padding: 1.5rem; }
  .stat-number { font-size: 2rem; }

  .recent-files-grid {
    padding: 0 1rem;
  }

  .recent-file-card {
    padding: 1rem;
    gap: 0.75rem;
  }

  .recent-file-card .file-name { font-size: 0.9rem; }
  .recent-file-card .file-meta { font-size: 0.8rem; gap: 0.5rem; }
  .recent-file-card .file-icon { font-size: 1.5rem; width: 30px; }
  .recent-file-card .file-link { width: 35px; height: 35px; font-size: 1rem; }

  .hero-actions .btn {
    display: block;
    margin: 0.5rem auto;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2.5rem 1rem;
    border-radius: 0.75rem;
  }

  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-description { font-size: 1rem; }
  .feature-item { padding: 0.5rem 1rem; font-size: 0.9rem; }
  .statistics-grid { grid-template-columns: 1fr; }
  .stat-card { padding: 1rem; }
  .stat-number { font-size: 1.8rem; }
  .statistics-section h2,
  .recent-files-section h2 { font-size: 2rem; }
}
