  :root {
    --ink: #0e1419;
    --gold: #f6c90e;
    --surface: #151d22;
    --surface-2: #1c272e;
    --muted: #6b7f8a;
    --text: #e8eef2;
    --text-dim: #9fb0bb;
    --success: #22c55e;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: 'Barlow', sans-serif;
    background: var(--ink);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(246, 201, 14, 0.05), transparent 70%);
    pointer-events: none;
  }

  .wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
  }

  /* Header */
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .logo {
    margin-top: 8px;
    height: 40px;
  }

  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
  }

  .back-link:hover {
    color: var(--text);
  }

  .brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--gold);
  }

  /* Title */
  .title-area {
    text-align: center;
    margin-bottom: 3rem;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(246, 201, 14, 0.12);
    border: 1px solid rgba(246, 201, 14, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    margin-bottom: 1.5rem;
  }

  h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  h1 em {
    font-style: normal;
    color: var(--gold);
  }

  .subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
  }

  /* Main card */
  .card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
  }

  .card-body {
    padding: 3rem 2.5rem;
  }

  /* Upload Section */
  .upload-section {
    max-width: 600px;
    margin: 0 auto 3rem;
  }

  .upload-zone {
    border: 2px dashed rgba(246, 201, 14, 0.3);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(246, 201, 14, 0.03);
    margin-bottom: 1.5rem;
  }

  .upload-zone:hover,
  .upload-zone.drag-over {
    border-color: var(--gold);
    background: rgba(246, 201, 14, 0.1);
  }

  .upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
  }

  .upload-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(246, 201, 14, 0.15);
    border: 1px solid rgba(246, 201, 14, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
  }

  .upload-zone:hover .upload-icon {
    transform: translateY(-5px) scale(1.05);
  }

  .upload-icon svg {
    color: var(--gold);
  }

  .upload-zone h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
  }

  .upload-zone p {
    font-size: 1rem;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
  }

  .file-types {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
  }

  .tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 99px;
    background: var(--surface-2);
    color: var(--muted);
    letter-spacing: 0.05em;
  }

  /* File info */
  .file-info {
    display: none;
    align-items: center;
    gap: 1rem;
    background: var(--surface-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
  }

  .file-info.visible {
    display: flex;
  }

  .file-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: contain;
    background: white;
    padding: 4px;
  }

  .file-details {
    flex: 1;
  }

  .file-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text);
  }

  .file-meta {
    font-size: 0.8rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .file-meta svg {
    width: 14px;
    height: 14px;
  }

  .btn-remove {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s;
  }

  .btn-remove:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
  }

  /* Preview Canvas */
  .preview-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-2);
    margin-bottom: 2.5rem;
  }

  .preview-container canvas {
    width: 100%;
    height: auto;
    display: block;
  }

  .preview-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    padding: 3rem 2rem;
  }

  .preview-placeholder .icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .preview-placeholder .icon svg {
    color: var(--muted);
  }

  .preview-placeholder h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dim);
  }

  .preview-placeholder p {
    color: var(--muted);
    max-width: 320px;
    text-align: center;
    line-height: 1.6;
  }

  .preview-loading {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(14, 20, 25, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
  }

  .preview-loading.visible {
    display: flex;
  }

  .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(246, 201, 14, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  .preview-loading span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-dim);
  }

  /* Actions */
  .actions {
    display: none;
    flex-direction: column;
    gap: 1rem;
  }

  .actions.visible {
    display: flex;
  }

  .btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: #25D366;
    color: #fff;
    border-radius: 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    animation: pulseGreen 2s ease-in-out infinite;
  }

  @keyframes pulseGreen {

    0%,
    100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    50% {
      box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
  }

  .btn-whatsapp:hover {
    background: #1ebe5a;
    transform: translateY(-3px);
    animation: none;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
  }

  .btn-whatsapp svg {
    width: 26px;
    height: 26px;
  }

  .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--surface-2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
  }

  .btn-secondary:hover {
    border-color: rgba(246, 201, 14, 0.4);
    color: var(--text);
    background: rgba(246, 201, 14, 0.05);
  }

  .btn-reset {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 0.9rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: color 0.2s;
    text-align: center;
  }

  .btn-reset:hover {
    color: var(--text-dim);
  }

  /* Footer */
  .card-footer {
    padding: 1.5rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(28, 39, 46, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .trust-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
  }

  .trust-item svg {
    color: var(--gold);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
  }

  .counter {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 600;
  }

  .counter strong {
    color: var(--gold);
  }

  /* Responsive */
  @media (max-width: 768px) {
    .card-body {
      padding: 2rem 1.5rem;
    }

    h1 {
      font-size: 2.5rem;
    }

    .upload-zone {
      padding: 2.5rem 1.5rem;
    }

    .btn-whatsapp {
      font-size: 1.2rem;
      padding: 1.125rem 1.5rem;
    }

    .card-footer {
      flex-direction: column;
      align-items: flex-start;
    }

    .trust-row {
      flex-direction: column;
      gap: 1rem;
    }
  }