/* ==========================================================================
   INSTA METHODS — Ray-Ban Meta Smart Glasses Studio
   Apple iOS Liquid Glass Design System & Authentic 3D Showcase
   ========================================================================== */

:root {
  /* Dynamic Palette: Electric Cobalt (Default) */
  --theme-bg: #030712;
  --theme-gradient: radial-gradient(ellipse 85% 65% at 50% -10%, #1e40af 0%, #0c184d 45%, #030712 100%);
  --accent-cyan: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.4);
  --btn-primary-grad: linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #d946ef 100%);
  --btn-download-grad: linear-gradient(135deg, #059669 0%, #10b981 50%, #06b6d4 100%);
  
  /* Apple iOS Liquid Glass Specs */
  --liquid-glass-bg: rgba(255, 255, 255, 0.07);
  --liquid-glass-border: rgba(255, 255, 255, 0.2);
  --liquid-glass-border-highlight: rgba(255, 255, 255, 0.4);
  --liquid-glass-shadow: 
    0 30px 70px -15px rgba(0, 0, 0, 0.75), 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.45), 
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.2);
  --liquid-glass-blur: blur(40px) saturate(210%);
  
  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Colors */
  --text-white: #ffffff;
  --text-sub: rgba(255, 255, 255, 0.75);
  --text-dim: rgba(255, 255, 255, 0.45);
  --emerald-live: #10b981;
}

/* Neon Emerald Theme (Spotify POV) */
body.theme-emerald {
  --theme-bg: #011409;
  --theme-gradient: radial-gradient(ellipse 85% 65% at 50% -10%, #059669 0%, #022c22 45%, #011409 100%);
  --accent-cyan: #00ff66;
  --accent-glow: rgba(0, 255, 102, 0.4);
  --btn-primary-grad: linear-gradient(135deg, #00d64f 0%, #10b981 50%, #06b6d4 100%);
  --liquid-glass-bg: rgba(0, 35, 15, 0.4);
  --liquid-glass-border: rgba(0, 255, 102, 0.25);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--theme-bg);
}

body {
  font-family: var(--font-ui);
  background: var(--theme-gradient);
  background-attachment: fixed;
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.4s ease;
  position: relative;
}

/* Ambient Backdrops */
.ambient-light {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.55;
}

.light-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-glow);
}

.light-bottom {
  bottom: -150px;
  right: -100px;
  background: rgba(99, 102, 241, 0.3);
}

.ambient-mesh {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   DYNAMIC ISLAND / iOS TOP NAVIGATION
   ========================================================================= */
.ios-top-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 16px;
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  background: rgba(3, 7, 18, 0.55);
  border-bottom: 1px solid var(--liquid-glass-border);
}

body.theme-emerald .ios-top-nav {
  background: rgba(1, 20, 9, 0.55);
}

.nav-island {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-logo-wrap {
  display: flex;
  align-items: center;
}

.meta-infinity-svg {
  height: 20px;
  width: auto;
}

.meta-infinity-svg path {
  animation: metaPulseGlow 3s ease-in-out infinite alternate;
}

@keyframes metaPulseGlow {
  0% { filter: drop-shadow(0 0 3px rgba(56, 189, 248, 0.4)); }
  100% { filter: drop-shadow(0 0 8px rgba(217, 70, 239, 0.7)); }
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: var(--liquid-glass-border);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
}

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

.rayban-script-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--liquid-glass-border);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rayban-cursive {
  color: #f87171;
  font-style: italic;
  font-weight: 800;
}

.ios-theme-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 999px;
  padding: 5px 12px;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-theme-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.03);
}

.theme-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

body.theme-emerald .theme-pulse-dot {
  background: #00ff66;
  box-shadow: 0 0 8px #00ff66;
}

/* ==========================================================================
   APP VIEWPORT
   ========================================================================== */
