/* ==========================================
   HOME PAGE STYLES - AHC Website
   ========================================== */

/* ==========================================
   HERO SECTION - ENHANCED
   ========================================== */
.hero {
  min-height: calc(100vh - var(--header-height));
  background: linear-gradient(135deg, var(--off-white) 0%, var(--light-blue) 50%, #e0e8f0 100%);
  display: flex;
  align-items: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Animated Floating Nanoparticles */
.nano-particles {
  position: absolute;
  inset: 0;
}

.nano-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, 
    rgba(255, 192, 0, 0.6), 
    rgba(255, 192, 0, 0.3) 50%,
    rgba(0, 56, 133, 0.2) 100%);
  box-shadow: 
    0 0 20px rgba(255, 192, 0, 0.3),
    inset 0 0 10px rgba(0, 56, 133, 0.2);
  animation: floatParticle 8s ease-in-out infinite;
}

.np-1 { width: 80px; height: 80px; top: 15%; left: 10%; animation-delay: 0s; animation-duration: 10s; }
.np-2 { width: 50px; height: 50px; top: 25%; right: 15%; animation-delay: 1s; animation-duration: 8s; }
.np-3 { width: 35px; height: 35px; top: 60%; left: 5%; animation-delay: 2s; animation-duration: 12s; }
.np-4 { width: 60px; height: 60px; bottom: 20%; right: 10%; animation-delay: 0.5s; animation-duration: 9s; }
.np-5 { width: 25px; height: 25px; top: 40%; left: 20%; animation-delay: 3s; animation-duration: 7s; }
.np-6 { width: 45px; height: 45px; bottom: 30%; left: 15%; animation-delay: 1.5s; animation-duration: 11s; }
.np-7 { width: 30px; height: 30px; top: 70%; right: 25%; animation-delay: 2.5s; animation-duration: 9s; }
.np-8 { width: 55px; height: 55px; top: 10%; right: 30%; animation-delay: 0.8s; animation-duration: 10s; }

@keyframes floatParticle {
  0%, 100% { 
    transform: translate(0, 0) rotate(0deg); 
    opacity: 0.6;
  }
  25% { 
    transform: translate(20px, -30px) rotate(90deg); 
    opacity: 0.8;
  }
  50% { 
    transform: translate(-10px, -50px) rotate(180deg); 
    opacity: 0.5;
  }
  75% { 
    transform: translate(30px, -20px) rotate(270deg); 
    opacity: 0.7;
  }
}

.hero-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 56, 133, 0.1);
  color: var(--ahc-blue);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 56, 133, 0.2);
}

.hero-badge i {
  color: var(--ahc-gold);
}

.hero-text h1 {
  font-size: 52px;
  margin-bottom: 24px;
  line-height: 1.1;
}

.text-gradient {
  background: linear-gradient(135deg, var(--ahc-blue) 0%, var(--ahc-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--dark-gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero Nano Image */
.nano-hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 34, 85, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nano-hero-image-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 100px rgba(0, 34, 85, 0.3);
}

.hero-nano-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.nano-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 192, 0, 0.15) 100%);
  pointer-events: none;
}

.particle-labels {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ahc-blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.label .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.label .dot.core {
  background: radial-gradient(circle, #FFD700, var(--ahc-gold));
}

.label .dot.shell {
  background: radial-gradient(circle, #4A90D9, var(--ahc-blue));
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--dark-gray);
  font-size: 13px;
  opacity: 0.7;
  animation: fadeInUp 1s ease 1s both;
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid var(--ahc-blue);
  border-radius: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}

.scroll-arrow i {
  animation: scrollBounce 2s ease-in-out infinite;
  color: var(--ahc-blue);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.5; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 0.7; transform: translate(-50%, 0); }
}

/* ==========================================
   STATS SECTION
   ========================================== */
.section-stats {
  background: var(--ahc-blue);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-icon {
  font-size: 28px;
  color: var(--ahc-gold);
  margin-bottom: 12px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  opacity: 0.85;
}

/* ==========================================
   INTRODUCTION SECTION
   ========================================== */
.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content h2 {
  display: inline-block;
  margin-bottom: 24px;
}

.text-green {
  color: var(--ahc-green);
}

.intro-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--dark-gray);
}

/* ==========================================
   COMPARISON SECTION
   ========================================== */
.section-comparison {
  background: linear-gradient(180deg, var(--off-white) 0%, white 100%);
  padding: 100px 0;
}

.comparison-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: stretch;
  margin-top: 50px;
}

