@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800;900&display=swap');

:root {
  --pink: #FF6B6B;
  --magenta: #C147FF;
  --blue: #47A0FF;
  --mint: #2EE6A0;
  --yellow: #FFD960;
  --cashgreen: #00D632;
  --bg: #06010f;
  --panel: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(255, 107, 107, 0.1), transparent 40%),
    linear-gradient(225deg, rgba(46, 230, 160, 0.08), transparent 45%),
    var(--bg);
  color: white;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Glowing background mesh gradient orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: screen;
}

.orb-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.4) 0%, transparent 70%);
  animation: drift-slow 28s infinite alternate ease-in-out;
}

.orb-2 {
  bottom: -15%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(71, 160, 255, 0.35) 0%, transparent 70%);
  animation: drift-reverse 36s infinite alternate ease-in-out;
}

.orb-3 {
  top: 35%;
  left: 35%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(193, 71, 255, 0.32) 0%, transparent 70%);
  animation: drift-middle 32s infinite alternate ease-in-out;
}

@keyframes drift-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6%, 8%) scale(1.1); }
}

@keyframes drift-reverse {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8%, -6%) scale(0.92); }
}

@keyframes drift-middle {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-4%, 6%) scale(1.08); }
}

a {
  color: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  backdrop-filter: blur(20px);
  background: rgba(6, 1, 15, 0.72);
  border-bottom: 1px solid var(--line);
}

.brand,
nav,
.hero-actions,
.footer-tip,
.dl-gate-tip-row,
.preview-top,
.preview-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), var(--mint));
  color: #06010f;
}

nav a {
  text-decoration: none;
  opacity: 0.74;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(38px, 7vw, 92px) clamp(18px, 5vw, 70px) 40px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-title {
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 950px;
}

.grad-text {
  background: linear-gradient(90deg, var(--pink), var(--magenta), var(--blue), var(--mint), var(--pink));
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s linear infinite;
}

@keyframes gradShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-lead {
  margin: 26px 0 30px;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 900;
}

.btn.primary {
  background: linear-gradient(135deg, var(--pink), var(--magenta), var(--blue));
  border: 0;
  color: white;
  box-shadow: 0 18px 50px rgba(193, 71, 255, 0.26);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.07);
}

.app-preview {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(10, 8, 20, 0.88);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.preview-top {
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  flex-wrap: wrap;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 24px var(--mint);
}

kbd {
  padding: 5px 8px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
}

.wave {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.wave span {
  display: block;
  width: 12px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(var(--yellow), var(--pink), var(--blue));
  animation: pulse 1.2s ease-in-out infinite;
}

.wave span:nth-child(2n) { animation-delay: -0.2s; height: 74px; }
.wave span:nth-child(3n) { animation-delay: -0.4s; height: 108px; }
.wave span:nth-child(4n) { animation-delay: -0.7s; height: 58px; }

@keyframes pulse {
  0%, 100% { transform: scaleY(0.45); opacity: 0.65; }
  50% { transform: scaleY(1); opacity: 1; }
}

.transcript {
  border-left: 4px solid var(--mint);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
}

.transcript p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
}

.preview-actions {
  margin-top: 16px;
}

.preview-actions button {
  border: 1px solid var(--line);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-height: 38px;
  padding: 0 12px;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(18px, 5vw, 70px) 80px;
}

.feature-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid span {
  color: var(--yellow);
  font-weight: 1000;
}

.feature-grid h2 {
  margin: 42px 0 10px;
  font-size: 1.35rem;
}

.feature-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.dl-gate[hidden] {
  display: none;
}

.dl-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(16px);
}

.dl-gate-card {
  position: relative;
  width: min(620px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #11071d;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.5);
}

.dl-gate-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.dl-gate-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--yellow);
  color: #120511;
  font-weight: 1000;
  font-size: 1.35rem;
}

.dl-gate-title {
  margin: 16px 0 8px;
  font-size: 2rem;
}

