html { scroll-behavior: smooth; }
body {
  background: #0B0B0F;
  color: #FFFFFF;
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

.grid-dots {
  background-image: radial-gradient(circle at 1px 1px, rgba(59,130,246,0.08) 1px, transparent 0);
  background-size: 32px 32px;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #60A5FA 50%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: rgba(18, 18, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59,130,246,0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59,130,246,0.08);
}

.nav-blur {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}
.nav-scrolled {
  background: rgba(11, 11, 15, 0.9);
  border-bottom: 1px solid rgba(59,130,246,0.1);
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link.active {
  color: #3B82F6;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #3B82F6;
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  box-shadow: 0 0 24px rgba(59,130,246,0.3);
  transform: translateY(-1px);
}
.btn-secondary {
  border: 1px solid rgba(139,92,246,0.4);
  color: #A78BFA;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  border-color: rgba(139,92,246,0.7);
  background: rgba(139,92,246,0.08);
}

.btn-success {
  background: linear-gradient(135deg, #10B981, #059669);
  transition: all 0.3s ease;
}
.btn-success:hover {
  box-shadow: 0 0 20px rgba(16,185,129,0.25);
  transform: translateY(-1px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.terminal {
  background: #0D0D14;
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
}
.terminal-bar {
  background: rgba(18,18,26,0.8);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(59,130,246,0.1);
}
.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.terminal-body {
  padding: 20px;
  font-size: 13px;
  line-height: 1.8;
}
.terminal-prompt  { color: #10B981; }
.terminal-cmd     { color: #60A5FA; }
.terminal-output  { color: #9CA3AF; }
.terminal-highlight { color: #E5E7EB; }
.terminal-status  { color: #F59E0B; }

.blink-cursor::after {
  content: '█';
  animation: blink 1s step-end infinite;
  color: #10B981;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-connector {
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(59,130,246,0.3), rgba(139,92,246,0.3));
}

.cert-badge {
  background: rgba(18,18,26,0.6);
  border: 1px solid rgba(59,130,246,0.15);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.cert-badge:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-2px);
}

.quote-mark {
  font-size: 80px;
  line-height: 1;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #6B7280;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}

.icon-blue   { background: linear-gradient(135deg, rgba(59,130,246,0.15),  rgba(59,130,246,0.05)); }
.icon-purple { background: linear-gradient(135deg, rgba(139,92,246,0.15),  rgba(139,92,246,0.05)); }
.icon-teal   { background: linear-gradient(135deg, rgba(59,130,246,0.12),  rgba(16,185,129,0.08)); }
.icon-green  { background: linear-gradient(135deg, rgba(16,185,129,0.15),  rgba(16,185,129,0.05)); }

.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59,130,246,0.2), transparent);
}

@media (prefers-reduced-motion: reduce) {
  .reveal            { opacity: 1; transform: none; transition: none; }
  .glass-card:hover  { transform: none; }
  .btn-primary:hover { transform: none; }
  .pulse-dot         { animation: none; }
  .blink-cursor::after { animation: none; }
  html               { scroll-behavior: auto; }
}
