:root {
  --bg-page: #08080a;
  --bg-panel: #0f0f14;
  --bg-surface: #14141c;
  --bg-card: #181824;
  --bg-input: #0b0b10;
  --bg-input-focus: #111118;

  --violet-primary: #8b5cf6;
  --violet-hover: #9f75ff;
  --violet-glow: rgba(139, 92, 246, 0.25);
  --violet-soft: rgba(139, 92, 246, 0.08);

  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-700: #3f3f46;
  --zinc-800: #27272a;
  --zinc-900: #18181b;

  --border-hairline: rgba(255, 255, 255, 0.07);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-focus: #8b5cf6;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-page);
  color: var(--zinc-100);
  font-family: var(--font-sans);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ============================================================
   INTRO ANIMADA LINEAR / VERCEL
============================================================ */
.linear-intro {
  position: fixed;
  inset: 0;
  background: #060608;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
}

.linear-intro.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.intro-glyph {
  width: 48px;
  height: 48px;
  color: var(--violet-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseGlyph 1.5s infinite alternate ease-in-out;
}

.intro-glyph svg {
  width: 40px;
  height: 40px;
}

.intro-loader {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.intro-loader-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, transparent, var(--violet-primary), transparent);
  animation: sweepLine 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes pulseGlyph {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 16px var(--violet-primary)); }
}

@keyframes sweepLine {
  0% { width: 0%; left: 0%; }
  50% { width: 60%; left: 20%; }
  100% { width: 100%; left: 0%; }
}

/* ============================================================
   AMBIENT BACKGROUND
============================================================ */
.ambient-glow-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-spotlight {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 550px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(139, 92, 246, 0.16) 0%, rgba(10, 10, 16, 0) 100%);
  filter: blur(80px);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at top center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at top center, black, transparent 80%);
}

/* ============================================================
   LAYOUT CONTAINER & SCREENS
============================================================ */
.app-layout {
  position: relative;
  z-index: 10;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 80px 24px;
}

.view-screen {
  animation: screenFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ============================================================
   NAVBAR
============================================================ */
.linear-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(15, 15, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  margin-bottom: 40px;
}

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

.brand-logo {
  width: 30px;
  height: 30px;
  background: #181822;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-primary);
}

.brand-logo svg {
  width: 18px;
  height: 18px;
}

.brand-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-version {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--zinc-500);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-hairline);
}

.stock-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
}

.stock-indicator {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* ============================================================
   HERO
============================================================ */
.linear-hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.22);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-chip svg {
  width: 14px;
  height: 14px;
  color: var(--violet-primary);
}

.hero-heading {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-heading span {
  background: linear-gradient(135deg, #ffffff 40%, var(--violet-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheading {
  font-size: 15px;
  color: var(--zinc-400);
  line-height: 1.6;
  font-weight: 400;
}

/* ============================================================
   SCREEN 1: PRODUCT CATALOG
============================================================ */
.catalog-grid {
  max-width: 840px;
  margin: 0 auto 40px auto;
}

.catalog-item-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.catalog-item-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--violet-glow);
  transform: translateY(-2px);
}

.card-item-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-grow: 1;
}

.gemini-icon-wrapper {
  width: 64px;
  height: 64px;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.25) 0%, rgba(139, 92, 246, 0.05) 70%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-primary);
  flex-shrink: 0;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
}

.gemini-svg-purple {
  width: 38px;
  height: 38px;
  color: var(--violet-primary);
}

.title-with-gemini {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.gemini-title-icon {
  width: 26px;
  height: 26px;
  color: var(--violet-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px var(--violet-glow));
}

.gemini-title-icon svg {
  width: 22px;
  height: 22px;
}

.item-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.item-stock-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}

.tag-dot {
  width: 5px;
  height: 5px;
  background: #10b981;
  border-radius: 50%;
}

.item-description {
  font-size: 13.5px;
  color: var(--zinc-400);
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 480px;
}

.item-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--zinc-300);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  padding: 3px 8px;
  border-radius: 6px;
}

.feature-tag svg {
  width: 12px;
  height: 12px;
  color: var(--violet-primary);
}

.card-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

.item-pricing {
  text-align: right;
}