.dl-gate-lead,
.dl-gate-note,
.dl-gate li {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.dl-gate ol {
  padding-left: 20px;
}

.dl-gate-btn {
  width: 100%;
  margin-top: 10px;
}

.dl-gate-btn[data-locked="true"] {
  opacity: 0.55;
  cursor: wait;
}

.dl-gate-tip-row {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.cashapp,
.cashapp-pill {
  background: linear-gradient(135deg, var(--cashgreen), #00B22A);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 900;
  color: white;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 214, 50, 0.30);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.64);
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .hero,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .app-preview {
    margin-bottom: 18px;
  }
}

@media (max-width: 560px) {
  .site-nav,
  .hero-actions,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .btn {
    width: 100%;
  }
}

/* --- WHISP INTERACTIVE MOCKUP STYLES --- */

/* App Preview Overrides & Enhancements */
.app-preview {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)), rgba(11, 6, 21, 0.75);
  backdrop-filter: blur(35px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 24px !important;
  box-shadow: 
    0 35px 120px rgba(0, 0, 0, 0.7), 
    0 0 50px rgba(193, 71, 255, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

/* macOS Window Titlebar Controls */
.mac-window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
  position: relative;
}

.mac-controls {
  display: flex;
  gap: 7px;
  z-index: 2;
}

.mac-controls .control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.mac-controls .control.close {
  background-color: #ff5f56;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
}

.mac-controls .control.minimize {
  background-color: #ffbd2e;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
}

.mac-controls .control.expand {
  background-color: #27c93f;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
}

.mac-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: 0.03em;
  pointer-events: none;
  z-index: 1;
}

/* Status Indicator */
.status-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.status-dot.inactive {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.status-dot.recording {
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Wave Container */
.wave-container {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 1, 15, 0.45);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.7);
}

.wave-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.wave-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 48%, rgba(193, 71, 255, 0.1) 50%, transparent 52%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.wave-container:has(.wave.active)::after {
  opacity: 1;
  animation: scan-line 4s linear infinite;
}

@keyframes scan-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.wave {
  height: 120px !important;
  background: transparent !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

.wave span.bar {
  display: block;
  width: 7px !important;
  height: 28px !important; /* default height */
  border-radius: 4px !important;
  background: linear-gradient(180deg, var(--pink), var(--magenta), var(--blue)) !important;
  transition: transform 0.08s cubic-bezier(0.1, 0.8, 0.3, 1); /* smooth height updates from JS */
  transform-origin: center;
  animation: none !important; /* we disable CSS animation by default */
}

.wave.active span.bar {
  filter: drop-shadow(0 0 8px rgba(193, 71, 255, 0.85)) drop-shadow(0 0 2px rgba(71, 160, 255, 0.5));
  background: linear-gradient(180deg, #ff8a8a, var(--magenta), #8ac0ff) !important;
}

/* Fallback resting animation when not recording */
.wave:not(.active) span.bar {
  animation: wave-rest 3s ease-in-out infinite !important;
}

/* Stagger resting animations */
.wave:not(.active) span.bar:nth-child(1) { animation-delay: 0.1s !important; }
.wave:not(.active) span.bar:nth-child(2) { animation-delay: 0.2s !important; }
.wave:not(.active) span.bar:nth-child(3) { animation-delay: 0.3s !important; }
.wave:not(.active) span.bar:nth-child(4) { animation-delay: 0.4s !important; }
.wave:not(.active) span.bar:nth-child(5) { animation-delay: 0.5s !important; }
.wave:not(.active) span.bar:nth-child(6) { animation-delay: 0.6s !important; }
.wave:not(.active) span.bar:nth-child(7) { animation-delay: 0.7s !important; }
.wave:not(.active) span.bar:nth-child(8) { animation-delay: 0.8s !important; }
.wave:not(.active) span.bar:nth-child(9) { animation-delay: 0.9s !important; }
.wave:not(.active) span.bar:nth-child(10) { animation-delay: 1.0s !important; }
.wave:not(.active) span.bar:nth-child(11) { animation-delay: 1.1s !important; }
.wave:not(.active) span.bar:nth-child(12) { animation-delay: 1.2s !important; }

@keyframes wave-rest {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(0.85); opacity: 0.95; }
}

/* Transcript Box */
.transcript {
  border-left: 3px solid var(--magenta) !important;
  padding: 16px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 0 12px 12px 0 !important;
  min-height: 80px;
  max-height: 150px;
  overflow-y: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  transition: border-color 0.3s ease;
}

.transcript.recording {
  border-left-color: var(--pink) !important;
}

.transcript p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Preview Settings & Grid */
.preview-settings {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.settings-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.settings-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.settings-col label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  text-align: left;
}

/* Styled Form Controls */
.settings-col select,
.settings-col input[type="text"] {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
  width: 100%;
}

.settings-col select:focus,
.settings-col input[type="text"]:focus {
  border-color: var(--magenta);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(193, 71, 255, 0.25);
}

.settings-col select option {
  background: #11071d;
  color: white;
}

/* Custom Checkbox / Toggle Switch */
.settings-row.checkboxes {
  justify-content: flex-start;
  gap: 24px;
  margin-top: 4px;
}

.toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.toggle-switch input[type="checkbox"] {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 40px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  transition: background 0.3s ease;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input[type="checkbox"]:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--magenta), var(--blue));
}