.ios-app-viewport {
  position: relative;
  z-index: 10;
  max-width: 620px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* ==========================================================================
   HERO SECTION: Monumental Headline + 3D Floating Glasses
   ========================================================================== */
.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding-top: 10px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--liquid-glass-border);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.beacon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-live);
  box-shadow: 0 0 8px var(--emerald-live);
  animation: beaconPulse 1.8s infinite;
}

@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-monumental-text {
  font-family: var(--font-display);
  font-size: clamp(38px, 8.5vw, 62px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
}

.hero-monumental-text span {
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
}

/* 3D Floating Glasses Centerpiece */
.glasses-hero-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px 0 6px;
}

.glasses-floating-img {
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: contain;
  display: block;
  animation: floatGlasses 5s ease-in-out infinite alternate;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 25px rgba(56, 189, 248, 0.25));
  transition: transform 0.2s ease-out;
}

@keyframes floatGlasses {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-0.4deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Lens HUD Floating Pill */
.lens-hud-pill {
  position: absolute;
  bottom: 0px;
  right: 8%;
  background: rgba(10, 18, 48, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

body.theme-emerald .lens-hud-pill {
  background: rgba(2, 35, 15, 0.75);
  border-color: rgba(0, 255, 102, 0.3);
}

.hud-pill-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-dot-live {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald-live);
  box-shadow: 0 0 6px var(--emerald-live);
}

.hud-pill-title {
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
}

.hud-pill-stat {
  font-size: 9px;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.2);
  color: var(--accent-cyan);
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: auto;
}

.hud-specs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: var(--text-sub);
}

/* ==========================================================================
   APPLE iOS LIQUID GLASS CONVERTER STUDIO CARD
   ========================================================================== */
.studio-card-container {
  width: 100%;
}

.liquid-glass-card {
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 28px;
  padding: clamp(16px, 4.5vw, 26px);
  box-shadow: var(--liquid-glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.liquid-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* iOS Segmented Control */
.ios-segmented-control {
  display: flex;
  background: rgba(0, 0, 0, 0.32);
  padding: 3px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.segmented-pill {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.segmented-pill.active {
  background: rgba(255, 255, 255, 0.17);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Studio Panels */
.studio-content-panel {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.studio-content-panel.active {
  display: flex;
}

/* Quick Source Buttons */
.quick-sources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.source-glass-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 16px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.source-glass-tile:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--liquid-glass-border-highlight);
  transform: translateY(-2px);
}

.source-glass-tile:active {
  transform: scale(0.96);
}

.tile-icon {
  font-size: 20px;
}

.tile-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.tile-title {
  font-size: 13px;
  font-weight: 800;
}

.tile-sub {
  font-size: 10px;
  color: var(--text-dim);
}

/* Viewfinder Drop Zone */
.viewfinder-drop-zone {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 26px 16px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.viewfinder-drop-zone:hover,
.viewfinder-drop-zone.dragover {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.01);
}

.corner-reticle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--accent-cyan);
  pointer-events: none;
}

.corner-reticle.top-left {
  top: 8px;
  left: 8px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.corner-reticle.top-right {
  top: 8px;
  right: 8px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.corner-reticle.bottom-left {
  bottom: 8px;
  left: 8px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.corner-reticle.bottom-right {
  bottom: 8px;
  right: 8px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

.drop-laser-circle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--btn-primary-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 20px var(--accent-glow);
  font-size: 22px;
}

.drop-laser-circle svg {
  width: 24px;
  height: 24px;
}

.drop-text-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drop-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.drop-sub {
  font-size: 11px;
  color: var(--text-sub);
}

/* Options & Framing */
.options-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.group-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-sub);
}

.gps-toggle {
  font-size: 11px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.gps-toggle input {
  accent-color: var(--accent-cyan);
}

.framing-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.framing-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 13px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s ease;
  color: #ffffff;
  font-family: var(--font-ui);
}

.framing-chip:hover {
  background: rgba(255, 255, 255, 0.09);
}

.framing-chip.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

body.theme-emerald .framing-chip.active {
  background: rgba(0, 255, 102, 0.16);
  border-color: #00ff66;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.25);
}

.chip-headline {
  font-size: 12px;
  font-weight: 800;
}

.chip-desc {
  font-size: 9.5px;
  color: var(--text-dim);
}

.liquid-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 13px;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  padding: 11px 12px;
  outline: none;
  cursor: pointer;
}

.liquid-select option {
  background: #091338;
  color: #ffffff;
}

/* Image Preview Workspace */
.preview-card-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--liquid-glass-border-highlight);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.preview-inner {
  position: relative;
  width: 100%;
  max-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-inner img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  display: block;
}

.preview-pill-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  pointer-events: none;
}