.comparison-side {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-side:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.comparison-side.conventional {
  border-top: 4px solid #cc3333;
}

.comparison-side.nano {
  border-top: 4px solid var(--ahc-green);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.comparison-header.bad i {
  color: #cc3333;
  font-size: 28px;
}

.comparison-header.good i {
  color: var(--ahc-green);
  font-size: 28px;
}

.comparison-header h3 {
  font-size: 20px;
  margin: 0;
}

.comparison-visual {
  height: 180px;
  background: linear-gradient(180deg, #f0f5ff 0%, #e8f0f8 100%);
  border-radius: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Conventional Large Particles */
.large-particles-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

.big-particle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #888 0%, #666 100%);
  opacity: 0.7;
}

.big-particle.p1 {
  width: 70px;
  height: 70px;
  top: 20%;
  left: 20%;
  animation: floatSlow 4s ease-in-out infinite;
}

.big-particle.p2 {
  width: 50px;
  height: 50px;
  top: 50%;
  left: 50%;
  animation: floatSlow 5s ease-in-out infinite 0.5s;
}

.big-particle.p3 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 15%;
  animation: floatSlow 4.5s ease-in-out infinite 1s;
}

.separation-line {
  position: absolute;
  top: 15%;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #cc3333, transparent);
}

.visual-label {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--dark-gray);
  font-weight: 500;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -10px); }
}

/* Nano Particles Visual */
.nano-particles-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

.nano-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, 
    var(--ahc-gold), 
    rgba(255, 192, 0, 0.8) 60%);
  box-shadow: 
    0 0 0 3px rgba(0, 56, 133, 0.4),
    0 0 10px rgba(255, 192, 0, 0.5);
  animation: pulseNano 3s ease-in-out infinite;
}

.nano-dot.n1 { top: 20%; left: 15%; animation-delay: 0s; }
.nano-dot.n2 { top: 25%; left: 35%; animation-delay: 0.3s; }
.nano-dot.n3 { top: 20%; left: 55%; animation-delay: 0.6s; }
.nano-dot.n4 { top: 25%; right: 15%; animation-delay: 0.9s; }
.nano-dot.n5 { top: 50%; left: 25%; animation-delay: 0.2s; }
.nano-dot.n6 { top: 50%; left: 50%; animation-delay: 0.5s; }
.nano-dot.n7 { top: 50%; right: 20%; animation-delay: 0.8s; }
.nano-dot.n8 { top: 75%; left: 30%; animation-delay: 0.4s; }
.nano-dot.n9 { top: 75%; right: 25%; animation-delay: 0.7s; }

@keyframes pulseNano {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.comparison-list li:last-child {
  border-bottom: none;
}

.conventional .comparison-list li i {
  color: #cc3333;
}

.nano .comparison-list li i {
  color: var(--ahc-green);
}

.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-badge {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--ahc-blue), var(--deep-blue));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 8px 25px rgba(0, 56, 133, 0.3);
}

.comparison-cta {
  text-align: center;
  margin-top: 50px;
}

/* ==========================================
   TECHNOLOGY TEASER
   ========================================== */
.tech-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-badge {
  display: inline-block;
  background: var(--ahc-gold);
  color: var(--deep-blue);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.particle-diagram-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.particle-diagram-image {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 34, 85, 0.2);
  transition: transform 0.3s ease;
}

.particle-diagram-image:hover {
  transform: scale(1.03);
}

.tech-text h2 {
  margin-bottom: 20px;
}

.tech-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.tech-highlights {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ahc-blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.highlight:hover {
  transform: translateY(-3px);
}

.highlight i {
  color: var(--ahc-gold);
}

/* ==========================================
   SPECIES GRID
   ========================================== */
.species-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.species-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.species-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 56, 133, 0.15);
  border-color: var(--ahc-blue);
}

.species-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  background: var(--white);
  border: 2px solid var(--ahc-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: all 0.3s ease;
}

.species-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.species-card:hover .species-icon {
  background: var(--ahc-blue);
  border-color: var(--ahc-gold);
  transform: scale(1.1);
}

.species-card:hover .species-icon-img {
  filter: brightness(0) invert(1);
}

.species-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--ahc-blue);
}

.species-card p {
  color: var(--dark-gray);
  font-size: 15px;
  margin: 0;
}

/* ==========================================
   TRUST/TESTIMONIAL SECTION
   ========================================== */
.section-trust {
  background: linear-gradient(135deg, var(--light-green) 0%, #e8f5e8 100%);
  padding: 80px 0;
}

.trust-content {
  max-width: 800px;
  margin: 0 auto;
}

.trust-quote {
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 48px;
  color: var(--ahc-green);
  opacity: 0.3;
  margin-bottom: 20px;
}

.quote-text {
  font-size: 24px;
  font-style: italic;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 30px;
}

.quote-author {
  display: flex;
  justify-content: center;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-info strong {
  color: var(--ahc-blue);
  font-size: 17px;
}

.author-info span {
  color: var(--dark-gray);
  font-size: 14px;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 44px;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .nano-hero-image-wrapper {
    max-width: 420px;
  }
  
  .nano-particle {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .comparison-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .comparison-divider {
    padding: 20px 0;
  }
  
  .vs-badge {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
  
  .tech-teaser {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .species-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 40px 0 60px;
  }
  
  .hero-text h1 {
    font-size: 34px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .nano-hero-image-wrapper {
    max-width: 320px;
  }
  
  .particle-labels {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .comparison-side {
    padding: 30px 24px;
  }
  
  .comparison-visual {
    height: 140px;
  }
  
  .species-grid {
    grid-template-columns: 1fr;
  }
  
  .particle-diagram-image {
    max-width: 280px;
  }
  
  .quote-text {
    font-size: 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
}