.toggle-switch input[type="checkbox"]:checked + .toggle-slider::after {
  transform: translateX(20px);
}

.toggle-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

/* Control Buttons Row */
.preview-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.btn-mock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
}

.btn-mock.btn-record {
  background: linear-gradient(135deg, var(--pink), var(--magenta));
  color: white;
  border: none;
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.25);
  flex-grow: 1;
}

.btn-mock.btn-record:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(255, 107, 107, 0.4);
}

.btn-mock.btn-record.recording {
  background: #ff4747;
  animation: pulse-button 1.5s infinite;
}

@keyframes pulse-button {
  0%, 100% { box-shadow: 0 0 16px rgba(255, 71, 71, 0.4); }
  50% { box-shadow: 0 0 28px rgba(255, 71, 71, 0.7); }
}

.action-btn-group {
  display: flex;
  gap: 8px;
}

.btn-mock.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.btn-mock.secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-mock:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Toast Notification */
.web-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(18, 12, 28, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.web-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.web-toast-icon {
  color: var(--mint);
  font-weight: 700;
}

/* Floating HUD on Website */
.web-hud {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(13, 8, 24, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 24px;
  border-radius: 99px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(193, 71, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 90vw;
  width: 480px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.web-hud.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.web-hud-mini-equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  width: 24px;
  height: 20px;
  padding-bottom: 2px;
}

.web-hud-mini-equalizer .mini-bar {
  display: block;
  width: 3px;
  height: 8px;
  background: linear-gradient(180deg, var(--pink), var(--magenta));
  border-radius: 2px;
  transition: transform 0.1s cubic-bezier(0.1, 0.8, 0.3, 1);
  transform-origin: bottom;
  /* Resting animation */
  animation: mini-wave-rest 1.8s ease-in-out infinite;
}

.web-hud-mini-equalizer .mini-bar:nth-child(1) { animation-delay: 0.1s; }
.web-hud-mini-equalizer .mini-bar:nth-child(2) { animation-delay: 0.3s; }
.web-hud-mini-equalizer .mini-bar:nth-child(3) { animation-delay: 0.2s; }
.web-hud-mini-equalizer .mini-bar:nth-child(4) { animation-delay: 0.4s; }

@keyframes mini-wave-rest {
  0%, 100% { transform: scaleY(0.6); opacity: 0.7; }
  50% { transform: scaleY(1.5); opacity: 1; }
}

.web-hud-mini-equalizer.active .mini-bar {
  animation: none !important;
}

.web-hud-copy {
  flex-grow: 1;
  overflow: hidden;
  text-align: left;
}

.web-hud-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.web-hud-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: white;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.web-hud-text::-webkit-scrollbar {
  display: none;
}

.web-hud-shortcut {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 8px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

/* Web History List */
.web-history {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.web-history h3 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 12px;
  letter-spacing: 0.05em;
  text-align: left;
}

.web-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
}

.web-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  animation: slide-in 0.3s ease;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.web-history-text {
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
  text-align: left;
}

.web-history-meta {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.web-history-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.web-history-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.web-history-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.web-history-btn.delete:hover {
  color: var(--pink);
  background: rgba(255, 107, 107, 0.08);
}

/* Custom Thin Scrollbars */
.transcript::-webkit-scrollbar,
.web-history-list::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.transcript::-webkit-scrollbar-track,
.web-history-list::-webkit-scrollbar-track {
  background: transparent;
}

.transcript::-webkit-scrollbar-thumb,
.web-history-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
}

.transcript::-webkit-scrollbar-thumb:hover,
.web-history-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   INTERACTIVE MACBOOK TRAILER SIMULATOR STYLES
   ========================================================================== */

.trailer-section {
  max-width: 1200px;
  width: 100%;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}

.trailer-header {
  margin-bottom: 40px;
}

.trailer-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.trailer-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.macbook-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sim-controls-top {
  margin-bottom: 20px;
  z-index: 10;
}

.btn-sim-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-sim-control:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Physical MacBook Container */
.macbook-container {
  width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
}

.macbook-screen {
  background: #08080a;
  border: 3px solid #3c3c3e;
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  padding: 16px 12px 12px 12px;
  position: relative;
  width: 100%;
  box-shadow: 
    0 10px 40px rgba(0,0,0,0.5), 
    inset 0 1px 1px rgba(255,255,255,0.15);
  box-sizing: border-box;
}

.macbook-camera {
  width: 6px;
  height: 6px;
  background: #0e1e2d;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.8);
}

.macbook-display {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

/* MacBook lower body/keyboard part */
.macbook-body-chassis {
  height: 14px;
  background: linear-gradient(to bottom, #e3e3e8 0%, #a2a2a7 35%, #69696d 100%);
  border-radius: 0 0 12px 12px;
  position: relative;
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.6),
    0 4px 10px rgba(0,0,0,0.3);
  width: 101.6%;
  margin: 0 auto;
  z-index: 5;
}

/* Center lip cutout for opening lid */
.macbook-body-chassis::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #1c1c1f;
  border-radius: 0 0 5px 5px;
}

/* Keyboard recess */
.macbook-keyboard-recess {
  position: absolute;
  top: 0;
  left: 4%;
  width: 92%;
  height: 1.5px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 0 0 1px 1px;
  box-shadow: inset 0 -1px 0px rgba(255, 255, 255, 0.1);
}

/* Trackpad outline */
.macbook-trackpad {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 9px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-top: none;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* macOS OS Simulator */
.mac-desktop {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, #ec5b8c, #6c12cc 45%, #0d061f 100%);
  position: relative;
  user-select: none;
  overflow: hidden;
}

/* Sequoia wallpaper blobs */
.wallpaper-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
}

.blob-1 {
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(253, 142, 69, 0.55) 0%, transparent 60%);
  top: -15%;
  left: -20%;
  animation: float-blob-1 25s infinite alternate ease-in-out;
}

.blob-2 {
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.45) 0%, transparent 60%);
  bottom: -10%;
  right: -10%;
  animation: float-blob-2 20s infinite alternate ease-in-out;
}

