/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
}

body {
  background: radial-gradient(circle at top, #0c1118, #06080d 70%);
  color: #c9d1d9;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ================= NAV ================= */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 50, 50, 0.15);
}

.nav strong {
  font-weight: 700;
  letter-spacing: 1px;
}

.nav a {
  color: #8b949e;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #ff3232;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ================= SLOGAN ================= */
.hero-slogan {
  z-index: 2;
  max-width: 900px;
  margin-bottom: 120px;
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  background: linear-gradient(120deg, #e6edf3, #9aa4af, #ff3232);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(255, 50, 50, 0.25);
  animation: fade-down 1.2s ease forwards;
  pointer-events: none;
  pointer-events: none; /* mouse passes through */
  user-select: none; 
}

/* ================= HERO CONTENT ================= */
.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  pointer-events: none; /* mouse passes through */
  user-select: none; 
}

/* ================= HERO TEXT ================= */
.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  animation: fade-up 1.4s ease forwards;
  pointer-events: none; /* mouse passes through */
  user-select: none; 
}

.hero-name {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(120deg, #e6edf3, #b6c2cf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none; /* mouse passes through */
  user-select: none; 
}

.hero-role {
  font-size: 1.45rem;
  background: linear-gradient(90deg, #ff3232, #8b949e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  max-width: 520px;
  color: #9aa4af;
}

/* ================= HERO IMAGE ================= */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 50, 50, 0.25);
  box-shadow: 0 0 25px rgba(255, 50, 50, 0.25);
  animation: float 6s ease-in-out infinite;
}

/* ================= SECTIONS ================= */
.section {
  padding: 6rem 8%;
}

.gradient-heading {
  font-size: 2rem;
  text-align: center;
  background: linear-gradient(90deg, #ff3232, #9aa4af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #9aa4af;
}

/* ================= CARDS ================= */
.recommendation-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.rec-card {
  width: 240px;
  background: rgba(20, 25, 35, 0.8);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 50, 50, 0.2);
  transition: transform 0.3s ease;
}

.rec-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.rec-card h3 {
  text-align: center;
  padding: 1rem;
  color: #ff3232;
}

.rec-card:hover {
  transform: translateY(-8px);
}

/* ================= BUTTONS ================= */
button {
  display: block;
  margin: 2rem auto 0;
  padding: 0.75rem 2rem;
  font-weight: 600;
  background: transparent;
  color: #ff3232;
  border: 1px solid #ff3232;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: rgba(255, 50, 50, 0.15);
}

/* ================= FOOTER ================= */
.footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 50, 50, 0.15);
}

.social-icons img {
  width: 26px;
  margin: 0 0.5rem;
}

/* ================= ANIMATIONS ================= */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-image {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-slogan { font-size: 1.8rem; }
  .hero-name { font-size: 2rem; }
  .hero-image img { width: 170px; height: 170px; }
  .rec-card { width: 100%; }
}
