/* =================================================================
   HERO
   ================================================================= */
section.hero {
  position: relative;
  padding: clamp(32px, 6vw, 80px) 0 clamp(40px, 7vw, 110px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* blobs */
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .55; pointer-events: none; z-index: 0;
}
.blob.b1 { width: 540px; height: 540px; background: #3a2870; top: -160px; left: -180px; animation: float1 24s ease-in-out infinite; }
.blob.b2 { width: 420px; height: 420px; background: #0f3a2d; bottom: -140px; right: -120px; animation: float2 28s ease-in-out infinite; }
.blob.b3 { width: 260px; height: 260px; background: #1a1a3a; top: 40%; left: 38%; opacity: .4; animation: float1 18s ease-in-out infinite reverse; }

/* hero text */
.hero-text { position: relative; z-index: 2; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 28px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint-2);
  box-shadow: 0 0 0 0 rgba(136,228,106,.7);
  animation: pulse 2.2s ease-out infinite;
}

h1.hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(44px, 6.6vw, 104px);
  line-height: .96;
  letter-spacing: -.035em;
  color: var(--paper);
  margin: 0 0 28px 0;
}
h1.hero-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--lilac);
  padding-right: .06em;
}
h1.hero-title .swap {
  display: inline-block;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
h1.hero-title .swap.out { opacity: 0; transform: translateY(-8px); }

.hero-sub {
  max-width: 520px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--fog);
  margin: 0 0 36px 0;
  transition: opacity .35s var(--ease);
}
.hero-sub.out { opacity: 0; }

/* persona toggle */
.persona-toggle {
  display: inline-flex;
  padding: 5px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 28px;
  position: relative;
}
.persona-toggle button {
  position: relative; z-index: 2;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--fog);
  transition: color var(--dur-1) var(--ease);
  display: flex; align-items: center; gap: 8px;
}
.persona-toggle button[aria-pressed="true"] { color: #0b0b0f; }
.persona-toggle button svg { width: 14px; height: 14px; }
.persona-toggle .thumb {
  position: absolute; top: 5px; left: 5px; bottom: 5px;
  width: calc(50% - 5px);
  background: var(--paper);
  border-radius: 999px;
  transition: transform var(--dur-2) var(--ease);
  z-index: 1;
  box-shadow: 0 10px 24px rgba(184,168,255,.18);
}
.persona-toggle.client .thumb { transform: translateX(100%); }

/* check list */
.check-list {
  display: grid; gap: 14px; margin: 0 0 40px 0; padding: 0; list-style: none;
}
.check-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15.5px; color: var(--fog-2);
  opacity: 0; transform: translateY(10px);
  animation: rise .7s var(--ease) forwards;
}
.check-list li:nth-child(1) { animation-delay: .15s; }
.check-list li:nth-child(2) { animation-delay: .28s; }
.check-list li:nth-child(3) { animation-delay: .41s; }
.check-list li .tick {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(198,245,154,.12);
  color: var(--mint);
  border: 1px solid rgba(198,245,154,.22);
}
.check-list li .tick svg { width: 12px; height: 12px; stroke-width: 3; }

/* cta row */
/* .cta-row base layout moved to design-system.css (shared utility) */

/* stats */
.hero-stats {
  display: flex; gap: 24px; margin-top: 40px;
  padding-top: 28px;
  border-top: 1px dashed var(--line);
  color: var(--fog);
  font-size: 13px;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; align-items: baseline; gap: 8px; }
.hero-stats strong {
  font-family: var(--f-display); font-weight: 400; font-style: italic;
  font-size: 22px; color: var(--paper);
}

/* =================================================================
   PHONE MOCKUP
   ================================================================= */