.blob-3 {
  width: 85%;
  height: 85%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 60%);
  top: 15%;
  right: -15%;
  animation: float-blob-3 22s infinite alternate ease-in-out;
}

@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(12%, 8%) scale(1.1); }
}

@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8%, -12%) scale(0.9); }
}

@keyframes float-blob-3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6%, 10%) scale(1.05); }
}

/* macOS Menu Bar */
.mac-menu-bar {
  height: 22px;
  background: rgba(10, 10, 15, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  z-index: 10;
  position: relative;
  box-sizing: border-box;
}

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

.apple-logo {
  font-size: 13px;
  line-height: 1;
}

.menu-item {
  color: rgba(255, 255, 255, 0.85);
}

.menu-item.active-app {
  font-weight: 600;
  color: #fff;
}

.sim-menu-icon {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s ease;
  padding: 1px 4px;
  border-radius: 3px;
}

.sim-menu-icon.active {
  color: var(--pink);
  animation: sim-menu-pulse 1s infinite alternate;
}

@keyframes sim-menu-pulse {
  from { opacity: 0.6; transform: scale(1); filter: drop-shadow(0 0 1px var(--pink)); }
  to { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 5px var(--pink)); }
}

.menu-icon-sys {
  font-size: 9px;
  opacity: 0.85;
}