.price-prefix {
  display: block;
  font-size: 11px;
  color: var(--zinc-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.item-price-val {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.price-currency-tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--zinc-400);
  margin-left: 2px;
}

.btn-select-product {
  padding: 12px 20px;
  white-space: nowrap;
}

/* ============================================================
   SCREEN BACK BAR (NAVIGATION BREADCRUMB)
============================================================ */
.screen-back-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.btn-step-back {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--zinc-300);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-step-back svg {
  width: 14px;
  height: 14px;
}

.btn-step-back:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: var(--border-subtle);
}

.step-indicator-text {
  font-size: 12px;
  color: var(--zinc-500);
  font-weight: 500;
}

/* ============================================================
   SCREEN 2 & 3: CHECKOUT & PAYMENT
============================================================ */
.checkout-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 48px;
}

.panel-summary {
  background: var(--bg-panel);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: 28px;
  position: sticky;
  top: 24px;
}

.product-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--violet-primary);
  margin-bottom: 8px;
}

.prod-summary-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.gemini-mini-icon {
  width: 24px;
  height: 24px;
  color: var(--violet-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gemini-mini-icon svg {
  width: 20px;
  height: 20px;
}

.summary-item-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.summary-item-desc {
  font-size: 13px;
  color: var(--zinc-400);
  line-height: 1.5;
  margin-bottom: 20px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
}

.pricing-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-val {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.price-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--zinc-400);
}

.price-caption {
  display: block;
  font-size: 11.5px;
  color: var(--zinc-500);
  margin-top: 2px;
}

.line-items-table {
  margin-bottom: 24px;
}

.line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--zinc-400);
}

.item-cost {
  color: var(--zinc-200);
  font-weight: 500;
}

.item-free {
  color: #34d399;
  font-weight: 500;
}

.line-separator {
  height: 1px;
  background: var(--border-hairline);
  margin: 8px 0;
}

.total-item {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding-top: 4px;
}

.total-val {
  color: #ffffff;
  font-weight: 700;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-hairline);
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--zinc-400);
}

.spec-row svg {
  width: 16px;
  height: 16px;
  color: var(--violet-primary);
  flex-shrink: 0;
}

/* PANEL DERECHO: FORMULARIO */
.panel-form {
  background: var(--bg-panel);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: 32px;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-hairline);
}

.form-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.form-header-title svg {
  width: 18px;
  height: 18px;
  color: var(--violet-primary);
}

.form-header-title h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stock-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--zinc-300);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  background: var(--violet-primary);
  border-radius: 50%;
}

/* BLOCK LABELS & INPUTS */
.input-block {
  margin-bottom: 22px;
}

.block-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.input-block label {
  font-size: 13px;
  font-weight: 600;
  color: var(--zinc-200);
}

.label-sub {
  font-size: 11.5px;
  color: var(--zinc-500);
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--zinc-500);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.input-icon svg {
  width: 16px;
  height: 16px;
}

.linear-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 12px 14px 12px 40px;
  border-radius: 9px;
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 400;
  transition: all 0.15s ease;
}

.linear-input:focus {
  outline: none;
  background: var(--bg-input-focus);
  border-color: var(--border-focus);
  box-shadow: 0 0 0 1px var(--border-focus), 0 0 16px var(--violet-glow);
}

.input-note {
  display: block;
  font-size: 11.5px;
  color: var(--zinc-500);
  margin-top: 6px;
}

/* ============================================================
   PACKAGES SELECTOR (GRID & DISABLED STATES)
============================================================ */
.packages-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pkg-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
  position: relative;
}

.pkg-card:hover:not(.disabled) {
  border-color: var(--border-subtle);
  background: #181824;
}

.pkg-card.active {
  background: var(--violet-soft);
  border-color: var(--violet-primary);
  box-shadow: 0 0 0 1px var(--violet-primary);
}

.pkg-card.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: rgba(18, 18, 24, 0.4);
  border-color: rgba(255, 255, 255, 0.04);
}

.pkg-card.disabled .pkg-check {
  border-color: rgba(255, 255, 255, 0.1);
  background: transparent;
}

.pkg-check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.15s ease;
  margin-right: 12px;
  flex-shrink: 0;
}

.pkg-check svg {
  width: 12px;
  height: 12px;
}

.pkg-card.active .pkg-check {
  background: var(--violet-primary);
  border-color: var(--violet-primary);
  color: #ffffff;
}

.pkg-body {
  flex-grow: 1;
}

