/* ============================================================
   Nova Theme - Homepage Styles
   ============================================================ */

/* ── Hero Section ── */
.nova-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
}

.nova-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.nova-hero-swiper {
  position: relative;
}

.nova-hero-swiper .swiper-slide {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.nova-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.nova-hero-content {
  position: relative;
  z-index: 2;
  padding: var(--nova-space-20) 0;
}

.nova-hero-text {
  max-width: 640px;
}

.nova-hero-text h1 {
  font-size: var(--nova-text-6xl);
  font-weight: 800;
  color: var(--nova-white);
  line-height: 1.1;
  margin-bottom: var(--nova-space-6);
  letter-spacing: -0.02em;
}

.nova-hero-desc {
  font-size: var(--nova-text-lg);
  color: var(--nova-gray-300);
  line-height: var(--nova-leading-relaxed);
  margin-bottom: var(--nova-space-8);
  max-width: 540px;
}

.nova-hero-actions {
  display: flex;
  gap: var(--nova-space-4);
}

.nova-hero-actions .nova-btn-secondary {
  color: var(--nova-white) !important;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}
.nova-hero-actions .nova-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: var(--nova-white) !important;
}

.nova-hero-pagination {
  bottom: 24px !important;
}
.nova-hero-pagination .swiper-pagination-bullet {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all var(--nova-transition);
}
.nova-hero-pagination .swiper-pagination-bullet-active {
  background: var(--nova-white);
  width: 48px;
}

/* ── Quick Entry Cards ── */
.nova-quick-entry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--nova-space-4);
  margin-top: calc(-1 * var(--nova-space-12));
  position: relative;
  z-index: 10;
}

.nova-quick-card {
  background: var(--nova-white);
  border-radius: var(--nova-radius-lg);
  padding: var(--nova-space-6);
  border: 1px solid var(--nova-border-color);
  transition: all var(--nova-transition);
  cursor: pointer;
}
.nova-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nova-shadow-lg);
  border-color: var(--nova-primary-light);
}

.nova-quick-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--nova-radius-lg);
  background: var(--nova-gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--nova-space-4);
  color: var(--nova-primary);
}

.nova-quick-card h5 {
  font-size: var(--nova-text-base);
  margin-bottom: var(--nova-space-2);
}
.nova-quick-card p {
  font-size: var(--nova-text-sm);
  color: var(--nova-text-muted);
  margin-bottom: var(--nova-space-3);
}
.nova-quick-card .nova-tag {
  font-size: 11px;
}

/* ── Services Section ── */
.nova-services {
  background: var(--nova-white);
}

.nova-service-card {
  display: flex;
  flex-direction: column;
  background: var(--nova-white);
  border: 1px solid var(--nova-border-color);
  border-radius: var(--nova-radius-lg);
  padding: var(--nova-space-6);
  transition: all var(--nova-transition);
  text-decoration: none;
  color: inherit;
}
.nova-service-card:hover {
  border-color: var(--nova-primary-light);
  box-shadow: var(--nova-shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.nova-service-featured {
  border-color: var(--nova-primary);
  background: linear-gradient(135deg, var(--nova-primary-50) 0%, var(--nova-white) 100%);
}

.nova-service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--nova-space-3);
}
.nova-service-header h4 {
  font-size: var(--nova-text-lg);
}

.nova-tag-hot {
  background: linear-gradient(135deg, #EF4444, #F97316);
  color: var(--nova-white);
  border: none;
  font-size: 10px;
  padding: 2px 8px;
}

.nova-service-card p {
  font-size: var(--nova-text-sm);
  color: var(--nova-text-secondary);
  flex: 1;
}

.nova-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nova-space-2);
  margin: var(--nova-space-4) 0;
}
.nova-service-tags span {
  padding: 4px 10px;
  font-size: 11px;
  background: var(--nova-gray-50);
  color: var(--nova-text-muted);
  border-radius: var(--nova-radius-full);
  border: 1px solid var(--nova-border-light);
}

.nova-service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--nova-space-4);
  border-top: 1px solid var(--nova-border-light);
  margin-top: auto;
}

.nova-service-actions {
  display: flex;
  gap: var(--nova-space-2);
}

/* ── Solutions Section ── */
.nova-solutions {
  background: var(--nova-gray-50);
}

