/* Nexus Homepage Specific Styles */
.nexus-homepage * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.nexus-homepage * {
  cursor: default;
}

.nexus-homepage a,
.nexus-homepage button,
.nexus-homepage .nexus-btn {
  cursor: pointer !important;
}

.nexus-homepage input,
.nexus-homepage textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  cursor: text;
}

.nexus-homepage {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #f8fafc;
  background: linear-gradient(180deg, #0F121B 0%, #1a1d26 50%, #252831 100%);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.nexus-homepage *,
.nexus-homepage *::before,
.nexus-homepage *::after {
  box-sizing: border-box;
}

.nexus-homepage .nexus-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nexus-homepage .nexus-gradient-text {
  background: linear-gradient(135deg, #c4ad70 0%, #d4bd80 50%, #e4cd90 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: nexus-gradient-shift 3s ease-in-out infinite;
}

@keyframes nexus-gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.nexus-homepage .nexus-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.5rem;
  color: #f8fafc;
  opacity: 0;
  animation: nexus-fade-in-up 0.8s ease 0.2s forwards;
}

.nexus-homepage .nexus-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.nexus-homepage .nexus-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196, 173, 112, 0.2), transparent);
  transition: left 0.6s;
}

.nexus-homepage .nexus-btn:hover::before {
  left: 100%;
}

.nexus-homepage .nexus-btn-primary {
  background: linear-gradient(135deg, #c4ad70 0%, #b59c5f 100%);
  color: #0F121B;
  box-shadow: 0 8px 32px rgba(196, 173, 112, 0.3);
}

.nexus-homepage .nexus-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(196, 173, 112, 0.4);
  background: linear-gradient(135deg, #d4bd80 0%, #c4ad70 100%);
}

.nexus-homepage .nexus-btn-secondary {
  background: rgba(196, 173, 112, 0.05);
  color: #f8fafc;
  border: 2px solid rgba(196, 173, 112, 0.2);
  backdrop-filter: blur(10px);
}

.nexus-homepage .nexus-btn-secondary:hover {
  border-color: #c4ad70;
  background: rgba(196, 173, 112, 0.1);
  transform: translateY(-3px);
}

.nexus-homepage .nexus-btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.nexus-homepage .nexus-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 1.5rem 0;
}

.nexus-homepage .nexus-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(196, 173, 112, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.nexus-homepage .nexus-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nexus-homepage .nexus-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #f8fafc;
  opacity: 0;
  animation: nexus-fade-in-up 0.8s ease 0.2s forwards;
}

.nexus-homepage .nexus-hero-subtitle {
  display: block;
  font-size: 2.2rem;
  font-weight: 600;
  margin-top: 0.5rem;
  color: #d4bd80;
}

.nexus-homepage .nexus-hero-description {
  font-size: 1.15rem;
  color: #a8956b;
  margin-bottom: 2rem;
  line-height: 1.7;
  opacity: 0;
  animation: nexus-fade-in-up 0.8s ease 0.4s forwards;
}

.nexus-homepage .nexus-hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: nexus-fade-in-up 0.8s ease 0.6s forwards;
}

.nexus-homepage .nexus-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: nexus-fade-in-up 0.8s ease 0.8s forwards;
}

.nexus-homepage .nexus-protection-shield {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nexus-homepage .nexus-shield-core {
  position: relative;
  z-index: 3;
  color: #c4ad70;
  background: rgba(196, 173, 112, 0.1);
  padding: 1.8rem;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 173, 112, 0.2);
  transition: all 0.4s ease;
}

.nexus-homepage .nexus-shield-core:hover {
  transform: scale(1.05);
  background: rgba(196, 173, 112, 0.15);
  box-shadow: 0 0 40px rgba(196, 173, 112, 0.3);
}

.nexus-homepage .nexus-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(196, 173, 112, 0.4);
  border-radius: 50%;
  animation: nexus-pulse 3s ease-out infinite;
  top: 0;
  left: 0;
}

.nexus-homepage .nexus-pulse-delay-1 {
  animation-delay: 1s;
  border-color: rgba(212, 189, 128, 0.3);
}