.pkg-name {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.pkg-desc {
  display: block;
  font-size: 11px;
  color: var(--zinc-500);
}

.pkg-card.active .pkg-desc {
  color: var(--violet-hover);
}

.pkg-card.disabled .pkg-desc {
  color: #ef4444;
}

.pkg-cost {
  font-size: 15px;
  font-weight: 700;
  color: var(--zinc-300);
}

.pkg-card.active .pkg-cost {
  color: #ffffff;
}

/* ============================================================
   SCREEN 3: PAYMENT SCREEN
============================================================ */
.payment-view-container {
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.order-recap-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.recap-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recap-label {
  font-size: 11px;
  color: var(--zinc-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.recap-val-with-icon {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gemini-nano-icon {
  width: 16px;
  height: 16px;
  color: var(--violet-primary);
  display: flex;
  align-items: center;
}

.gemini-nano-icon svg {
  width: 14px;
  height: 14px;
}

.recap-col strong {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 600;
}

.total-highlight {
  color: #38bdf8 !important;
  font-weight: 700 !important;
}

.bank-ledger {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.ledger-row:last-child {
  border-bottom: none;
}

.ledger-key {
  color: var(--zinc-400);
  font-size: 12px;
}

.ledger-val {
  color: #ffffff;
  font-weight: 500;
}

.ledger-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.code-val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: #38bdf8;
  background: #09090e;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  width: fit-content;
}

.concept-val {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.2);
}

.btn-copy-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--zinc-300);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.btn-copy-action svg {
  width: 12px;
  height: 12px;
}

.btn-copy-action:hover {
  background: var(--violet-primary);
  color: #ffffff;
  border-color: var(--violet-primary);
}

/* UPLOAD AREA */
.upload-linear-area {
  border: 1px dashed var(--border-subtle);
  background: var(--bg-input);
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 22px;
}

.upload-linear-area:hover, .upload-linear-area.dragover {
  border-color: var(--violet-primary);
  background: var(--violet-soft);
}

.upload-symbol {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
  color: var(--violet-primary);
}

.upload-symbol svg {
  width: 18px;
  height: 18px;
}

.upload-primary-text {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 2px;
}

.upload-secondary-text {
  display: block;
  font-size: 11.5px;
  color: var(--zinc-500);
}

.upload-filled-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.upload-filled-state img {
  max-height: 160px;
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border-hairline);
}

.file-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--zinc-300);
}

.btn-file-remove {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-file-remove svg {
  width: 10px;
  height: 10px;
}

/* ============================================================
   BUTTONS
============================================================ */
.linear-btn-primary {
  width: 100%;
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 13px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.linear-btn-primary svg {
  width: 16px;
  height: 16px;
}

.linear-btn-primary:hover:not(:disabled) {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.btn-submit-full:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.badge-spei {
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet-primary);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

/* SPINNER */
.linear-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000000;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   SCREEN 4: SUCCESS
============================================================ */
.success-screen-wrapper {
  max-width: 480px;
  margin: 40px auto;
}

.linear-modal-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.modal-status-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  color: #34d399;
}

.modal-status-icon svg {
  width: 24px;
  height: 24px;
}

.linear-modal-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 13.5px;
  color: var(--zinc-400);
  margin-bottom: 20px;
}

.modal-summary-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  margin-bottom: 18px;
}

.modal-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}

.modal-row span {
  color: var(--zinc-400);
}

.modal-row strong {
  color: #ffffff;
}

.status-pill-waiting {
  color: #fbbf24;
  font-weight: 600;
}

.modal-info-box {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--zinc-400);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 24px;
  text-align: left;
  line-height: 1.5;
}

.modal-info-box svg {
  width: 16px;
  height: 16px;
  color: var(--violet-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   FOOTER & TOAST
============================================================ */
.linear-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-hairline);
  font-size: 12px;
  color: var(--zinc-600);
}

.footer-links {
  display: flex;
  gap: 8px;
}

.linear-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #14141c;
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 20000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.linear-toast svg {
  width: 14px;
  height: 14px;
  color: #34d399;
}

.hidden {
  display: none !important;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 860px) {
  .catalog-item-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }
  .card-item-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .card-item-right {
    width: 100%;
    align-items: stretch;
  }
  .item-pricing {
    text-align: left;
    margin-bottom: 6px;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .panel-summary {
    position: static;
  }
  .packages-selector {
    grid-template-columns: 1fr;
  }
  .order-recap-banner {
    grid-template-columns: 1fr;
  }
  .hero-heading {
    font-size: 28px;
  }
}
