@import url('common.css');

.nha-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nha-header-height);
  padding-bottom: 120px;
  overflow: hidden;
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}

.nha-hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.nha-hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(13, 148, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  opacity: 0.4;
}

.nha-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.nha-hero-content {
  max-width: 640px;
}

.nha-hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--nha-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.nha-hero-title {
  margin-bottom: 24px;
  font-weight: 800;
  color: var(--nha-neutral-900);
  line-height: 1.1;
}

.nha-hero-title-line {
  display: block;
}

.nha-hero-title-line:first-child {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.nha-hero-title-line.nha-hero-title-accent {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: var(--nha-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nha-hero-desc {
  font-size: 1.25rem;
  color: var(--nha-neutral-500);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 560px;
}

.nha-hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
}

.nha-btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

.nha-btn-ghost {
  background: transparent;
  color: var(--nha-neutral-700);
  border: 2px solid var(--nha-neutral-300);
}

.nha-btn-ghost:hover {
  background: var(--nha-neutral-50);
  border-color: var(--nha-neutral-400);
  color: var(--nha-neutral-900);
}

.nha-hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--nha-neutral-200);
}

.nha-hero-stat {
  flex: 1;
}

.nha-hero-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nha-neutral-900);
  margin-bottom: 4px;
}

.nha-hero-stat-label {
  font-size: 0.875rem;
  color: var(--nha-neutral-500);
}

.nha-hero-visual {
  position: relative;
  justify-self: end;
}

.nha-hero-visual-container {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.nha-hero-visual-main {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: var(--nha-gradient);
  box-shadow: 0 24px 64px rgba(13, 148, 136, 0.25);
  position: relative;
  overflow: hidden;
}

.nha-hero-visual-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(5, 150, 105, 0.3) 0%, transparent 50%);
}

.nha-hero-visual-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(245, 158, 11, 0.2);
}

.nha-hero-visual-accent i {
  font-size: 2.5rem;
  color: var(--nha-accent);
  opacity: 0.9;
}

.nha-products-showcase {
  padding: 160px 0;
  background: var(--nha-white);
}

.nha-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

.nha-section-label {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(13, 148, 136, 0.08);
  color: var(--nha-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nha-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.nha-section-desc {
  font-size: 1.125rem;
  color: var(--nha-neutral-500);
  line-height: 1.7;
}

.nha-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.nha-product-showcase-card {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 64px;
  padding: 64px;
  background: var(--nha-white);
  border: 1px solid var(--nha-neutral-200);
  border-radius: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: inherit;
  position: relative;
  overflow: hidden;
}

.nha-product-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--nha-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nha-product-showcase-card:hover {
  border-color: var(--nha-primary);
  box-shadow: 0 24px 64px rgba(13, 148, 136, 0.12);
  transform: translateY(-4px);
}

.nha-product-showcase-card:hover::before {
  transform: scaleX(1);
}

.nha-product-showcase-card-alt {
  grid-template-columns: 0.55fr 0.45fr;
}

.nha-product-showcase-card-alt .nha-product-showcase-visual {
  order: 2;
}

.nha-product-showcase-card-alt .nha-product-showcase-content {
  order: 1;
}

.nha-product-showcase-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nha-product-showcase-icon-wrapper {
  width: 200px;
  height: 200px;
  border-radius: 24px;
  background: var(--nha-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nha-product-showcase-icon {
  font-size: 5rem;
  color: var(--nha-primary);
  opacity: 0.9;
}

.nha-product-showcase-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  padding: 8px 16px;
  background: var(--nha-gradient);
  color: var(--nha-white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nha-product-showcase-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nha-product-showcase-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--nha-neutral-900);
}

.nha-product-showcase-desc {
  font-size: 1.0625rem;
  color: var(--nha-neutral-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.nha-product-showcase-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.nha-product-showcase-feature {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(13, 148, 136, 0.08);
  color: var(--nha-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
}

.nha-product-showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--nha-primary);
  font-size: 1rem;
  transition: gap 0.3s ease;
}

.nha-product-showcase-card:hover .nha-product-showcase-link {
  gap: 12px;
}

.nha-features-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}

.nha-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.nha-feature-card {
  padding: 48px 32px;
  background: var(--nha-white);
  border: 1px solid var(--nha-neutral-200);
  border-radius: 24px;
  transition: all 0.3s ease;
  text-align: center;
}

.nha-feature-card:hover {
  border-color: var(--nha-primary);
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.1);
  transform: translateY(-4px);
}

.nha-feature-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 20px;
  background: var(--nha-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--nha-primary);
}

.nha-feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--nha-neutral-900);
}

.nha-feature-desc {
  font-size: 0.9375rem;
  color: var(--nha-neutral-500);
  line-height: 1.6;
  margin: 0;
}

.nha-cta-section {
  padding: 160px 0;
  background: var(--nha-white);
}

.nha-cta-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.nha-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--nha-neutral-900);
  line-height: 1.2;
}

.nha-cta-desc {
  font-size: 1.125rem;
  color: var(--nha-neutral-500);
  margin-bottom: 40px;
  line-height: 1.7;
}

.nha-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 1200px) {
  .nha-hero-inner {
    gap: 60px;
  }
  
  .nha-product-showcase-card {
    padding: 48px;
    gap: 48px;
  }
}

@media (max-width: 968px) {
  .nha-hero {
    padding-bottom: 80px;
  }
  
  .nha-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .nha-hero-content {
    max-width: 100%;
  }
  
  .nha-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .nha-hero-actions {
    justify-content: center;
    margin-bottom: 48px;
  }
  
  .nha-hero-stats {
    justify-content: center;
  }
  
  .nha-hero-visual {
    justify-self: center;
    max-width: 100%;
  }
  
  .nha-product-showcase-card,
  .nha-product-showcase-card-alt {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 32px;
  }
  
  .nha-product-showcase-card-alt .nha-product-showcase-visual,
  .nha-product-showcase-card-alt .nha-product-showcase-content {
    order: unset;
  }
  
  .nha-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nha-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .nha-cta-actions .nha-btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .nha-hero {
    padding-bottom: 60px;
  }
  
  .nha-hero-stats {
    flex-direction: column;
    gap: 24px;
    text-align: left;
  }
  
  .nha-products-showcase {
    padding: 80px 0;
  }
  
  .nha-section-header {
    margin-bottom: 48px;
  }
  
  .nha-product-showcase-card {
    padding: 32px 24px;
  }
  
  .nha-product-showcase-icon-wrapper {
    width: 160px;
    height: 160px;
  }
  
  .nha-product-showcase-icon {
    font-size: 4rem;
  }
  
  .nha-features-section {
    padding: 80px 0;
  }
  
  .nha-features-grid {
    grid-template-columns: 1fr;
  }
  
  .nha-cta-section {
    padding: 80px 0;
  }
}
