/* ===================================
   RAVIT HALFON PORTFOLIO
   Minimal. Story-driven.
=================================== */

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #111111;
  --white: #ECEFFE;
  --gray-50: #E4E8FC;
  --gray-100: #DDE1F7;
  --gray-200: #CDD3EE;
  --gray-400: #9AA0B8;
  --gray-600: #4D5470;
  --gray-700: #363C58;
  --blue-light: #C4D1FF;
  --blue-main: #206EFB;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1100px;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Navigation */
nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--blue-main);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  font-size: 14px;
  color: var(--gray-600);
}

.nav-links a {
  transition: color 0.2s;
}

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

.nav-contact-wrap {
  position: relative;
}

.nav-contact-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--gray-600);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.nav-contact-btn:hover {
  color: var(--blue-main);
}

.nav-contact-dropdown {
  top: calc(100% + 12px);
  right: 0;
  left: auto;
}

.back-link {
  font-size: 14px;
  color: var(--blue-main);
  transition: color 0.2s;
}

.back-link:hover {
  opacity: 0.7;
}

/* ===================================
   HOMEPAGE
=================================== */

.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -40px;
  width: 60%;
  height: 100%;
  background-image: radial-gradient(circle, #206EFB 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 85% 85% at 65% 45%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 65% 45%, black 20%, transparent 80%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #C4D1FF 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-grid-spotlight {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
  background-size: 22px 22px, 100% 100%;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 28px;
  background: var(--blue-main);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 28px;
  background: transparent;
  color: var(--blue-main);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  border: 1.5px solid var(--blue-main);
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

/* Contact dropdown */
.contact-wrap {
  position: relative;
  display: inline-block;
}

.contact-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(32, 110, 251, 0.12);
  min-width: 220px;
  z-index: 100;
  overflow: hidden;
  animation: dropIn 0.2s ease;
}

.contact-dropdown.open {
  display: block;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--gray-700);
  transition: background 0.15s;
  border-bottom: 1px solid var(--gray-200);
}

.contact-option:last-child {
  border-bottom: none;
}

.contact-option:hover {
  background: var(--gray-50);
  color: var(--blue-main);
}

.contact-icon {
  font-size: 13px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: 6px;
  color: var(--blue-main);
  font-weight: 600;
  flex-shrink: 0;
  line-height: 1;
}

.hero-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--space-sm);
}

.hero h1 {
  font-size: clamp(52px, 7vw, 86px);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero-description {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 500px;
  line-height: 1.6;
}

/* Projects */
.projects-section {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: var(--space-lg);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.project-card {
  display: grid;
  grid-template-columns: 64px 1fr 180px;
  align-items: start;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--gray-200);
  transition: opacity 0.2s;
  position: relative;
}

.project-card:last-child {
  border-bottom: 1px solid var(--gray-200);
}

.projects-grid:hover .project-card {
  opacity: 0.4;
}

.projects-grid:hover .project-card:hover {
  opacity: 1;
}

.project-number {
  font-size: 13px;
  color: var(--blue-main);
  padding-top: 5px;
  font-weight: 500;
}

.project-title {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.project-description {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.55;
}

.project-meta {
  text-align: right;
  padding-top: 5px;
  display: flex;
  flex-direction: column;
}

.project-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  z-index: 20;
  pointer-events: none;
}

.project-card:hover .project-thumb {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-company {
  display: block;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.project-tags {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  color: var(--gray-600);
}

/* About */
.about-section {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--gray-200);
}

.about-grid {
  display: grid;
  grid-template-columns: 64px 1fr 220px;
  gap: var(--space-lg);
  align-items: start;
}

.about-photo-wrap {
  grid-column: 3;
  position: relative;
}


.about-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -8px -8px 8px 8px;
  background: var(--blue-light);
  border-radius: 10px;
  z-index: 0;
  opacity: 0.7;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 32px rgba(32, 110, 251, 0.15);
}

.about-photo-wrap:hover .about-photo {
  transform: translate(-4px, -4px);
  box-shadow: 0 16px 48px rgba(32, 110, 251, 0.25);
}

.about-photo-wrap:hover::before {
  transform: translate(4px, 4px);
  opacity: 1;
}

.about-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding-top: 5px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-text {
  font-size: 17px;
  color: var(--gray-700);
  line-height: 1.75;
  max-width: 580px;
}

.about-personal {
  font-size: 15px;
  color: var(--gray-600);
}

/* Footer */
footer {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--gray-200);
  margin-bottom: var(--space-lg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-400);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--black);
}

