/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  top: -100px;
  right: -100px;
  opacity: 0.12;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: -100px;
  opacity: 0.08;
}

.hero-glow-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.05;
}

/* Floating Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.shape-1 {
  width: 80px;
  height: 80px;
  background: var(--clr-primary);
  top: 15%;
  left: 10%;
  animation: float 8s ease-in-out infinite;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-2 {
  width: 120px;
  height: 120px;
  background: var(--clr-secondary);
  top: 60%;
  right: 8%;
  animation: float-delayed 10s ease-in-out infinite;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.shape-3 {
  width: 60px;
  height: 60px;
  background: var(--clr-accent);
  top: 25%;
  right: 20%;
  animation: float 7s ease-in-out infinite 1s;
  border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
}

.shape-4 {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(108, 60, 225, 0.15);
  top: 70%;
  left: 15%;
  animation: float-delayed 9s ease-in-out infinite 0.5s;
  border-radius: 0;
  transform: rotate(45deg);
}

.shape-5 {
  width: 100px;
  height: 100px;
  background: var(--clr-primary);
  bottom: 15%;
  right: 30%;
  animation: float 11s ease-in-out infinite 2s;
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
  opacity: 0.04;
}

.shape-6 {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(0, 212, 170, 0.12);
  top: 40%;
  left: 5%;
  animation: float 6s ease-in-out infinite 1.5s;
}

/* Hero Container */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  position: relative;
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  background: rgba(108, 60, 225, 0.12);
  border: 1px solid rgba(108, 60, 225, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--clr-primary-light);
  margin-bottom: var(--space-xl);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--clr-secondary);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

.hero-title {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  letter-spacing: -1.5px;
}

.hero-title span {
  display: block;
  margin-top: var(--space-xs);
}

.hero-subtitle {
  font-size: var(--fs-body-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: var(--space-2xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

/* Trust Indicator */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hero-trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
}

.trust-avatar:first-child {
  margin-left: 0;
}

.hero-trust-text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

.hero-trust-text strong {
  color: var(--clr-secondary);
}

/* Hero Visual — Orbit Animation */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}

.visual-orbit {
  position: relative;
  width: 100%;
  height: 100%;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(108, 60, 225, 0.12);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring-1 {
  width: 70%;
  height: 70%;
  animation: rotate-slow 15s linear infinite;
}

.orbit-ring-2 {
  width: 85%;
  height: 85%;
  border-color: rgba(0, 212, 170, 0.08);
  animation: rotate-slow 22s linear infinite reverse;
}

.orbit-ring-3 {
  width: 100%;
  height: 100%;
  border-color: rgba(255, 107, 53, 0.06);
  animation: rotate-slow 30s linear infinite;
}

.orbit-dot {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.orbit-dot-1 {
  top: -24px;
  left: 50%;
  margin-left: -24px;
  background: rgba(108, 60, 225, 0.2);
  border: 1px solid rgba(108, 60, 225, 0.3);
  color: var(--clr-primary-light);
  animation: rotate-slow 15s linear infinite reverse;
}

.orbit-dot-2 {
  bottom: 10%;
  right: -24px;
  background: rgba(0, 212, 170, 0.2);
  border: 1px solid rgba(0, 212, 170, 0.3);
  color: var(--clr-secondary);
  animation: rotate-slow 22s linear infinite;
}

.orbit-dot-3 {
  bottom: -24px;
  left: 20%;
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--clr-accent);
  animation: rotate-slow 30s linear infinite reverse;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(108, 60, 225, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-primary);
  animation: pulse-glow 4s ease-in-out infinite;
}

.orbit-center-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  z-index: 2;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(108, 60, 225, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--clr-primary-light);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* ============ STATS ============ */
.stats-section {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid rgba(108, 60, 225, 0.12);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl) var(--space-2xl);
  backdrop-filter: blur(10px);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, rgba(108, 60, 225, 0.3), transparent);
}

/* ============ SERVICES OVERVIEW ============ */
.services-overview {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.services-grid .card {
  cursor: pointer;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--clr-secondary);
  font-size: var(--fs-small);
  font-weight: 600;
  margin-top: var(--space-lg);
  transition: all var(--transition-base);
}

