/* Modern Home Page Styles for gityar - GitHub-like Design */

.home-modern {
  padding: 0;
  background: #fff;
}

.home-modern .hero-section {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #fd5f1c 100%);
  padding: 80px 0 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.home-modern .hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6.02,71.28-17.44,103.46-34.68,28.69-15.34,55.3-34.27,77.38-56.27,21.64-21.58,38.67-47.21,50.38-75.16H0Z" opacity=".1" fill="%23ffffff"></path></svg>') no-repeat 0 0;
  background-size: cover;
  opacity: 0.3;
}

.home-modern .hero-section .ui.container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .home-modern .hero-section .ui.container {
    flex-direction: column;
    text-align: center;
  }
}

.home-modern .hero-section .hero-content {
  flex: 1;
}

.home-modern .hero-section .hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.home-modern .hero-section .hero-content .hero-badge .octicon {
  font-size: 18px;
}

.home-modern .hero-section .hero-content .hero-title {
  font-size: 3.5em;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .home-modern .hero-section .hero-content .hero-title {
    font-size: 2.5em;
  }
}

.home-modern .hero-section .hero-content .hero-subtitle {
  font-size: 1.3em;
  margin: 0 0 32px 0;
  line-height: 1.6;
  opacity: 0.95;
}

.home-modern .hero-section .hero-content .hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .home-modern .hero-section .hero-content .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

.home-modern .hero-section .hero-content .hero-actions .ui.button {
  border-radius: 6px;
  font-weight: 600;
  padding: 14px 28px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.home-modern .hero-section .hero-content .hero-actions .ui.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.home-modern .hero-section .hero-content .hero-actions .ui.button.primary {
  background: #fd5f1c;
  color: #fff;
}

.home-modern .hero-section .hero-content .hero-actions .ui.button.primary:hover {
  background: #e8550f;
  transform: translateY(-2px);
}

.home-modern .hero-section .hero-content .hero-actions .ui.button:not(.primary) {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.home-modern .hero-section .hero-content .hero-actions .ui.button:not(.primary):hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
}

.home-modern .hero-section .hero-content .hero-signin {
  font-size: 14px;
  opacity: 0.9;
}

.home-modern .hero-section .hero-content .hero-signin a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

.home-modern .hero-section .hero-content .hero-signin a:hover {
  opacity: 0.8;
}

.home-modern .hero-section .hero-visual {
  flex: 0 0 400px;
  text-align: center;
}

@media (max-width: 768px) {
  .home-modern .hero-section .hero-visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
  }
}

.home-modern .hero-section .hero-visual img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

/* Features Section */
.home-modern .features-section {
  padding: 80px 0;
  background: #f6f8fa;
}

.home-modern .features-section .section-title {
  text-align: center;
  font-size: 2.5em;
  font-weight: 700;
  color: #24292e;
  margin: 0 0 50px 0;
}

@media (max-width: 768px) {
  .home-modern .features-section .section-title {
    font-size: 2em;
  }
}

.home-modern .features-section .feature-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e1e4e8;
  height: 100%;
}

.home-modern .features-section .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 4px 12px rgba(253, 95, 28, 0.2);
  border-color: #fd5f1c;
}

.home-modern .features-section .feature-card:hover .feature-icon i {
  color: #fd5f1c;
  transform: scale(1.1);
}

.home-modern .features-section .feature-card .feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #fd5f1c 0%, #ff8c42 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.home-modern .features-section .feature-card .feature-icon i {
  font-size: 36px;
  color: #fff;
  transition: all 0.3s ease;
}

.home-modern .features-section .feature-card h3 {
  font-size: 1.5em;
  font-weight: 600;
  color: #24292e;
  margin: 0 0 12px 0;
}

.home-modern .features-section .feature-card p {
  color: #586069;
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
}

/* Stats Section */
.home-modern .stats-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #fff;
}

.home-modern .stats-section .stat-item {
  text-align: center;
  padding: 30px 20px;
}

.home-modern .stats-section .stat-item .octicon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.home-modern .stats-section .stat-item .stat-number {
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.home-modern .stats-section .stat-item .stat-label {
  font-size: 1.1em;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* CTA Section */
.home-modern .cta-section {
  padding: 80px 0;
  background: #f6f8fa;
}

.home-modern .cta-section .cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.home-modern .cta-section .cta-content h2 {
  font-size: 2.5em;
  font-weight: 700;
  color: #24292e;
  margin: 0 0 16px 0;
}

@media (max-width: 768px) {
  .home-modern .cta-section .cta-content h2 {
    font-size: 2em;
  }
}

.home-modern .cta-section .cta-content p {
  font-size: 1.2em;
  color: #586069;
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.home-modern .cta-section .cta-content .cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 768px) {
  .home-modern .cta-section .cta-content .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

.home-modern .cta-section .cta-content .cta-actions .ui.button {
  border-radius: 6px;
  font-weight: 600;
  padding: 14px 28px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.home-modern .cta-section .cta-content .cta-actions .ui.button.primary {
  background: #fd5f1c;
  color: #fff;
}

.home-modern .cta-section .cta-content .cta-actions .ui.button.primary:hover {
  background: #e8550f;
  transform: translateY(-2px);
}

/* Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* RTL Support for Persian/Farsi */
[dir="rtl"] .home-modern .hero-section .hero-content .hero-badge {
  direction: rtl;
}

[dir="rtl"] .home-modern .features-section .feature-card {
  direction: rtl;
}

[dir="rtl"] .home-modern .cta-section .cta-content {
  direction: rtl;
}
