/* QWAMOS Refined Cyberpunk Aesthetics */
/* =================================== */

/* Refined Color Palette */
:root {
  /* Core Colors - More muted and professional */
  --cyber-dark: #0a0e1b;
  --cyber-darker: #060911;
  --cyber-panel: #0d1117;
  --cyber-card: #161b22;
  
  /* Accent Colors - Subtle neon */
  --accent-primary: #58a6ff;
  --accent-secondary: #f778ba;
  --accent-tertiary: #8b949e;
  --accent-success: #3fb950;
  --accent-warning: #d29922;
  --accent-danger: #f85149;
  
  /* Text Colors */
  --text-primary: #c9d1d9;
  --text-secondary: #8b949e;
  --text-muted: #484f58;
  
  /* Refined Gradients */
  --gradient-subtle: linear-gradient(135deg, #58a6ff 0%, #8b58ff 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, hsla(210, 100%, 60%, 0.3) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, hsla(285, 100%, 60%, 0.2) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, hsla(355, 100%, 60%, 0.1) 0px, transparent 50%);
}

/* Refined Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Space Grotesk', sans-serif;
  background: var(--cyber-darker);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Subtle Grid Background */
.cyber-grid-subtle {
  position: relative;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(88, 166, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(139, 88, 255, 0.1) 0%, transparent 50%);
}

.cyber-grid-subtle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(0deg, transparent 24%, rgba(88, 166, 255, .05) 25%, rgba(88, 166, 255, .05) 26%, transparent 27%, transparent 74%, rgba(88, 166, 255, .05) 75%, rgba(88, 166, 255, .05) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(88, 166, 255, .05) 25%, rgba(88, 166, 255, .05) 26%, transparent 27%, transparent 74%, rgba(88, 166, 255, .05) 75%, rgba(88, 166, 255, .05) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
  opacity: 0.3;
}

/* Professional Navigation */
.navbar-refined {
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(10px) saturate(150%);
  border-bottom: 1px solid rgba(139, 148, 158, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.nav-logo-refined {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  background: var(--gradient-subtle);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link-refined {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link-refined::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-link-refined:hover,
.nav-link-refined.active {
  color: var(--text-primary);
}

.nav-link-refined:hover::after,
.nav-link-refined.active::after {
  width: 100%;
}

/* Refined Hero Section */
.hero-refined {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-mesh);
}

.hero-title-refined {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #58a6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-refined {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0;
  margin-bottom: 2rem;
}

/* Professional Cards */
.card-refined {
  background: var(--cyber-card);
  border: 1px solid rgba(139, 148, 158, 0.1);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-refined::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.card-refined:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 12px 24px rgba(88, 166, 255, 0.15);
}

/* Subtle Glow Effects */
.glow-text-subtle {
  text-shadow: 0 0 20px rgba(88, 166, 255, 0.5);
}

.glow-border-subtle {
  box-shadow: inset 0 0 0 1px rgba(88, 166, 255, 0.2),
              0 0 20px rgba(88, 166, 255, 0.1);
}

/* Professional Buttons */
.btn-cyber {
  background: var(--cyber-card);
  color: var(--text-primary);
  border: 1px solid rgba(88, 166, 255, 0.3);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-cyber::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(88, 166, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-cyber:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(88, 166, 255, 0.3);
}

.btn-cyber:hover::before {
  width: 300px;
  height: 300px;
}

.btn-cyber-outline {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

.btn-cyber-outline:hover {
  background: var(--accent-primary);
  color: #fff;
}

/* Feature Icons */
.feature-icon-refined {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(88, 166, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
  position: relative;
}

.feature-icon-refined::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-refined:hover .feature-icon-refined::after {
  opacity: 1;
}

/* Section Headers */
.section-header-refined {
  text-align: center;
  margin-bottom: 4rem;
}

.section-overline {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.section-title-refined {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Minimal Classified Badge */
.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid rgba(88, 166, 255, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent-primary);
}

.security-badge::before {
  content: '◉';
  font-size: 0.625rem;
  opacity: 0.6;
}

/* Code Blocks */
.code-block-refined {
  background: var(--cyber-panel);
  border: 1px solid rgba(139, 148, 158, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-x: auto;
  position: relative;
}

.code-block-refined::before {
  content: attr(data-language);
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Stats Display */
.stat-card {
  background: var(--cyber-card);
  border: 1px solid rgba(139, 148, 158, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.stat-value-refined {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-subtle);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.stat-label-refined {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.2);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1.5rem;
  bottom: -2rem;
  width: 2px;
  background: rgba(139, 148, 158, 0.2);
}

.timeline-item:last-child::after {
  display: none;
}

/* Footer Refined */
.footer-refined {
  background: var(--cyber-panel);
  border-top: 1px solid rgba(139, 148, 158, 0.1);
  padding: 3rem 0 2rem;
}

.footer-content-refined {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  background: var(--gradient-subtle);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom-refined {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 148, 158, 0.1);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title-refined {
    font-size: 2.5rem;
  }
  
  .section-title-refined {
    font-size: 2rem;
  }
  
  .footer-content-refined {
    grid-template-columns: 1fr;
    text-align: center;
  }
}