.card-link svg {
  transition: transform var(--transition-base);
}

.card-link:hover {
  gap: var(--space-sm);
}

.card-link:hover svg {
  transform: translateX(4px);
}

.services-cta {
  text-align: center;
  margin-top: var(--space-3xl);
}

/* ============ WHY CHOOSE US ============ */
.why-us {
  position: relative;
  overflow: hidden;
}

.why-glow-1 {
  width: 500px;
  height: 500px;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
}

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

.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.principle-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(108, 60, 225, 0.08);
  transition: all var(--transition-base);
}

.principle-item:hover {
  border-color: rgba(108, 60, 225, 0.2);
  transform: translateX(5px);
}

.principle-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(108, 60, 225, 0.12);
  color: var(--clr-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.principle-item h4 {
  font-size: var(--fs-body);
  margin-bottom: var(--space-xs);
}

.principle-item p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Why Us Infographic */
.why-us-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-infographic {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
}

.infographic-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-primary);
  z-index: 2;
}

.infographic-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.infographic-center span {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.infographic-ring {
  position: absolute;
  border: 1px dashed rgba(108, 60, 225, 0.15);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.infographic-ring-1 {
  width: 65%;
  height: 65%;
  animation: rotate-slow 25s linear infinite;
}

.infographic-ring-2 {
  width: 95%;
  height: 95%;
  border-color: rgba(0, 212, 170, 0.1);
  animation: rotate-slow 35s linear infinite reverse;
}

.ring-node {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.ring-node::after {
  content: attr(data-label);
  position: absolute;
  bottom: -24px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.ring-node:hover::after {
  opacity: 1;
}

.ring-node-1 {
  top: -26px;
  left: 50%;
  margin-left: -26px;
  background: rgba(108, 60, 225, 0.2);
  border: 1px solid rgba(108, 60, 225, 0.3);
  color: var(--clr-primary-light);
  animation: rotate-slow 25s linear infinite reverse;
}

.ring-node-2 {
  bottom: 10%;
  right: -26px;
  background: rgba(0, 212, 170, 0.2);
  border: 1px solid rgba(0, 212, 170, 0.3);
  color: var(--clr-secondary);
  animation: rotate-slow 25s linear infinite reverse;
}

.ring-node-3 {
  bottom: 10%;
  left: -26px;
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--clr-accent);
  animation: rotate-slow 25s linear infinite reverse;
}

.ring-node-4 {
  top: -26px;
  left: 30%;
  margin-left: -26px;
  background: rgba(0, 212, 170, 0.2);
  border: 1px solid rgba(0, 212, 170, 0.3);
  color: var(--clr-secondary);
  animation: rotate-slow 35s linear infinite;
}

.ring-node-5 {
  top: 50%;
  right: -26px;
  margin-top: -26px;
  background: rgba(108, 60, 225, 0.2);
  border: 1px solid rgba(108, 60, 225, 0.3);
  color: var(--clr-primary-light);
  animation: rotate-slow 35s linear infinite;
}

.ring-node-6 {
  bottom: -26px;
  left: 50%;
  margin-left: -26px;
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--clr-accent);
  animation: rotate-slow 35s linear infinite;
}

.ring-node:hover {
  transform: scale(1.15);
}

/* ============ MINI PROCESS ============ */
.process-mini {
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.process-step {
  position: relative;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  line-height: 1;
  margin-bottom: var(--space-lg);
}

.step-connector {
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 0 auto var(--space-lg);
  opacity: 0.5;
}

.step-content h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
}

.step-content p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.7;
}

.process-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}


/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .hero-visual-card {
    max-width: 350px;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin: 0 auto var(--space-2xl);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .why-us-visual {
    order: -1;
  }

  .why-us-infographic {
    max-width: 350px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {
  .hero-container {
    min-height: auto;
    padding: var(--space-3xl) 0;
  }

  .hero-visual-card {
    max-width: 280px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    padding: var(--space-2xl) var(--space-lg);
  }

  .stat-divider {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }


  .hero-scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-banner {
    padding: var(--space-2xl) var(--space-lg);
  }
}