.nexus-homepage .nexus-pulse-delay-2 {
  animation-delay: 2s;
  border-color: rgba(228, 205, 144, 0.2);
}

@keyframes nexus-pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.nexus-homepage .nexus-features {
  padding: 7rem 0;
  background: rgba(15, 18, 27, 0.8);
  backdrop-filter: blur(20px);
  position: relative;
}

.nexus-homepage .nexus-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(196, 173, 112, 0.05) 0%, rgba(212, 189, 128, 0.05) 100%);
  pointer-events: none;
}

.nexus-homepage .nexus-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.nexus-homepage .nexus-feature-card {
  background: rgba(196, 173, 112, 0.03);
  padding: 2.2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(196, 173, 112, 0.08);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  animation: nexus-fade-in-up 0.8s ease forwards;
}

.nexus-homepage .nexus-feature-card:nth-child(1) {
  animation-delay: 0.2s;
}

.nexus-homepage .nexus-feature-card:nth-child(2) {
  animation-delay: 0.4s;
}

.nexus-homepage .nexus-feature-card:nth-child(3) {
  animation-delay: 0.6s;
}

.nexus-homepage .nexus-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(196, 173, 112, 0.3);
  box-shadow: 0 20px 60px rgba(196, 173, 112, 0.15);
  background: rgba(196, 173, 112, 0.05);
}

.nexus-homepage .nexus-feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.3rem;
  background: linear-gradient(135deg, #c4ad70 0%, #b59c5f 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F121B;
  transition: all 0.4s ease;
}

.nexus-homepage .nexus-feature-card:hover .nexus-feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 32px rgba(196, 173, 112, 0.4);
}

.nexus-homepage .nexus-feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #f8fafc;
}

.nexus-homepage .nexus-feature-card p {
  color: #a8956b;
  line-height: 1.7;
  font-size: 0.95rem;
}

.nexus-homepage .nexus-stats {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #c4ad70 0%, #b59c5f 50%, #a68b4e 100%);
  position: relative;
  overflow: hidden;
}

.nexus-homepage .nexus-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
  animation: nexus-float 20s linear infinite;
}

@keyframes nexus-float {
  0% {
    transform: translateX(0) translateY(0);
  }

  100% {
    transform: translateX(-60px) translateY(-60px);
  }
}

.nexus-homepage .nexus-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.nexus-homepage .nexus-stat-item {
  opacity: 0;
  transform: translateY(30px);
  animation: nexus-fade-in-up 0.8s ease forwards;
}

.nexus-homepage .nexus-stat-item:nth-child(1) {
  animation-delay: 0.1s;
}

.nexus-homepage .nexus-stat-item:nth-child(2) {
  animation-delay: 0.2s;
}

.nexus-homepage .nexus-stat-item:nth-child(3) {
  animation-delay: 0.3s;
}

.nexus-homepage .nexus-stat-item:nth-child(4) {
  animation-delay: 0.4s;
}

.nexus-homepage .nexus-stat-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: #0F121B;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nexus-homepage .nexus-stat-label {
  font-size: 1.05rem;
  color: rgba(15, 18, 27, 0.8);
  font-weight: 500;
}

.nexus-homepage .nexus-cta {
  padding: 7rem 0;
  background: rgba(15, 18, 27, 0.9);
  text-align: center;
  position: relative;
}

.nexus-homepage .nexus-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(196, 173, 112, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.nexus-homepage .nexus-cta-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
}

.nexus-homepage .nexus-cta-content h2 {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 1.3rem;
  color: #f8fafc;
  opacity: 0;
  animation: nexus-fade-in-up 0.8s ease 0.2s forwards;
}

.nexus-homepage .nexus-cta-content p {
  font-size: 1.15rem;
  color: #a8956b;
  margin-bottom: 2.2rem;
  line-height: 1.7;
  opacity: 0;
  animation: nexus-fade-in-up 0.8s ease 0.4s forwards;
}

.nexus-homepage .nexus-cta .nexus-btn {
  opacity: 0;
  animation: nexus-fade-in-up 0.8s ease 0.6s forwards;
}