.preview-pill-badge {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #38bdf8;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.preview-pill-badge.dim {
  color: var(--text-sub);
}

.floating-dl-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-dl-pill:hover {
  transform: scale(1.04);
}

/* ==========================================================================
   DOWNLOAD HERO CARD (POST-CONVERSION)
   ========================================================================== */
.download-result-card {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.18) 0%, rgba(6, 182, 212, 0.08) 100%), rgba(6, 11, 36, 0.85);
  border: 1.5px solid rgba(16, 185, 129, 0.55);
  border-radius: 20px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.35);
  animation: slideResultIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.result-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ready-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.pulse-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.dimensions-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-sub);
  font-family: monospace;
}

/* Giant Tactile Download Button */
.btn-hero-download {
  background: var(--btn-download-grad);
  border: none;
  border-radius: 16px;
  padding: 16px 20px;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5), 0 0 25px rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.btn-hero-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(16, 185, 129, 0.7);
}

.btn-hero-download:active {
  transform: scale(0.97);
}

.dl-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dl-icon-circle svg {
  width: 22px;
  height: 22px;
}

.dl-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.dl-main-text {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.1;
}

.dl-sub-text {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

.result-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-liquid-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 12px;
  padding: 11px;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-liquid-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--liquid-glass-border-highlight);
}

.btn-liquid-secondary:active:not(:disabled) {
  transform: scale(0.97);
}

.btn-liquid-secondary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Primary Convert Button */
.btn-primary-convert {
  background: var(--btn-primary-grad);
  border: none;
  border-radius: 16px;
  padding: 16px 20px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 10px 30px var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.btn-primary-convert:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 14px 35px var(--accent-glow);
}

.btn-primary-convert:active:not(:disabled) {
  transform: scale(0.97);
}

.btn-primary-convert:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.5);
  box-shadow: none;
}

.btn-sparkle {
  font-size: 18px;
}

/* Toast Feedback */
.liquid-toast {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.liquid-toast.success {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
}

.liquid-toast.error {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #f87171;
}

.liquid-toast.loading {
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
}

/* Details Accordion */
.liquid-details {
  border: 1px solid var(--liquid-glass-border);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.liquid-details summary {
  padding: 12px 16px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

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

.details-content {
  padding: 0 14px 12px;
}

.exif-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.exif-data-table tr {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.exif-data-table td {
  padding: 7px 10px;
}

.exif-data-table td.tag {
  color: var(--text-dim);
  font-family: monospace;
  width: 40%;
}

.exif-data-table td.val {
  color: #38bdf8;
  font-weight: 700;
}

/* Batch Mode */
.progress-bar-track {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--btn-primary-grad);
  transition: width 0.2s ease;
}

.batch-list-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}

.batch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11.5px;
}

.batch-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Minimalist Footer */
.ios-app-footer {
  text-align: center;
  padding: 24px 16px 36px;
  font-size: 11.5px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}

.footer-privacy-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-sub);
  font-weight: 700;
}

.footer-copy-text a {
  color: var(--accent-cyan);
  text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .hero-monumental-text {
    font-size: 34px;
  }
  
  .lens-hud-pill {
    right: 2%;
    bottom: -6px;
    padding: 6px 10px;
  }

  .framing-chips-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-sources-grid {
    grid-template-columns: 1fr 1fr;
  }

  .result-actions-row {
    grid-template-columns: 1fr;
  }
}