.nova-solution-card {
  display: flex;
  flex-direction: column;
  background: var(--nova-white);
  border: 1px solid var(--nova-border-color);
  border-radius: var(--nova-radius-lg);
  padding: var(--nova-space-6);
  transition: all var(--nova-transition);
  text-decoration: none;
  color: inherit;
}
.nova-solution-card:hover {
  border-color: var(--nova-primary);
  box-shadow: var(--nova-shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.nova-solution-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--nova-radius-lg);
  background: var(--nova-gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--nova-space-4);
  color: var(--nova-primary);
  transition: all var(--nova-transition);
}
.nova-solution-card:hover .nova-solution-icon {
  background: var(--nova-gradient);
  color: var(--nova-white);
}

.nova-solution-card h4 {
  font-size: var(--nova-text-lg);
  margin-bottom: var(--nova-space-2);
}
.nova-solution-card p {
  font-size: var(--nova-text-sm);
  color: var(--nova-text-secondary);
  flex: 1;
}

.nova-solution-link {
  font-size: var(--nova-text-sm);
  font-weight: 500;
  color: var(--nova-primary);
  margin-top: var(--nova-space-4);
  transition: all var(--nova-transition);
}
.nova-solution-card:hover .nova-solution-link {
  transform: translateX(4px);
}

/* ── Partners Section ── */
.nova-partners {
  background: var(--nova-white);
}

.nova-partner-card {
  text-align: center;
}
.nova-partner-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--nova-radius);
  margin-bottom: var(--nova-space-4);
}
.nova-partner-card h5 {
  margin-bottom: var(--nova-space-2);
}
.nova-partner-card p {
  font-size: var(--nova-text-sm);
  color: var(--nova-text-muted);
}

.nova-partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--nova-space-6);
  margin-top: var(--nova-space-10);
  padding-top: var(--nova-space-10);
  border-top: 1px solid var(--nova-border-color);
}
.nova-partner-logo {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--nova-transition);
}
.nova-partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.nova-partner-logo img {
  max-width: 100%;
  max-height: 100%;
}

/* ── Infrastructure Section ── */
.nova-infrastructure {
  background: var(--nova-gray-50);
}

.nova-infra-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--nova-space-12);
  align-items: center;
}

.nova-infra-stats {
  display: flex;
  flex-direction: column;
  gap: var(--nova-space-8);
}

.nova-stat-item {
  display: flex;
  align-items: baseline;
  gap: var(--nova-space-3);
}
.nova-stat-number {
  font-family: var(--nova-font-heading);
  font-size: var(--nova-text-4xl);
  font-weight: 800;
  background: var(--nova-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nova-stat-label {
  font-size: var(--nova-text-sm);
  color: var(--nova-text-muted);
}

.nova-infra-map {
  border-radius: var(--nova-radius-xl);
  overflow: hidden;
}
.nova-infra-map img {
  width: 100%;
  border-radius: var(--nova-radius-xl);
}

.nova-cert-section {
  margin-top: var(--nova-space-16);
}
.nova-cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--nova-space-8);
}
.nova-cert-item {
  text-align: center;
}
.nova-cert-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto var(--nova-space-3);
}
.nova-cert-item p {
  font-size: var(--nova-text-xs);
  color: var(--nova-text-muted);
}

/* ── News Section ── */
.nova-news {
  background: var(--nova-white);
}

.nova-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--nova-space-8);
}

.nova-news-col {
  background: var(--nova-gray-50);
  border-radius: var(--nova-radius-lg);
  padding: var(--nova-space-6);
  border: 1px solid var(--nova-border-color);
}

.nova-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--nova-space-6);
  padding-bottom: var(--nova-space-4);
  border-bottom: 1px solid var(--nova-border-color);
}
.nova-news-header h4 {
  font-size: var(--nova-text-lg);
}
.nova-news-more {
  font-size: var(--nova-text-sm);
  color: var(--nova-text-muted);
}
.nova-news-more:hover {
  color: var(--nova-primary) !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nova-hero-swiper .swiper-slide { min-height: 440px; }
  .nova-hero-text h1 { font-size: var(--nova-text-4xl); }
  .nova-quick-entry { grid-template-columns: repeat(2, 1fr); margin-top: var(--nova-space-6); }
  .nova-solution-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .nova-infra-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nova-hero-swiper .swiper-slide { min-height: 360px; }
  .nova-hero-text h1 { font-size: var(--nova-text-3xl); }
  .nova-hero-desc { font-size: var(--nova-text-base); }
  .nova-quick-entry { grid-template-columns: 1fr 1fr; }
  .nova-news-grid { grid-template-columns: 1fr; }
  .nova-hero-actions { flex-direction: column; }
  .nova-hero-actions .nova-btn { width: 100%; }
}
