@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600&family=Geist:wght@400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --bg: #08090c;
  --text: #f8fafc;
  --muted: rgba(226, 232, 240, 0.65);
  --border: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a, button {
  -webkit-tap-highlight-color: transparent;
  color: inherit;
  text-decoration: none;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid #f8fafc;
  outline-offset: 4px;
}

/* Outer Stage with 3D Backdrop & Lighting */
.profile-stage {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 40px 24px;
  background: radial-gradient(circle at 50% 40%, #15181f 0%, #0c0e12 50%, #060709 100%);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.profile-stage::before {
  content: "";
  position: absolute;
  inset: -15%;
  z-index: -2;
  background: radial-gradient(ellipse at 70% 35%, rgba(200, 215, 235, 0.22) 0 8%, transparent 30%),
              radial-gradient(ellipse at 25% 65%, rgba(140, 155, 180, 0.14) 0 10%, transparent 35%),
              radial-gradient(ellipse at 60% 85%, rgba(220, 230, 245, 0.18) 0 9%, transparent 28%);
  filter: blur(45px);
  animation: backdrop-breathe 14s ease-in-out infinite alternate;
}

/* Ambient & Specular Glows */
.moving-light, .ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(85px);
}

.moving-light {
  width: 320px;
  height: 320px;
  opacity: 0.22;
}

.light-left {
  left: -100px;
  top: 25%;
  background: #cbd5e1;
  animation: drift-left 14s ease-in-out infinite;
}

.light-right {
  right: -100px;
  top: 45%;
  background: #94a3b8;
  animation: drift-right 16s ease-in-out infinite;
}

.ambient-glow {
  opacity: 0.4;
}

.glow-top {
  top: 100px;
  right: 25%;
  width: 180px;
  height: 180px;
  background: #ffffff;
  filter: blur(50px);
  animation: glow-pulse 9s ease-in-out infinite;
}

.glow-left {
  top: 32%;
  left: 4%;
  width: 280px;
  height: 280px;
  background: #cbd5e1;
  filter: blur(75px);
  opacity: 0.32;
  animation: glow-pulse 11s ease-in-out -2s infinite;
}

.glow-side {
  right: 5%;
  bottom: 15%;
  width: 240px;
  height: 240px;
  background: #e2e8f0;
  filter: blur(65px);
  animation: glow-pulse 12s ease-in-out -4s infinite;
}

/* 3D Chrome Torus & Spheres Matching Photo 1 */
.chrome-torus-main {
  position: absolute;
  right: 4%;
  bottom: -15%;
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  z-index: 1;
  pointer-events: none;
  transform: rotate(-14deg);
  animation: torus-hover 16s ease-in-out infinite;
}

.chrome-torus-left-ambient {
  position: absolute;
  left: -140px;
  bottom: -12%;
  width: min(44vw, 450px);
  height: min(44vw, 450px);
  z-index: 1;
  pointer-events: none;
  transform: rotate(38deg);
  animation: torus-hover-left 18s ease-in-out infinite;
}

.chrome-torus-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.92));
}

.chrome-sphere {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 33% 26%, #ffffff 0%, #f8fafc 6%, #cbd5e1 16%, #475569 40%, #1e293b 62%, #090d16 85%, #020408 100%);
  box-shadow: inset -14px -16px 24px rgba(0, 0, 0, 0.85),
              inset 9px 9px 18px rgba(255, 255, 255, 0.8),
              0 0 35px rgba(226, 232, 240, 0.3),
              0 22px 45px rgba(0, 0, 0, 0.85);
}

.chrome-sphere-top {
  width: 104px;
  height: 104px;
  top: 10%;
  right: 20%;
  z-index: 1;
  animation: float-slow 10s ease-in-out infinite;
}

.chrome-sphere-left {
  width: 76px;
  height: 76px;
  top: 14%;
  left: clamp(24px, 6vw, 100px);
  z-index: 1;
  animation: float-slow 11s ease-in-out -3s infinite;
}