.nexus-homepage .nexus-footer {
  padding: 2.5rem 0;
  background: #0a0c13;
  border-top: 1px solid rgba(196, 173, 112, 0.1);
}

.nexus-homepage .nexus-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.nexus-homepage .nexus-footer-links {
  display: flex;
  gap: 1.5rem;
}

.nexus-homepage .nexus-footer-links a {
  color: #a8956b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nexus-homepage .nexus-footer-links a:hover {
  color: #c4ad70;
}

.nexus-homepage .nexus-footer-logo {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  padding-left: 0.1rem;
}

@keyframes nexus-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .nexus-homepage .nexus-hero-content {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .nexus-homepage .nexus-hero-title {
    font-size: 3.2rem;
  }
  
  .nexus-homepage .nexus-features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
  }
}

@media (max-width: 768px) {
  .nexus-homepage .nexus-container {
    padding: 0 18px;
  }
  
  .nexus-homepage .nexus-hero-title {
    font-size: 2.6rem;
  }
  
  .nexus-homepage .nexus-hero-subtitle {
    font-size: 1.8rem;
  }
  
  .nexus-homepage .nexus-hero-description {
    font-size: 1.05rem;
  }
  
  .nexus-homepage .nexus-hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .nexus-homepage .nexus-btn {
    width: 100%;
    max-width: 260px;
  }
  
  .nexus-homepage .nexus-section-title {
    font-size: 2rem;
  }
  
  .nexus-homepage .nexus-features-grid {
    grid-template-columns: 1fr;
  }
  
  .nexus-homepage .nexus-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }
  
  .nexus-homepage .nexus-cta-content h2 {
    font-size: 2rem;
  }
  
  .nexus-homepage .nexus-footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nexus-homepage .nexus-hero {
    padding: 0.8rem 0;
  }
  
  .nexus-homepage .nexus-hero-title {
    font-size: 2rem;
  }
  
  .nexus-homepage .nexus-hero-subtitle {
    font-size: 1.5rem;
  }
  
  .nexus-homepage .nexus-hero-description {
    font-size: 0.95rem;
  }
  
  .nexus-homepage .nexus-protection-shield {
    width: 160px;
    height: 160px;
  }
  
  .nexus-homepage .nexus-shield-core {
    padding: 1.3rem;
  }
  
  .nexus-homepage .nexus-shield-core svg {
    width: 55px;
    height: 55px;
  }
  
  .nexus-homepage .nexus-feature-card {
    padding: 1.8rem;
  }
  
  .nexus-homepage .nexus-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .nexus-homepage .nexus-stat-number {
    font-size: 2.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .nexus-homepage {
    scroll-behavior: smooth;
  }
}

.nexus-homepage .nexus-btn:focus {
  outline: 2px solid #c4ad70;
  outline-offset: 2px;
}

@media (prefers-contrast: high) {
  .nexus-homepage {
    background: #000;
    color: #fff;
  }
  
  .nexus-homepage .nexus-feature-card {
    border-color: #c4ad70;
  }
  
  .nexus-homepage .nexus-gradient-text {
    color: #c4ad70;
    background: none;
    -webkit-text-fill-color: #c4ad70;
  }
}

.nexus-homepage.loading * {
  animation-play-state: paused;
}

.nexus-homepage .nexus-feature-card,
.nexus-homepage .nexus-btn,
.nexus-homepage .nexus-footer-links a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nexus-homepage::-webkit-scrollbar {
  width: 8px;
}

.nexus-homepage::-webkit-scrollbar-track {
  background: #0F121B;
}

.nexus-homepage::-webkit-scrollbar-thumb {
  background: #c4ad70;
  border-radius: 4px;
}

.nexus-homepage::-webkit-scrollbar-thumb:hover {
  background: #d4bd80;
}

.nexus-homepage ::selection {
  background: rgba(196, 173, 112, 0.3);
  color: #f8fafc;
}

.nexus-homepage ::-moz-selection {
  background: rgba(196, 173, 112, 0.3);
  color: #f8fafc;
}