.device-stage {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  min-height: 640px;
}
.device-stage::before {
  content: "";
  position: absolute; inset: 6% 6% 0 6%;
  background: radial-gradient(closest-side, rgba(184,168,255,.22), transparent 70%);
  filter: blur(50px); z-index: 0;
}
.phone {
  position: relative;
  width: 320px; height: 650px;
  border-radius: 52px;
  background: linear-gradient(180deg, #18181f 0%, #0b0b0f 100%);
  border: 1px solid #2a2a34;
  box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 10px 30px rgba(0,0,0,.4), inset 0 0 0 2px rgba(255,255,255,.04);
  padding: 14px; z-index: 2;
  transform: rotate(-2deg);
  transition: transform .8s var(--ease);
}
.phone:hover { transform: rotate(0deg) scale(1.01); }
.phone .notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; background: #050506; border-radius: 999px; z-index: 4;
}
.phone .screen {
  position: relative; overflow: hidden;
  width: 100%; height: 100%;
  border-radius: 40px;
  background: linear-gradient(180deg, #0c0c12 0%, #060608 100%);
  color: var(--paper);
}

/* screen internals */
.statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 6px;
  font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,.85);
}
.statusbar .right { display: flex; align-items: center; gap: 6px; }
.statusbar .battery {
  width: 22px; height: 10px; border: 1px solid rgba(255,255,255,.6); border-radius: 3px; position: relative;
}
.statusbar .battery::after {
  content: ""; position: absolute; left: 1px; top: 1px; bottom: 1px; width: 70%;
  background: var(--mint-2); border-radius: 2px;
}
.statusbar .battery::before {
  content: ""; position: absolute; right: -3px; top: 3px; width: 2px; height: 4px;
  background: rgba(255,255,255,.6); border-radius: 1px;
}
.seg {
  display: flex; gap: 4px; margin: 10px 12px 8px;
  padding: 4px; background: rgba(255,255,255,.06); border-radius: 12px;
}
.seg button {
  flex: 1; padding: 8px 0; font-size: 12px; color: rgba(255,255,255,.7);
  border-radius: 8px; text-align: center;
}
.seg button.on { background: var(--paper); color: #0b0b0f; }
.weekrow {
  display: grid; grid-template-columns: repeat(7,1fr);
  gap: 4px; padding: 6px 12px;
  font-size: 10.5px; color: rgba(255,255,255,.5); text-align: center;
}
.weekrow b { display: block; font-weight: 400; font-size: 14px; color: rgba(255,255,255,.9); margin-top: 2px; }
.weekrow .today b {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--paper); color: #0b0b0f;
}
.day-label {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  color: rgba(255,255,255,.55);
}
.day-label .d {
  font-family: var(--f-display); font-style: italic; font-size: 28px;
  color: var(--paper); line-height: 1;
}
.event {
  position: relative; margin: 8px 12px; padding: 14px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.event::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px;
  background: var(--lilac); border-radius: 2px;
}
.event.paid::before { background: var(--mint-2); }
.event.live::before { background: var(--peach); }
.event-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.event-head h5 { margin: 0; font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; }
.event-head .status {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
  background: rgba(198,245,154,.12); color: var(--mint); border: 1px solid rgba(198,245,154,.2);
}
.event.live .status { background: rgba(255,185,151,.12); color: var(--peach); border-color: rgba(255,185,151,.22); }
.event-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.55); }
.event-meta .who { display: inline-flex; align-items: center; gap: 6px; }
.event-meta .amount { color: var(--paper); font-family: var(--f-mono); font-size: 12.5px; }
.fab {
  position: absolute; right: 22px; bottom: 86px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); color: #0b0b0f;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(184,168,255,.25); z-index: 3;
}
.fab svg { width: 18px; height: 18px; stroke-width: 2.5; }
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 18px 18px;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 4px; color: rgba(255,255,255,.55);
  font-size: 10px;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
}
.tabbar > div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tabbar .on { color: var(--paper); }
.tabbar svg { width: 18px; height: 18px; }

/* client view */
.client-view {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .45s var(--ease);
  background: #0c0c12; border-radius: 40px; color: var(--paper);
}
body[data-persona="client"] .client-view { opacity: 1; pointer-events: auto; }
body[data-persona="client"] .master-view { opacity: 0; }
.master-view { transition: opacity .45s var(--ease); }

