/* Navigation */
nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--nav-bg-idle);
  border-bottom: 0.5px solid var(--nav-border);
  transition: background 0.4s;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--p200), var(--acc), var(--acc2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--mu);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--wh);
}

.nav-cta {
  background: linear-gradient(135deg, var(--p500), var(--acc));
  color: #fff;
  border: none;
  padding: 0.58rem 1.35rem;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.3s;
  display: inline-block;
}

.nav-cta:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.3rem;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--mi);
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  nav {
    padding: 1.1rem 1.4rem;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.9rem 1rem;
  }
  .nav-logo {
    font-size: 1.1rem;
  }
}

/* Mobile menu */
.mmenu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--mmenu-bg);
  z-index: 490;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mmenu.open {
  display: flex;
}

.mmenu a {
  color: var(--wh);
  text-decoration: none;
  font-size: 1.5rem;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  transition: color 0.3s;
}

.mmenu a:hover {
  color: var(--acc);
}

.mm-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--mu);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Phone mockups */
.phones-sec {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.2rem, 5vw, 2rem);
  overflow: hidden;
}

.phones-hdr {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.mock-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.6rem, 1.5vw, 1.4rem);
}

/* Phone frame */
.ph {
  border-radius: 38px;
  overflow: hidden;
  background: #100928;
  flex-shrink: 0;
  position: relative;
  border: 1.5px solid rgba(176, 108, 251, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 50px rgba(176, 108, 251, 0.09);
}

.ph-c {
  width: clamp(200px, 30vw, 245px);
  z-index: 2;
  border-color: rgba(176, 108, 251, 0.52);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 80px rgba(176, 108, 251, 0.18);
  max-height: clamp(430px, 58vw, 530px);
  overflow: hidden;
}

.ph-s {
  width: clamp(165px, 23vw, 208px);
  opacity: 0.62;
}

.ph-sl {
  transform: rotate(-5deg) translateX(12px) scale(0.93);
  max-height: clamp(420px, 55vw, 520px);
  overflow: hidden;
}

.ph-sr {
  transform: rotate(5deg) translateX(-12px) scale(0.93);
  max-height: clamp(420px, 55vw, 520px);
  overflow: hidden;
}

@media (max-width: 768px) {
  .mock-wrap {
    gap: 0.8rem;
  }
  .ph-c {
    width: min(240px, 70vw);
    max-height: clamp(380px, 50vw, 480px);
  }
}

@media (max-width: 580px) {
  .ph-sl,
  .ph-sr {
    display: none;
  }
  .ph-c {
    width: min(270px, 82vw);
    max-height: clamp(350px, 45vw, 430px);
  }
}

/* Status bar */
.pst {
  display: flex;
  justify-content: space-between;
  padding: 0.52rem 0.9rem 0.28rem;
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.45);
}

.pst-icons {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Splash screen */
.pw-top {
  background: linear-gradient(185deg, #1c0e4a 0%, #0d0820 55%);
  padding: 0.1rem 0.9rem 0;
}

.pw-orb-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 1.2rem auto 0.8rem;
}

.pw-orb1 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(91, 59, 191, 0.55);
  filter: blur(12px);
}

.pw-orb2 {
  position: absolute;
  width: 55px;
  height: 55px;
  background: rgba(176, 108, 251, 0.35);
  border-radius: 50%;
  top: 12px;
  left: 4px;
  filter: blur(9px);
}

.pw-orb3 {
  position: absolute;
  width: 42px;
  height: 42px;
  background: rgba(201, 85, 138, 0.28);
  border-radius: 50%;
  bottom: 4px;
  right: 2px;
  filter: blur(7px);
}

.pw-tagbadge {
  display: inline-block;
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-size: 0.48rem;
  color: rgba(255, 255, 255, 0.42);
  padding: 0.2rem 0.65rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.55rem;
}

.pw-bname {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--p300), var(--acc2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 0.18rem;
}

.pw-bsub {
  font-size: 0.46rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.26);
  text-align: center;
  margin-bottom: 1.1rem;
}