/* ===================================
   CASE STUDY PAGES
=================================== */

.cs-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: var(--space-xl);
}

.cs-eyebrow {
  font-size: 13px;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.cs-title {
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  max-width: 720px;
  line-height: 1.1;
}

.cs-meta {
  display: flex;
  gap: var(--space-xl);
}

.cs-meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cs-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
}

.cs-meta-value {
  font-size: 14px;
  color: var(--black);
}

/* Content sections */
.cs-content {
  max-width: 720px;
  margin: 0 auto;
}

.cs-section {
  margin-bottom: var(--space-2xl);
}

.cs-section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: var(--space-md);
}

.cs-section h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.cs-section p {
  color: var(--gray-700);
  margin-bottom: var(--space-md);
  font-size: 17px;
  line-height: 1.75;
}

.cs-section p:last-of-type {
  margin-bottom: 0;
}

/* Stat highlight */
.stat-highlight {
  margin: var(--space-lg) 0;
  padding: var(--space-lg) var(--space-lg);
  background: var(--gray-50);
  border-left: 3px solid var(--blue-main);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 15px;
  color: var(--gray-600);
}

/* Real images */
.cs-image-wide {
  display: block;
  width: 100%;
  margin: var(--space-lg) 0;
}

/* Image placeholder */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-lg) 0;
  font-size: 13px;
  color: var(--gray-400);
  font-family: var(--font-sans);
}

.img-placeholder.wide {
  aspect-ratio: 21/9;
}

.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.img-grid .img-placeholder {
  margin: 0;
}

/* Decision list */
.decision-list {
  margin: var(--space-md) 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.decision-item {
  padding: var(--space-md);
  background: var(--gray-50);
}

.decision-item:first-child {
  border-radius: 6px 6px 0 0;
}

.decision-item:last-child {
  border-radius: 0 0 6px 6px;
}

.decision-item strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  font-family: var(--font-sans);
}

.decision-item p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

/* Outcome */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.outcome-item {
  padding: var(--space-md);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
}

.outcome-item strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 10px;
  font-family: var(--font-sans);
}

.outcome-item p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.55;
  margin: 0;
}

/* Next project */
.next-project {
  border-top: 1px solid var(--gray-200);
  padding: var(--space-xl) 0;
  margin-top: var(--space-xl);
}

.next-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--space-sm);
}

.next-title {
  font-family: var(--font-serif);
  font-size: 30px;
  transition: color 0.2s;
}

.next-link:hover .next-title {
  color: var(--gray-600);
}

/* Mode Toggle */
.mode-toggle-wrap {
  margin: var(--space-lg) 0;
}

.mode-toggle-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: 14px;
}

