/* ═══════════════════════════════════════════
   SCRUB IT — Landing Page Styles
   Apple-style light mode, golden amber accent
   ═══════════════════════════════════════════ */

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

:root {
  --bg: #FAFAFA;
  --bg-card: #FFFFFF;
  --text-primary: #111111;
  --text-secondary: #666666;
  --text-tertiary: #999999;
  --accent: #D4A537;
  --accent-light: #FEF7E6;
  --accent-dark: #B8922F;
  --border: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(0, 0, 0, 0.12);
  --success: #16A34A;
  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-chip: 8px;
  --radius-pill: 999px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  overflow: hidden;
  height: 100vh;
  line-height: 1.5;
}

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.navbar.scrolled {
  border-bottom-color: var(--border-hover);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-wordmark {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-counter {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

#global-counter {
  font-weight: 600;
  color: var(--text-primary);
  transition: transform 0.2s;
}

#global-counter.bump {
  transform: scale(1.15);
}

.nav-counter-label {
  color: var(--text-tertiary);
}

.nav-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  color: var(--text-primary);
  font-family: inherit;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

.btn-primary-nav {
  background: var(--text-primary);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary-nav:hover {
  background: #333;
}

/* ─── Horizontal Scroll Container ─── */
.horizontal-container {
  display: flex;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.horizontal-container::-webkit-scrollbar {
  display: none;
}

.panel {
  min-width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
}

.panel-inner {
  width: 100%;
  max-width: 1200px;
}

/* ─── Section Labels ─── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ═══════════════════════════════════════════
   PANEL 1: HERO
   ═══════════════════════════════════════════ */
.panel-hero {
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  height: 100vh;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-content-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-icon-wrapper {
  position: relative;
  margin-bottom: 32px;
  animation: float 3s ease-in-out infinite;
}

.hero-arrows {
  position: absolute;
  top: -65px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  animation: arrow-bounce 2s ease-in-out infinite;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-arrows:hover {
  opacity: 0.8;
  transform: translateX(-50%) scale(1.08);
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hero-icon:hover {
  transform: scale(1.05);
}

.hero-icon.scrubbing {
  animation: scrub 0.6s cubic-bezier(.36,.07,.19,.97) both;
}

.hero-icon-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(212, 165, 55, 0.2) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes scrub {
  0% { transform: rotate(0deg) scale(1.05); }
  15% { transform: rotate(-18deg) translate(-6px, -3px) scale(1.1); }
  30% { transform: rotate(18deg) translate(6px, 3px) scale(1.1); }
  45% { transform: rotate(-14deg) translate(-5px, -2px) scale(1.1); }
  60% { transform: rotate(14deg) translate(5px, 2px) scale(1.1); }
  75% { transform: rotate(-8deg) translate(-3px, -1px) scale(1.08); }
  90% { transform: rotate(8deg) translate(3px, 1px) scale(1.08); }
  100% { transform: rotate(0deg) scale(1.05); }
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
  max-width: 480px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-primary {
  background: var(--text-primary);
  color: white;
  border: none;
  border-radius: var(--radius-btn);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-family: inherit;
}

.btn-primary:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
}

.hero-micro {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 16px;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-tertiary);
  opacity: 0.6;
  animation: pulse-right 2s ease-in-out infinite;
}

@keyframes pulse-right {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* ═══════════════════════════════════════════
   PANEL 2: FEATURES BENTO
   ═══════════════════════════════════════════ */
.panel-features {
  align-items: flex-start;
  padding-top: 90px;
}

.section-header {
  margin-bottom: 32px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
}

.bento-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 20px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.card-illustration {
  height: 90px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.card-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Card Illustrations ─── */

/* Right-click */
.card-illust-rightclick {
  position: relative;
}

.illust-cursor {
  width: 12px;
  height: 18px;
  position: absolute;
  top: 18px;
  left: 28px;
  background: var(--text-primary);
  clip-path: polygon(0 0, 0% 100%, 40% 75%, 65% 95%, 75% 90%, 55% 70%, 100% 65%);
}

.illust-menu {
  background: white;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 9px;
  min-width: 115px;
}

.illust-menu-item {
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.illust-menu-item.active {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 600;
}

.illust-menu-icon {
  font-size: 10px;
}

/* Models */
.model-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
}

.model-chip {
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-secondary);
  font-weight: 500;
  font-family: 'Geist Mono', monospace;
}

.model-chip.active {
  background: var(--text-primary);
  color: white;
}

/* Deep Clean */
.deep-sparkle {
  position: absolute;
  color: var(--accent);
  font-size: 16px;
  animation: sparkle 2s ease-in-out infinite;
}

.s1 { top: 12px; left: 25px; animation-delay: 0s; }
.s2 { top: 8px; right: 25px; animation-delay: 0.5s; }
.s3 { bottom: 20px; left: 50%; animation-delay: 1s; }

.deep-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.3;
}

.b1 { width: 80%; margin: 4px auto; }
.b2 { width: 60%; margin: 4px auto; }
.b3 { width: 70%; margin: 4px auto; }

.card-illust-deep {
  flex-direction: column;
  gap: 2px;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Tones */
.card-illust-tones {
  flex-direction: column;
  padding: 12px;
  gap: 0;
  align-items: stretch;
}

.tone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.tone-label {
  font-size: 8px;
  font-family: 'Geist Mono', monospace;
  color: var(--text-tertiary);
  width: 52px;
  text-align: right;
  flex-shrink: 0;
}

.tone-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--accent);
  opacity: 0.6;
}

/* Copy */
.card-illust-copy {
  position: relative;
}

.copy-card {
  width: 55px;
  height: 40px;
  background: white;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px;
  position: absolute;
}

.c1 { top: 18px; left: 22px; opacity: 0.5; }
.c2 { top: 26px; left: 32px; }

.copy-line {
  height: 3px;
  border-radius: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 4px;
}

.copy-line.l1 { width: 100%; }
.copy-line.l2 { width: 70%; }
.copy-line.l3 { width: 85%; }

.copy-line.active {
  background: var(--accent);
}

.copy-check {
  position: absolute;
  bottom: 8px;
  right: 12px;
  color: var(--success);
  font-weight: 700;
  font-size: 16px;
}

/* Keyboard */
.key-combo {
  display: flex;
  gap: 6px;
}

.key {
  width: 34px;
  height: 34px;
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  font-family: 'Geist Mono', monospace;
}

/* History */
.card-illust-history {
  flex-direction: column;
  padding: 8px 12px;
  align-items: stretch;
  justify-content: center;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.history-item:last-child {
  border-bottom: none;
}

.history-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.h2 .history-dot,
.h3 .history-dot {
  background: var(--text-tertiary);
}

.history-text {
  font-size: 9px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.history-time {
  font-size: 8px;
  color: var(--text-tertiary);
  font-family: 'Geist Mono', monospace;
  flex-shrink: 0;
}

/* Everywhere */
.card-illust-everywhere {
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.browser-dots {
  display: flex;
  gap: 3px;
}

.bdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.bdot.r { background: #FF5F57; }
.bdot.y { background: #FFBD2E; }
.bdot.g { background: #28CA41; }

.browser-url {
  font-size: 9px;
  color: var(--text-tertiary);
  font-family: 'Geist Mono', monospace;
}

/* Privacy */
.shield {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-check {
  position: absolute;
  color: var(--success);
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

/* Free */
.free-badge {
  text-align: center;
}

.free-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-family: 'Geist Mono', monospace;
}

.free-label {
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════
   MACBOOK MOCKUP & DEMO (Hero Section)
   ═══════════════════════════════════════════ */

/* Override panel-inner max-width for hero */
.panel-hero .panel-inner.hero-layout-new {
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0;
  padding: 0;
  position: relative;
  box-sizing: border-box;
}

.hero-demo-left {
  flex: 0 0 82%;
  max-width: 82%;
  position: relative;
  transform: translateX(-16vw) translateY(20px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content-right {
  flex: 0 0 18%;
  max-width: 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1vw;
  z-index: 20;
  position: relative;
  text-align: center;
  box-sizing: border-box;
  overflow: visible;
}

/* Scroll Hint Adjustment */
.scroll-hint-right {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  opacity: 0.8;
}

/* Macbook large */
.macbook-mockup-large {
  width: 100%;
  perspective: 2000px;
  position: relative;
}

.macbook-screen.dark {
  background: #343541;
  border-radius: 12px 12px 0 0;
  border: 10px solid #1a1a1a;
  border-bottom: 16px solid #1a1a1a;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16/10;
  transition: transform 0.5s ease;
}


.macbook-base-large {
  height: 14px;
  background: linear-gradient(to bottom, #e0e0e0, #c8c8c8);
  border-radius: 0 0 14px 14px;
  margin: 0 -4px;
  position: relative;
  transition: transform 0.5s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15), inset 0 1px 3px rgba(255,255,255,0.8);
}
.macbook-base-large::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #e8e8e8;
  border-radius: 4px 4px 0 0;
}
.macbook-indent-large {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #b8b8b8;
  border-radius: 0 0 4px 4px;
}

/* MacOS Desktop Styles */
.macos-desktop {
  width: 100%;
  height: 100%;
  background-image: url('assets/wallpaper.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.macos-menubar {
  height: 20px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  color: white;
  font-size: 10px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  flex-shrink: 0;
}

.macos-menu-left, .macos-menu-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.macos-menu-left span:nth-child(2) {
  font-weight: 700;
}

.macos-dock {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px;
  border-radius: 12px;
  display: flex;
  gap: 4px;
  z-index: 200;
}

.dock-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  overflow: hidden;
  transition: transform 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.dock-icon:hover { transform: scale(1.15) translateY(-3px); }

/* Floating Browser Window */
.floating-browser {
  position: absolute;
  top: 6.5%;
  bottom: 6.5%;
  left: 4%;
  right: 4%;
  background: #343541;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Tutorial Hint */
.tutorial-hint {
  position: absolute;
  bottom: 70px;
  left: 20%;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.7));
  animation: float-bounce 2s infinite;
  pointer-events: none;
  z-index: 100;
  transition: opacity 0.3s;
}
@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Mac Window Dots */
.mac-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  padding-bottom: 4px;
}
.mac-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.md-red { background: #FF5F57; }
.md-yellow { background: #FFBD2E; }
.md-green { background: #28CA41; }

/* Tab Icons */
.tab-icon {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chatgpt-icon { background: #10a37f; }
.claude-icon { background: #D97757; }
.gemini-icon { background: linear-gradient(135deg, #4285f4, #ea4335, #fbbc05, #34a853); }

/* Browser UI Content */
.browser-ui-content {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* Browser Chrome */
.browser-topbar {
  background: #202123;
  height: 28px;
  display: flex;
  align-items: flex-end;
  padding: 0 8px;
  gap: 8px;
  padding-top: 4px;
  flex-shrink: 0;
}
.browser-tabs {
  display: flex;
  gap: 4px;
  flex: 1;
}
.browser-tab {
  background: #2a2b32;
  color: #8e8ea0;
  padding: 5px 10px;
  border-radius: 6px 6px 0 0;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  max-width: 140px;
  flex: 1;
  position: relative;
}
.browser-tab.active {
  background: #343541;
  color: #ececf1;
}
.browser-tab::before {
  content: '';
  position: absolute;
  left: -8px; bottom: 0; width: 8px; height: 8px;
  background: transparent;
  border-bottom-right-radius: 8px;
  box-shadow: 4px 4px 0 0 #2a2b32;
}
.browser-tab.active::before { box-shadow: 4px 4px 0 0 #343541; }
.browser-tab::after {
  content: '';
  position: absolute;
  right: -8px; bottom: 0; width: 8px; height: 8px;
  background: transparent;
  border-bottom-left-radius: 8px;
  box-shadow: -4px 4px 0 0 #2a2b32;
}
.browser-tab.active::after { box-shadow: -4px 4px 0 0 #343541; }

.tab-add {
  color: #ececf1;
  font-size: 12px;
  padding: 2px 6px;
  cursor: pointer;
}

.browser-address-bar {
  background: #343541;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #4a4b53;
  flex-shrink: 0;
}
.nav-icons { display: flex; gap: 8px; color: #ececf1; }
.nav-icons svg { width: 10px; height: 10px; }
.url-bar {
  flex: 1;
  background: #202123;
  border-radius: 8px;
  padding: 3px 8px;
  color: #ececf1;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}
.ext-icon-img { width: 12px; height: 12px; border-radius: 3px; }

/* ChatGPT UI */
.chatgpt-ui {
  flex: 1;
  display: flex;
  background: #343541;
  color: #ececf1;
  overflow: hidden;
}
.cg-sidebar {
  width: 140px;
  background: #202123;
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.cg-logo {
  font-weight: 600;
  font-size: 11px;
}
.cg-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}
.cg-chat {
  flex: 1;
  padding: 12px;
  padding-bottom: 0;
  overflow-y: auto;
  font-family: inherit;
  font-size: 10px;
  line-height: 1.5;
}
.cg-input-area {
  padding: 10px;
  position: relative;
}
.cg-input-box {
  background: #40414f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.cg-textarea {
  flex: 1;
  background: transparent;
  border: none;
  color: #ececf1;
  font-size: 10px;
  outline: none;
  resize: none;
  font-family: inherit;
}
.cg-send {
  background: #19c37d;
  border: none;
  border-radius: 4px;
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.cg-send svg { width: 10px; height: 10px; }
.cg-disclaimer {
  text-align: center;
  font-size: 8px;
  color: #8e8ea0;
  margin-top: 4px;
}
.cg-plus { color: #ececf1; }
.cg-plus svg { width: 10px; height: 10px; }

/* Mock Context Menu */
.mock-context-menu {
  position: absolute;
  top: -110px;
  left: 15%;
  background: #2d2d2d;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 3px 0;
  width: 170px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  font-size: 10px;
  z-index: 100;
  transition: opacity 0.2s;
}
.ctx-item {
  padding: 3px 8px;
  color: #ececf1;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.ctx-item:hover, .ctx-item.has-sub { background: #0060df; }
.ctx-sep {
  height: 1px;
  background: #444;
  margin: 2px 0;
}
.ctx-arrow { margin-left: auto; }
.mock-submenu {
  position: absolute;
  left: 100%;
  top: 50%;
  background: #2d2d2d;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 3px 0;
  width: 140px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.sub-item {
  padding: 3px 8px;
  color: #ececf1;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 9px;
}
.sub-item:hover, .sub-item.active {
  background: #0060df;
}

/* Scrub Button override inside sub-item */
.sub-item#demo-scrub-btn.loading { opacity: 0.7; }

/* ═══════════════════════════════════════════
   PANEL 4: HOW IT WORKS
   ═══════════════════════════════════════════ */
.how-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: 'Geist Mono', monospace;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* UI Showcase */
.ui-showcase {
  position: relative;
  height: 500px;
}

.showcase-card {
  position: absolute;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  background: white;
  transition: transform 0.4s ease;
}

.sc-1 {
  top: 0;
  left: 0;
  width: 260px;
  transform: rotate(-3deg);
}

.sc-1:hover {
  transform: rotate(0deg) scale(1.02);
}

.sc-2 {
  top: 60px;
  left: 150px;
  width: 260px;
  transform: rotate(3deg);
}

.sc-2:hover {
  transform: rotate(0deg) scale(1.02);
}

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

/* ═══════════════════════════════════════════
   PANEL 5: VIDEO
   ═══════════════════════════════════════════ */
.video-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.video-left {
  max-width: 360px;
}

.video-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.6;
}

.video-right {
  display: flex;
  justify-content: center;
}

.video-frame {
  background: #1A1A1A;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 100%;
}

.video-browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #2A2A2A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-url-bar {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Geist Mono', monospace;
}

.video-content-placeholder {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.3);
}

.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.video-play-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.video-coming {
  font-size: 14px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   PANEL 6: CTA / FOOTER
   ═══════════════════════════════════════════ */
.cta-layout {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: center;
}

.cta-icon-wrapper {
  margin-bottom: 32px;
}

.cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  animation: float 3s ease-in-out infinite;
}

.cta-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.cta-btn {
  font-size: 18px;
  padding: 18px 40px;
}

.cta-micro {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 16px;
}

.footer {
  margin-top: 80px;
}

.footer-links {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.footer-link {
  font-size: 13px;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--text-secondary);
}

.footer-dot {
  color: var(--text-tertiary);
}

.footer-credit {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 16px;
}

/* ═══════════════════════════════════════════
   SCROLL DOTS
   ═══════════════════════════════════════════ */
.scroll-dots {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

.dot:hover:not(.active) {
  background: rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }

  .panel-features {
    align-items: center;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  body {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .horizontal-container {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    height: auto;
  }

  .panel {
    min-width: 100%;
    min-height: 100vh;
    height: auto;
    padding: 80px 24px 60px;
    scroll-snap-align: start;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .demo-layout,
  .how-layout,
  .video-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .demo-right {
    padding-top: 0;
  }

  .scroll-dots {
    flex-direction: column;
    bottom: 50%;
    right: 12px;
    left: auto;
    transform: translateY(50%);
  }

  .navbar {
    padding: 0 16px;
  }

  .nav-center {
    display: none;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-title {
    font-size: 32px;
  }

  .ui-showcase {
    height: 350px;
  }

  .sc-1 { width: 200px; }
  .sc-2 { width: 200px; left: 100px; }
}

/* Suggestion Popover */
.mock-suggestion-popover {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 10px;
  width: 220px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
  color: #111;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  z-index: 50;
  transition: opacity 0.2s;
}

.sugg-header {
  background: var(--accent-light);
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  color: var(--accent-dark);
}
.sugg-header img { width: 10px; }

.sugg-body {
  padding: 6px 8px;
  font-size: 9px;
  line-height: 1.4;
  color: #333;
  max-height: 90px;
  overflow-y: auto;
}

.sugg-footer {
  padding: 4px 8px;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  border-top: 1px solid var(--border);
  background: #fafafa;
}

.sugg-btn-reject, .sugg-btn-accept {
  border: none;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.sugg-btn-reject {
  background: transparent;
  color: #666;
}
.sugg-btn-reject:hover { background: rgba(0,0,0,0.05); }

.sugg-btn-accept {
  background: var(--accent);
  color: white;
}
.sugg-btn-accept:hover { background: var(--accent-dark); }

/* Model Themes for Browser UI */

/* Claude Theme */
.theme-claude .cg-sidebar { background: #EAE6DF; color: #4A4643; }
.theme-claude .cg-main { background: #F4F1ED; color: #111; }
.theme-claude .cg-input-box { background: white; border: 1px solid #D6D2CE; border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.theme-claude .cg-textarea { color: #111; }
.theme-claude .cg-send svg { fill: #D97757; }
.theme-claude .cg-send { background: transparent; }
.theme-claude .cg-disclaimer { color: #8C8985; }

/* Gemini Theme */
.theme-gemini .cg-sidebar { background: #F0F4F9; color: #1F1F1F; }
.theme-gemini .cg-main { background: #FFFFFF; color: #1F1F1F; }
.theme-gemini .cg-input-box { background: #F0F4F9; border: none; border-radius: 24px; box-shadow: none; }
.theme-gemini .cg-textarea { color: #1F1F1F; }
.theme-gemini .cg-send svg { fill: #0B57D0; }
.theme-gemini .cg-send { background: transparent; }
.theme-gemini .cg-disclaimer { color: #5F6368; }

/* ═══════════════════════════════════════════
   PREMIUM CHATBOT MOCKUP ADDITIONS
   ═══════════════════════════════════════════ */

/* Sidebar additions */
.cg-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}
.cg-new-chat-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: #ececf1;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 10px;
  transition: all 0.2s;
  padding: 0;
  box-sizing: border-box;
}
.cg-new-chat-btn:hover {
  background: rgba(255,255,255,0.1);
}
.cg-history-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  flex: 1;
  margin-right: -4px;
  padding-right: 4px;
}
.cg-history-item {
  padding: 5px 6px;
  border-radius: 5px;
  font-size: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #c5c5d2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.15s;
}
.cg-history-item:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.cg-history-item svg {
  opacity: 0.5;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

/* Chat Messages */
.chat-messages-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}
.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-avatar {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.chat-msg-content {
  min-width: 0;
  font-size: 9px;
  line-height: 1.4;
  color: #ececf1;
}
.chat-msg.user {
  flex-direction: row-reverse;
}
.chat-msg.user .chat-msg-content {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px 12px 2px 12px;
  padding: 6px 10px;
  max-width: 82%;
  flex-grow: 0;
  border: 1px solid rgba(255,255,255,0.06);
}
.chat-msg.assistant .chat-msg-content {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px 12px 12px 2px;
  padding: 6px 10px;
  max-width: 82%;
  flex-grow: 0;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Prompt Improvement Badge */
.scrubbed-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(26, 195, 125, 0.12);
  color: #1ac37d;
  border: 1px solid rgba(26, 195, 125, 0.25);
  padding: 1px 5px;
  border-radius: 8px;
  font-size: 7.5px;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Claude Theme Overrides for messages */
.theme-claude .cg-new-chat-btn {
  border-color: rgba(74, 70, 67, 0.25);
  color: #4A4643;
}
.theme-claude .cg-new-chat-btn:hover {
  background: rgba(74, 70, 67, 0.08);
}
.theme-claude .cg-history-item {
  color: #5d5955;
}
.theme-claude .cg-history-item:hover {
  background: rgba(74, 70, 67, 0.08);
  color: #111;
}
.theme-claude .chat-msg.user .chat-msg-content {
  background: #EAE6DF;
  color: #111;
  border-radius: 12px 12px 2px 12px;
  border: 1px solid #D6D2CE;
}
.theme-claude .chat-msg.assistant .chat-msg-content {
  background: #F5F2EB;
  color: #111;
  border-radius: 12px 12px 12px 2px;
  border: 1px solid #E5E1DA;
}
.theme-claude .chat-msg-content {
  color: #111;
}
.theme-claude .scrubbed-badge-inline {
  background: rgba(217, 119, 87, 0.12);
  color: #D97757;
  border-color: rgba(217, 119, 87, 0.25);
}

/* Gemini Theme Overrides for messages */
.theme-gemini .cg-new-chat-btn {
  border-color: rgba(31, 31, 31, 0.15);
  color: #1F1F1F;
}
.theme-gemini .cg-new-chat-btn:hover {
  background: rgba(31, 31, 31, 0.06);
}
.theme-gemini .cg-history-item {
  color: #5F6368;
}
.theme-gemini .cg-history-item:hover {
  background: rgba(11, 87, 208, 0.06);
  color: #0B57D0;
}
.theme-gemini .chat-msg.user .chat-msg-content {
  background: #E8F0FE;
  color: #1F1F1F;
  border-radius: 12px 12px 2px 12px;
  border: 1px solid #D2E3FC;
}
.theme-gemini .chat-msg.assistant .chat-msg-content {
  background: #F0F4F9;
  color: #1F1F1F;
  border-radius: 12px 12px 12px 2px;
  border: 1px solid #E0E4EC;
}
.theme-gemini .chat-msg-content {
  color: #1F1F1F;
}
.theme-gemini .scrubbed-badge-inline {
  background: rgba(11, 87, 208, 0.08);
  color: #0B57D0;
  border-color: rgba(11, 87, 208, 0.2);
}

/* Code Blocks and Inline Code in Chat */
.chat-code-block {
  background: #2a2b32;
  border-radius: 6px;
  overflow: hidden;
  margin: 6px 0;
  border: 1px solid rgba(255,255,255,0.08);
}
.theme-claude .chat-code-block {
  background: #EAE6DF;
  border-color: #D6D2CE;
}
.theme-gemini .chat-code-block {
  background: #F0F4F9;
  border-color: #D2E3FC;
}
.code-header {
  background: #202123;
  padding: 3px 8px;
  font-size: 7px;
  color: #ECECF1;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.theme-claude .code-header {
  background: #D6D2CE;
  color: #4A4643;
}
.theme-gemini .code-header {
  background: #E0E4EC;
  color: #1F1F1F;
}
.chat-code-block code {
  display: block;
  padding: 6px 8px;
  font-family: 'Geist Mono', 'Courier New', Courier, monospace;
  font-size: 7.5px;
  overflow-x: auto;
  color: #e5c07b;
  line-height: 1.35;
}
.theme-claude .chat-code-block code {
  color: #b94a24;
}
.theme-gemini .chat-code-block code {
  color: #0b57d0;
}
.inline-code {
  background: rgba(255,255,255,0.08);
  padding: 1px 3px;
  border-radius: 3px;
  font-family: 'Geist Mono', monospace;
  font-size: 7.5px;
}
.theme-claude .inline-code {
  background: rgba(0,0,0,0.05);
  color: #b94a24;
}
.theme-gemini .inline-code {
  background: rgba(0,0,0,0.04);
  color: #0b57d0;
}

/* Chat Tables */
.chat-table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0;
  font-size: 7.5px;
}
.chat-table th, .chat-table td {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 6px;
  text-align: left;
}
.theme-claude .chat-table th, .theme-claude .chat-table td {
  border-color: #D6D2CE;
}
.theme-gemini .chat-table th, .theme-gemini .chat-table td {
  border-color: #E2E8F0;
}
.chat-table th {
  background: rgba(255,255,255,0.05);
  font-weight: 600;
}
.theme-claude .chat-table th {
  background: #EAE6DF;
}
.theme-gemini .chat-table th {
  background: #F0F4F9;
}

/* Chat Blockquotes */
blockquote {
  border-left: 3px solid #1ac37d;
  background: rgba(26, 195, 125, 0.05);
  padding: 5px 8px;
  margin: 6px 0;
  border-radius: 0 4px 4px 0;
  font-style: italic;
}
.theme-claude blockquote {
  border-left-color: #D97757;
  background: rgba(217, 119, 87, 0.05);
}
.theme-gemini blockquote {
  border-left-color: #0B57D0;
  background: rgba(11, 87, 208, 0.04);
}

/* Chat Lists */
.chat-list {
  margin: 4px 0;
  padding-left: 12px;
}
.chat-list li {
  margin-bottom: 2px;
}

/* Custom Instruction Modal */
.custom-instruction-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 260px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: opacity 0.2s, transform 0.2s;
  font-family: 'Inter', sans-serif;
}
.custom-instruction-modal.show {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate(-50%, -50%) scale(1);
}
.ci-header {
  padding: 10px 14px;
  background: rgba(45, 45, 45, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px 12px 0 0;
  color: #ececf1;
}
.ci-title {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ci-close {
  background: transparent;
  border: none;
  color: #ececf1;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  opacity: 0.6;
  line-height: 1;
}
.ci-close:hover { opacity: 1; }
.ci-body {
  padding: 12px 14px;
}
.ci-textarea {
  width: 100%;
  height: 70px;
  background: rgba(20, 21, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px;
  color: #ececf1;
  font-size: 11px;
  resize: none;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ci-textarea:focus {
  border-color: #1ac37d;
  box-shadow: 0 0 0 2px rgba(26, 195, 125, 0.25);
}
.ci-footer {
  padding: 10px 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(45, 45, 45, 0.3);
  border-radius: 0 0 12px 12px;
}
.ci-btn-cancel, .ci-btn-save {
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.ci-btn-cancel {
  background: transparent;
  color: #aaa;
}
.ci-btn-cancel:hover { background: rgba(255,255,255,0.08); color: #fff; }
.ci-btn-save {
  background: #1ac37d;
  color: white;
  box-shadow: 0 2px 6px rgba(26, 195, 125, 0.3);
}
.ci-btn-save:hover { background: #16a66a; transform: translateY(-0.5px); }
.ci-btn-save:active { transform: translateY(0.5px); }

/* INSTALLATION MODAL */
.install-modal-content {
  max-width: 460px;
  width: 90%;
}
.install-steps {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #333;
}
.install-steps li {
  line-height: 1.5;
  padding-left: 8px;
}
.install-steps li::marker {
  font-weight: 600;
  color: #1a1a1a;
}
.install-steps code {
  background: #f1f1f1;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #d946ef;
  font-family: monospace;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay[style*="opacity: 1"] .modal-content {
  transform: translateY(0);
}
.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-title {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 4px;
  border-radius: 4px;
  display: flex;
}
.modal-close:hover {
  background: #f5f5f5;
  color: #000;
}