.menu-time {
  letter-spacing: 0.02em;
}

/* Apple Notes Mock Window */
.notes-app-window {
  position: absolute;
  top: 8%;
  left: 6%;
  width: 88%;
  height: 80%;
  background: rgba(26, 26, 28, 0.85);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 
    0 20px 45px rgba(0,0,0,0.55),
    inset 0 1px 1px rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
  box-sizing: border-box;
}

.notes-titlebar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(30, 30, 32, 0.4);
  box-sizing: border-box;
}

.notes-window-controls {
  display: flex;
  gap: 6px;
}

.note-control {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.85;
}

.note-control.close { background-color: #ff5f56; }
.note-control.minimize { background-color: #ffbd2e; }
.note-control.expand { background-color: #27c93f; }

.notes-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}

.toolbar-btn {
  cursor: default;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.2s;
  color: rgba(255, 255, 255, 0.65);
}

.toolbar-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.notes-search-bar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 90px;
  pointer-events: none;
}

.notes-content {
  display: flex;
  flex: 1;
  height: calc(100% - 34px);
  overflow: hidden;
}

/* Col 1: Sidebar Folders */
.notes-sidebar {
  width: 22%;
  background: rgba(20, 20, 22, 0.45);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-sizing: border-box;
  overflow-y: auto;
}

.sidebar-header {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
  padding: 6px 8px 2px;
  text-align: left;
}

.sidebar-item {
  padding: 6px 8px;
  border-radius: 5px;
  text-align: left;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: default;
  transition: background 0.15s ease;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.sidebar-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sidebar-item .item-icon {
  font-size: 11px;
  opacity: 0.85;
}

/* Col 2: Notes List Pane */
.notes-list-pane {
  width: 28%;
  background: rgba(28, 28, 30, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-sizing: border-box;
}

.list-item {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: default;
  transition: background 0.2s ease;
  text-align: left;
}

.list-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.list-item.active {
  background: rgba(229, 175, 9, 0.15); /* amber highlight */
  border-left: 3px solid #e5af09;
}

.list-item-title {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.list-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
}

.list-item-time {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.list-item-preview {
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.list-item.active .list-item-title {
  color: #f2bd2b;
}

.list-item.active .list-item-time {
  color: rgba(242, 189, 43, 0.7);
}

.list-item.active .list-item-preview {
  color: rgba(255, 255, 255, 0.6);
}

/* Col 3: Editor Pane */
.notes-editor {
  flex: 1;
  background: rgba(26, 26, 28, 0.15);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  box-sizing: border-box;
}

.notes-date-header {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-bottom: 4px;
}

.notes-body {
  flex: 1;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  outline: none;
  box-sizing: border-box;
}

.sim-cursor {
  display: inline-block;
  width: 1.5px;
  height: 13px;
  background: #e5af09; /* macOS Notes Cursor */
  margin-left: 1px;
  vertical-align: middle;
  animation: sim-blink 0.9s step-end infinite;
}

@keyframes sim-blink {
  from, to { background-color: transparent }
  50% { background-color: #e5af09 }
}

/* Custom Scrollbars for Simulated App */
.notes-sidebar::-webkit-scrollbar,
.notes-list-pane::-webkit-scrollbar,
.notes-editor::-webkit-scrollbar {
  width: 4px;
}
.notes-sidebar::-webkit-scrollbar-track,
.notes-list-pane::-webkit-scrollbar-track,
.notes-editor::-webkit-scrollbar-track {
  background: transparent;
}
.notes-sidebar::-webkit-scrollbar-thumb,
.notes-list-pane::-webkit-scrollbar-thumb,
.notes-editor::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.notes-sidebar::-webkit-scrollbar-thumb:hover,
.notes-list-pane::-webkit-scrollbar-thumb:hover,
.notes-editor::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Translucent HUD Overlay inside MacBook simulator */
.sim-hud {
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  background: rgba(20, 20, 24, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.25);
  z-index: 10;
  pointer-events: none;
  box-sizing: border-box;
}

.sim-hud.show {
  bottom: 24px;
}

.sim-hud.success {
  border-color: rgba(39, 201, 63, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(39, 201, 63, 0.15);
}

.sim-hud-mini-equalizer {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 20px;
  height: 20px;
}

.sim-hud-mini-equalizer .sim-mini-bar {
  flex: 1;
  height: 12px;
  background: var(--pink);
  border-radius: 10px;
  transform-origin: bottom center;
  transition: transform 0.05s ease;
  transform: scaleY(0.3);
}

.sim-hud.success .sim-mini-bar {
  background: #27c93f !important;
  transform: scaleY(1.0) !important;
}

.sim-hud-mini-equalizer.active .sim-mini-bar {
  animation: none;
}

.sim-hud-copy {
  flex-grow: 1;
  text-align: left;
  min-width: 0;
}

.sim-hud-title {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
}

.sim-hud.success .sim-hud-title {
  color: #27c93f;
}

.sim-hud-text {
  font-size: 11px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: 1px;
}
.sim-hud-text::-webkit-scrollbar {
  display: none;
}

.sim-hud-shortcut {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 6px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  white-space: nowrap;
}

/* Bezel Apple Logo */
.macbook-bezel-logo {
  text-align: center;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.18);
  margin-top: 3px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1;
  pointer-events: none;
}

/* Keyboard badge visualizer overlay */
.sim-keypress-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.25);
  pointer-events: none;
  z-index: 20;
  letter-spacing: 0.03em;
}

.sim-keypress-badge.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.0);
}

.sim-keypress-badge.pressed {
  background: var(--pink);
  border-color: var(--pink);
  transform: translate(-50%, -50%) scale(0.94);
  box-shadow: 0 0 20px var(--pink);
}

/* Interactive Web Playground Demo Section */
.demo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 70px);
  text-align: center;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at 50% 0%, rgba(193, 71, 255, 0.05) 0%, transparent 70%);
}

