/* ===== HOME PAGE STYLES ===== */

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 8% 80px;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 18px 0 22px;
}

.hero-title-line2 {
  display: block;
  margin-top: 8px;
}

.typed-accent {
  color: var(--primary);
  text-shadow: var(--glow-strong);
  border-right: 3px solid var(--primary);
  padding-right: 6px;
  animation: blink-caret 0.8s step-end infinite;
}

@keyframes blink-caret {
  50% { border-color: transparent; }
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 32px;
  font-weight: 300;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trust-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  gap: 16px;
}
.trust-item {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(0, 245, 255, 0.4);
  letter-spacing: 2px;
  border: 1px solid rgba(0, 245, 255, 0.12);
  padding: 5px 10px;
  border-radius: 3px;
  transition: all 0.3s;
}
.trust-item:hover {
  color: var(--primary);
  border-color: rgba(0, 245, 255, 0.3);
}

/* HERO VISUAL */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.shield-container {
  position: relative;
  width: 340px; height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 245, 255, 0.15);
  animation: spin-ring 20s linear infinite;
}
.ring-1 { width: 300px; height: 300px; animation-duration: 25s; border-style: dashed; }
.ring-2 { width: 240px; height: 240px; animation-duration: 18s; animation-direction: reverse; }
.ring-3 { width: 180px; height: 180px; animation-duration: 30s; border-color: rgba(10,132,255,0.2); }

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.shield-core {
  width: 130px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.4));
  z-index: 2;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.data-nodes {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node {
  position: absolute;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  padding: 4px 8px;
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 3px;
  background: rgba(0, 245, 255, 0.06);
  backdrop-filter: blur(4px);
  transform: translate(var(--nx), var(--ny));
  animation: node-pulse 3s ease-in-out infinite;
  animation-delay: calc(var(--nx) * 0.01s);
}

@keyframes node-pulse {
  0%,100% { opacity: 0.6; transform: translate(var(--nx), var(--ny)); }
  50%      { opacity: 1; transform: translate(var(--nx), calc(var(--ny) - 5px)); box-shadow: 0 0 10px rgba(0,245,255,0.4); }
}

/* PARALLAX SHAPES */
.shape-1 {
  position: absolute;
  top: 15%; right: 5%;
  width: 80px; height: 80px;
  border: 1px solid rgba(0, 245, 255, 0.12);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.shape-2 {
  position: absolute;
  bottom: 20%; left: 3%;
  width: 50px; height: 50px;
  border: 1px solid rgba(10, 132, 255, 0.15);
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.shape-3 {
  position: absolute;
  top: 60%; right: 12%;
  width: 30px; height: 30px;
  background: rgba(0, 245, 255, 0.06);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transition: transform 0.3s ease;
}

/* STATS SECTION */
.stats-section {
  padding: 0 8% 80px;
}

/* SERVICES PREVIEW */
.services-preview { }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-desc { max-width: 560px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  margin-bottom: 22px;
  filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.3));
  transition: filter 0.3s;
}
.service-card:hover .service-icon { filter: drop-shadow(0 0 16px rgba(0, 245, 255, 0.6)); }
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: 0.5px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.card-link {
  color: var(--primary);
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}
.card-link:hover { gap: 14px; }
.card-link .arrow { transition: transform 0.3s; }
.card-link:hover .arrow { transform: translateX(4px); }

.service-cta-card {
  background: linear-gradient(135deg, rgba(0,245,255,0.06), rgba(10,132,255,0.08));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.cta-card-content { position: relative; z-index: 1; }
.service-cta-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.service-cta-card p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.88rem; }
.cta-bg-icon {
  position: absolute;
  right: -20px; bottom: -20px;
  width: 140px; opacity: 0.4;
}
.cta-bg-icon svg { width: 100%; }

/* WHY SECTION */
.why-section {
  background: rgba(0, 245, 255, 0.02);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-features { display: flex; flex-direction: column; gap: 24px; }
.why-item {
  display: flex;
  gap: 18px;
  padding: 20px;
  border-radius: 10px;
  transition: background 0.3s;
}
.why-item:hover { background: var(--glass); }
.why-icon { font-size: 1.5rem; flex-shrink: 0; }
.why-item h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.why-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }

/* TESTIMONIALS */
.testimonials-section { overflow: hidden; }

.testimonials-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  animation: scroll-track 30s linear infinite;
  width: max-content;
}
.testimonials-track:hover { animation-play-state: paused; }

@keyframes scroll-track {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial-card {
  min-width: 340px;
  padding: 30px;
  flex-shrink: 0;
}
.stars { color: var(--primary); font-size: 0.9rem; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 300;
}
.client-info { display: flex; align-items: center; gap: 12px; }
.client-avatar {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--dark);
}
.client-info strong { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.client-info span { font-size: 0.75rem; color: var(--text-muted); }

/* CTA SECTION */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.08), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 32px; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding: 110px 5% 60px; }
  .hero-content { max-width: 100%; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
  .why-content { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}