/* ============================================
   NETMAX - Hero Section Styles
   ============================================ */

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(0, 96, 245, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(0, 96, 245, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

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

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-400);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.hero-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.hero-particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 1s; width: 6px; height: 6px; }
.hero-particle:nth-child(3) { left: 35%; top: 30%; animation-delay: 2s; }
.hero-particle:nth-child(4) { left: 50%; top: 70%; animation-delay: 0.5s; width: 3px; height: 3px; }
.hero-particle:nth-child(5) { left: 65%; top: 25%; animation-delay: 1.5s; width: 5px; height: 5px; }
.hero-particle:nth-child(6) { left: 80%; top: 50%; animation-delay: 2.5s; }
.hero-particle:nth-child(7) { left: 90%; top: 35%; animation-delay: 3s; width: 4px; height: 4px; }
.hero-particle:nth-child(8) { left: 15%; top: 80%; animation-delay: 1.2s; width: 3px; height: 3px; }

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 96, 245, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 96, 245, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Hero Content */
.hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: calc(var(--space-32) + 40px) var(--space-6) var(--space-24);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (min-width: 640px) {
  .hero-container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    padding-left: var(--space-12);
    padding-right: var(--space-12);
    padding-top: calc(var(--space-32) + 60px);
  }
}

/* Hero Text */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(0, 96, 245, 0.15);
  border: 1px solid rgba(0, 96, 245, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--primary-400);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s ease forwards;
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  color: var(--text-light);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: var(--text-6xl);
  }
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  max-width: 540px;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.hero-cta .btn {
  min-width: 180px;
  justify-content: center;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--text-light);
  line-height: 1;
}

.hero-stat-number .counter {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-2);
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .hero-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-visual-inner {
  position: relative;
  width: 100%;
  max-width: 500px;
}

/* Floating cards in hero */
.hero-float-card {
  position: absolute;
  background: var(--bg-glass-dark);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}

.hero-float-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.hero-float-card-text {
  font-size: var(--text-sm);
  color: var(--text-light);
  font-weight: var(--font-medium);
}

.hero-float-card-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.hero-float-card.top-right {
  top: -20px;
  right: -10px;
  animation-delay: 0s;
}

.hero-float-card.bottom-left {
  bottom: 20px;
  left: -20px;
  animation-delay: 2s;
}

.hero-float-card.bottom-right {
  bottom: 60px;
  right: -10px;
  animation-delay: 1s;
}

/* Hero image container */
.hero-image-container {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(0, 96, 245, 0.2);
}

.hero-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Glow effect behind hero image */
.hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--primary-500);
  filter: blur(100px);
  opacity: 0.2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1s forwards;
  opacity: 0;
}

.scroll-indicator-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--primary-500);
  border-bottom: 2px solid var(--primary-500);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
  40% { transform: translateY(-10px) rotate(45deg); }
  60% { transform: translateY(-5px) rotate(45deg); }
}

/* ============================================
   SECTIONS - Services, Features, etc.
   ============================================ */

/* Services Section */
.services-section {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-200);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: var(--space-6);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.service-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.service-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--primary-600);
  transition: all var(--transition-fast);
}

.service-link:hover {
  gap: var(--space-3);
  color: var(--primary-700);
}

/* Why Choose Us Section */
.why-us-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.why-us-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 96, 245, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-us-features {
  display: grid;
  gap: var(--space-6);
}

.why-us-feature {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.why-us-feature:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 96, 245, 0.3);
  transform: translateX(4px);
}

.why-us-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.why-us-feature-content h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-light);
  margin-bottom: var(--space-2);
}

.why-us-feature-content p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

/* Stats/Counters Section */
.stats-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: var(--space-6);
}

.stat-number {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.stat-label {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-medium);
}

.stat-suffix {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--accent-cyan);
}

/* Testimonials Section */
.testimonials-section {
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.testimonial-quote {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-size: var(--text-6xl);
  color: var(--primary-200);
  line-height: 1;
  display: block;
  margin-bottom: -20px;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-100);
}

.testimonial-author-info h4 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.testimonial-author-info p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.testimonial-rating {
  display: flex;
  gap: var(--space-1);
  color: #f59e0b;
  margin-bottom: var(--space-4);
}

/* FAQ Section */
.faq-section {
  background: var(--bg-primary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--primary-200);
}

.faq-item.active {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  text-align: left;
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary-600);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--primary-500);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* Technology Showcase */
.tech-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

.tech-item {
  text-align: center;
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
}

.tech-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 96, 245, 0.3);
  transform: translateY(-4px);
}

.tech-item-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-2xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-base);
}

.tech-item:hover .tech-item-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.tech-item-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-light);
  margin-bottom: var(--space-2);
}

.tech-item-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .cta-title {
    font-size: var(--text-4xl);
  }
}

.cta-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

.cta-buttons .btn-light:hover {
  background: var(--white);
  color: var(--primary-700);
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-muted);
  position: relative;
}

.footer-top {
  padding: var(--space-24) 0 var(--space-16);
  border-bottom: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-logo-text {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-light);
}

.footer-logo-text span {
  color: var(--primary-400);
}

.footer-description {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-light);
  margin-bottom: var(--space-6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-link:hover {
  color: var(--primary-400);
  padding-left: var(--space-2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.footer-bottom {
  padding: var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--primary-400);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: var(--z-fixed);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), var(--shadow-glow-lg);
}
