/* ==========================================================================
   SLURP // ULTRA-RESPONSIVE WEIRD-MINIMAL DESIGN SYSTEM
   ========================================================================== */

:root {
  --bg: #070708;
  --surface: #0f1013;
  --surface-alt: #14161b;
  --surface-border: #1e2026;
  --surface-hover: #17191e;
  --accent: #d4ff28;
  --accent-hover: #dcff38;
  --accent-muted: rgba(212, 255, 40, 0.12);
  --text-main: #f0f2f5;
  --text-muted: #9fa6b2;
  --text-dim: #717784;
  --error: #ff5252;
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

::selection {
  background: var(--accent);
  color: #000;
}

html, body {
  width: 100%;
  min-height: 100vh;
}

body {
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Subtle Radial Glow */
.glow-point {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(85vw, 500px);
  height: min(85vw, 500px);
  background: radial-gradient(circle, rgba(212, 255, 40, 0.04) 0%, rgba(7, 7, 8, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Main Canvas */
.canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 4vh, 32px);
  margin: auto 0;
}

/* Monolithic Wordmark */
.monolith-head {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 14px);
  text-decoration: none;
  color: inherit;
}

.header-icon {
  color: var(--accent);
  width: clamp(28px, 7vw, 48px);
  height: clamp(28px, 7vw, 48px);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-wrap:hover .header-icon {
  transform: translateY(2px) scale(1.1);
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(42px, 12vw, 76px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-main);
  user-select: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
  display: block;
}

.logo-wrap:hover .logo {
  color: var(--accent);
  letter-spacing: -0.02em;
}

.micro-status {
  font-size: clamp(11px, 2.8vw, 13px);
  color: var(--text-dim);
  margin-top: 10px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Machine Zone */
.machine-zone {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Input Bar */
.slurp-bar {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--surface-border);
  border-radius: 12px;
  padding: 4px 6px 4px 16px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  width: 100%;
  position: relative;
}

.slurp-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 30px rgba(212, 255, 40, 0.08);
}

#urlInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: clamp(13px, 3.2vw, 14px);
  padding: 10px 8px 10px 0;
  min-width: 0;
  text-overflow: ellipsis;
}

#urlInput::placeholder {
  color: var(--text-dim);
  font-size: clamp(12px, 3vw, 13px);
}

#goBtn {
  background: var(--accent);
  color: #000;
  border: none;
  min-width: 40px;
  min-height: 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
  touch-action: manipulation;
}

#goBtn:hover {
  background: var(--accent-hover);
  transform: scale(1.04);
}

#goBtn:active {
  transform: scale(0.96);
}

#goBtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Output Surface */
.output-surface {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  overflow: hidden;
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.pulse-bar {
  height: 2px;
  width: 100%;
  background: var(--surface-border);
  position: relative;
  overflow: hidden;
  display: none;
}

.pulse-bar.active {
  display: block;
}

.pulse-bar.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: var(--accent);
  animation: pulse-slide 1.2s infinite ease-in-out;
}

.output-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Minimal Result Elements */
.slurp-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  gap: 8px;
}

.slurp-badge {
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}

.slurp-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.2s infinite;
  flex-shrink: 0;
}

.btn-mini-reset {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
  touch-action: manipulation;
}

.btn-mini-reset:hover {
  color: var(--text-main);
  background: var(--surface-border);
}

.media-title-line {
  font-size: 12px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

/* Preview Stage */
.preview-mini-stage {
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  max-height: min(280px, 40vh);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.preview-mini-stage video {
  width: 100%;
  max-height: min(280px, 40vh);
  object-fit: contain;
  border-radius: 6px;
}

.slideshow-mini-reel {
  width: 100%;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  background: #090a0c;
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.slideshow-mini-reel img {
  height: 100px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--surface-border);
  flex-shrink: 0;
}

/* Download Action Button */
.btn-slurp-download {
  background: var(--accent);
  color: #000;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  min-height: 44px;
  touch-action: manipulation;
  width: 100%;
  border: none;
  cursor: pointer;
}

.btn-slurp-download:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-slurp-download:active {
  transform: translateY(1px);
}

.auto-dl-text {
  font-size: 10px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.4;
}

/* Error State */
.slurp-error {
  color: var(--error);
  font-size: 12px;
  line-height: 1.5;
}

/* Sub Hint */
.sub-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  user-select: none;
}

/* ==========================================================================
   PROGRAMMATIC SEO LANDING PAGES STYLING (Applies when content-container is present)
   ========================================================================== */

.page-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 6vh, 56px);
  margin: 0 auto;
}

/* Breadcrumb Navigation */
.breadcrumb-bar {
  width: 100%;
  margin-bottom: -12px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 11px;
  color: var(--text-dim);
}

.breadcrumb-list a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb-list a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--surface-border);
}

.breadcrumb-current {
  color: var(--text-muted);
}

.content-container {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 6vh, 56px);
  padding: 0 4px 40px 4px;
}

.seo-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-main);
}

.section-subtitle {
  font-size: clamp(12px, 2.5vw, 14px);
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: -6px;
}

/* Princeton GEO Answer Box */
.geo-answer-box {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.geo-answer-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.geo-answer-text {
  font-size: 12.5px;
  color: var(--text-main);
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  list-style: none;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.step-heading {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.step-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-desc code {
  background: #17191e;
  padding: 1px 4px;
  border-radius: 3px;
  color: var(--accent);
  font-size: 10.5px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.platform-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.platform-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--text-main);
}

.platform-tag {
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
}

.platform-text {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  overflow: hidden;
}

.faq-summary {
  padding: 14px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  gap: 12px;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:hover {
  color: var(--accent);
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 16px 14px 16px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

.site-footer {
  border-top: 1px solid var(--surface-border);
  padding-top: 24px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.04em;
}

.footer-tagline {
  font-size: 10.5px;
  color: var(--text-dim);
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-heading {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px 16px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 10.5px;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10.5px;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
}

.footer-badges {
  display: flex;
  gap: 6px;
}

.footer-chip {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 9.5px;
  color: var(--text-dim);
}

/* Keyframes */
@keyframes pulse-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

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