.mode-toggle-btns {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.mode-btn {
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  background: transparent;
  color: var(--gray-600);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-btn:hover {
  border-color: var(--blue-main);
  color: var(--blue-main);
}

.mode-btn.active {
  background: var(--blue-main);
  border-color: var(--blue-main);
  color: #fff;
}

.mode-toggle-caption {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
  min-height: 20px;
  transition: opacity 0.2s ease;
}

.mode-toggle-img-wrap {
  position: relative;
  width: 100%;
}

.mode-img {
  display: none;
  width: 60%;
  margin: 0 auto;
}

.mode-img.active {
  display: block;
  animation: modeFade 0.25s ease;
}

@keyframes modeFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Dialog 3-image layout */
.dialog-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.dialog-main {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 100%;
}

.dialog-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.dialog-stack img {
  width: 100%;
  display: block;
  flex: 1;
  object-fit: cover;
}

@media (max-width: 768px) {
  .dialog-layout {
    grid-template-columns: 1fr;
  }
  .dialog-main {
    height: auto;
  }
}

/* ===================================
   HOTSPOTS
=================================== */

.hotspot-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.hotspot-wrap img {
  display: block;
  width: 100%;
}

.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.hotspot-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-main);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 12px rgba(32,110,251,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: hotspot-pulse 2.5s infinite;
}

.hotspot:hover {
  z-index: 50;
}

.hotspot:hover .hotspot-dot {
  transform: scale(1.15);
  box-shadow: 0 4px 20px rgba(32,110,251,0.55);
  animation: none;
}

@keyframes hotspot-pulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(32,110,251,0.4); }
  50% { box-shadow: 0 2px 24px rgba(32,110,251,0.7), 0 0 0 6px rgba(32,110,251,0.12); }
}

.hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-700);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 10px;
  width: 220px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--gray-700);
}

.hotspot:hover .hotspot-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Flip tooltip for hotspots near the top */
.hotspot.tooltip-below .hotspot-tooltip {
  bottom: auto;
  top: calc(100% + 12px);
  transform: translateX(-50%) translateY(-6px);
}
.hotspot.tooltip-below .hotspot-tooltip::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: var(--gray-700);
}
.hotspot.tooltip-below:hover .hotspot-tooltip {
  transform: translateX(-50%) translateY(0);
}

/* Flip tooltip for hotspots near right edge */
.hotspot.tooltip-left .hotspot-tooltip {
  left: auto;
  right: calc(100% + 12px);
  bottom: 50%;
  transform: translateY(50%) translateX(6px);
}
.hotspot.tooltip-left .hotspot-tooltip::after {
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-top-color: transparent;
  border-left-color: var(--gray-700);
}
.hotspot.tooltip-left:hover .hotspot-tooltip {
  transform: translateY(50%) translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --space-xl: 56px;
    --space-2xl: 80px;
    --space-lg: 32px;
  }

  .container {
    padding: 0 24px;
  }

  .nav-inner {
    padding: 0 24px;
  }

  .project-card {
    grid-template-columns: 40px 1fr;
  }

  .project-meta {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .img-grid {
    grid-template-columns: 1fr;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .cs-meta {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
}

/* ===================================
   INTERACTIVE PROTOTYPE VIEWER
=================================== */

.proto-wrap {
  max-width: 360px;
  margin: 48px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.proto-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.proto-step {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-400);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.proto-step.active {
  color: var(--blue-main);
  border-color: var(--blue-main);
  background: rgba(32, 110, 251, 0.06);
}

.proto-step-arrow {
  font-size: 10px;
  color: var(--gray-400);
}

.proto-frame-wrap {
  position: relative;
  width: 300px;
  height: 628px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  background: #f0f0f0;
}

.proto-screen {
  display: none;
  position: absolute;
  inset: 0;
}

.proto-screen.active {
  display: block;
  animation: protoSlideIn 0.22s ease;
}

.proto-screen.going-back.active {
  animation: protoSlideBack 0.22s ease;
}

.proto-screen img {
  width: 100%;
  height: 628px;
  display: block;
  object-fit: cover;
}

.proto-tap-zone {
  position: absolute;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}

.proto-tap-zone:hover {
  background: rgba(32, 110, 251, 0.18);
}

.proto-caption {
  text-align: center;
  max-width: 280px;
}

.proto-caption-title {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin: 0 0 4px;
  font-family: var(--font-sans);
}

.proto-caption-text {
  font-size: 13px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
  font-family: var(--font-sans);
}

.proto-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proto-back-btn {
  background: none;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-sans);
}

.proto-back-btn:hover {
  border-color: var(--gray-400);
  color: #111;
}

.proto-hint {
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
}

.proto-hint-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-main);
  animation: hotspot-pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes protoSlideIn {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes protoSlideBack {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