.demo-header {
  margin-bottom: 42px;
  max-width: 680px;
}

.demo-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: white;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, white 40%, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.demo-header p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.demo-section .app-preview {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

/* Responsive MacBook Scaling container support */
@media (max-width: 1150px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 60px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .macbook-wrapper {
    display: flex;
    justify-content: center;
    overflow: hidden;
  }
  .macbook-container {
    transform: scale(0.85);
    margin-top: -30px;
    margin-bottom: -60px;
    flex-shrink: 0;
  }
}
@media (max-width: 700px) {
  .macbook-container {
    transform: scale(0.7);
    margin-top: -65px;
    margin-bottom: -110px;
  }
}
@media (max-width: 580px) {
  .macbook-container {
    transform: scale(0.55);
    margin-top: -95px;
    margin-bottom: -160px;
  }
}
@media (max-width: 440px) {
  .macbook-container {
    transform: scale(0.42);
    margin-top: -125px;
    margin-bottom: -200px;
  }
}

/* Custom Shortcut recording styles */
.record-shortcut-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.record-shortcut-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}
.record-shortcut-btn.recording {
  background: #FF4747;
  border-color: #FF4747;
  color: white;
  animation: pulse-recording 1.5s infinite;
}
@keyframes pulse-recording {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.reset-shortcut-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.reset-shortcut-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.shortcut-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: bold;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: white;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