.chrome-sphere-edge {
  width: 58px;
  height: 58px;
  top: 54%;
  right: -29px;
  z-index: 10;
  animation: float-slow 8s ease-in-out -2s infinite reverse;
}

/* Frosted Glassmorphism Window Shell */
.browser-shell {
  position: relative;
  width: min(1060px, calc(100% - 32px));
  min-height: min(680px, calc(100vh - 64px));
  border-radius: 28px;
  overflow: visible;
  z-index: 2;
  background: rgba(22, 25, 31, 0.62);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.3),
              0 35px 95px rgba(0, 0, 0, 0.86),
              0 0 0 1px rgba(0, 0, 0, 0.4);
  animation: shell-in 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Window Header Bar */
.browser-header {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 16, 21, 0.75);
  backdrop-filter: blur(20px);
  border-top-left-radius: 27px;
  border-top-right-radius: 27px;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-address {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Geist Mono', monospace;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: rgba(226, 232, 240, 0.55);
}

.browser-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-item {
  background: transparent;
  border: none;
  padding: 4px 6px;
  font-family: 'Geist', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-item:hover, .nav-item-active {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

/* Window Content Body */
.mockup-body {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 590px;
  padding: 42px 38px 24px;
  gap: 28px;
  align-items: center;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(255, 255, 255, 0.02) 100%);
  border-bottom-left-radius: 27px;
  border-bottom-right-radius: 27px;
}

/* Left Typography Section Matching Photo 1 */
.mockup-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 480px;
  text-align: left;
  animation: profile-rise 0.9s 0.1s both cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-typography {
  padding-top: 20px;
}

.hero-title {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(42px, 4.8vw, 64px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: rgba(248, 250, 252, 0.88);
  display: flex;
  flex-direction: column;
}

.hero-title span:first-child {
  color: #f1f5f9;
}

.hero-title span:last-child {
  color: rgba(241, 245, 249, 0.76);
}

.hero-subtitle {
  margin: 24px 0 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  color: rgba(226, 232, 240, 0.65);
  letter-spacing: -0.03em;
}

.mockup-footer-left {
  margin-top: auto;
  padding-bottom: 8px;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.spec-badge-highlight {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.spec-description {
  margin: 10px 0 0;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  color: rgba(226, 232, 240, 0.65);
  letter-spacing: 0.01em;
}

/* Center / Right: Lora Profile Card */
.profile-center-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: profile-rise 0.9s 0.22s both cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-intro {
  position: relative;
  z-index: 2;
}

.portrait-wrap {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 0 auto 16px;
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3.5px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.06), 0 18px 40px rgba(0, 0, 0, 0.7);
  background-color: #1a1c22;
}

.portrait-spark {
  position: absolute;
  color: #f8fafc;
  text-shadow: 0 0 10px rgba(248, 250, 252, 0.95);
  animation: sparkle 2.6s ease-in-out infinite;
}

.spark-one {
  top: 8px;
  right: -12px;
  display: flex;
  align-items: center;
}

.spark-two {
  bottom: 12px;
  left: -16px;
  font-size: 16px;
  animation-delay: -1s;
}

.profile-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.profile-name {
  margin: 0;
  color: #f8fafc;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.25);
}

.verified-badge {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.65);
}

.profile-role {
  margin: 10px 0 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(13px, 1.6vw, 16.5px);
  color: rgba(248, 250, 252, 0.92);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.profile-role span {
  margin: 0 6px;
  color: #cbd5e1;
}

/* Status Card */
.status-card {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(390px, 100%);
  margin-top: 22px;
  padding: 12px 16px 12px 12px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(45, 48, 56, 0.54);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.14), 0 12px 30px rgba(0, 0, 0, 0.3);
}

.status-avatar-wrap {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.status-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.status-header-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-header-line strong {
  color: #f8fafc;
  font-size: 15px;
}

.status-location {
  color: #cbd5e1;
  font-size: 12px;
}

.status-copy small {
  color: rgba(226, 232, 240, 0.65);
  font-size: 12px;
}

.status-online {
  width: 11px;
  height: 11px;
  margin-left: auto;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 12px #38bdf8;
}

/* Social Icons */
.social-icons {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}

.social-icon {
  display: grid;
  place-items: center;
  color: #f8fafc;
  opacity: 0.94;
  transition: transform 0.22s, color 0.22s, filter 0.22s;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.08);
  color: #ffffff;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
}

.fav-button {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.fav-button.favorited {
  color: #f43f5e;
  filter: drop-shadow(0 0 12px rgba(244, 63, 94, 0.8));
}

/* Bottom-Right Copyright & Actions Matching Photo 1 */
.mockup-footer-right {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
  animation: profile-rise 0.9s 0.35s both cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(248, 250, 252, 0.5);
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.footer-copyright strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-transform: lowercase;
}

.minimal-icons-row {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.55);
}

.min-icon {
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.min-icon:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.action-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-views {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(248, 250, 252, 0.82);
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
}

.profile-views strong {
  font-weight: 500;
}

.source-download-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.source-download-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: rgba(248, 250, 252, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(18, 20, 26, 0.5);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.22s;
}

.source-download-button:hover {
  color: #0a0b0e;
  border-color: #ffffff;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
}

/* Glass Light Reflection Sweep */
.glass-sweep {
  position: absolute;
  z-index: 3;
  top: -35%;
  left: -25%;
  width: 28%;
  height: 170%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  filter: blur(18px);
  animation: sweep 10s ease-in-out 1s infinite;
  pointer-events: none;
}

/* Keyframe Animations */
@keyframes backdrop-breathe {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(1%, -2%, 0); }
}

@keyframes drift-left {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(65px, -40px) scale(1.1); }
}

@keyframes drift-right {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, 35px) scale(0.9); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.9); }
  50% { opacity: 0.55; transform: scale(1.12); }
}

