:root {
  --bg: #0b0d12;
  --ink: #e7ecf3;
  --muted: #98a2b3;
  --glass: rgba(255,255,255,.06);
  --accent: #9ae6ff;
  --accent-2: #caa8ff;
  --ring: rgba(154,230,255,.4);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}
#scene3d {
  position: fixed;
  inset: 0;
  z-index: -1;
}
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  padding: 12px 20px;
  border-radius: 20px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  z-index: 10;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}
.nav a:hover {
  color: var(--ink);
}
.brand {
  font-weight: 800;
  color: var(--accent);
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 140px 10%;
  min-height: 100vh;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .2em;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.2;
}
.highlight {
  color: var(--accent-2);
}
.lede {
  margin-top: 20px;
  color: var(--muted);
}
.cta-row {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}
.btn {
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
  background: var(--accent);
  color: #000;
  transition: transform .2s;
}
.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--ink);
}
.btn:hover {
  transform: scale(1.05);
}
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 20;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ring);
  border-radius: 50%;
}
/* Welcome (Eyebrow) */
.eyebrow {
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: .25em;
  text-transform: uppercase;
  animation: welcomeCarousel 8s infinite linear, floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%   { transform: translateY(0) rotateY(0deg); }
  50%  { transform: translateY(-8px) rotateY(12deg); }
  100% { transform: translateY(0) rotateY(0deg); }
}
@keyframes welcomeCarousel {
  0% { color: #9ae6ff; font-family: 'Poppins', sans-serif; text-shadow: 0 0 18px #9ae6ff; }
  25% { color: #caa8ff; font-family: 'Orbitron', sans-serif; text-shadow: 0 0 22px #caa8ff; }
  50% { color: #ff4ecd; font-family: 'Audiowide', cursive; text-shadow: 0 0 25px #ff4ecd; }
  75% { color: #00ff95; font-family: 'Exo 2', sans-serif; text-shadow: 0 0 20px #00ff95; }
  100% { color: #9ae6ff; font-family: 'Poppins', sans-serif; text-shadow: 0 0 18px #9ae6ff; }
}

/* Profile photo + Orbit */
.profile-photo {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  z-index: 10;
  width: 180px;
  height: 180px;
}
.profile-photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid #00f0ff;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
  object-fit: cover;
}
.profile-photo .orbit-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);  /* shift orbit container left */
  transform-origin: center;
  animation: spin 12s linear infinite;
  width: 250px;
  height: 250px;
}

.orbit span {
  display: inline-block;
  padding: 12px 20px;
  background: #111;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}
.orbit1 { transform: rotate(0deg) translateX(125px); animation-delay: 0s; }
.orbit2 { transform: rotate(90deg) translateX(125px); animation-delay: -3s; }
.orbit3 { transform: rotate(180deg) translateX(125px); animation-delay: -6s; }
.orbit4 { transform: rotate(270deg) translateX(125px); animation-delay: -9s; }

@keyframes spin {
  0%   { transform: rotate(0deg) translateX(125px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(125px) rotate(-360deg); }
}
.profile-wrapper {
  position: absolute;   /* lock it inside hero */
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  z-index: 10;
}

.profile-photo img {
  width: 180px;
  height: 180px;
  border-radius: 70%;
  border: 3px solid #00f0ff;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  animation: spin 12s linear infinite;
  width: 220px;   /* orbit ring just outside photo */
  height: 220px;
}

.orbit span {
  display: inline-block;
  padding: 12px 20px;
  background: #111;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* Four corners of orbit */
.orbit1 { transform: rotate(0deg) translateX(110px); animation-delay: 0s; }
.orbit2 { transform: rotate(90deg) translateX(110px); animation-delay: -3s; }
.orbit3 { transform: rotate(180deg) translateX(110px); animation-delay: -6s; }
.orbit4 { transform: rotate(270deg) translateX(110px); animation-delay: -9s; }

@keyframes spin {
  0%   { transform: rotate(0deg) translateX(110px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(110px) rotate(-360deg); }
}
/* ===================== */
/* MOBILE RESPONSIVENESS */
/* ===================== */

@media (max-width: 768px) {
  /* Navbar */
  .nav {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
    font-size: 0.85rem;
    padding: 8px 14px;
  }
  .brand {
    display: none; /* hide brand on mobile to save space */
  }

  /* Hero layout becomes column */
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 20px 40px;
    text-align: center;
  }

  /* Profile with orbit goes first */
  .profile-wrapper {
    position: static;
    transform: none;
    margin-bottom: 30px;
  }

  .profile-photo img {
    width: 140px;
    height: 140px;
  }

  .orbit {
    width: 170px;
    height: 170px;
  }
  .orbit span {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  /* Text block below */
  .hero-text {
    max-width: 100%;
  }
  .hero h1 {
    font-size: 2rem;
    margin-top: 15px;
  }
  .lede {
    font-size: 1rem;
    margin-top: 12px;
  }

  /* Buttons stacked */
  .cta-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .btn {
    width: 100%;
    max-width: 240px;
  }
}

/* Even smaller phones */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .lede {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}
/* ===================== */
/* RESPONSIVE - MOBILE / TABLET */
/* Put this at the BOTTOM of style.css */
/* ===================== */

/* Tablet-ish */
@media (max-width: 1024px) {
  .nav {
    gap: 12px;
    padding: 10px 16px;
    font-size: 0.95rem;
    left: 50%;
    transform: translateX(-50%);
  }
  .brand { font-size: 1rem; }

  .hero {
    flex-direction: column-reverse; /* profile above text on smaller screens */
    align-items: center;
    padding: 110px 6% 50px;
    gap: 28px;
    text-align: center;
  }

  .profile-wrapper {
  position: absolute;   /* lock it inside hero */
  right: 20%;
  top: 25%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  z-index: 10;
}

  .profile-photo {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }
  .profile-photo img { width: 160px; height: 160px; }

  .orbit {
    width: 200px;
    height: 200px;
  }
  .orbit span { padding: 9px 14px; font-size: 0.9rem; }
}

/* Mobile phones */
@media (max-width: 600px) {
  .nav {
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  /* keep brand visible but small */
  .brand { font-size: 0.95rem; }

  .hero {
    padding: 90px 5% 40px;
    gap: 20px;
    align-items: center;
  }

  .profile-photo {
    width: 130px;
    height: 130px;
  }
  .profile-photo img { width: 130px; height: 130px; border-radius: 50%; }

  .orbit {
    width: 170px;
    height: 170px;
  }
  .orbit span { padding: 8px 12px; font-size: 0.8rem; }

  .eyebrow { font-size: 1.2rem; letter-spacing: .18em; }
  .hero h1 { font-size: clamp(20px, 6.5vw, 32px); line-height: 1.15; }
  .lede { font-size: 0.98rem; margin-top: 10px; }

  .cta-row {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 12px;
  }
  .btn { width: 100%; max-width: 300px; padding: 12px 16px; }
}

/* Tiny phones */
@media (max-width: 420px) {
  .hero { padding: 70px 4% 36px; }
  .hero h1 { font-size: clamp(18px, 7.5vw, 28px); }
  .lede { font-size: 0.92rem; }
  .profile-photo { width: 120px; height: 120px; }
  .orbit { width: 150px; height: 150px; }
}
/* Hide orbit on smaller devices (tablet + phone) */
@media (max-width: 1024px) {
  .orbit {
    display: none !important;
  }
}

