
:root {
  /* ✅ PDF Maroon Theme */
  --accent: #923a35;
  --accent-glow: rgba(146, 58, 53, 0.45);
  --bg-dark: #020617;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg-dark);
  color: #f1f5f9;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

section:not(#home) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

.glass-nav {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ✅ Maroon Glow */
.hero-gradient {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(146, 58, 53, 0.12) 0%,
    rgba(2, 6, 23, 0) 70%
  );
  will-change: transform;
}

.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease,
    box-shadow 0.3s ease;
}

/* ✅ Maroon Hover Border */
.glass-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(146, 58, 53, 0.55);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -20px var(--accent-glow);
}

.animate-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.animate-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ✅ Maroon Badges */
.tech-badge {
  background: rgba(146, 58, 53, 0.06);
  border: 1px solid rgba(146, 58, 53, 0.18);
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f1dddb; /* soft rose */
  display: inline-block;
}

.input-field {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ✅ Maroon Focus Glow */
.input-field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(146, 58, 53, 0.12);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