@keyframes torus-hover {
  0%, 100% { transform: rotate(-14deg) translate3d(0, 0, 0); }
  50% { transform: rotate(-9deg) translate3d(-15px, -12px, 0); }
}

@keyframes torus-hover-left {
  0%, 100% { transform: rotate(38deg) translate3d(0, 0, 0); }
  50% { transform: rotate(32deg) translate3d(12px, -15px, 0); }
}

@keyframes ring-float {
  0%, 100% { transform: rotate(26deg) translate3d(0, 0, 0); }
  50% { transform: rotate(18deg) translate3d(15px, -15px, 0); }
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -14px); }
}

@keyframes shell-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes profile-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85) rotate(0); }
  50% { opacity: 1; transform: scale(1.18) rotate(18deg); }
}

@keyframes sweep {
  0%, 45% { left: -30%; opacity: 0; }
  55% { opacity: 0.7; }
  75%, 100% { left: 115%; opacity: 0; }
}

/* Mobile & Responsive Breakpoints */
@media (max-width: 860px) {
  .mockup-body {
    grid-template-columns: 1fr;
    padding: 30px 20px 20px;
    gap: 32px;
  }
  .mockup-hero {
    min-height: auto;
    text-align: center;
    align-items: center;
  }
  .hero-title {
    align-items: center;
  }
  .mockup-footer-left {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .browser-nav {
    display: none;
  }
  .browser-address {
    position: static;
    transform: none;
    font-size: 11.5px;
  }
  .chrome-torus-main {
    width: 320px;
    height: 320px;
    right: -20%;
    bottom: -8%;
  }
  .chrome-sphere-edge {
    display: none;
  }
}

@media (max-width: 600px) {
  .profile-stage {
    padding: 16px 10px;
  }
  .browser-shell {
    width: 100%;
    border-radius: 20px;
  }
  .browser-header {
    height: 54px;
    padding: 0 16px;
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
  }
  .dot {
    width: 11px;
    height: 11px;
  }
  .portrait-wrap {
    width: 120px;
    height: 120px;
  }
  .profile-name {
    font-size: 34px;
  }
  .profile-role {
    font-size: 13px;
  }
  .status-card {
    padding: 10px;
  }
  .mockup-footer-right {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
