/* =====================================================
   home.css — Home / Hero Section
===================================================== */

/* Kill base.css section padding for home */
#home {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* The container IS the grid div — force 2-col grid on it */
#home > .container {
  display: grid !important;
  grid-template-columns: 48% 58% !important;
  align-items: center !important;
  gap: 0 !important;
  height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
  max-width: var(--max-w);
  padding-left: 48px;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

/* Left text column */
.home-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-right: 40px;
  min-height: 0;
  overflow: hidden;
}

/* Tag pill */
.home-tag {
  display: inline-block;
  background: rgba(124,92,252,0.1); border: 1px solid rgba(124,92,252,0.3);
  color: var(--accent3); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
  width: fit-content;
}

/* Name */
.home-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.home-name-accent { color: var(--accent); }

/* Role */
.home-role {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

/* Description */
.home-desc {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 0;
}

/* Buttons row */
.home-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

/* Social icons */
.home-socials { display: flex; gap: 12px; align-items: center; }
.hs-link {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); transition: all 0.2s var(--ease);
}
.hs-link:hover { color: var(--text); border-color: var(--accent); background: rgba(124,92,252,0.08); transform: translateY(-3px); }

/* Right canvas column */
.home-right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

#constCanvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* Explore More */
.explore-more {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text3); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  animation: floatUp 2.8s ease-in-out infinite; z-index: 2;
}
.mouse-icon {
  width: 26px; height: 42px; border: 2px solid var(--text3);
  border-radius: 13px; display: flex; justify-content: center; padding-top: 6px;
}
.mouse-icon::before {
  content: ''; width: 4px; height: 8px;
  background: var(--accent); border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes floatUp {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}
@keyframes scrollDot {
  0%,100% { opacity:1; transform:translateY(0); }
  50%      { opacity:0.2; transform:translateY(9px); }
}

/* Responsive */
@media (max-width: 900px) {
  #home              { height: auto; min-height: 100vh; }
  #home > .container { grid-template-columns: 1fr !important; height: auto; overflow: visible; padding-bottom: 40px; }
  .home-left         { height: auto; padding-right: 0; padding-top: 32px; }
  .home-right        { height: 340px; min-height: 340px; }
  .explore-more      { display: none; }
}
@media (max-width: 480px) {
  .home-name  { font-size: 2.2rem; }
  .home-right { height: 260px; min-height: 260px; }
}