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

    /* ── Light Mode ── */
    :root {
      --bg: #f4f5f9;
      --surface: #ffffff;
      --card: rgba(255, 255, 255, 0.82);
      --border: #e2e5ed;
      --border-hover: #cbced8;
      --accent: #ff6b2b;
      --accent-soft: rgba(255, 107, 43, 0.08);
      --accent-glow: rgba(255, 107, 43, 0.15);
      --text: #101018;
      --text-dim: #4b5060;
      --muted: #6b7080;
      --success: #059669;
      --success-soft: rgba(5, 150, 105, 0.08);
      --error: #dc2626;
      --error-soft: rgba(220, 38, 38, 0.06);
      --drop-bg: rgba(0, 0, 0, 0.01);
      --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
      --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.05);
      --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.06);
      --noise-opacity: 0.025;
    }

    /* ── Dark Mode ── */
    [data-theme="dark"] {
      --bg: #08080c;
      --surface: #0e0e14;
      --card: rgba(18, 18, 28, 0.78);
      --border: #1a1a28;
      --border-hover: #2a2a3e;
      --text: #eaeaf2;
      --text-dim: #9e9eb8;
      --muted: #55556a;
      --success: #34d399;
      --success-soft: rgba(52, 211, 153, 0.1);
      --error: #ef4444;
      --error-soft: rgba(239, 68, 68, 0.1);
      --drop-bg: rgba(0, 0, 0, 0.5);
      --shadow-sm: none;
      --shadow-md: none;
      --shadow-lg: none;
      --noise-opacity: 0.03;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      min-height: 100vh;
      background: var(--bg);
      color: var(--text);
      font-family: 'Space Grotesk', sans-serif;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      transition: background 0.4s ease, color 0.4s ease;
    }

    /* ── Noise ── */
    .noise {
      position: fixed;
      inset: 0;
      z-index: 0;
      opacity: var(--noise-opacity);
      pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 180px 180px;
    }

    /* ── Orbs ── */
    .orb {
      position: fixed;
      border-radius: 50%;
      filter: blur(100px);
      pointer-events: none;
      z-index: 0;
      will-change: transform;
      transition: background 0.5s ease;
    }

    .orb-1 {
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(255, 107, 43, 0.12), transparent 70%);
      top: -10%;
      left: -8%;
      animation: orbDrift1 18s ease-in-out infinite;
    }

    [data-theme="dark"] .orb-1 {
      background: radial-gradient(circle, rgba(255, 107, 43, 0.14), transparent 70%);
    }

    .orb-2 {
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(45, 212, 191, 0.1), transparent 70%);
      bottom: -12%;
      right: -6%;
      animation: orbDrift2 22s ease-in-out infinite;
    }

    [data-theme="dark"] .orb-2 {
      background: radial-gradient(circle, rgba(45, 212, 191, 0.08), transparent 70%);
    }

    .orb-3 {
      width: 350px;
      height: 350px;
      background: radial-gradient(circle, rgba(120, 100, 255, 0.08), transparent 70%);
      top: 50%;
      left: 55%;
      animation: orbDrift3 15s ease-in-out infinite;
    }

    [data-theme="dark"] .orb-3 {
      background: radial-gradient(circle, rgba(255, 107, 43, 0.06), transparent 70%);
    }

    @keyframes orbDrift1 {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(80px, 60px) scale(1.1); }
      66% { transform: translate(-40px, 30px) scale(0.95); }
    }

    @keyframes orbDrift2 {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(-60px, -40px) scale(1.05); }
      66% { transform: translate(50px, -20px) scale(0.9); }
    }

    @keyframes orbDrift3 {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(-80px, 40px) scale(1.15); }
    }

    /* ══════════════════════════════════════════
       MAIN CONTAINER — 1000px
    ══════════════════════════════════════════ */
    .container {
      width: 100%;
      max-width: 1000px;
      margin: 0 auto;
      padding: 0 32px;
      position: relative;
      z-index: 1;
    }

    .page {
      position: relative;
      z-index: 1;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /* ── Nav ── */
    nav {
      width: 100%;
      max-width: 1000px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24px 32px;
      animation: fadeIn 0.6s ease both;
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      font-size: larger;
      color: var(--text);
    }

    /* Updated CSS for the Image Logo */
    .nav-logo {
      height: 36px;
      width: auto;
      border-radius: 8px;
      transition: transform 0.3s ease;
    }

    .nav-logo:hover {
      transform: rotate(-8deg) scale(1.05);
    }

    .nav-name {
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .ocr-accent {
      color: var(--accent);
      font-weight: 800;
    }
    .ocr-text {
      font-weight: 800;
    }

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

    .nav-badge {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem;
      font-weight: 500;
      padding: 4px 10px;
      border-radius: 100px;
      background: var(--accent-soft);
      color: var(--accent);
      border: 1px solid rgba(255, 107, 43, 0.2);
    }

    .theme-toggle {
      width: 36px;
      height: 36px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--text-dim);
      transition: all 0.3s ease;
      box-shadow: var(--shadow-sm);
    }

    .theme-toggle:hover {
      color: var(--accent);
      border-color: var(--border-hover);
      transform: scale(1.05);
    }

    .theme-toggle svg {
      width: 18px;
      height: 18px;
    }

    /* ── Hero ── */
    .hero {
      text-align: center;
      margin-top: 48px;
      margin-bottom: 40px;
      animation: fadeUp 0.7s ease both;
    }

    .hero-title {
      font-size: clamp(2.8rem, 8vw, 5.5rem);
      font-weight: 700;
      letter-spacing: -0.04em;
      line-height: 1.05;
    }

    .hero-title .dim {
      color: var(--muted);
      font-weight: 300;
    }

    .hero-title .accent {
      color: var(--accent);
    }

    .hero-sub {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.82rem;
      color: var(--text-dim);
      margin-top: 16px;
      letter-spacing: 0.02em;
    }

    .hero-sub span {
      display: inline-block;
      padding: 2px 8px;
      background: var(--accent-soft);
      border-radius: 4px;
      color: var(--accent);
      font-size: 0.75rem;
      margin-left: 6px;
      vertical-align: middle;
    }

    /* ── Feature Badges ── */
    .feature-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 24px;
      justify-content: center;
      animation: fadeUp 0.8s 0.2s ease both;
    }

    .feature-badge {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.7rem;
      font-weight: 500;
      padding: 6px 14px;
      border-radius: 100px;
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--text-dim);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      box-shadow: var(--shadow-sm);
      transition: all 0.2s;
    }

    .feature-badge:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    .feature-badge svg {
      width: 12px;
      height: 12px;
      color: var(--success);
      flex-shrink: 0;
    }

    /* ── Converter Card ── */
    .converter {
      width: 100%;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 40px;
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      position: relative;
      overflow: hidden;
      animation: fadeUp 0.8s 0.1s ease both;
      transition: border-color 0.4s ease, box-shadow 0.4s ease;
      box-shadow: var(--shadow-lg);
    }

    .converter:hover {
      border-color: var(--border-hover);
    }

    .converter-glow {
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.4s ease;
      background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), var(--accent-glow), transparent 50%);
    }

    .converter:hover .converter-glow {
      opacity: 1;
    }

    .converter::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%);
      opacity: 0.4;
    }

    [data-theme="dark"] .converter {
      background: rgba(157, 82, 44, 0.1);
    }

    .dropzone {
      border: 1.5px dashed var(--border);
      border-radius: 14px;
      padding: 52px 28px;
      text-align: center;
      cursor: pointer;
      transition: all 0.35s ease;
      position: relative;
      background: var(--drop-bg);
    }

    .dropzone:hover {
      border-color: rgba(255, 107, 43, 0.4);
      background: var(--accent-soft);
    }

    .dropzone.drag-over {
      border-color: var(--accent);
      background: var(--accent-soft);
      transform: scale(1.01);
      box-shadow: 0 0 40px rgba(255, 107, 43, 0.1);
    }

    .dropzone.has-file {
      border-color: rgba(5, 150, 105, 0.35);
      background: var(--success-soft);
      padding: 28px;
    }

    [data-theme="dark"] .dropzone.has-file {
      border-color: rgba(52, 211, 153, 0.35);
    }

    :root .dropzone.has-file {
      background: rgba(255, 107, 43, 0.06);
    }

    .drop-icon {
      width: 52px;
      height: 52px;
      margin: 0 auto 18px;
      color: var(--muted);
      transition: color 0.3s, transform 0.3s;
    }

    .dropzone:hover .drop-icon {
      color: var(--accent);
      transform: translateY(-4px);
    }

    .drop-title {
      font-size: 1.05rem;
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--text);
    }

    .drop-sub {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      color: var(--muted);
    }

    .drop-sub .browse-link {
      color: var(--accent);
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .file-input {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
      width: 100%;
      height: 100%;
    }

    /* ── File Preview ── */
    .file-preview {
      display: none;
      align-items: center;
      gap: 14px;
      margin-top: 16px;
      animation: fadeUp 0.35s ease both;
    }

    .file-preview.visible {
      display: flex;
    }

    .file-icon-box {
      width: 42px;
      height: 42px;
      background: linear-gradient(135deg, #dc2626, #991b1b);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .file-icon-box svg {
      width: 20px;
      height: 20px;
      color: #fff;
    }

    .file-meta {
      flex: 1;
      min-width: 0;
    }

    .file-name {
      font-weight: 600;
      font-size: 0.88rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .file-size {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.7rem;
      color: var(--muted);
      margin-top: 2px;
    }

    .file-remove {
      width: 30px;
      height: 30px;
      background: none;
      border: 1px solid var(--border);
      border-radius: 8px;
      cursor: pointer;
      color: var(--muted);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      flex-shrink: 0;
    }

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

    .file-remove:hover {
      border-color: var(--error);
      color: var(--error);
      background: var(--error-soft);
    }

    /* ── Language Section ── */
    .lang-section {
      margin-top: 20px;
      animation: fadeUp 0.4s ease both;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .lang-label-box {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-dim);
    }

    .lang-label-box svg {
      width: 16px;
      height: 16px;
      color: var(--accent);
    }

    .custom-select {
      appearance: none;
      -webkit-appearance: none;
      width: 100%;
      padding: 12px 40px 12px 14px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 10px;
      color: var(--text);
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.8rem;
      cursor: pointer;
      transition: border-color 0.2s, box-shadow 0.2s;
      box-shadow: var(--shadow-sm);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7080' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 16px;
    }

    .custom-select:hover {
      border-color: var(--border-hover);
    }

    .custom-select:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-soft);
    }

    .custom-select option {
      background: var(--surface);
      color: var(--text);
    }

    /* ── Convert Button ── */
    .convert-btn {
      width: 100%;
      padding: 16px;
      margin-top: 20px;
      background: var(--accent);
      border: none;
      border-radius: 12px;
      color: #fff;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.2rem;
      font-weight: 600;
      letter-spacing: 0.01em;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      position: relative;
      overflow: hidden;
    }

    .convert-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 60%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
      transition: left 0.5s ease;
    }

    .convert-btn:hover:not(:disabled)::before {
      left: 120%;
    }

    .convert-btn:hover:not(:disabled) {
      transform: translateY(-1px);
      box-shadow: 0 8px 32px rgba(255, 107, 43, 0.35);
    }

    .convert-btn:active:not(:disabled) {
      transform: translateY(0);
    }

    .convert-btn:disabled {
      opacity: 0.4;
      cursor: not-allowed;
      background: var(--muted);
    }

    [data-theme="dark"] .convert-btn:disabled {
      background: var(--border-hover);
    }

    .convert-btn.loading {
      pointer-events: none;
      opacity: 0.8;
    }

    .convert-btn svg {
      width: 18px;
      height: 18px;
    }

    /* ── Progress ── */
    .progress-section {
      display: none;
      margin-top: 20px;
      animation: fadeUp 0.35s ease both;
    }

    .progress-section.visible {
      display: block;
    }

    .progress-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .progress-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      color: var(--text-dim);
    }

    .progress-pct {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      color: var(--accent);
      font-weight: 500;
    }

    .progress-track {
      height: 4px;
      background: var(--border);
      border-radius: 100px;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--accent), #ff9a5c);
      border-radius: 100px;
      width: 0%;
      transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .progress-status {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.7rem;
      color: var(--muted);
      margin-top: 8px;
    }

    /* ── Result ── */
    .result-section {
      display: none;
      margin-top: 20px;
      padding: 24px;
      background: var(--success-soft);
      border: 1px solid rgba(5, 150, 105, 0.2);
      border-radius: 14px;
      text-align: center;
      animation: fadeUp 0.45s ease both;
    }

    [data-theme="dark"] .result-section {
      border-color: rgba(52, 211, 153, 0.2);
    }

    .result-section.visible {
      display: block;
    }

    .result-check {
      width: 48px;
      height: 48px;
      margin: 0 auto 12px;
      background: rgba(5, 150, 105, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    [data-theme="dark"] .result-check {
      background: rgba(52, 211, 153, 0.15);
    }

    .result-check svg {
      width: 24px;
      height: 24px;
      color: var(--success);
      stroke-dasharray: 30;
      stroke-dashoffset: 30;
      animation: drawCheck 0.5s 0.2s ease forwards;
    }

    @keyframes drawCheck {
      to { stroke-dashoffset: 0; }
    }

    .result-title {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--success);
      margin-bottom: 4px;
    }

    .result-sub {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      color: var(--text-dim);
      margin-bottom: 18px;
    }

    .download-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 28px;
      background: var(--success);
      border: none;
      border-radius: 10px;
      color: #fff;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.88rem;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.25s;
    }

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

    .download-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
    }

    .reset-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 12px;
      padding: 8px 16px;
      background: none;
      border: 1px solid var(--border);
      border-radius: 8px;
      color: var(--text-dim);
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.78rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
    }

    .reset-btn:hover {
      border-color: var(--text-dim);
      color: var(--text);
    }

    /* ── Error Inline ── */
    .error-inline {
      display: none;
      align-items: flex-start;
      gap: 10px;
      margin-top: 16px;
      padding: 12px 16px;
      background: var(--error-soft);
      border: 1px solid rgba(220, 38, 38, 0.2);
      border-radius: 10px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.76rem;
      color: var(--error);
      animation: fadeUp 0.3s ease both;
    }

    [data-theme="dark"] .error-inline {
      border-color: rgba(239, 68, 68, 0.2);
    }

    .error-inline.visible {
      display: flex;
    }

    .error-inline svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      margin-top: 1px;
    }

    /* ── Formats Section ── */
    .formats-section {
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid var(--border);
      display: flex;
      gap: 20px;
      justify-content: space-around;
      text-align: center;
    }

    .format-group h4 {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.7rem;
      color: var(--muted);
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .format-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      justify-content: center;
    }

    .format-tag {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.68rem;
      padding: 4px 8px;
      border-radius: 6px;
      background: var(--accent-soft);
      color: var(--accent);
      border: 1px solid rgba(255, 107, 43, 0.15);
    }

    /* ── Steps ── */
    .steps {
      width: 100%;
      margin-top: 48px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      animation: fadeUp 0.9s 0.2s ease both;
    }

    .step {
      padding: 28px 24px;
      background: var(--surface);
      border: 1px solid var(--border);
      text-align: center;
      transition: all 0.3s;
      box-shadow: var(--shadow-sm);
    }

    .step:first-child {
      border-radius: 14px 0 0 14px;
    }

    .step:last-child {
      border-radius: 0 14px 14px 0;
    }

    .step:hover {
      background: var(--surface);
      border-color: var(--border-hover);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .step-num {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 600;
      color: var(--accent);
      letter-spacing: 0.08em;
      margin-bottom: 10px;
    }

    .step-icon {
      width: 28px;
      height: 28px;
      margin: 0 auto 10px;
      color: var(--text-dim);
    }

    .step-label {
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .step-desc {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem;
      color: var(--muted);
      line-height: 1.5;
    }

    /* ── Trust ── */
    .trust {
      width: 100%;
      margin-top: 28px;
      display: flex;
      justify-content: center;
      gap: 28px;
      flex-wrap: wrap;
      animation: fadeUp 1s 0.3s ease both;
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.68rem;
      color: var(--muted);
    }

    .trust-item svg {
      width: 14px;
      height: 14px;
      color: var(--text-dim);
    }

    /* ── Content Section ── */
    .content-section {
      width: 100%;
      margin-top: 64px;
      animation: fadeUp 0.8s ease both;
    }

    .section-title {
      font-size: 1.8rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
      text-align: center;
    }

    .section-subtitle {
      font-size: 0.95rem;
      color: var(--text-dim);
      line-height: 1.7;
      text-align: center;
      max-width: 680px;
      margin: 0 auto 40px;
    }

    .use-cases-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
      gap: 10px;
    }

    .use-case-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 18px 12px;
      text-align: center;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.75rem;
      color: var(--text-dim);
      transition: all 0.3s;
      box-shadow: var(--shadow-sm);
    }

    .use-case-card:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-2px);
    }

    .professionals-list {
      margin-top: 32px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 12px;
    }

    .prof-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 18px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      box-shadow: var(--shadow-sm);
    }

    .prof-item svg {
      width: 18px;
      height: 18px;
      color: var(--accent);
      flex-shrink: 0;
    }

    .prof-item span {
      font-size: 0.85rem;
      font-weight: 500;
    }

    /* ── FAQ ── */
    .faq-section {
      width: 100%;
      margin-top: 64px;
      animation: fadeUp 0.8s ease both;
    }

    details {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      margin-bottom: 8px;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      transition: all 0.3s;
    }

    details[open] {
      border-color: var(--border-hover);
    }

    summary {
      padding: 16px 20px;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      list-style: none;
    }

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

    summary::after {
      content: '+';
      font-size: 1.2rem;
      color: var(--accent);
      font-weight: 300;
      transition: transform 0.3s;
    }

    details[open] summary::after {
      transform: rotate(45deg);
    }

    .faq-content {
      padding: 0 20px 16px;
      font-size: 0.88rem;
      color: var(--text-dim);
      line-height: 1.6;
    }

    /* ── Footer ── */
    footer {
      margin-top: auto;
      padding: 64px 0 32px;
      text-align: center;
      width: 100%;
    }

    .footer-tagline {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-dim);
      margin-bottom: 28px;
      line-height: 1.6;
      max-width: 420px;
      margin-left: auto;
      margin-right: auto;
    }

    .footer-separator {
      width: 40px;
      height: 2px;
      background: var(--border);
      margin: 0 auto 28px;
      border-radius: 2px;
    }

    .footer-links {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
      margin-bottom: 28px;
    }

    .footer-links a {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      color: var(--muted);
      text-decoration: none;
      transition: color 0.2s;
    }

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

    .footer-copy {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem;
      color: var(--muted);
      opacity: 0.5;
    }

    /* ── Toast ── */
    .toast-container {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .toast {
      padding: 12px 18px;
      border-radius: 10px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.78rem;
      display: flex;
      align-items: center;
      gap: 8px;
      animation: toastIn 0.3s ease;
      backdrop-filter: blur(16px);
      border: 1px solid;
      box-shadow: var(--shadow-md);
    }

    .toast svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }

    .toast-error {
      background: var(--error-soft);
      border-color: rgba(220, 38, 38, 0.2);
      color: var(--error);
    }

    .toast-success {
      background: var(--success-soft);
      border-color: rgba(5, 150, 105, 0.2);
      color: var(--success);
    }

    [data-theme="dark"] .toast-error {
      border-color: rgba(239, 68, 68, 0.25);
      color: #fca5a5;
    }

    [data-theme="dark"] .toast-success {
      border-color: rgba(52, 211, 153, 0.25);
      color: #6ee7b7;
    }

    .toast.leaving {
      animation: toastOut 0.3s ease forwards;
    }

    .spinner {
      width: 18px;
      height: 18px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-top-color: white;
      border-radius: 50%;
      animation: spin 0.7s linear infinite;
      display: inline-block;
    }

    /* ── Keyframes ── */
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

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

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

    @keyframes toastIn {
      from { opacity: 0; transform: translateX(40px); }
      to { opacity: 1; transform: translateX(0); }
    }

    @keyframes toastOut {
      to { opacity: 0; transform: translateX(40px); }
    }

    :focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
    }

    /* ══════════════════════════════════════════
       RESPONSIVE — TABLET (≤ 768px)
    ══════════════════════════════════════════ */
    @media (max-width: 768px) {
      .container {
        padding: 0 20px;
      }

      nav {
        padding: 16px 20px;
      }

      .hero {
        margin-top: 32px;
        margin-bottom: 28px;
      }

      .hero-title {
        font-size: clamp(2.2rem, 7vw, 3.5rem);
      }

      .converter {
        padding: 28px 20px;
        border-radius: 16px;
      }

      .dropzone {
        padding: 36px 18px;
      }

      .steps {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 36px;
      }

      .step:first-child,
      .step:last-child {
        border-radius: 12px;
      }

      .step:hover {
        transform: none;
      }

      .trust {
        gap: 14px;
      }

      .formats-section {
        flex-direction: row;
        gap: 16px;
      }

      .use-cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
      }

      .professionals-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      }

      .content-section {
        margin-top: 48px;
      }

      .faq-section {
        margin-top: 48px;
      }

      .section-title {
        font-size: 1.5rem;
      }

      .section-subtitle {
        font-size: 0.88rem;
      }
    }

    /* ══════════════════════════════════════════
       RESPONSIVE — MOBILE (≤ 480px)
    ══════════════════════════════════════════ */
    @media (max-width: 480px) {
      .container {
        padding: 0 14px;
      }

      nav {
        padding: 14px;
      }

      .nav-badge {
        display: none;
      }

      .hero {
        margin-top: 24px;
        margin-bottom: 20px;
      }

      .hero-title {
        font-size: 2rem;
      }

      .hero-sub {
        font-size: 0.72rem;
      }

      .feature-badges {
        flex-direction: column;
        align-items: center;
        gap: 6px;
      }

      .feature-badge {
        font-size: 0.65rem;
        padding: 5px 10px;
      }

      .converter {
        padding: 20px 14px;
        border-radius: 14px;
      }

      .dropzone {
        padding: 28px 14px;
      }

      .drop-title {
        font-size: 0.92rem;
      }

      .drop-sub {
        font-size: 0.65rem;
      }

      .convert-btn {
        padding: 14px;
        font-size: 0.88rem;
      }

      .steps {
        margin-top: 28px;
      }

      .step {
        padding: 20px 16px;
      }

      .trust {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
      }

      .formats-section {
        flex-direction: column;
        gap: 14px;
      }

      .content-section {
        margin-top: 36px;
      }

      .section-title {
        font-size: 1.3rem;
      }

      .section-subtitle {
        font-size: 0.82rem;
      }

      .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
      }

      .use-case-card {
        padding: 14px 8px;
        font-size: 0.68rem;
      }

      .professionals-list {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .prof-item {
        padding: 12px 14px;
      }

      .prof-item span {
        font-size: 0.8rem;
      }

      .faq-section {
        margin-top: 36px;
      }

      summary {
        font-size: 0.88rem;
        padding: 14px 16px;
      }

      .faq-content {
        font-size: 0.82rem;
        padding: 0 16px 14px;
      }

      footer {
        padding: 48px 0 24px;
      }

      .footer-tagline {
        font-size: 0.85rem;
      }

      .footer-links {
        gap: 12px;
      }

      .footer-links a {
        font-size: 0.65rem;
      }
    }
