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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo h1 {
  color: #764ba2;
  font-size: 1.8rem;
  font-weight: 700;
}

.logo a {
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #764ba2;
}

.search-box {
  display: flex;
  gap: 0.5rem;
}

.search-box input {
  padding: 0.5rem 1rem;
  border: 2px solid #ddd;
  border-radius: 25px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-box input:focus {
  border-color: #764ba2;
}

.search-box button {
  padding: 0.5rem 1.5rem;
  background: #764ba2;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-box button:hover {
  background: #5a3a7a;
}

.main-content {
  min-height: calc(100vh - 200px);
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: #ff6b6b;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.features-section {
  background: white;
  padding: 4rem 2rem;
}

.features-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #333;
}

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

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.feature-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #764ba2;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.content-section {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  padding: 4rem 2rem;
}

.content-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #333;
}

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

.content-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.content-item a {
  text-decoration: none;
  color: inherit;
}

.content-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.content-info {
  padding: 1.5rem;
}

.content-info h3 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.content-info p {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.view-count {
  color: #764ba2;
  font-weight: 600;
  font-size: 0.8rem;
}

.about-section {
  background: white;
  padding: 4rem 2rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.8;
}

.learn-more {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #764ba2;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.learn-more:hover {
  background: #5a3a7a;
}

.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
}

.footer {
  background: #2c3e50;
  color: white;
  padding: 3rem 2rem 1rem;
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  color: #ecf0f1;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
}

.footer-image img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .nav-container {
      flex-direction: column;
      gap: 1rem;
      padding: 1rem;
  }
  
  .nav-menu {
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
  }
  
  .hero-section {
      grid-template-columns: 1fr;
      text-align: center;
      padding: 2rem 1rem;
  }
  
  .hero-content h2 {
      font-size: 2rem;
  }
  
  .features-grid,
  .content-grid {
      grid-template-columns: 1fr;
  }
  
  .about-content {
      grid-template-columns: 1fr;
      text-align: center;
  }
  
  .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
  }
  
  .search-box {
      width: 100%;
  }
  
  .search-box input {
      flex: 1;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
      font-size: 1.5rem;
  }
  
  .features-section h2,
  .content-section h2,
  .about-text h2 {
      font-size: 1.8rem;
  }
  
  .container {
      padding: 0 10px;
  }
  
  .nav-container {
      padding: 0.5rem;
  }
}