/* ==========================================
   VIDEO DOWNLOADER HOME PAGE
   Modern gradient hero with search form
   Based on puse.lt colors (aquamarine/teal)
   ========================================== */

/* Root Variables - Puse.lt teal/aquamarine color scheme */
:root {
  --primary-teal: #0C7490;
  --primary-teal-dark: #0e5c75;
  --primary-teal-light: #0e90b3;
  --accent-aqua: #00d4aa;
  --accent-aqua-light: #00f5c4;
  --gradient-start: #0C7490;
  --gradient-end: #00d4aa;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --bg-light: #f9fafb;
  --border-gray: #e5e7eb;
}

/* Hero Section - Gradient Background */
.video-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

/* Optional: Animated gradient background */
.video-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.5; }
}

/* Hero Container */
.video-hero-container {
  max-width: 900px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 10;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Badge */
.video-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-teal);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: fadeInDown 0.6s ease;
}

.video-hero-badge-icon {
  font-size: 16px;
}

/* Main Title */
.video-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.2;
  animation: fadeInDown 0.8s ease;
}

/* Subtitle */
.video-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 40px 0;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInDown 1s ease;
}

/* Search Form Wrapper */
.video-hero-form {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  margin-bottom: 16px;
  animation: fadeInUp 1s ease;
}

/* Form Input Group */
.video-hero-input-group {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

/* Search Input */
.video-hero-input {
  flex: 1;
  padding: 18px 24px;
  font-size: 16px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #f9fafb;
  color: var(--text-dark);
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.video-hero-input:focus {
  outline: none;
  border-color: var(--primary-teal);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(12, 116, 144, 0.1);
}

.video-hero-input::placeholder {
  color: var(--text-gray);
}

/* Search Button */
.video-hero-button {
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: var(--primary-teal);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(12, 116, 144, 0.3);
}

.video-hero-button:hover {
  background: var(--primary-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12, 116, 144, 0.4);
}

.video-hero-button:active {
  transform: translateY(0);
}

/* Help Link & Terms */
.video-hero-help {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1.2s ease;
}

.video-hero-help a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.video-hero-help a:hover {
  opacity: 0.8;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ==========================================
   INFO BOXES SECTION (3 columns)
   ========================================== */

.video-info-section {
  padding: 80px 20px;
  background: #ffffff;
}

.video-info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.video-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.video-info-box {
  text-align: center;
  padding: 40px 30px;
  border-radius: 16px;
  border: 2px solid var(--border-gray);
  transition: all 0.3s ease;
  background: #ffffff;
}

.video-info-box:hover {
  border-color: var(--accent-aqua);
  box-shadow: 0 8px 24px rgba(12, 116, 144, 0.1);
  transform: translateY(-4px);
}

.video-info-icon {
  font-size: 48px;
  color: var(--primary-teal);
  margin-bottom: 20px;
  display: inline-block;
}

.video-info-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 12px 0;
}

.video-info-description {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================
   LATEST VIDEOS SECTION
   ========================================== */

.video-latest-section {
  padding: 80px 20px;
  background: var(--bg-light);
}

.video-latest-container {
  max-width: 1200px;
  margin: 0 auto;
}

.video-latest-header {
  text-align: center;
  margin-bottom: 48px;
}

.video-latest-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 12px 0;
}

.video-latest-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  margin: 0;
}

/* ==========================================
   SEO CONTENT SECTION
   ========================================== */

.video-seo-section {
  padding: 80px 20px;
  background: #ffffff;
}

.video-seo-container {
  max-width: 900px;
  margin: 0 auto;
}

.video-seo-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-gray);
}

.video-seo-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 20px 0;
}

.video-seo-content p {
  margin: 0 0 16px 0;
}

.video-seo-content strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet */
@media (max-width: 996px) {
  .video-hero-title {
    font-size: 40px;
  }
  
  .video-hero-subtitle {
    font-size: 16px;
  }
  
  .video-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .video-info-box:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .video-hero {
    min-height: 50vh;
    padding: 40px 20px;
  }
  
  .video-hero-title {
    font-size: 32px;
  }
  
  .video-hero-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }
  
  .video-hero-input-group {
    flex-direction: column;
    gap: 12px;
  }
  
  .video-hero-input,
  .video-hero-button {
    width: 100%;
    padding: 16px 20px;
  }
  
  .video-info-section,
  .video-latest-section,
  .video-seo-section {
    padding: 60px 20px;
  }
  
  .video-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .video-info-box:last-child {
    grid-column: span 1;
    max-width: none;
  }
  
  .video-latest-title {
    font-size: 28px;
  }
  
  .video-seo-content h2 {
    font-size: 24px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .video-hero-title {
    font-size: 28px;
  }
  
  .video-hero-subtitle {
    font-size: 14px;
  }
  
  .video-hero-badge {
    font-size: 12px;
    padding: 6px 16px;
  }
  
  .video-info-box {
    padding: 30px 20px;
  }
  
  .video-info-icon {
    font-size: 40px;
  }
  
  .video-info-title {
    font-size: 18px;
  }
}