.cv-hero { padding: 54px 20px 16px; display: flex; gap: 14px; align-items: center; }
.cv-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #2b2340 0%, #6a4a9a 100%);
  display: grid; place-items: center; font-family: var(--f-display); font-size: 22px; color: #fff;
  border: 2px solid rgba(255,255,255,.12);
}
.cv-hero h4 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.cv-hero .role { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 2px; }
.cv-hero .stars { font-size: 12px; color: var(--peach); margin-top: 4px; }
.cv-gallery {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4px;
  padding: 0 12px; margin-bottom: 12px;
}
.cv-gallery div { aspect-ratio: 1/1; border-radius: 12px; }
.cv-gallery div:nth-child(1) { grid-row: span 2; aspect-ratio: 1/2; background: linear-gradient(135deg,#40344a,#1a141f); }
.cv-gallery div:nth-child(2) { background: linear-gradient(135deg,#5e4a38,#2b2116); }
.cv-gallery div:nth-child(3) { background: linear-gradient(135deg,#2e3e3a,#15201e); }
.cv-gallery div:nth-child(4) { background: linear-gradient(135deg,#3e2e3a,#231520); }
.cv-gallery div:nth-child(5) { background: linear-gradient(135deg,#2e2e3e,#151520); }
.cv-slot-head {
  padding: 6px 20px 0;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}
.cv-slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 10px 14px; }
.cv-slots button {
  padding: 10px 0; border-radius: 10px;
  background: rgba(255,255,255,.05); font-size: 12px; color: var(--paper);
  border: 1px solid rgba(255,255,255,.07); font-family: var(--f-mono);
}
.cv-slots button.on { background: var(--paper); color: #0b0b0f; }
.cv-slots button.off { opacity: .35; text-decoration: line-through; }
.cv-book {
  position: absolute; left: 14px; right: 14px; bottom: 64px;
  padding: 14px 18px;
  background: var(--lilac); color: #0b0b0f;
  border-radius: 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 500;
}
.cv-book .price { font-family: var(--f-mono); font-size: 13px; }

/* hero phone frame — same shell as product-screen but with tilt */
.hero-phone-frame {
  width: 320px; height: 650px;
  border-radius: 52px;
  background: linear-gradient(180deg, #18181f 0%, #0b0b0f 100%);
  border: 1px solid #2a2a34;
  padding: 14px;
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 10px 30px rgba(0,0,0,.4);
  transform: rotate(-2deg);
  transition: transform .8s var(--ease);
  z-index: 2;
}
.hero-phone-frame:hover { transform: rotate(0deg) scale(1.01); }
.hero-phone-frame .notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; background: #050506; border-radius: 999px; z-index: 4;
}
.hero-phone-frame .screen-inner {
  position: absolute; inset: 14px;
  border-radius: 40px; overflow: hidden;
  background: #06060a;
}
.hero-phone-frame .screen-inner img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
@media (max-width: 960px) {
  .hero-phone-frame { width: 260px; height: 530px; }
}

/* float cards */
.float-card {
  position: absolute; z-index: 3;
  background: rgba(18,18,24,.75);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px;
  font-size: 12.5px; color: var(--paper);
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 44px rgba(0,0,0,.4);
}
.float-card .ico {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg,#1b1b24,#0b0b0f);
  color: var(--mint-2); border: 1px solid var(--line);
}
.float-card small { display: block; font-size: 10.5px; color: var(--fog); text-transform: uppercase; font-family: var(--f-mono); letter-spacing: .08em; }
.float-card strong { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 15px; color: var(--paper); }
.fc-1 { left: -10%; top: 8%; animation: floatY 6s ease-in-out infinite; }
.fc-2 { right: -8%; top: 34%; animation: floatY 7s ease-in-out infinite reverse; }
.fc-3 { right: -4%; bottom: 14%; animation: floatY 8s ease-in-out infinite; }
@media (max-width: 960px) {
  .fc-1 { left: -2%; } .fc-2 { right: -2%; } .fc-3 { right: -2%; }
}