.pw-bottom {
  background: #eeeaff;
  padding: 1rem 0.9rem 1.2rem;
}

.pw-ftitle {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #1a1040;
  line-height: 1.2;
  margin-bottom: 0.3rem;
  text-align: center;
}

.pw-fsub {
  font-size: 0.5rem;
  color: #777;
  text-align: center;
  margin-bottom: 0.75rem;
}

.pw-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.pw-sbtn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 100px;
  padding: 0.22rem 0.55rem;
  font-size: 0.5rem;
  color: #555;
}

.pw-sbtn svg {
  width: 9px;
  height: 9px;
  opacity: 0.65;
}

.pw-sep {
  font-size: 0.55rem;
  color: #bbb;
}

.pw-cta {
  background: linear-gradient(135deg, #5b3bbf, #c9558a);
  border-radius: 100px;
  padding: 0.52rem 0;
  font-size: 0.64rem;
  font-weight: 600;
  color: #fff;
  display: block;
  text-align: center;
  width: 100%;
  margin-bottom: 0.5rem;
  border: none;
  cursor: default;
}

.pw-tag3 {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.44rem;
  color: #aaa;
  letter-spacing: 0.1em;
}

/* Home screen */
.ph-topbar {
  padding: 0.45rem 0.9rem 0.8rem;
  background: linear-gradient(185deg, rgba(91, 59, 191, 0.4) 0%, transparent 100%);
}

.ph-greet {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  margin-bottom: 0.2rem;
}

.ph-uname {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.ph-mem {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  background: rgba(176, 108, 251, 0.18);
  border: 0.5px solid rgba(176, 108, 251, 0.28);
  border-radius: 100px;
  padding: 0.16rem 0.52rem;
  font-size: 0.5rem;
  color: var(--p300);
}

.ph-mem em {
  width: 4px;
  height: 4px;
  background: var(--acc);
  border-radius: 50%;
  font-style: normal;
  display: inline-block;
}

.ph-logout {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-body {
  padding: 0.65rem 0.9rem;
}

.ph-disc {
  font-size: 0.52rem;
  color: rgba(255, 255, 255, 0.38);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.ph-vcard {
  background: rgba(176, 108, 251, 0.12);
  border: 0.5px solid rgba(176, 108, 251, 0.2);
  border-radius: 13px;
  padding: 0.72rem 0.82rem;
  margin-bottom: 0.65rem;
}

.ph-vchead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}

.ph-vcbrand {
  font-size: 0.5rem;
  color: var(--p300);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.ph-vcslider {
  display: flex;
  gap: 2px;
  align-items: center;
}

.ph-vcslider span:first-child {
  width: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
}

.ph-vcslider span {
  width: 4px;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 1px;
}

.ph-vcrow {
  display: flex;
  align-items: center;
  gap: 0.58rem;
}

.ph-shield {
  width: 27px;
  height: 27px;
  background: rgba(176, 108, 251, 0.22);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ph-vct {
  font-weight: 600;
  font-size: 0.7rem;
}

.ph-vcs {
  font-size: 0.54rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.08rem;
}

.ph-vcarrow {
  margin-left: auto;
  width: 19px;
  height: 19px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-vtags {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.ph-vt {
  font-size: 0.48rem;
  color: rgba(255, 255, 255, 0.48);
  display: flex;
  align-items: center;
  gap: 0.18rem;
}

.ph-vt::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--acc);
  border-radius: 50%;
  display: inline-block;
}

/* Explore pills */
.ph-exh {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  margin-bottom: 0.15rem;
}

.ph-exs {
  font-size: 0.52rem;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0.45rem;
}

.ph-pills {
  display: flex;
  gap: 0.32rem;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.ph-pill {
  font-size: 0.5rem;
  padding: 0.2rem 0.52rem;
  border-radius: 100px;
  white-space: nowrap;
  border: 0.5px solid rgba(176, 108, 251, 0.18);
  color: rgba(255, 255, 255, 0.52);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.ph-pill.act {
  background: rgba(176, 108, 251, 0.24);
  color: var(--acc);
  border-color: rgba(176, 108, 251, 0.38);
}

/* Space cards */
.ph-sph {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  margin-bottom: 0.45rem;
}

.ph-scard {
  background: rgba(176, 108, 251, 0.08);
  border: 0.5px solid rgba(176, 108, 251, 0.14);
  border-radius: 11px;
  overflow: hidden;
  margin-bottom: 0.45rem;
}

.ph-simg {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-sinfo {
  padding: 0.42rem 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ph-sname {
  font-size: 0.62rem;
  font-weight: 600;
  margin-bottom: 0.08rem;
}

.ph-sloc {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.42);
}

.ph-sprice {
  font-size: 0.54rem;
  color: var(--acc);
  font-weight: 500;
}

/* Bottom nav bar */
.ph-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 0.5px solid rgba(176, 108, 251, 0.16);
  padding: 0.58rem 0 0.45rem;
  background: rgba(10, 6, 22, 0.5);
  margin-top: 0.3rem;
}

.ph-ni {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.46rem;
  color: rgba(255, 255, 255, 0.38);
}

.ph-ni.act {
  color: var(--acc);
}

.ph-ni svg {
  width: 13px;
  height: 13px;
}

/* Profile screen */
.pp-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.7rem 0.9rem 0.65rem;
  background: linear-gradient(185deg, rgba(91, 59, 191, 0.32) 0%, transparent 100%);
}

.pp-av {
  width: 42px;
  height: 42px;
  background: var(--p500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.38rem;
  border: 1.5px solid rgba(176, 108, 251, 0.35);
}

.pp-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.1rem;
}

.pp-email {
  font-size: 0.48rem;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 0.35rem;
}

.pp-mc {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(176, 108, 251, 0.14);
  border-radius: 12px;
  margin: 0.5rem 0.85rem;
}

.pp-mi {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  padding: 0.55rem 0.7rem;
  border-bottom: 0.5px solid rgba(176, 108, 251, 0.09);
  font-size: 0.58rem;
}

.pp-mi:last-child {
  border-bottom: none;
}

.pp-micon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pp-micon svg {
  width: 10px;
  height: 10px;
}

.pp-mlbl {
  flex: 1;
  font-weight: 500;
  font-size: 0.6rem;
}

.pp-msub {
  font-size: 0.48rem;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 0.04rem;
}

.pp-chev {
  color: rgba(255, 255, 255, 0.24);
  font-size: 0.6rem;
}

.pp-theme {
  display: flex;
  align-items: center;
  margin: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 11px;
  padding: 0.48rem 0.7rem;
  gap: 0.4rem;
}

.pp-tlbl {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.pp-tbtn {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0.22rem;
  border-radius: 7px;
}

.pp-tact {
  background: rgba(176, 108, 251, 0.28);
}

.pp-tbtn svg {
  width: 9px;
  height: 9px;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(176, 108, 251, 0.1);
  border: 0.5px solid rgba(176, 108, 251, 0.25);
  border-radius: 100px;
  padding: 0.38rem 0.85rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mu);
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(176, 108, 251, 0.18);
  color: var(--wh);
  border-color: rgba(176, 108, 251, 0.5);
}

.theme-toggle svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.5s;
}

html[data-theme="light"] .theme-toggle {
  background: rgba(124, 92, 224, 0.1);
  border-color: rgba(124, 92, 224, 0.28);
  color: rgba(26, 8, 64, 0.6);
}

html[data-theme="light"] .theme-toggle:hover {
  background: rgba(124, 92, 224, 0.18);
  color: #1a0840;
}

html[data-theme="light"] .theme-toggle svg {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .theme-toggle span {
    display: none;
  }
}

/* 3D tilt */
.tilt3d {
  transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  will-change: transform;
}

.tilt3d:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(176, 108, 251, 0.18) !important;
}

.mock-wrap {
  perspective: 1200px;
}

.ph-c {
  transform-style: preserve-3d;
}
