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

    :root {
      --bg: #f2f5f7;
      --bg2: #e8edf0;
      --surface: #ffffff;
      --surface2: #f7fafa;
      --border: #d0dade;
      --border2: #b8c8cc;
      --teal: #0d7377;
      --teal-dark: #095a5e;
      --teal-light: #14a7ad;
      --teal-pale: #e0f4f5;
      --teal-pale2: #bde8ea;
      --amber: #b45309;
      --amber2: #d97706;
      --amber-pale: #fef3c7;
      --amber-pale2: #fde68a;
      --slate: #1a2535;
      --slate2: #2d3f55;
      --muted: #5a6e82;
      --muted2: #8fa0b0;
      --success: #047857;
      --success-bg: #d1fae5;
      --error: #b91c1c;
      --error-bg: #fee2e2;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: var(--bg);
      color: var(--slate);
      line-height: 1.6;
      overflow-x: hidden;
    }

    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--teal), var(--teal-light) 50%, var(--amber2));
      z-index: 300;
    }

    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        linear-gradient(rgba(13, 115, 119, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 115, 119, .025) 1px, transparent 1px);
      background-size: 44px 44px;
      pointer-events: none;
      z-index: 0;
    }

    * {
      position: relative;
      z-index: 1;
    }

    /* ─── HEADER ─── */
    header {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 4px rgba(13, 115, 119, .08);
      position: sticky;
      top: 3px;
      z-index: 100;
    }

    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 66px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 11px;
      text-decoration: none;
    }

    .logo-icon {
      width: 38px;
      height: 38px;
      background: var(--teal);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 500;
      color: #fff;
      letter-spacing: -.3px;
      box-shadow: 0 2px 8px rgba(13, 115, 119, .3);
    }

    .logo-text {
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--slate);
      letter-spacing: -.4px;
    }

    .logo-text span {
      color: var(--teal);
    }

    nav {
      display: flex;
      align-items: center;
      gap: 1.8rem;
    }

    nav a {
      color: var(--muted);
      text-decoration: none;
      font-size: .875rem;
      font-weight: 600;
      transition: color .18s;
    }

    nav a:hover {
      color: var(--slate);
    }

    .nav-cta {
      background: var(--teal) !important;
      color: #fff !important;
      padding: 9px 20px;
      border-radius: 8px;
      font-size: .84rem !important;
      font-weight: 700 !important;
      box-shadow: 0 2px 10px rgba(13, 115, 119, .28);
      transition: background .18s, box-shadow .18s, transform .12s !important;
    }

    .nav-cta:hover {
      background: var(--teal-dark) !important;
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(13, 115, 119, .38) !important;
    }

    /* ─── HERO ─── */
    .hero {
      max-width: 1200px;
      margin: 0 auto;
      padding: 72px 2rem 52px;
      text-align: center;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--teal-pale);
      border: 1px solid var(--teal-pale2);
      border-radius: 100px;
      padding: 6px 16px;
      font-size: .74rem;
      font-weight: 700;
      color: var(--teal-dark);
      letter-spacing: .6px;
      text-transform: uppercase;
      margin-bottom: 26px;
      animation: fadeUp .5s ease both;
    }

    .badge-dot {
      width: 7px;
      height: 7px;
      background: var(--success);
      border-radius: 50%;
      animation: pulse 2s ease infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1
      }

      50% {
        opacity: .3
      }
    }

    h1 {
      font-size: clamp(2.2rem, 5.5vw, 3.9rem);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -1.5px;
      color: var(--slate);
      margin-bottom: 18px;
      animation: fadeUp .5s .08s ease both;
    }

    h1 .hl {
      color: var(--teal);
    }

    .underline-bar {
      display: block;
      width: 220px;
      height: 4px;
      margin: 10px auto 0;
      background: linear-gradient(90deg, var(--teal), var(--amber2));
      border-radius: 2px;
      animation: slideIn .6s .4s ease both;
      transform-origin: left;
      transform: scaleX(0);
    }

    @keyframes slideIn {
      to {
        transform: scaleX(1)
      }
    }

    .hero-sub {
      font-size: 1.04rem;
      color: var(--muted);
      max-width: 510px;
      margin: 16px auto 52px;
      line-height: 1.78;
      animation: fadeUp .5s .15s ease both;
    }

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

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    /* ─── TOOL ─── */
    .tool-wrapper {
      max-width: 1080px;
      margin: 0 auto;
      padding: 0 2rem 72px;
      animation: fadeUp .5s .22s ease both;
    }

    .tool-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 8px 32px rgba(13, 115, 119, .1), 0 24px 64px rgba(0, 0, 0, .07);
    }

    .tab-bar {
      background: var(--surface2);
      border-bottom: 1px solid var(--border);
      display: flex;
      padding: 12px 16px 0;
      gap: 4px;
    }

    .tab-btn {
      padding: 10px 22px;
      background: transparent;
      border: 1px solid transparent;
      border-bottom: none;
      border-radius: 10px 10px 0 0;
      color: var(--muted);
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: .855rem;
      font-weight: 700;
      cursor: pointer;
      transition: all .18s;
    }

    .tab-btn:hover:not(.active) {
      color: var(--slate);
      background: rgba(13, 115, 119, .06);
    }

    .tab-btn.active {
      background: var(--surface);
      color: var(--teal);
      border-color: var(--border);
      border-bottom-color: var(--surface);
      margin-bottom: -1px;
      position: relative;
      z-index: 2;
    }

    .panel-body {
      padding: 28px;
    }

    .io-grid {
      display: grid;
      grid-template-columns: 1fr 60px 1fr;
      gap: 16px;
      align-items: start;
    }

    .io-col {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .io-label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: .71rem;
      font-weight: 700;
      letter-spacing: .9px;
      text-transform: uppercase;
      color: var(--muted);
    }

    .char-count {
      font-family: 'JetBrains Mono', monospace;
      font-size: .69rem;
      color: var(--muted2);
      font-weight: 400;
    }

    textarea {
      width: 100%;
      min-height: 210px;
      background: var(--surface2);
      border: 1.5px solid var(--border);
      border-radius: 12px;
      padding: 14px 16px;
      color: var(--slate);
      font-family: 'JetBrains Mono', monospace;
      font-size: .8rem;
      line-height: 1.75;
      resize: vertical;
      outline: none;
      transition: border-color .18s, box-shadow .18s, background .18s;
    }

    textarea:focus {
      border-color: var(--teal);
      background: var(--surface);
      box-shadow: 0 0 0 3px rgba(13, 115, 119, .1);
    }

    textarea[readonly] {
      background: #eef8f8;
      color: var(--slate2);
    }

    textarea::placeholder {
      color: var(--muted2);
    }

    .arrow-col {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding-top: 34px;
      gap: 8px;
    }

    .convert-btn {
      width: 46px;
      height: 46px;
      background: var(--teal);
      border: none;
      border-radius: 13px;
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 14px rgba(13, 115, 119, .3);
      transition: transform .15s, box-shadow .2s, background .18s;
    }

    .convert-btn:hover {
      background: var(--teal-dark);
      transform: scale(1.08);
      box-shadow: 0 6px 20px rgba(13, 115, 119, .42);
    }

    .convert-btn:active {
      transform: scale(.94);
    }

    .convert-btn svg {
      transition: transform .25s;
    }

    .convert-btn:hover svg {
      transform: rotate(180deg);
    }

    .action-bar {
      display: flex;
      align-items: center;
      gap: 7px;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 8px 15px;
      border-radius: 8px;
      border: 1.5px solid var(--border);
      background: var(--surface);
      color: var(--slate2);
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: .79rem;
      font-weight: 600;
      cursor: pointer;
      transition: all .15s;
    }

    .btn:hover {
      border-color: var(--teal);
      color: var(--teal);
      background: var(--teal-pale);
    }

    .btn-primary {
      background: var(--teal);
      color: #fff;
      border-color: var(--teal);
      box-shadow: 0 2px 8px rgba(13, 115, 119, .22);
    }

    .btn-primary:hover {
      background: var(--teal-dark);
      border-color: var(--teal-dark);
      color: #fff;
      box-shadow: 0 4px 14px rgba(13, 115, 119, .32);
      transform: translateY(-1px);
    }

    .btn-amber {
      background: var(--amber-pale);
      color: var(--amber);
      border-color: var(--amber-pale2);
    }

    .btn-amber:hover {
      background: var(--amber-pale2);
      border-color: var(--amber2);
      color: var(--amber);
    }

    .btn-ghost {
      background: transparent;
      border-color: var(--border);
      color: var(--muted);
    }

    .btn-ghost:hover {
      background: var(--bg2);
      border-color: var(--border2);
      color: var(--slate);
    }

    .status-bar {
      padding: 0 28px 20px;
      min-height: 42px;
      display: flex;
      align-items: center;
    }

    .status-msg {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .79rem;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 8px;
      opacity: 0;
      transform: translateY(4px);
      transition: all .22s;
    }

    .status-msg.show {
      opacity: 1;
      transform: translateY(0);
    }

    .status-msg.success {
      background: var(--success-bg);
      color: var(--success);
    }

    .status-msg.error {
      background: var(--error-bg);
      color: var(--error);
    }

    .file-zone {
      border: 2px dashed var(--border2);
      border-radius: 16px;
      padding: 56px 28px;
      text-align: center;
      cursor: pointer;
      background: var(--surface2);
      transition: all .2s;
    }

    .file-zone:hover,
    .file-zone.drag {
      border-color: var(--teal);
      background: var(--teal-pale);
    }

    .file-icon {
      font-size: 2.5rem;
      margin-bottom: 14px;
    }

    .file-zone h3 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--slate);
      margin-bottom: 6px;
    }

    .file-zone p {
      font-size: .82rem;
      color: var(--muted);
    }

    #fileInput {
      display: none;
    }

    .file-result {
      margin-top: 20px;
      display: none;
    }

    /* ─── STATS ─── */
    .stats-strip {
      max-width: 1080px;
      margin: 0 auto 72px;
      padding: 0 2rem;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }

    .stat-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 20px 22px;
      box-shadow: 0 1px 4px rgba(13, 115, 119, .07);
      transition: transform .18s, box-shadow .18s;
    }

    .stat-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(13, 115, 119, .12);
    }

    .stat-num {
      font-size: 1.85rem;
      font-weight: 800;
      letter-spacing: -.8px;
      color: var(--teal);
    }

    .stat-label {
      font-size: .75rem;
      color: var(--muted);
      font-weight: 600;
      margin-top: 3px;
    }

    /* ─── SECTIONS ─── */
    .section {
      max-width: 1080px;
      margin: 0 auto;
      padding: 0 2rem 80px;
    }

    .section-head {
      text-align: center;
      margin-bottom: 48px;
    }

    .section-tag {
      display: inline-block;
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: 1.3px;
      text-transform: uppercase;
      color: var(--teal);
      background: var(--teal-pale);
      border: 1px solid var(--teal-pale2);
      border-radius: 100px;
      padding: 4px 13px;
      margin-bottom: 14px;
    }

    h2 {
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 800;
      letter-spacing: -.8px;
      color: var(--slate);
      margin-bottom: 12px;
    }

    .section-sub {
      font-size: .92rem;
      color: var(--muted);
      max-width: 480px;
      margin: 0 auto;
      line-height: 1.76;
    }

    /* Features */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .feat-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 26px 24px;
      box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
      transition: transform .2s, box-shadow .2s, border-color .2s;
    }

    .feat-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 28px rgba(13, 115, 119, .12);
      border-color: var(--teal-pale2);
    }

    .feat-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      margin-bottom: 15px;
      background: var(--teal-pale);
    }

    .feat-icon.amber {
      background: var(--amber-pale);
    }

    .feat-icon.gray {
      background: var(--bg2);
    }

    .feat-card h3 {
      font-size: .92rem;
      font-weight: 700;
      margin-bottom: 7px;
      color: var(--slate);
    }

    .feat-card p {
      font-size: .81rem;
      color: var(--muted);
      line-height: 1.7;
    }

    /* Steps */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      position: relative;
    }

    .steps-grid::before {
      content: '';
      position: absolute;
      top: 29px;
      left: calc(16.67% + 22px);
      right: calc(16.67% + 22px);
      height: 2px;
      background: linear-gradient(90deg, var(--teal-pale2), var(--teal), var(--teal-pale2));
    }

    .step {
      text-align: center;
      padding: 0 20px;
    }

    .step-num {
      width: 58px;
      height: 58px;
      background: var(--teal);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      font-size: 1.05rem;
      font-weight: 800;
      color: #fff;
      box-shadow: 0 4px 16px rgba(13, 115, 119, .28);
      position: relative;
      z-index: 2;
    }

    .step h3 {
      font-size: .92rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--slate);
    }

    .step p {
      font-size: .81rem;
      color: var(--muted);
      line-height: 1.68;
    }

    /* Use cases */
    .use-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .use-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 26px;
      display: flex;
      gap: 16px;
      box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
      transition: transform .2s, box-shadow .2s, border-color .2s;
    }

    .use-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 28px rgba(13, 115, 119, .1);
      border-color: var(--teal-pale2);
    }

    .use-num {
      font-size: 2.2rem;
      font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      color: var(--teal-pale2);
      line-height: 1;
      flex-shrink: 0;
    }

    .use-card h3 {
      font-size: .92rem;
      font-weight: 700;
      margin-bottom: 7px;
      color: var(--slate);
    }

    .use-card p {
      font-size: .81rem;
      color: var(--muted);
      line-height: 1.68;
    }

    /* About */
    .about-inner {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 52px;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 48px;
      align-items: start;
      box-shadow: 0 4px 20px rgba(13, 115, 119, .08);
    }

    .about-inner h2 {
      text-align: left;
      margin-bottom: 16px;
    }

    .about-inner p {
      font-size: .86rem;
      color: var(--muted);
      line-height: 1.82;
      margin-bottom: 13px;
    }

    .about-visual {
      background: var(--slate);
      border-radius: 14px;
      padding: 24px;
      font-family: 'JetBrains Mono', monospace;
      font-size: .75rem;
      line-height: 2;
      overflow: hidden;
    }

    .mono-line .k {
      color: #7dd3fc;
    }

    .mono-line .s {
      color: #86efac;
    }

    .mono-line .v {
      color: #fde68a;
    }

    .mono-line .c {
      color: #475569;
      font-style: italic;
    }

    .mono-line {
      color: #cbd5e1;
    }

    /* FAQ */
    .faq-list {
      max-width: 720px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .faq-item {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
      transition: border-color .2s, box-shadow .2s;
    }

    .faq-item:hover {
      border-color: var(--teal-pale2);
    }

    .faq-item.open {
      border-color: var(--teal);
      box-shadow: 0 0 0 3px rgba(13, 115, 119, .08);
    }

    .faq-q {
      width: 100%;
      background: none;
      border: none;
      color: var(--slate);
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: .91rem;
      font-weight: 700;
      text-align: left;
      padding: 18px 20px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      transition: color .18s;
    }

    .faq-item.open .faq-q {
      color: var(--teal);
    }

    .faq-arrow {
      width: 26px;
      height: 26px;
      background: var(--bg2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .6rem;
      flex-shrink: 0;
      color: var(--muted);
      transition: transform .25s, background .2s, color .2s;
    }

    .faq-item.open .faq-arrow {
      transform: rotate(180deg);
      background: var(--teal);
      color: #fff;
    }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height .3s ease, padding .3s ease;
      font-size: .83rem;
      color: var(--muted);
      line-height: 1.8;
    }

    .faq-item.open .faq-a {
      max-height: 300px;
      padding: 0 20px 18px;
    }

    code {
      background: var(--teal-pale);
      color: var(--teal-dark);
      font-family: 'JetBrains Mono', monospace;
      font-size: .78em;
      padding: 1px 5px;
      border-radius: 4px;
    }

    /* Benefits */
    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }

    .benefit-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 30px 28px;
      display: flex;
      gap: 20px;
      align-items: flex-start;
      box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
      transition: transform .2s, box-shadow .2s, border-color .2s;
    }

    .benefit-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 30px rgba(13, 115, 119, .12);
      border-color: var(--teal-pale2);
    }

    .benefit-icon-wrap {
      width: 52px;
      height: 52px;
      flex-shrink: 0;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      background: var(--teal-pale);
    }

    .benefit-icon-wrap.amber {
      background: var(--amber-pale);
    }

    .benefit-icon-wrap.slate {
      background: var(--bg2);
    }

    .benefit-card h3 {
      font-size: .94rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--slate);
    }

    .benefit-card p {
      font-size: .81rem;
      color: var(--muted);
      line-height: 1.72;
    }

    .benefit-tag {
      display: inline-block;
      font-size: .64rem;
      font-weight: 700;
      letter-spacing: .8px;
      text-transform: uppercase;
      background: var(--teal-pale);
      color: var(--teal-dark);
      border-radius: 6px;
      padding: 2px 8px;
      margin-bottom: 8px;
    }

    .benefit-tag.amber {
      background: var(--amber-pale);
      color: var(--amber);
    }

    /* Examples */
    .examples-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .example-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
      transition: box-shadow .2s, border-color .2s;
    }

    .example-card:hover {
      box-shadow: 0 8px 28px rgba(13, 115, 119, .1);
      border-color: var(--teal-pale2);
    }

    .example-header {
      padding: 18px 24px;
      background: var(--surface2);
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .example-header h3 {
      font-size: .92rem;
      font-weight: 700;
      color: var(--slate);
    }

    .example-tag {
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .8px;
      text-transform: uppercase;
      background: var(--teal-pale);
      color: var(--teal-dark);
      border: 1px solid var(--teal-pale2);
      border-radius: 6px;
      padding: 3px 10px;
    }

    .example-body {
      padding: 24px;
    }

    .example-row {
      display: grid;
      grid-template-columns: 1fr 40px 1fr;
      gap: 14px;
      align-items: center;
      margin-bottom: 14px;
    }

    .example-row:last-child {
      margin-bottom: 0;
    }

    .ex-label {
      font-size: .67rem;
      font-weight: 700;
      letter-spacing: .9px;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 6px;
    }

    .ex-value {
      background: var(--surface2);
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 10px 14px;
      font-family: 'JetBrains Mono', monospace;
      font-size: .78rem;
      color: var(--slate);
      word-break: break-all;
      line-height: 1.6;
      position: relative;
    }

    .ex-value.output {
      background: #eef8f8;
      border-color: var(--teal-pale2);
      color: var(--teal-dark);
    }

    .ex-arrow {
      text-align: center;
      font-size: 1.2rem;
      color: var(--teal-pale2);
    }

    .ex-copy-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      margin-top: 8px;
      padding: 5px 12px;
      border-radius: 7px;
      border: 1.5px solid var(--border);
      background: var(--surface);
      color: var(--muted);
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: .72rem;
      font-weight: 700;
      cursor: pointer;
      transition: all .15s;
    }

    .ex-copy-btn:hover {
      border-color: var(--teal);
      color: var(--teal);
      background: var(--teal-pale);
    }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

    /* ─── RESPONSIVE ─── */
    @media(max-width:900px) {
      .io-grid {
        grid-template-columns: 1fr;
      }

      .arrow-col {
        padding: 0;
        flex-direction: row;
        justify-content: center;
      }

      .convert-btn svg {
        transform: rotate(90deg) !important;
      }

      .convert-btn:hover svg {
        transform: rotate(90deg) !important;
      }

      .features-grid {
        grid-template-columns: 1fr 1fr;
      }

      .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .steps-grid::before {
        display: none;
      }

      .use-grid {
        grid-template-columns: 1fr;
      }

      .about-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
      }

      .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
      }

      .stats-strip {
        grid-template-columns: 1fr 1fr;
      }

      .benefits-grid {
        grid-template-columns: 1fr;
      }

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

      .ex-arrow {
        transform: rotate(90deg);
      }

      nav {
        display: none;
      }
    }

    @media(max-width:560px) {
      .features-grid {
        grid-template-columns: 1fr;
      }

      .footer-top {
        grid-template-columns: 1fr;
      }
    }
  
    

      /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg:        #f2f5f7;
      --bg2:       #e8edf0;
      --surface:   #ffffff;
      --surface2:  #f7fafa;
      --border:    #d0dade;
      --border2:   #b8c8cc;
      --teal:      #0d7377;
      --teal-dark: #095a5e;
      --teal-light:#14a7ad;
      --teal-pale: #e0f4f5;
      --teal-pale2:#bde8ea;
      --amber:     #b45309;
      --amber2:    #d97706;
      --amber-pale:#fef3c7;
      --amber-pale2:#fde68a;
      --slate:     #1a2535;
      --slate2:    #2d3f55;
      --muted:     #5a6e82;
      --muted2:    #8fa0b0;
      --success:   #047857;
      --success-bg:#d1fae5;
      --error:     #b91c1c;
      --error-bg:  #fee2e2;
    }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: var(--bg);
      color: var(--slate);
      line-height: 1.6;
      overflow-x: hidden;
    }
    body::before {
      content:'';
      position:fixed; top:0; left:0; right:0; height:3px;
      background: linear-gradient(90deg, var(--teal), var(--teal-light) 50%, var(--amber2));
      z-index:300;
    }
    body::after {
      content:'';
      position:fixed; inset:0;
      background-image:
        linear-gradient(rgba(13,115,119,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,115,119,.025) 1px, transparent 1px);
      background-size: 44px 44px;
      pointer-events:none; z-index:0;
    }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 4px rgba(13,115,119,.08);
      position: sticky; top:3px; z-index:100;
    }
    .header-inner {
      max-width:1200px; margin:0 auto; padding:0 2rem;
      display:flex; align-items:center; justify-content:space-between;
      height:66px;
    }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon {
      width:38px; height:38px;
      background: var(--teal); border-radius:10px;
      display:flex; align-items:center; justify-content:center;
      font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500;
      color:#fff; letter-spacing:-.3px;
      box-shadow:0 2px 8px rgba(13,115,119,.3);
    }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover, nav a.active { color:var(--slate); }
    nav a.active { color:var(--teal); }
    .nav-cta {
      background:var(--teal)!important; color:#fff!important;
      padding:9px 20px; border-radius:8px;
      font-size:.84rem!important; font-weight:700!important;
      box-shadow:0 2px 10px rgba(13,115,119,.28);
      transition:background .18s,box-shadow .18s,transform .12s!important;
    }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── PAGE HERO ─── */
    .page-hero {
      max-width:1200px; margin:0 auto; padding:72px 2rem 56px;
      text-align:center;
    }

    .hero-badge {
      display:inline-flex; align-items:center; gap:8px;
      background:var(--teal-pale); border:1px solid var(--teal-pale2);
      border-radius:100px; padding:6px 16px;
      font-size:.74rem; font-weight:700; color:var(--teal-dark);
      letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px;
      animation:fadeUp .5s ease both;
    }
    .badge-dot { width:7px;height:7px;background:var(--success);border-radius:50%;animation:pulse 2s ease infinite; }
    @keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}

    h1 {
      font-size:clamp(2.2rem,5.5vw,3.6rem);
      font-weight:800; line-height:1.1; letter-spacing:-1.5px;
      color:var(--slate); margin-bottom:18px;
      animation:fadeUp .5s .08s ease both;
    }
    h1 .hl { color:var(--teal); }
    .underline-bar {
      display:block; width:200px; height:4px; margin:10px auto 0;
      background:linear-gradient(90deg,var(--teal),var(--amber2));
      border-radius:2px;
      animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0);
    }
    @keyframes slideIn{to{transform:scaleX(1)}}
    .hero-sub {
      font-size:1.04rem; color:var(--muted);
      max-width:530px; margin:16px auto 0;
      line-height:1.78; animation:fadeUp .5s .15s ease both;
    }
    @keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}

    /* ─── SHARED SECTION ─── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag {
      display:inline-block; font-size:.7rem; font-weight:700;
      letter-spacing:1.3px; text-transform:uppercase;
      color:var(--teal); background:var(--teal-pale);
      border:1px solid var(--teal-pale2); border-radius:100px;
      padding:4px 13px; margin-bottom:14px;
    }
    h2 { font-size:clamp(1.6rem,3vw,2.3rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    /* ─── MISSION SPLIT ─── */
    .mission-grid {
      display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center;
      background:var(--surface); border:1px solid var(--border);
      border-radius:22px; padding:52px;
      box-shadow:0 4px 24px rgba(13,115,119,.09);
    }
    .mission-text h2 { text-align:left; margin-bottom:18px; }
    .mission-text p { font-size:.88rem; color:var(--muted); line-height:1.85; margin-bottom:14px; }
    .mission-text p:last-child { margin-bottom:0; }
    .mission-text p strong { color:var(--slate); font-weight:700; }
    .mission-visual {
      background:var(--slate); border-radius:14px; padding:26px;
      font-family:'JetBrains Mono',monospace; font-size:.76rem; line-height:2; overflow:hidden;
    }
    .ml { color:#cbd5e1; }
    .ml .k { color:#7dd3fc; }
    .ml .s { color:#86efac; }
    .ml .v { color:#fde68a; }
    .ml .c { color:#475569; font-style:italic; }
    .ml .fn { color:#c4b5fd; }
    .ml .num { color:#fb923c; }

    /* ─── STATS STRIP ─── */
    .stats-strip {
      max-width:1080px; margin:0 auto 72px; padding:0 2rem;
      display:grid; grid-template-columns:repeat(4,1fr); gap:14px;
    }
    .stat-card {
      background:var(--surface); border:1px solid var(--border);
      border-radius:14px; padding:22px 20px;
      box-shadow:0 1px 4px rgba(13,115,119,.07);
      text-align:center;
      transition:transform .18s, box-shadow .18s;
    }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label { font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ─── VALUES ─── */
    .values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .value-card {
      background:var(--surface); border:1px solid var(--border);
      border-radius:18px; padding:30px 26px;
      box-shadow:0 1px 4px rgba(0,0,0,.05);
      transition:transform .2s, box-shadow .2s, border-color .2s;
    }
    .value-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .value-icon {
      width:48px; height:48px; border-radius:14px;
      display:flex; align-items:center; justify-content:center;
      font-size:1.35rem; margin-bottom:16px; background:var(--teal-pale);
    }
    .value-icon.amber { background:var(--amber-pale); }
    .value-icon.slate { background:var(--bg2); }
    .value-card h3 { font-size:.94rem; font-weight:700; margin-bottom:9px; color:var(--slate); }
    .value-card p { font-size:.82rem; color:var(--muted); line-height:1.74; }

    /* ─── WHY WE BUILT IT ─── */
    .origin-card {
      background:var(--surface); border:1px solid var(--border);
      border-radius:22px; padding:52px;
      box-shadow:0 4px 20px rgba(13,115,119,.08);
      display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:start;
    }
    .origin-content h2 { text-align:left; margin-bottom:18px; }
    .origin-content p { font-size:.88rem; color:var(--muted); line-height:1.85; margin-bottom:14px; }
    .origin-content p strong { color:var(--slate); font-weight:700; }
    .origin-timeline { display:flex; flex-direction:column; gap:0; }
    .tl-item { display:flex; gap:20px; padding-bottom:28px; position:relative; }
    .tl-item:last-child { padding-bottom:0; }
    .tl-item:not(:last-child)::before {
      content:''; position:absolute; left:18px; top:40px; bottom:0;
      width:2px; background:linear-gradient(var(--teal-pale2), var(--teal-pale));
    }
    .tl-dot {
      width:38px; height:38px; border-radius:50%; flex-shrink:0;
      background:var(--teal-pale); border:2px solid var(--teal-pale2);
      display:flex; align-items:center; justify-content:center;
      font-size:.95rem; position:relative; z-index:2;
    }
    .tl-dot.active { background:var(--teal); border-color:var(--teal); }
    .tl-dot.active span { filter:brightness(10); }
    .tl-text h4 { font-size:.88rem; font-weight:700; color:var(--slate); margin-bottom:4px; }
    .tl-text p { font-size:.80rem; color:var(--muted); line-height:1.68; }
    .tl-year { font-size:.68rem; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:var(--teal); margin-bottom:4px; }

    /* ─── PRIVACY PLEDGE ─── */
    .privacy-banner {
      background:linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, var(--teal-light) 100%);
      border-radius:22px; padding:60px 52px;
      color:#fff; display:grid; grid-template-columns:1fr auto; gap:40px; align-items:center;
      box-shadow:0 8px 40px rgba(13,115,119,.28);
      overflow:hidden; position:relative;
    }
    .privacy-banner::before {
      content:''; position:absolute; inset:0;
      background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px, transparent 1px, transparent 24px);
    }
    .privacy-text h2 { color:#fff; text-align:left; margin-bottom:14px; letter-spacing:-.6px; }
    .privacy-text p { color:rgba(255,255,255,.82); font-size:.9rem; line-height:1.8; max-width:520px; }
    .privacy-badges { display:flex; flex-direction:column; gap:12px; flex-shrink:0; }
    .priv-badge {
      background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2);
      border-radius:12px; padding:14px 20px;
      display:flex; align-items:center; gap:12px;
      backdrop-filter:blur(6px);
    }
    .priv-badge-icon { font-size:1.3rem; flex-shrink:0; }
    .priv-badge-text { font-size:.8rem; font-weight:700; color:#fff; line-height:1.3; }
    .priv-badge-sub { font-size:.72rem; color:rgba(255,255,255,.65); font-weight:400; }

    /* ─── TEAM ─── */
    .team-intro {
      background:var(--surface); border:1px solid var(--border);
      border-radius:20px; padding:44px 52px;
      box-shadow:0 4px 20px rgba(13,115,119,.07);
    }
    .team-intro h2 { text-align:left; margin-bottom:16px; }
    .team-intro p { font-size:.88rem; color:var(--muted); line-height:1.86; margin-bottom:12px; }
    .team-intro p:last-child { margin-bottom:0; }
    .team-intro p strong { color:var(--slate); }
    .team-chips { display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
    .chip {
      display:inline-flex; align-items:center; gap:7px;
      background:var(--surface2); border:1px solid var(--border);
      border-radius:100px; padding:7px 16px;
      font-size:.78rem; font-weight:600; color:var(--slate2);
    }
    .chip-dot { width:8px; height:8px; border-radius:50%; background:var(--teal); flex-shrink:0; }
    .chip-dot.amber { background:var(--amber2); }
    .chip-dot.gray { background:var(--muted2); }

    /* ─── FOUNDER PROFILE ─── */
    .founder-profile {
      margin-top:32px;
    }
    .founder-badge {
      background:var(--surface); border:1px solid var(--border);
      border-radius:20px; padding:36px 40px;
      box-shadow:0 4px 20px rgba(13,115,119,.08);
      display:flex; gap:28px; align-items:flex-start;
      transition:transform .2s, box-shadow .2s, border-color .2s;
    }
    .founder-badge:hover {
      transform:translateY(-2px);
      box-shadow:0 8px 32px rgba(13,115,119,.12);
      border-color:var(--teal-pale2);
    }
    .founder-avatar {
      width:80px; height:80px; border-radius:18px;
      background:var(--bg2);
      display:flex; align-items:center; justify-content:center;
      flex-shrink:0;
      box-shadow:0 4px 12px rgba(13,115,119,.2);
      overflow:hidden;
      border:2px solid var(--teal-pale);
    }
    .founder-image {
      width:100%; height:100%;
      object-fit:cover;
      object-position:center;
      display:block;
    }
    .founder-info {
      flex:1;
    }
    .founder-badge-label {
      font-size:.7rem; font-weight:700; letter-spacing:.8px;
      text-transform:uppercase; color:var(--teal);
      margin-bottom:8px;
    }
    .founder-name {
      font-size:1.35rem; font-weight:800; color:var(--slate);
      margin-bottom:10px; letter-spacing:-.3px;
    }
    .founder-bio {
      font-size:.87rem; color:var(--muted); line-height:1.75;
      margin-bottom:12px;
    }
    .founder-bio:last-of-type {
      margin-bottom:16px;
    }
    .founder-links {
      display:flex; gap:12px; flex-wrap:wrap;
    }
    .founder-link {
      display:inline-flex; align-items:center; gap:6px;
      font-size:.82rem; font-weight:600; color:var(--teal);
      text-decoration:none;
      padding:6px 14px;
      background:var(--teal-pale); border:1px solid var(--teal-pale2);
      border-radius:8px;
      transition:all .2s;
    }
    .founder-link:hover {
      background:var(--teal-pale2); border-color:var(--teal);
      color:var(--teal-dark);
      transform:translateY(-1px);
    }
    .founder-link span {
      font-size:1rem;
    }
    .linkedin-icon {
      display:inline-flex; align-items:center; justify-content:center;
      width:18px; height:18px;
      background:#0077b5; color:#fff;
      border-radius:3px;
      font-size:.75rem; font-weight:700;
      font-family:'Plus Jakarta Sans',sans-serif;
      line-height:1;
      padding:0;
    }
    .founder-link-linkedin:hover .linkedin-icon {
      background:#005885;
    }

    /* ─── HOW IT WORKS TECHNICALLY ─── */
    .tech-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .tech-card {
      background:var(--surface); border:1px solid var(--border);
      border-radius:18px; padding:28px 26px; display:flex; gap:18px; align-items:flex-start;
      box-shadow:0 1px 4px rgba(0,0,0,.05);
      transition:transform .2s, box-shadow .2s, border-color .2s;
    }
    .tech-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .tech-num {
      font-size:2rem; font-weight:800; font-family:'JetBrains Mono',monospace;
      color:var(--teal-pale2); line-height:1; flex-shrink:0; width:42px;
    }
    .tech-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .tech-card p { font-size:.81rem; color:var(--muted); line-height:1.7; }
    code { background:var(--teal-pale); color:var(--teal-dark); font-family:'JetBrains Mono',monospace; font-size:.78em; padding:1px 5px; border-radius:4px; }

    /* ─── COMPARISON ─── */
    .comparison-table {
      background:var(--surface); border:1px solid var(--border);
      border-radius:20px; overflow:hidden;
      box-shadow:0 4px 20px rgba(13,115,119,.08);
    }
    .cmp-header {
      display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
      background:var(--surface2); border-bottom:1px solid var(--border);
      padding:16px 28px; gap:8px;
    }
    .cmp-header span { font-size:.72rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); }
    .cmp-header span.ours { color:var(--teal); }
    .cmp-row {
      display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
      padding:16px 28px; gap:8px; border-bottom:1px solid var(--bg2);
      align-items:center; transition:background .15s;
    }
    .cmp-row:last-child { border-bottom:none; }
    .cmp-row:hover { background:var(--surface2); }
    .cmp-feature { font-size:.84rem; font-weight:600; color:var(--slate); }
    .cmp-cell { font-size:.82rem; color:var(--muted); text-align:center; }
    .cmp-cell.yes { color:var(--success); font-weight:700; }
    .cmp-cell.no { color:var(--error); }
    .cmp-cell.partial { color:var(--amber); font-weight:600; }

    /* ─── CTA ─── */
    .cta-section {
      max-width:1080px; margin:0 auto; padding:0 2rem 88px;
    }
    .cta-card {
      background:var(--surface); border:1px solid var(--teal-pale2);
      border-radius:22px; padding:60px 52px; text-align:center;
      box-shadow:0 4px 24px rgba(13,115,119,.1);
    }
    .cta-card h2 { margin-bottom:14px; }
    .cta-card p { font-size:.92rem; color:var(--muted); max-width:440px; margin:0 auto 36px; line-height:1.78; }
    .cta-btns { display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; }
    .btn-cta-primary {
      background:var(--teal); color:#fff;
      padding:14px 32px; border-radius:10px;
      font-size:.92rem; font-weight:700; text-decoration:none;
      box-shadow:0 4px 18px rgba(13,115,119,.3);
      transition:background .18s, transform .12s, box-shadow .18s;
      display:inline-flex; align-items:center; gap:8px;
    }
    .btn-cta-primary:hover { background:var(--teal-dark); transform:translateY(-2px); box-shadow:0 6px 24px rgba(13,115,119,.4); }
    .btn-cta-ghost {
      background:transparent; color:var(--teal);
      padding:14px 32px; border-radius:10px;
      font-size:.92rem; font-weight:700; text-decoration:none;
      border:2px solid var(--teal-pale2);
      transition:border-color .18s, background .18s, transform .12s;
      display:inline-flex; align-items:center; gap:8px;
    }
    .btn-cta-ghost:hover { border-color:var(--teal); background:var(--teal-pale); transform:translateY(-2px); }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 768px) {
      .mission-grid, .origin-card { grid-template-columns:1fr; gap:28px; }
      .mission-grid, .origin-card { padding:28px; }
      .values-grid { grid-template-columns:1fr; }
      .tech-grid { grid-template-columns:1fr; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .privacy-banner { grid-template-columns:1fr; padding:36px 28px; }
      .privacy-badges { flex-direction:row; flex-wrap:wrap; }
      .team-intro { padding:28px; }
      .founder-badge { flex-direction:column; padding:28px; gap:20px; }
      .founder-avatar { width:64px; height:64px; }
      .founder-name { font-size:1.2rem; }
      .cta-card { padding:36px 24px; }
      .footer-top { grid-template-columns:1fr 1fr; }
      .cmp-header, .cmp-row { grid-template-columns:1.5fr 1fr 1fr; }
      .cmp-header span:last-child, .cmp-cell:last-child { display:none; }
      nav { gap:1rem; }
    }
      
    @media(max-width:560px) {
      .footer-top {
        grid-template-columns: 1fr;
      }
    }
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:         #f2f5f7;
      --bg2:        #e8edf0;
      --surface:    #ffffff;
      --surface2:   #f7fafa;
      --border:     #d0dade;
      --border2:    #b8c8cc;
      --teal:       #0d7377;
      --teal-dark:  #095a5e;
      --teal-light: #14a7ad;
      --teal-pale:  #e0f4f5;
      --teal-pale2: #bde8ea;
      --amber:      #b45309;
      --amber2:     #d97706;
      --amber-pale: #fef3c7;
      --amber-pale2:#fde68a;
      --slate:      #1a2535;
      --slate2:     #2d3f55;
      --muted:      #5a6e82;
      --muted2:     #8fa0b0;
      --success:    #047857;
      --success-bg: #d1fae5;
      --error:      #b91c1c;
      --error-bg:   #fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,box-shadow .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── HERO ─── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl { color:var(--teal); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:530px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ─── TOOL ─── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* ─── FILE DROP ZONE ─── */
    .file-zone { border:2px dashed var(--border2); border-radius:16px; padding:56px 28px; text-align:center; cursor:pointer; background:var(--surface2); transition:all .2s; }
    .file-zone:hover, .file-zone.drag { border-color:var(--teal); background:var(--teal-pale); }
    .file-zone.has-file { border-color:var(--teal); border-style:solid; background:var(--teal-pale); }
    .file-zone-icon { font-size:3rem; margin-bottom:16px; transition:transform .2s; }
    .file-zone:hover .file-zone-icon { transform:scale(1.1); }
    .file-zone h3 { font-size:1.05rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .file-zone p  { font-size:.82rem; color:var(--muted); }
    .file-zone .formats-hint { display:flex; gap:6px; flex-wrap:wrap; justify-content:center; margin-top:14px; }
    .fmt-tag { font-size:.68rem; font-weight:700; letter-spacing:.5px; background:var(--surface); border:1px solid var(--border); color:var(--muted); padding:3px 8px; border-radius:6px; }
    #audioFileInput { display:none; }

    /* ─── AUDIO RESULT CARD ─── */
    .result-card { display:none; flex-direction:column; gap:18px; margin-top:24px; background:var(--teal-pale); border:1.5px solid var(--teal-pale2); border-radius:16px; padding:22px; }
    .result-card.show { display:flex; }

    /* File identity row */
    .file-identity { display:flex; align-items:center; gap:14px; }
    .file-icon-big { width:52px; height:52px; background:var(--teal); border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.5rem; flex-shrink:0; box-shadow:0 4px 14px rgba(13,115,119,.28); }
    .file-details h3 { font-size:.96rem; font-weight:700; color:var(--slate); margin-bottom:4px; word-break:break-all; }
    .file-meta { display:flex; gap:10px; flex-wrap:wrap; }
    .meta-badge { font-size:.68rem; font-weight:700; letter-spacing:.6px; text-transform:uppercase; padding:3px 10px; border-radius:6px; }
    .meta-badge.format { background:var(--teal); color:#fff; }
    .meta-badge.size   { background:var(--surface); color:var(--muted); border:1px solid var(--border); }
    .meta-badge.b64size{ background:var(--amber-pale); color:var(--amber); border:1px solid var(--amber-pale2); }

    /* Waveform */
    .waveform-wrap { background:var(--slate); border-radius:10px; padding:12px 14px; display:flex; align-items:center; gap:3px; height:56px; overflow:hidden; }
    .wave-bar { flex:1; background:var(--teal-light); border-radius:2px; animation:waveBounce var(--d,1s) ease-in-out infinite alternate; animation-delay:var(--delay,0s); animation-play-state:paused; }
    .wave-bar.playing { animation-play-state:running; }
    @keyframes waveBounce { from{height:var(--min,4px)} to{height:var(--max,32px)} }

    /* Audio element */
    audio { width:100%; height:42px; border-radius:8px; outline:none; accent-color:var(--teal); }

    /* Output section */
    .output-section { display:flex; flex-direction:column; gap:8px; }
    .out-label { font-size:.7rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); display:flex; align-items:center; justify-content:space-between; }
    .out-chars { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    .out-box { background:var(--surface); border:1.5px solid var(--border); border-radius:12px; padding:13px 15px; font-family:'JetBrains Mono',monospace; font-size:.75rem; color:var(--slate2); word-break:break-all; line-height:1.65; max-height:130px; overflow-y:auto; }
    .out-box.uri { color:var(--teal-dark); background:#eef8f8; border-color:var(--teal-pale2); }

    /* ─── SNIPPET TAB ─── */
    .snippet-options { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:16px; }
    .opt-label { font-size:.7rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
    .opt-select { background:var(--surface2); border:1.5px solid var(--border); border-radius:8px; padding:7px 12px; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.8rem; font-weight:600; cursor:pointer; outline:none; transition:border-color .18s; }
    .opt-select:focus { border-color:var(--teal); }
    .snippet-out { background:var(--slate); border-radius:12px; padding:18px 20px; font-family:'JetBrains Mono',monospace; font-size:.75rem; line-height:1.9; overflow-x:auto; color:#cbd5e1; white-space:pre; max-height:280px; overflow-y:auto; }
    .snip-tag  { color:#7dd3fc; }
    .snip-attr { color:#fde68a; }
    .snip-val  { color:#86efac; }
    .snip-c    { color:#475569; font-style:italic; }

    /* ─── URL-SAFE STRIP TAB ─── */
    .io-col { display:flex; flex-direction:column; gap:10px; }
    .io-label { display:flex; align-items:center; justify-content:space-between; font-size:.71rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    textarea { width:100%; min-height:120px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; color:var(--slate); font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.75; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s; }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea[readonly] { background:#eef8f8; color:var(--slate2); }
    textarea::placeholder { color:var(--muted2); }

    /* Progress bar */
    .progress-wrap { display:none; margin-top:8px; }
    .progress-wrap.show { display:block; }
    .progress-bar { height:4px; background:var(--bg2); border-radius:2px; overflow:hidden; }
    .progress-fill { height:100%; width:0%; background:linear-gradient(90deg,var(--teal),var(--teal-light)); border-radius:2px; transition:width .3s ease; }
    .progress-label { font-size:.72rem; color:var(--muted); margin-top:5px; }

    /* Shared buttons */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); color:var(--amber); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .btn:disabled { opacity:.4; cursor:not-allowed; transform:none!important; box-shadow:none!important; }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ─── STATS ─── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num   { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label { font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ─── SECTIONS ─── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    /* Features */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber { background:var(--amber-pale); }
    .feat-icon.gray  { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; margin-bottom:8px; color:var(--slate); }
    .step p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* Format table */
    .fmt-table-wrap { overflow-x:auto; border-radius:14px; border:1px solid var(--border); box-shadow:0 2px 8px rgba(0,0,0,.05); }
    .fmt-table { width:100%; border-collapse:collapse; font-size:.8rem; }
    .fmt-table thead th { background:var(--surface2); border-bottom:1px solid var(--border); padding:12px 16px; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .fmt-table tbody tr { transition:background .15s; }
    .fmt-table tbody tr:hover { background:var(--teal-pale); }
    .fmt-table tbody td { padding:11px 16px; border-bottom:1px solid var(--bg2); color:var(--slate2); vertical-align:middle; }
    .fmt-table tbody td:first-child { font-size:1.1rem; }
    .fmt-table tbody td:nth-child(2) { font-family:'JetBrains Mono',monospace; font-weight:700; color:var(--teal-dark); font-size:.76rem; }
    .fmt-table tbody tr:last-child td { border-bottom:none; }
    .badge-pill { display:inline-block; font-size:.65rem; font-weight:700; padding:2px 9px; border-radius:6px; }
    .badge-pill.yes     { background:var(--success-bg); color:var(--success); }
    .badge-pill.good    { background:var(--teal-pale);  color:var(--teal-dark); }
    .badge-pill.limited { background:var(--amber-pale); color:var(--amber); }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px; display:flex; gap:16px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .use-num { font-size:2.2rem; font-weight:800; font-family:'JetBrains Mono',monospace; color:var(--teal-pale2); line-height:1; flex-shrink:0; }
    .use-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .use-card p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* About */
    .about-inner { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:52px; display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start; box-shadow:0 4px 20px rgba(13,115,119,.08); }
    .about-inner h2 { text-align:left; margin-bottom:16px; }
    .about-inner p  { font-size:.86rem; color:var(--muted); line-height:1.82; margin-bottom:13px; }
    .about-visual { background:var(--slate); border-radius:14px; padding:24px; font-family:'JetBrains Mono',monospace; font-size:.74rem; line-height:1.95; overflow:hidden; }
    .mono-line .k { color:#7dd3fc; } .mono-line .s { color:#86efac; }
    .mono-line .v { color:#fde68a; } .mono-line .c { color:#475569; font-style:italic; }
    .mono-line { color:#cbd5e1; }

    /* FAQ */
    .faq-list { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.05); transition:border-color .2s,box-shadow .2s; }
    .faq-item:hover { border-color:var(--teal-pale2); }
    .faq-item.open  { border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,115,119,.08); }
    .faq-q { width:100%; background:none; border:none; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.91rem; font-weight:700; text-align:left; padding:18px 20px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; transition:color .18s; }
    .faq-item.open .faq-q { color:var(--teal); }
    .faq-arrow { width:26px; height:26px; background:var(--bg2); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.6rem; flex-shrink:0; color:var(--muted); transition:transform .25s,background .2s,color .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); background:var(--teal); color:#fff; }
    .faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease,padding .3s ease; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { max-height:400px; padding:0 20px 18px; }

    code { background:var(--teal-pale); color:var(--teal-dark); font-family:'JetBrains Mono',monospace; font-size:.78em; padding:1px 5px; border-radius:4px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

/* ─── RESPONSIVE ─── */
    @media(max-width:860px) {
      .features-grid,.use-grid { grid-template-columns:1fr; }
      .about-inner { grid-template-columns:1fr; padding:32px; }
      .steps-grid { grid-template-columns:1fr; gap:28px; }
      .steps-grid::before { display:none; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
    }
    @media(max-width:560px) {
      .header-inner { padding:0 1rem;       .footer-top {
        grid-template-columns: 1fr;
      }
    }
      
      .hero { padding:40px 1rem 28px; }
      .tool-wrapper,.section,.stats-strip { padding-left:1rem; padding-right:1rem; }
      .footer-top { grid-template-columns:1fr; }
      h1 { letter-spacing:-.8px; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg:        #f2f5f7;
      --bg2:       #e8edf0;
      --surface:   #ffffff;
      --surface2:  #f7fafa;
      --border:    #d0dade;
      --border2:   #b8c8cc;
      --teal:      #0d7377;
      --teal-dark: #095a5e;
      --teal-light:#14a7ad;
      --teal-pale: #e0f4f5;
      --teal-pale2:#bde8ea;
      --amber:     #b45309;
      --amber2:    #d97706;
      --amber-pale:#fef3c7;
      --amber-pale2:#fde68a;
      --slate:     #1a2535;
      --slate2:    #2d3f55;
      --muted:     #5a6e82;
      --muted2:    #8fa0b0;
      --success:   #047857;
      --success-bg:#d1fae5;
      --error:     #b91c1c;
      --error-bg:  #fee2e2;
    }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: var(--bg);
      color: var(--slate);
      line-height: 1.6;
      overflow-x: hidden;
    }
    body::before {
      content:'';
      position:fixed; top:0; left:0; right:0; height:3px;
      background: linear-gradient(90deg, var(--teal), var(--teal-light) 50%, var(--amber2));
      z-index:300;
    }
    body::after {
      content:'';
      position:fixed; inset:0;
      background-image:
        linear-gradient(rgba(13,115,119,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,115,119,.025) 1px, transparent 1px);
      background-size: 44px 44px;
      pointer-events:none; z-index:0;
    }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 4px rgba(13,115,119,.08);
      position: sticky; top:3px; z-index:100;
    }
    .header-inner {
      max-width:1200px; margin:0 auto; padding:0 2rem;
      display:flex; align-items:center; justify-content:space-between;
      height:66px;
    }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon {
      width:38px; height:38px;
      background: var(--teal); border-radius:10px;
      display:flex; align-items:center; justify-content:center;
      font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500;
      color:#fff; letter-spacing:-.3px;
      box-shadow:0 2px 8px rgba(13,115,119,.3);
    }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta {
      background:var(--teal)!important; color:#fff!important;
      padding:9px 20px; border-radius:8px;
      font-size:.84rem!important; font-weight:700!important;
      box-shadow:0 2px 10px rgba(13,115,119,.28);
      transition:background .18s,box-shadow .18s,transform .12s!important;
    }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── BREADCRUMB ─── */
    .breadcrumb {
      max-width:1200px; margin:0 auto; padding:14px 2rem 0;
      display:flex; align-items:center; gap:8px;
      font-size:.75rem; color:var(--muted); font-weight:600;
    }
    .breadcrumb a { color:var(--teal); text-decoration:none; }
    .breadcrumb a:hover { text-decoration:underline; }
    .breadcrumb-sep { color:var(--muted2); }

    /* ─── HERO ─── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge {
      display:inline-flex; align-items:center; gap:8px;
      background:var(--teal-pale); border:1px solid var(--teal-pale2);
      border-radius:100px; padding:6px 16px;
      font-size:.74rem; font-weight:700; color:var(--teal-dark);
      letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px;
      animation:fadeUp .5s ease both;
    }
    .badge-dot { width:7px;height:7px;background:var(--success);border-radius:50%;animation:pulse 2s ease infinite; }
    @keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}
    h1 {
      font-size:clamp(2rem,5vw,3.6rem);
      font-weight:800; line-height:1.1; letter-spacing:-1.5px;
      color:var(--slate); margin-bottom:18px;
      animation:fadeUp .5s .08s ease both;
    }
    h1 .hl { color:var(--teal); }
    .underline-bar {
      display:block; width:200px; height:4px; margin:10px auto 0;
      background:linear-gradient(90deg,var(--teal),var(--amber2));
      border-radius:2px;
      animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0);
    }
    @keyframes slideIn{to{transform:scaleX(1)}}
    .hero-sub {
      font-size:1.04rem; color:var(--muted);
      max-width:520px; margin:16px auto 44px;
      line-height:1.78; animation:fadeUp .5s .15s ease both;
    }
    @keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}

    /* ─── TOOL ─── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card {
      background:var(--surface); border:1px solid var(--border);
      border-radius:20px; overflow:hidden;
      box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07);
    }
    .tab-bar {
      background:var(--surface2); border-bottom:1px solid var(--border);
      display:flex; padding:12px 16px 0; gap:4px;
    }
    .tab-btn {
      padding:10px 22px; background:transparent;
      border:1px solid transparent; border-bottom:none;
      border-radius:10px 10px 0 0;
      color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif;
      font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s;
    }
    .tab-btn:hover:not(.active){color:var(--slate);background:rgba(13,115,119,.06);}
    .tab-btn.active {
      background:var(--surface); color:var(--teal);
      border-color:var(--border); border-bottom-color:var(--surface);
      margin-bottom:-1px; position:relative; z-index:2;
    }
    .panel-body { padding:28px; }
    .io-grid { display:grid; grid-template-columns:1fr 60px 1fr; gap:16px; align-items:start; }
    .io-col { display:flex; flex-direction:column; gap:10px; }
    .io-label {
      display:flex; align-items:center; justify-content:space-between;
      font-size:.71rem; font-weight:700; letter-spacing:.9px;
      text-transform:uppercase; color:var(--muted);
    }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    textarea {
      width:100%; min-height:210px;
      background:var(--surface2); border:1.5px solid var(--border);
      border-radius:12px; padding:14px 16px;
      color:var(--slate); font-family:'JetBrains Mono',monospace;
      font-size:.8rem; line-height:1.75; resize:vertical; outline:none;
      transition:border-color .18s,box-shadow .18s,background .18s;
    }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea[readonly] { background:#eef8f8; color:var(--slate2); }
    textarea::placeholder { color:var(--muted2); }
    .arrow-col { display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:34px;gap:8px; }
    .convert-btn {
      width:46px;height:46px; background:var(--teal); border:none;
      border-radius:13px; color:#fff; cursor:pointer;
      display:flex;align-items:center;justify-content:center;
      box-shadow:0 4px 14px rgba(13,115,119,.3);
      transition:transform .15s,box-shadow .2s,background .18s;
    }
    .convert-btn:hover { background:var(--teal-dark);transform:scale(1.08);box-shadow:0 6px 20px rgba(13,115,119,.42); }
    .convert-btn:active { transform:scale(.94); }
    .convert-btn svg { transition:transform .25s; }
    .convert-btn:hover svg { transform:rotate(180deg); }
    .action-bar { display:flex;align-items:center;gap:7px;flex-wrap:wrap; }
    .btn {
      display:inline-flex;align-items:center;gap:5px;
      padding:8px 15px;border-radius:8px;
      border:1.5px solid var(--border); background:var(--surface);
      color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif;
      font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s;
    }
    .btn:hover { border-color:var(--teal);color:var(--teal);background:var(--teal-pale); }
    .btn-primary {
      background:var(--teal);color:#fff;border-color:var(--teal);
      box-shadow:0 2px 8px rgba(13,115,119,.22);
    }
    .btn-primary:hover { background:var(--teal-dark);border-color:var(--teal-dark);color:#fff;box-shadow:0 4px 14px rgba(13,115,119,.32);transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale);color:var(--amber);border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2);border-color:var(--amber2);color:var(--amber); }
    .btn-ghost { background:transparent;border-color:var(--border);color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2);border-color:var(--border2);color:var(--slate); }
    .status-bar { padding:0 28px 20px;min-height:42px;display:flex;align-items:center; }
    .status-msg {
      display:inline-flex;align-items:center;gap:7px;
      font-size:.79rem;font-weight:600;padding:6px 14px;border-radius:8px;
      opacity:0;transform:translateY(4px);transition:all .22s;
    }
    .status-msg.show { opacity:1;transform:translateY(0); }
    .status-msg.success { background:var(--success-bg);color:var(--success); }
    .status-msg.error   { background:var(--error-bg);  color:var(--error);   }

    /* Char map panel */
    .charmap-grid {
      display:grid; grid-template-columns:repeat(auto-fill,minmax(70px,1fr)); gap:8px;
      max-height:280px; overflow-y:auto; padding:4px;
    }
    .charmap-cell {
      background:var(--surface2); border:1.5px solid var(--border);
      border-radius:8px; padding:8px 6px; text-align:center;
      transition:border-color .15s, background .15s;
    }
    .charmap-cell:hover { border-color:var(--teal); background:var(--teal-pale); }
    .charmap-b64 { font-family:'JetBrains Mono',monospace; font-size:.7rem; color:var(--muted); word-break:break-all; }
    .charmap-arrow { font-size:.65rem; color:var(--teal-pale2); margin:2px 0; }
    .charmap-ascii { font-family:'JetBrains Mono',monospace; font-size:.82rem; font-weight:700; color:var(--teal-dark); }
    .charmap-empty { text-align:center; color:var(--muted2); font-size:.82rem; padding:40px 0; }

    /* ─── STATS ─── */
    .stats-strip { max-width:1080px;margin:0 auto 72px;padding:0 2rem;display:grid;grid-template-columns:repeat(4,1fr);gap:14px; }
    .stat-card {
      background:var(--surface);border:1px solid var(--border);
      border-radius:14px;padding:20px 22px;
      box-shadow:0 1px 4px rgba(13,115,119,.07);
      transition:transform .18s,box-shadow .18s;
    }
    .stat-card:hover { transform:translateY(-3px);box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num { font-size:1.85rem;font-weight:800;letter-spacing:-.8px;color:var(--teal); }
    .stat-label { font-size:.75rem;color:var(--muted);font-weight:600;margin-top:3px; }

    /* ─── SECTIONS ─── */
    .section { max-width:1080px;margin:0 auto;padding:0 2rem 80px; }
    .section-head { text-align:center;margin-bottom:48px; }
    .section-tag {
      display:inline-block;font-size:.7rem;font-weight:700;
      letter-spacing:1.3px;text-transform:uppercase;
      color:var(--teal);background:var(--teal-pale);
      border:1px solid var(--teal-pale2);border-radius:100px;
      padding:4px 13px;margin-bottom:14px;
    }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem);font-weight:800;letter-spacing:-.8px;color:var(--slate);margin-bottom:12px; }
    .section-sub { font-size:.92rem;color:var(--muted);max-width:480px;margin:0 auto;line-height:1.76; }

    /* Features */
    .features-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:16px; }
    .feat-card {
      background:var(--surface);border:1px solid var(--border);
      border-radius:16px;padding:26px 24px;
      box-shadow:0 1px 4px rgba(0,0,0,.05);
      transition:transform .2s,box-shadow .2s,border-color .2s;
    }
    .feat-card:hover { transform:translateY(-4px);box-shadow:0 8px 28px rgba(13,115,119,.12);border-color:var(--teal-pale2); }
    .feat-icon {
      width:44px;height:44px;border-radius:12px;
      display:flex;align-items:center;justify-content:center;
      font-size:1.25rem;margin-bottom:15px;background:var(--teal-pale);
    }
    .feat-icon.amber{background:var(--amber-pale);}
    .feat-icon.gray{background:var(--bg2);}
    .feat-card h3{font-size:.92rem;font-weight:700;margin-bottom:7px;color:var(--slate);}
    .feat-card p{font-size:.81rem;color:var(--muted);line-height:1.7;}

    /* Steps */
    .steps-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:0;position:relative; }
    .steps-grid::before {
      content:'';position:absolute;top:29px;
      left:calc(16.67% + 22px);right:calc(16.67% + 22px);
      height:2px;background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2));
    }
    .step{text-align:center;padding:0 20px;}
    .step-num {
      width:58px;height:58px;background:var(--teal);border-radius:50%;
      display:flex;align-items:center;justify-content:center;
      margin:0 auto 20px;font-size:1.05rem;font-weight:800;color:#fff;
      box-shadow:0 4px 16px rgba(13,115,119,.28);position:relative;z-index:2;
    }
    .step h3{font-size:.92rem;font-weight:700;margin-bottom:8px;color:var(--slate);}
    .step p{font-size:.81rem;color:var(--muted);line-height:1.68;}

    /* Use cases */
    .use-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
    .use-card {
      background:var(--surface);border:1px solid var(--border);
      border-radius:16px;padding:26px;display:flex;gap:16px;
      box-shadow:0 1px 4px rgba(0,0,0,.05);
      transition:transform .2s,box-shadow .2s,border-color .2s;
    }
    .use-card:hover { transform:translateY(-3px);box-shadow:0 8px 28px rgba(13,115,119,.1);border-color:var(--teal-pale2); }
    .use-num{font-size:2.2rem;font-weight:800;font-family:'JetBrains Mono',monospace;color:var(--teal-pale2);line-height:1;flex-shrink:0;}
    .use-card h3{font-size:.92rem;font-weight:700;margin-bottom:7px;color:var(--slate);}
    .use-card p{font-size:.81rem;color:var(--muted);line-height:1.68;}

    /* About */
    .about-inner {
      background:var(--surface);border:1px solid var(--border);
      border-radius:20px;padding:52px;
      display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:start;
      box-shadow:0 4px 20px rgba(13,115,119,.08);
    }
    .about-inner h2{text-align:left;margin-bottom:16px;}
    .about-inner p{font-size:.86rem;color:var(--muted);line-height:1.82;margin-bottom:13px;}
    .about-visual {
      background:var(--slate);border-radius:14px;padding:24px;
      font-family:'JetBrains Mono',monospace;font-size:.75rem;line-height:2;overflow:hidden;
    }
    .mono-line .k{color:#7dd3fc;}.mono-line .s{color:#86efac;}.mono-line .v{color:#fde68a;}.mono-line .c{color:#475569;font-style:italic;}
    .mono-line{color:#cbd5e1;}

    /* ASCII Table */
    .ascii-table-wrap { overflow-x:auto; border-radius:14px; border:1px solid var(--border); box-shadow:0 2px 8px rgba(0,0,0,.05); }
    .ascii-table { width:100%; border-collapse:collapse; font-size:.8rem; }
    .ascii-table thead th {
      background:var(--surface2); border-bottom:1px solid var(--border);
      padding:12px 14px; text-align:left; font-size:.68rem; font-weight:700;
      letter-spacing:.9px; text-transform:uppercase; color:var(--muted);
    }
    .ascii-table tbody tr { transition:background .15s; }
    .ascii-table tbody tr:hover { background:var(--teal-pale); }
    .ascii-table tbody td {
      padding:10px 14px; border-bottom:1px solid var(--bg2);
      font-family:'JetBrains Mono',monospace; font-size:.78rem; color:var(--slate2);
    }
    .ascii-table tbody td:first-child { color:var(--teal-dark); font-weight:700; }
    .ascii-table tbody td:last-child { color:var(--muted); }

    /* Benefits */
    .benefits-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:20px; }
    .benefit-card {
      background:var(--surface);border:1px solid var(--border);
      border-radius:18px;padding:30px 28px;display:flex;gap:20px;align-items:flex-start;
      box-shadow:0 1px 4px rgba(0,0,0,.05);
      transition:transform .2s,box-shadow .2s,border-color .2s;
    }
    .benefit-card:hover { transform:translateY(-4px);box-shadow:0 10px 30px rgba(13,115,119,.12);border-color:var(--teal-pale2); }
    .benefit-icon-wrap {
      width:52px;height:52px;flex-shrink:0;border-radius:14px;
      display:flex;align-items:center;justify-content:center;
      font-size:1.4rem;background:var(--teal-pale);
    }
    .benefit-icon-wrap.amber{background:var(--amber-pale);}
    .benefit-icon-wrap.slate{background:var(--bg2);}
    .benefit-card h3{font-size:.94rem;font-weight:700;margin-bottom:8px;color:var(--slate);}
    .benefit-card p{font-size:.81rem;color:var(--muted);line-height:1.72;}
    .benefit-tag {
      display:inline-block;font-size:.64rem;font-weight:700;letter-spacing:.8px;
      text-transform:uppercase;background:var(--teal-pale);color:var(--teal-dark);
      border-radius:6px;padding:2px 8px;margin-bottom:8px;
    }
    .benefit-tag.amber{background:var(--amber-pale);color:var(--amber);}

    /* Examples */
    .examples-grid { display:grid;grid-template-columns:1fr;gap:20px; }
    .example-card {
      background:var(--surface);border:1px solid var(--border);
      border-radius:18px;overflow:hidden;
      box-shadow:0 2px 8px rgba(0,0,0,.05);
      transition:box-shadow .2s,border-color .2s;
    }
    .example-card:hover { box-shadow:0 8px 28px rgba(13,115,119,.1);border-color:var(--teal-pale2); }
    .example-header {
      padding:18px 24px;background:var(--surface2);border-bottom:1px solid var(--border);
      display:flex;align-items:center;justify-content:space-between;gap:12px;
    }
    .example-header h3{font-size:.92rem;font-weight:700;color:var(--slate);}
    .example-tag {
      font-size:.68rem;font-weight:700;letter-spacing:.8px;text-transform:uppercase;
      background:var(--teal-pale);color:var(--teal-dark);border:1px solid var(--teal-pale2);
      border-radius:6px;padding:3px 10px;
    }
    .example-body { padding:24px; }
    .example-row { display:grid;grid-template-columns:1fr 40px 1fr;gap:14px;align-items:center;margin-bottom:14px; }
    .example-row:last-child { margin-bottom:0; }
    .ex-label { font-size:.67rem;font-weight:700;letter-spacing:.9px;text-transform:uppercase;color:var(--muted);margin-bottom:6px; }
    .ex-value {
      background:var(--surface2);border:1.5px solid var(--border);
      border-radius:10px;padding:10px 14px;
      font-family:'JetBrains Mono',monospace;font-size:.78rem;
      color:var(--slate);word-break:break-all;line-height:1.6;
    }
    .ex-value.output { background:#eef8f8;border-color:var(--teal-pale2);color:var(--teal-dark); }
    .ex-arrow { text-align:center;font-size:1.2rem;color:var(--teal-pale2); }
    .ex-copy-btn {
      display:inline-flex;align-items:center;gap:5px;
      margin-top:8px;padding:5px 12px;border-radius:7px;
      border:1.5px solid var(--border);background:var(--surface);
      color:var(--muted);font-family:'Plus Jakarta Sans',sans-serif;
      font-size:.72rem;font-weight:700;cursor:pointer;transition:all .15s;
    }
    .ex-copy-btn:hover { border-color:var(--teal);color:var(--teal);background:var(--teal-pale); }

    /* FAQ */
    .faq-list{max-width:720px;margin:0 auto;display:flex;flex-direction:column;gap:10px;}
    .faq-item {
      background:var(--surface);border:1px solid var(--border);
      border-radius:14px;overflow:hidden;
      box-shadow:0 1px 3px rgba(0,0,0,.05);
      transition:border-color .2s,box-shadow .2s;
    }
    .faq-item:hover{border-color:var(--teal-pale2);}
    .faq-item.open{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,115,119,.08);}
    .faq-q {
      width:100%;background:none;border:none;color:var(--slate);
      font-family:'Plus Jakarta Sans',sans-serif;font-size:.91rem;font-weight:700;
      text-align:left;padding:18px 20px;cursor:pointer;
      display:flex;justify-content:space-between;align-items:center;gap:12px;
      transition:color .18s;
    }
    .faq-item.open .faq-q{color:var(--teal);}
    .faq-arrow {
      width:26px;height:26px;background:var(--bg2);border-radius:50%;
      display:flex;align-items:center;justify-content:center;
      font-size:.6rem;flex-shrink:0;color:var(--muted);
      transition:transform .25s,background .2s,color .2s;
    }
    .faq-item.open .faq-arrow{transform:rotate(180deg);background:var(--teal);color:#fff;}
    .faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease;font-size:.83rem;color:var(--muted);line-height:1.8;}
    .faq-item.open .faq-a{max-height:400px;padding:0 20px 18px;}

    code{background:var(--teal-pale);color:var(--teal-dark);font-family:'JetBrains Mono',monospace;font-size:.78em;padding:1px 5px;border-radius:4px;}

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

/* ─── RESPONSIVE ─── */
    @media(max-width:860px){
      .io-grid{grid-template-columns:1fr;}.arrow-col{flex-direction:row;padding-top:0;justify-content:center;}
      .features-grid,.benefits-grid{grid-template-columns:1fr;}
      .about-inner{grid-template-columns:1fr;padding:32px;}
      .steps-grid{grid-template-columns:1fr;gap:28px;}.steps-grid::before{display:none;}
      .use-grid{grid-template-columns:1fr;}
      .stats-strip{grid-template-columns:repeat(2,1fr);}
      .footer-top{grid-template-columns:1fr 1fr;gap:32px;}
      nav{gap:1rem;}
    }
    @media(max-width:560px){
      .header-inner{padding:0 1rem;      .footer-top {
        grid-template-columns: 1fr;
      }
    }
      
      .hero{padding:40px 1rem 28px;}
      .tool-wrapper,.section,.stats-strip{padding-left:1rem;padding-right:1rem;}
      .footer-top{grid-template-columns:1fr;}
      h1{letter-spacing:-.8px;}
      .example-row{grid-template-columns:1fr;}
      .ex-arrow{display:none;}
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg:        #f2f5f7;
      --bg2:       #e8edf0;
      --surface:   #ffffff;
      --surface2:  #f7fafa;
      --border:    #d0dade;
      --border2:   #b8c8cc;
      --teal:      #0d7377;
      --teal-dark: #095a5e;
      --teal-light:#14a7ad;
      --teal-pale: #e0f4f5;
      --teal-pale2:#bde8ea;
      --amber:     #b45309;
      --amber2:    #d97706;
      --amber-pale:#fef3c7;
      --amber-pale2:#fde68a;
      --slate:     #1a2535;
      --slate2:    #2d3f55;
      --muted:     #5a6e82;
      --muted2:    #8fa0b0;
      --success:   #047857;
      --success-bg:#d1fae5;
      --error:     #b91c1c;
      --error-bg:  #fee2e2;
    }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: var(--bg);
      color: var(--slate);
      line-height: 1.6;
      overflow-x: hidden;
    }
    body::before {
      content:'';
      position:fixed; top:0; left:0; right:0; height:3px;
      background: linear-gradient(90deg, var(--teal), var(--teal-light) 50%, var(--amber2));
      z-index:300;
    }
    body::after {
      content:'';
      position:fixed; inset:0;
      background-image:
        linear-gradient(rgba(13,115,119,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,115,119,.025) 1px, transparent 1px);
      background-size: 44px 44px;
      pointer-events:none; z-index:0;
    }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 4px rgba(13,115,119,.08);
      position: sticky; top:3px; z-index:100;
    }
    .header-inner {
      max-width:1200px; margin:0 auto; padding:0 2rem;
      display:flex; align-items:center; justify-content:space-between;
      height:66px;
    }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon {
      width:38px; height:38px;
      background: var(--teal); border-radius:10px;
      display:flex; align-items:center; justify-content:center;
      font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500;
      color:#fff; letter-spacing:-.3px;
      box-shadow:0 2px 8px rgba(13,115,119,.3);
    }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta {
      background:var(--teal)!important; color:#fff!important;
      padding:9px 20px; border-radius:8px;
      font-size:.84rem!important; font-weight:700!important;
      box-shadow:0 2px 10px rgba(13,115,119,.28);
      transition:background .18s,box-shadow .18s,transform .12s!important;
    }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── HERO ─── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge {
      display:inline-flex; align-items:center; gap:8px;
      background:var(--teal-pale); border:1px solid var(--teal-pale2);
      border-radius:100px; padding:6px 16px;
      font-size:.74rem; font-weight:700; color:var(--teal-dark);
      letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px;
      animation:fadeUp .5s ease both;
    }
    .badge-dot { width:7px;height:7px;background:var(--success);border-radius:50%;animation:pulse 2s ease infinite; }
    @keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}
    h1 {
      font-size:clamp(2rem,5vw,3.6rem);
      font-weight:800; line-height:1.1; letter-spacing:-1.5px;
      color:var(--slate); margin-bottom:18px;
      animation:fadeUp .5s .08s ease both;
    }
    h1 .hl { color:var(--teal); }
    .underline-bar {
      display:block; width:200px; height:4px; margin:10px auto 0;
      background:linear-gradient(90deg,var(--teal),var(--amber2));
      border-radius:2px;
      animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0);
    }
    @keyframes slideIn{to{transform:scaleX(1)}}
    .hero-sub {
      font-size:1.04rem; color:var(--muted);
      max-width:540px; margin:16px auto 44px;
      line-height:1.78; animation:fadeUp .5s .15s ease both;
    }
    @keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}

    /* ─── TOOL ─── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card {
      background:var(--surface); border:1px solid var(--border);
      border-radius:20px; overflow:hidden;
      box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07);
    }
    .tab-bar {
      background:var(--surface2); border-bottom:1px solid var(--border);
      display:flex; padding:12px 16px 0; gap:4px;
    }
    .tab-btn {
      padding:10px 22px; background:transparent;
      border:1px solid transparent; border-bottom:none;
      border-radius:10px 10px 0 0;
      color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif;
      font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s;
    }
    .tab-btn:hover:not(.active){color:var(--slate);background:rgba(13,115,119,.06);}
    .tab-btn.active {
      background:var(--surface); color:var(--teal);
      border-color:var(--border); border-bottom-color:var(--surface);
      margin-bottom:-1px; position:relative; z-index:2;
    }
    .panel-body { padding:28px; }

    /* ─── DECODE PANEL ─── */
    .decode-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
    .io-col { display:flex; flex-direction:column; gap:10px; }
    .io-label {
      display:flex; align-items:center; justify-content:space-between;
      font-size:.71rem; font-weight:700; letter-spacing:.9px;
      text-transform:uppercase; color:var(--muted);
    }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    textarea {
      width:100%; min-height:180px;
      background:var(--surface2); border:1.5px solid var(--border);
      border-radius:12px; padding:14px 16px;
      color:var(--slate); font-family:'JetBrains Mono',monospace;
      font-size:.78rem; line-height:1.75; resize:vertical; outline:none;
      transition:border-color .18s,box-shadow .18s,background .18s;
    }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea::placeholder { color:var(--muted2); }

    /* Format selector */
    .format-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
    .format-label { font-size:.71rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
    .format-select {
      background:var(--surface2); border:1.5px solid var(--border);
      border-radius:8px; padding:7px 12px;
      color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif;
      font-size:.8rem; font-weight:600; cursor:pointer; outline:none;
      transition:border-color .18s;
    }
    .format-select:focus { border-color:var(--teal); }

    /* Audio player card */
    .audio-output-card {
      background:var(--surface2); border:1.5px solid var(--border);
      border-radius:14px; padding:20px;
      display:flex; flex-direction:column; gap:14px;
      min-height:180px; justify-content:center;
      transition:border-color .2s;
    }
    .audio-output-card.has-audio { border-color:var(--teal-pale2); background:var(--teal-pale); }
    .audio-placeholder {
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      gap:10px; color:var(--muted2); text-align:center; padding:20px 0;
    }
    .audio-placeholder-icon { font-size:2.4rem; opacity:.5; }
    .audio-placeholder p { font-size:.8rem; font-weight:600; }

    .audio-info { display:flex; align-items:center; gap:12px; }
    .audio-format-badge {
      background:var(--teal); color:#fff;
      font-family:'JetBrains Mono',monospace; font-size:.72rem; font-weight:700;
      padding:4px 10px; border-radius:6px; letter-spacing:.4px; text-transform:uppercase;
    }
    .audio-meta { font-size:.78rem; color:var(--muted); font-weight:600; }
    .audio-size { font-family:'JetBrains Mono',monospace; font-size:.72rem; color:var(--muted2); }

    audio {
      width:100%; height:40px; border-radius:8px; outline:none;
      accent-color: var(--teal);
    }
    audio::-webkit-media-controls-panel { background:var(--surface); }

    /* Waveform visualizer */
    .waveform-wrap {
      background:var(--slate); border-radius:10px; padding:12px 14px;
      display:flex; align-items:center; gap:3px; height:56px; overflow:hidden;
    }
    .wave-bar {
      flex:1; background:var(--teal-light); border-radius:2px;
      animation:waveBounce var(--d, 1s) ease-in-out infinite alternate;
      animation-delay: var(--delay, 0s);
    }
    @keyframes waveBounce { from { height: var(--min, 4px); } to { height: var(--max, 32px); } }

    .action-bar { display:flex;align-items:center;gap:7px;flex-wrap:wrap; }
    .btn {
      display:inline-flex;align-items:center;gap:5px;
      padding:8px 15px;border-radius:8px;
      border:1.5px solid var(--border); background:var(--surface);
      color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif;
      font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s;
    }
    .btn:hover { border-color:var(--teal);color:var(--teal);background:var(--teal-pale); }
    .btn-primary { background:var(--teal);color:#fff;border-color:var(--teal);box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark);border-color:var(--teal-dark);color:#fff;box-shadow:0 4px 14px rgba(13,115,119,.32);transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale);color:var(--amber);border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2);border-color:var(--amber2);color:var(--amber); }
    .btn-ghost { background:transparent;border-color:var(--border);color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2);border-color:var(--border2);color:var(--slate); }
    .btn:disabled { opacity:.4; cursor:not-allowed; transform:none!important; }

    /* Data URI panel */
    .uri-output {
      background:var(--surface2); border:1.5px solid var(--border);
      border-radius:12px; padding:14px 16px;
      font-family:'JetBrains Mono',monospace; font-size:.75rem;
      color:var(--slate2); word-break:break-all; line-height:1.65;
      max-height:120px; overflow-y:auto; white-space:pre-wrap;
    }

    .status-bar { padding:0 28px 20px;min-height:42px;display:flex;align-items:center; }
    .status-msg {
      display:inline-flex;align-items:center;gap:7px;
      font-size:.79rem;font-weight:600;padding:6px 14px;border-radius:8px;
      opacity:0;transform:translateY(4px);transition:all .22s;
    }
    .status-msg.show { opacity:1;transform:translateY(0); }
    .status-msg.success { background:var(--success-bg);color:var(--success); }
    .status-msg.error   { background:var(--error-bg);  color:var(--error);   }

    /* ─── ENCODE PANEL (Audio → Base64) ─── */
    .file-zone {
      border:2px dashed var(--border2);border-radius:16px;
      padding:52px 28px;text-align:center;cursor:pointer;
      background:var(--surface2);transition:all .2s;
    }
    .file-zone:hover,.file-zone.drag { border-color:var(--teal);background:var(--teal-pale); }
    .file-icon { font-size:2.4rem;margin-bottom:14px; }
    .file-zone h3 { font-size:1rem;font-weight:700;color:var(--slate);margin-bottom:6px; }
    .file-zone p { font-size:.82rem;color:var(--muted); }
    #audioFileInput { display:none; }
    .encode-result { margin-top:20px;display:none; }

    /* ─── STATS ─── */
    .stats-strip { max-width:1080px;margin:0 auto 72px;padding:0 2rem;display:grid;grid-template-columns:repeat(4,1fr);gap:14px; }
    .stat-card {
      background:var(--surface);border:1px solid var(--border);
      border-radius:14px;padding:20px 22px;
      box-shadow:0 1px 4px rgba(13,115,119,.07);
      transition:transform .18s,box-shadow .18s;
    }
    .stat-card:hover { transform:translateY(-3px);box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num { font-size:1.85rem;font-weight:800;letter-spacing:-.8px;color:var(--teal); }
    .stat-label { font-size:.75rem;color:var(--muted);font-weight:600;margin-top:3px; }

    /* ─── SECTIONS ─── */
    .section { max-width:1080px;margin:0 auto;padding:0 2rem 80px; }
    .section-head { text-align:center;margin-bottom:48px; }
    .section-tag {
      display:inline-block;font-size:.7rem;font-weight:700;
      letter-spacing:1.3px;text-transform:uppercase;
      color:var(--teal);background:var(--teal-pale);
      border:1px solid var(--teal-pale2);border-radius:100px;
      padding:4px 13px;margin-bottom:14px;
    }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem);font-weight:800;letter-spacing:-.8px;color:var(--slate);margin-bottom:12px; }
    .section-sub { font-size:.92rem;color:var(--muted);max-width:480px;margin:0 auto;line-height:1.76; }

    /* Features */
    .features-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:16px; }
    .feat-card {
      background:var(--surface);border:1px solid var(--border);
      border-radius:16px;padding:26px 24px;
      box-shadow:0 1px 4px rgba(0,0,0,.05);
      transition:transform .2s,box-shadow .2s,border-color .2s;
    }
    .feat-card:hover { transform:translateY(-4px);box-shadow:0 8px 28px rgba(13,115,119,.12);border-color:var(--teal-pale2); }
    .feat-icon {
      width:44px;height:44px;border-radius:12px;
      display:flex;align-items:center;justify-content:center;
      font-size:1.25rem;margin-bottom:15px;background:var(--teal-pale);
    }
    .feat-icon.amber { background:var(--amber-pale); }
    .feat-icon.gray  { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem;font-weight:700;margin-bottom:7px;color:var(--slate); }
    .feat-card p  { font-size:.81rem;color:var(--muted);line-height:1.7; }

    /* Steps */
    .steps-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:0;position:relative; }
    .steps-grid::before {
      content:'';position:absolute;top:29px;
      left:calc(16.67% + 22px);right:calc(16.67% + 22px);
      height:2px;background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2));
    }
    .step { text-align:center;padding:0 20px; }
    .step-num {
      width:58px;height:58px;background:var(--teal);border-radius:50%;
      display:flex;align-items:center;justify-content:center;
      margin:0 auto 20px;font-size:1.05rem;font-weight:800;color:#fff;
      box-shadow:0 4px 16px rgba(13,115,119,.28);position:relative;z-index:2;
    }
    .step h3 { font-size:.92rem;font-weight:700;margin-bottom:8px;color:var(--slate); }
    .step p   { font-size:.81rem;color:var(--muted);line-height:1.68; }

    /* Format table */
    .format-table-wrap { overflow-x:auto;border-radius:14px;border:1px solid var(--border);box-shadow:0 2px 8px rgba(0,0,0,.05); }
    .format-table { width:100%;border-collapse:collapse;font-size:.8rem; }
    .format-table thead th {
      background:var(--surface2);border-bottom:1px solid var(--border);
      padding:12px 16px;text-align:left;font-size:.68rem;font-weight:700;
      letter-spacing:.9px;text-transform:uppercase;color:var(--muted);
    }
    .format-table tbody tr { transition:background .15s; }
    .format-table tbody tr:hover { background:var(--teal-pale); }
    .format-table tbody td { padding:11px 16px;border-bottom:1px solid var(--bg2);color:var(--slate2); }
    .format-table tbody td:first-child { font-family:'JetBrains Mono',monospace;font-weight:700;color:var(--teal-dark); }
    .format-table tbody tr:last-child td { border-bottom:none; }
    .support-badge {
      display:inline-block;font-size:.65rem;font-weight:700;padding:2px 9px;border-radius:6px;letter-spacing:.4px;
    }
    .support-badge.yes  { background:var(--success-bg);color:var(--success); }
    .support-badge.wide { background:var(--teal-pale);color:var(--teal-dark); }
    .support-badge.limited { background:var(--amber-pale);color:var(--amber); }

    /* Use cases */
    .use-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:16px; }
    .use-card {
      background:var(--surface);border:1px solid var(--border);
      border-radius:16px;padding:26px;display:flex;gap:16px;
      box-shadow:0 1px 4px rgba(0,0,0,.05);
      transition:transform .2s,box-shadow .2s,border-color .2s;
    }
    .use-card:hover { transform:translateY(-3px);box-shadow:0 8px 28px rgba(13,115,119,.1);border-color:var(--teal-pale2); }
    .use-num { font-size:2.2rem;font-weight:800;font-family:'JetBrains Mono',monospace;color:var(--teal-pale2);line-height:1;flex-shrink:0; }
    .use-card h3 { font-size:.92rem;font-weight:700;margin-bottom:7px;color:var(--slate); }
    .use-card p  { font-size:.81rem;color:var(--muted);line-height:1.68; }

    /* About */
    .about-inner {
      background:var(--surface);border:1px solid var(--border);
      border-radius:20px;padding:52px;
      display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:start;
      box-shadow:0 4px 20px rgba(13,115,119,.08);
    }
    .about-inner h2 { text-align:left;margin-bottom:16px; }
    .about-inner p  { font-size:.86rem;color:var(--muted);line-height:1.82;margin-bottom:13px; }
    .about-visual {
      background:var(--slate);border-radius:14px;padding:24px;
      font-family:'JetBrains Mono',monospace;font-size:.75rem;line-height:2;overflow:hidden;
    }
    .mono-line .k { color:#7dd3fc; } .mono-line .s { color:#86efac; }
    .mono-line .v { color:#fde68a; } .mono-line .c { color:#475569;font-style:italic; }
    .mono-line { color:#cbd5e1; }

    /* FAQ */
    .faq-list { max-width:720px;margin:0 auto;display:flex;flex-direction:column;gap:10px; }
    .faq-item {
      background:var(--surface);border:1px solid var(--border);
      border-radius:14px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.05);
      transition:border-color .2s,box-shadow .2s;
    }
    .faq-item:hover { border-color:var(--teal-pale2); }
    .faq-item.open  { border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,115,119,.08); }
    .faq-q {
      width:100%;background:none;border:none;color:var(--slate);
      font-family:'Plus Jakarta Sans',sans-serif;font-size:.91rem;font-weight:700;
      text-align:left;padding:18px 20px;cursor:pointer;
      display:flex;justify-content:space-between;align-items:center;gap:12px;
      transition:color .18s;
    }
    .faq-item.open .faq-q { color:var(--teal); }
    .faq-arrow {
      width:26px;height:26px;background:var(--bg2);border-radius:50%;
      display:flex;align-items:center;justify-content:center;
      font-size:.6rem;flex-shrink:0;color:var(--muted);
      transition:transform .25s,background .2s,color .2s;
    }
    .faq-item.open .faq-arrow { transform:rotate(180deg);background:var(--teal);color:#fff; }
    .faq-a { max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease;font-size:.83rem;color:var(--muted);line-height:1.8; }
    .faq-item.open .faq-a { max-height:400px;padding:0 20px 18px; }

    code { background:var(--teal-pale);color:var(--teal-dark);font-family:'JetBrains Mono',monospace;font-size:.78em;padding:1px 5px;border-radius:4px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

/* ─── RESPONSIVE ─── */
    @media(max-width:860px){
      .decode-grid { grid-template-columns:1fr; }
      .features-grid,.use-grid { grid-template-columns:1fr; }
      .about-inner { grid-template-columns:1fr;padding:32px; }
      .steps-grid { grid-template-columns:1fr;gap:28px; }
      .steps-grid::before { display:none; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .footer-top { grid-template-columns:1fr 1fr;gap:32px; }
    }
    @media(max-width:560px){
      .header-inner { padding:0 1rem;       .footer-top {
        grid-template-columns: 1fr;
      }
    }
      
      .hero { padding:40px 1rem 28px; }
      .tool-wrapper,.section,.stats-strip { padding-left:1rem;padding-right:1rem; }
      .footer-top { grid-template-columns:1fr; }
      h1 { letter-spacing:-.8px; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:         #f2f5f7;
      --bg2:        #e8edf0;
      --surface:    #ffffff;
      --surface2:   #f7fafa;
      --border:     #d0dade;
      --border2:    #b8c8cc;
      --teal:       #0d7377;
      --teal-dark:  #095a5e;
      --teal-light: #14a7ad;
      --teal-pale:  #e0f4f5;
      --teal-pale2: #bde8ea;
      --amber:      #b45309;
      --amber2:     #d97706;
      --amber-pale: #fef3c7;
      --amber-pale2:#fde68a;
      --slate:      #1a2535;
      --slate2:     #2d3f55;
      --muted:      #5a6e82;
      --muted2:     #8fa0b0;
      --success:    #047857;
      --success-bg: #d1fae5;
      --error:      #b91c1c;
      --error-bg:   #fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,box-shadow .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── HERO ─── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl { color:var(--teal); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:540px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ─── TOOL ─── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* ─── IO ─── */
    .io-col { display:flex; flex-direction:column; gap:10px; }
    .io-label { display:flex; align-items:center; justify-content:space-between; font-size:.71rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); margin-bottom:2px; }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    textarea { width:100%; min-height:200px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; color:var(--slate); font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.75; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s,background .18s; }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea::placeholder { color:var(--muted2); }

    /* Options row */
    .options-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:0 0 4px; }
    .opt-label { font-size:.7rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
    .opt-select, .opt-input { background:var(--surface2); border:1.5px solid var(--border); border-radius:8px; padding:7px 12px; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.8rem; font-weight:600; cursor:pointer; outline:none; transition:border-color .18s; }
    .opt-select:focus, .opt-input:focus { border-color:var(--teal); }
    .opt-input { cursor:text; min-width:140px; }
    .opt-input::placeholder { color:var(--muted2); font-weight:400; }

    /* Preview / result card */
    .preview-card { background:var(--surface2); border:1.5px solid var(--border); border-radius:14px; overflow:hidden; transition:border-color .25s; min-height:200px; display:flex; flex-direction:column; }
    .preview-card.has-file { border-color:var(--teal-pale2); }
    .preview-header { padding:12px 16px; background:var(--surface2); border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; gap:10px; }
    .preview-title { font-size:.69rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .file-type-badge { font-family:'JetBrains Mono',monospace; font-size:.7rem; font-weight:700; padding:3px 9px; border-radius:5px; text-transform:uppercase; letter-spacing:.4px; background:var(--teal); color:#fff; }
    .preview-body { flex:1; display:flex; align-items:center; justify-content:center; padding:20px; }

    /* placeholder state */
    .ph-state { text-align:center; color:var(--muted2); padding:24px 0; }
    .ph-icon { font-size:2.6rem; opacity:.4; margin-bottom:10px; }
    .ph-state p { font-size:.82rem; font-weight:600; }

    /* file info strip */
    .file-info { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding:14px 16px; background:var(--teal-pale); border-top:1px solid var(--teal-pale2); }
    .file-info-icon { font-size:1.8rem; flex-shrink:0; }
    .file-info-meta h4 { font-size:.88rem; font-weight:700; color:var(--teal-dark); margin-bottom:2px; }
    .file-info-meta p  { font-size:.74rem; color:var(--teal); }
    .file-info-size { font-family:'JetBrains Mono',monospace; font-size:.74rem; color:var(--teal-dark); margin-left:auto; font-weight:700; }

    /* Image preview */
    .img-preview { max-width:100%; max-height:260px; border-radius:8px; object-fit:contain; box-shadow:0 4px 16px rgba(0,0,0,.12); }

    /* PDF / generic preview */
    .generic-preview { display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; }
    .generic-icon { font-size:3.5rem; }
    .generic-name { font-size:.86rem; font-weight:700; color:var(--slate); word-break:break-all; }
    .generic-desc { font-size:.78rem; color:var(--muted); }

    /* File to Base64 zone */
    .file-zone { border:2px dashed var(--border2); border-radius:16px; padding:52px 28px; text-align:center; cursor:pointer; background:var(--surface2); transition:all .2s; }
    .file-zone:hover, .file-zone.drag { border-color:var(--teal); background:var(--teal-pale); }
    .file-zone-icon { font-size:2.6rem; margin-bottom:14px; }
    .file-zone h3 { font-size:1rem; font-weight:700; color:var(--slate); margin-bottom:6px; }
    .file-zone p  { font-size:.82rem; color:var(--muted); }
    #fileInput { display:none; }

    /* Encode output */
    .encode-out-wrap { display:none; margin-top:20px; }
    .encode-out { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; font-family:'JetBrains Mono',monospace; font-size:.76rem; color:var(--slate2); word-break:break-all; line-height:1.65; max-height:180px; overflow-y:auto; }
    .encode-meta { display:flex; align-items:center; gap:10px; padding:10px 0 6px; font-size:.78rem; color:var(--muted); flex-wrap:wrap; }
    .encode-meta strong { color:var(--slate); }

    /* Data URI tab */
    .uri-input { width:100%; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; font-family:'JetBrains Mono',monospace; font-size:.78rem; color:var(--slate); min-height:100px; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s; line-height:1.7; }
    .uri-input:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    .uri-input::placeholder { color:var(--muted2); }

    /* ─── SHARED BUTTONS ─── */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); color:var(--amber); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .btn:disabled { opacity:.4; cursor:not-allowed; transform:none!important; box-shadow:none!important; }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error);   }

    /* ─── STATS ─── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num   { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label { font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ─── SECTIONS ─── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    /* Features grid */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber { background:var(--amber-pale); }
    .feat-icon.gray  { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; margin-bottom:8px; color:var(--slate); }
    .step p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* Format table */
    .fmt-table-wrap { overflow-x:auto; border-radius:14px; border:1px solid var(--border); box-shadow:0 2px 8px rgba(0,0,0,.05); }
    .fmt-table { width:100%; border-collapse:collapse; font-size:.8rem; }
    .fmt-table thead th { background:var(--surface2); border-bottom:1px solid var(--border); padding:12px 16px; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .fmt-table tbody tr { transition:background .15s; }
    .fmt-table tbody tr:hover { background:var(--teal-pale); }
    .fmt-table tbody td { padding:11px 16px; border-bottom:1px solid var(--bg2); color:var(--slate2); font-size:.8rem; }
    .fmt-table tbody td:first-child { font-size:1.1rem; }
    .fmt-table tbody td:nth-child(2) { font-family:'JetBrains Mono',monospace; font-weight:700; color:var(--teal-dark); font-size:.76rem; }
    .fmt-table tbody tr:last-child td { border-bottom:none; }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px; display:flex; gap:16px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .use-num { font-size:2.2rem; font-weight:800; font-family:'JetBrains Mono',monospace; color:var(--teal-pale2); line-height:1; flex-shrink:0; }
    .use-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .use-card p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* About */
    .about-inner { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:52px; display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start; box-shadow:0 4px 20px rgba(13,115,119,.08); }
    .about-inner h2 { text-align:left; margin-bottom:16px; }
    .about-inner p  { font-size:.86rem; color:var(--muted); line-height:1.82; margin-bottom:13px; }
    .about-visual { background:var(--slate); border-radius:14px; padding:24px; font-family:'JetBrains Mono',monospace; font-size:.75rem; line-height:2; overflow:hidden; }
    .mono-line .k { color:#7dd3fc; } .mono-line .s { color:#86efac; }
    .mono-line .v { color:#fde68a; } .mono-line .c { color:#475569; font-style:italic; }
    .mono-line { color:#cbd5e1; }

    /* FAQ */
    .faq-list { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.05); transition:border-color .2s,box-shadow .2s; }
    .faq-item:hover { border-color:var(--teal-pale2); }
    .faq-item.open  { border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,115,119,.08); }
    .faq-q { width:100%; background:none; border:none; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.91rem; font-weight:700; text-align:left; padding:18px 20px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; transition:color .18s; }
    .faq-item.open .faq-q { color:var(--teal); }
    .faq-arrow { width:26px; height:26px; background:var(--bg2); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.6rem; flex-shrink:0; color:var(--muted); transition:transform .25s,background .2s,color .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); background:var(--teal); color:#fff; }
    .faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease,padding .3s ease; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { max-height:400px; padding:0 20px 18px; }

    code { background:var(--teal-pale); color:var(--teal-dark); font-family:'JetBrains Mono',monospace; font-size:.78em; padding:1px 5px; border-radius:4px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

/* ─── RESPONSIVE ─── */
    @media(max-width:860px) {
      .features-grid,.use-grid { grid-template-columns:1fr; }
      .about-inner { grid-template-columns:1fr; padding:32px; }
      .steps-grid { grid-template-columns:1fr; gap:28px; }
      .steps-grid::before { display:none; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
    }
    @media(max-width:560px) {
      .header-inner { padding:0 1rem;       .footer-top {
        grid-template-columns: 1fr;
      }
    }
      
      .hero { padding:40px 1rem 28px; }
      .tool-wrapper,.section,.stats-strip { padding-left:1rem; padding-right:1rem; }
      .footer-top { grid-template-columns:1fr; }
      h1 { letter-spacing:-.8px; }
      .options-row { gap:8px; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:         #f2f5f7;
      --bg2:        #e8edf0;
      --surface:    #ffffff;
      --surface2:   #f7fafa;
      --border:     #d0dade;
      --border2:    #b8c8cc;
      --teal:       #0d7377;
      --teal-dark:  #095a5e;
      --teal-light: #14a7ad;
      --teal-pale:  #e0f4f5;
      --teal-pale2: #bde8ea;
      --amber:      #b45309;
      --amber2:     #d97706;
      --amber-pale: #fef3c7;
      --amber-pale2:#fde68a;
      --slate:      #1a2535;
      --slate2:     #2d3f55;
      --muted:      #5a6e82;
      --muted2:     #8fa0b0;
      --success:    #047857;
      --success-bg: #d1fae5;
      --error:      #b91c1c;
      --error-bg:   #fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,box-shadow .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── HERO ─── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl { color:var(--teal); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:530px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ─── TOOL ─── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* IO */
    .io-grid { display:grid; grid-template-columns:1fr 60px 1fr; gap:16px; align-items:start; }
    .io-col { display:flex; flex-direction:column; gap:10px; }
    .io-label { display:flex; align-items:center; justify-content:space-between; font-size:.71rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    textarea { width:100%; min-height:200px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; color:var(--slate); font-family:'JetBrains Mono',monospace; font-size:.8rem; line-height:1.75; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s,background .18s; }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea[readonly] { background:#eef8f8; color:var(--slate2); }
    textarea::placeholder { color:var(--muted2); }

    /* Options */
    .options-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
    .opt-label { font-size:.7rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
    .opt-select { background:var(--surface2); border:1.5px solid var(--border); border-radius:8px; padding:7px 12px; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.8rem; font-weight:600; cursor:pointer; outline:none; transition:border-color .18s; }
    .opt-select:focus { border-color:var(--teal); }
    .toggle-group { display:flex; gap:0; border:1.5px solid var(--border); border-radius:8px; overflow:hidden; }
    .toggle-btn { padding:6px 14px; background:var(--surface2); border:none; border-right:1px solid var(--border); color:var(--muted); font-family:'JetBrains Mono',monospace; font-size:.78rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .toggle-btn:last-child { border-right:none; }
    .toggle-btn.active { background:var(--teal); color:#fff; }

    /* Byte inspector */
    .byte-grid { display:flex; flex-wrap:wrap; gap:5px; padding:14px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; max-height:220px; overflow-y:auto; }
    .byte-cell { display:flex; flex-direction:column; align-items:center; gap:2px; background:var(--surface); border:1px solid var(--border); border-radius:6px; padding:5px 7px; min-width:44px; transition:border-color .15s, background .15s; cursor:default; }
    .byte-cell:hover { border-color:var(--teal); background:var(--teal-pale); }
    .byte-hex { font-family:'JetBrains Mono',monospace; font-size:.72rem; font-weight:700; color:var(--teal-dark); }
    .byte-dec { font-family:'JetBrains Mono',monospace; font-size:.6rem; color:var(--muted2); }
    .byte-chr { font-size:.7rem; color:var(--muted); }
    .byte-empty { text-align:center; color:var(--muted2); font-size:.82rem; padding:24px; width:100%; }

    /* Arrow col */
    .arrow-col { display:flex; flex-direction:column; align-items:center; justify-content:center; padding-top:34px; gap:8px; }
    .convert-btn { width:46px; height:46px; background:var(--teal); border:none; border-radius:13px; color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 14px rgba(13,115,119,.3); transition:transform .15s,box-shadow .2s,background .18s; }
    .convert-btn:hover { background:var(--teal-dark); transform:scale(1.08); box-shadow:0 6px 20px rgba(13,115,119,.42); }
    .convert-btn:active { transform:scale(.94); }
    .convert-btn svg { transition:transform .25s; }
    .convert-btn:hover svg { transform:rotate(180deg); }

    /* Shared buttons */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); color:var(--amber); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ─── STATS ─── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num   { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label { font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ─── SECTIONS ─── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    /* Features */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber { background:var(--amber-pale); }
    .feat-icon.gray  { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; margin-bottom:8px; color:var(--slate); }
    .step p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* Examples */
    .examples-grid { display:flex; flex-direction:column; gap:20px; }
    .example-card { background:var(--surface); border:1px solid var(--border); border-radius:18px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.05); transition:box-shadow .2s,border-color .2s; }
    .example-card:hover { box-shadow:0 8px 28px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .example-header { padding:16px 22px; background:var(--surface2); border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; gap:12px; }
    .example-header h3 { font-size:.92rem; font-weight:700; color:var(--slate); }
    .example-tag { font-size:.68rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; background:var(--teal-pale); color:var(--teal-dark); border:1px solid var(--teal-pale2); border-radius:6px; padding:3px 10px; }
    .example-body { padding:20px 22px; display:flex; flex-direction:column; gap:10px; }
    .ex-row { display:grid; grid-template-columns:120px 1fr 32px 1fr; gap:10px; align-items:center; }
    .ex-key  { font-size:.68rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); }
    .ex-val  { font-family:'JetBrains Mono',monospace; font-size:.78rem; background:var(--surface2); border:1px solid var(--border); border-radius:8px; padding:7px 12px; color:var(--slate2); word-break:break-all; }
    .ex-val.out { background:#eef8f8; border-color:var(--teal-pale2); color:var(--teal-dark); }
    .ex-arrow { text-align:center; color:var(--teal-pale2); font-size:1rem; }
    .ex-copy-btn { display:inline-flex; align-items:center; gap:4px; padding:5px 11px; border-radius:7px; border:1.5px solid var(--border); background:var(--surface); color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.71rem; font-weight:700; cursor:pointer; transition:all .15s; white-space:nowrap; margin-top:6px; }
    .ex-copy-btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px; display:flex; gap:16px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .use-num { font-size:2.2rem; font-weight:800; font-family:'JetBrains Mono',monospace; color:var(--teal-pale2); line-height:1; flex-shrink:0; }
    .use-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .use-card p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* About */
    .about-inner { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:52px; display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start; box-shadow:0 4px 20px rgba(13,115,119,.08); }
    .about-inner h2 { text-align:left; margin-bottom:16px; }
    .about-inner p  { font-size:.86rem; color:var(--muted); line-height:1.82; margin-bottom:13px; }
    .about-visual { background:var(--slate); border-radius:14px; padding:24px; font-family:'JetBrains Mono',monospace; font-size:.75rem; line-height:2; overflow:hidden; }
    .mono-line .k { color:#7dd3fc; } .mono-line .s { color:#86efac; }
    .mono-line .v { color:#fde68a; } .mono-line .c { color:#475569; font-style:italic; }
    .mono-line { color:#cbd5e1; }

    /* FAQ */
    .faq-list { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.05); transition:border-color .2s,box-shadow .2s; }
    .faq-item:hover { border-color:var(--teal-pale2); }
    .faq-item.open  { border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,115,119,.08); }
    .faq-q { width:100%; background:none; border:none; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.91rem; font-weight:700; text-align:left; padding:18px 20px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; transition:color .18s; }
    .faq-item.open .faq-q { color:var(--teal); }
    .faq-arrow { width:26px; height:26px; background:var(--bg2); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.6rem; flex-shrink:0; color:var(--muted); transition:transform .25s,background .2s,color .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); background:var(--teal); color:#fff; }
    .faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease,padding .3s ease; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { max-height:400px; padding:0 20px 18px; }

    code { background:var(--teal-pale); color:var(--teal-dark); font-family:'JetBrains Mono',monospace; font-size:.78em; padding:1px 5px; border-radius:4px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

/* ─── RESPONSIVE ─── */
    @media(max-width:860px) {
      .io-grid { grid-template-columns:1fr; }
      .arrow-col { flex-direction:row; padding-top:0; justify-content:center; }
      .features-grid,.use-grid { grid-template-columns:1fr; }
      .about-inner { grid-template-columns:1fr; padding:32px; }
      .steps-grid { grid-template-columns:1fr; gap:28px; }
      .steps-grid::before { display:none; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
      .ex-row { grid-template-columns:1fr; }
      .ex-arrow { display:none; }
    }
    @media(max-width:560px) {
      .header-inner { padding:0 1rem;       .footer-top {
        grid-template-columns: 1fr;
      }
    }
      
      .hero { padding:40px 1rem 28px; }
      .tool-wrapper,.section,.stats-strip { padding-left:1rem; padding-right:1rem; }
      .footer-top { grid-template-columns:1fr; }
      h1 { letter-spacing:-.8px; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:         #f2f5f7;
      --bg2:        #e8edf0;
      --surface:    #ffffff;
      --surface2:   #f7fafa;
      --border:     #d0dade;
      --border2:    #b8c8cc;
      --teal:       #0d7377;
      --teal-dark:  #095a5e;
      --teal-light: #14a7ad;
      --teal-pale:  #e0f4f5;
      --teal-pale2: #bde8ea;
      --amber:      #b45309;
      --amber2:     #d97706;
      --amber-pale: #fef3c7;
      --amber-pale2:#fde68a;
      --slate:      #1a2535;
      --slate2:     #2d3f55;
      --muted:      #5a6e82;
      --muted2:     #8fa0b0;
      --success:    #047857;
      --success-bg: #d1fae5;
      --error:      #b91c1c;
      --error-bg:   #fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,box-shadow .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── HERO ─── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl { color:var(--teal); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:530px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ─── TOOL ─── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* ─── IO ─── */
    .io-col { display:flex; flex-direction:column; gap:10px; }
    .io-label { display:flex; align-items:center; justify-content:space-between; font-size:.71rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    textarea { width:100%; min-height:160px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; color:var(--slate); font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.75; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s,background .18s; }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea[readonly] { background:#eef8f8; color:var(--slate2); }
    textarea::placeholder { color:var(--muted2); }

    /* Format selector row */
    .options-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
    .opt-label { font-size:.7rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
    .opt-select { background:var(--surface2); border:1.5px solid var(--border); border-radius:8px; padding:7px 12px; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.8rem; font-weight:600; cursor:pointer; outline:none; transition:border-color .18s; }
    .opt-select:focus { border-color:var(--teal); }

    /* ─── IMAGE PREVIEW AREA ─── */
    .preview-wrap {
      border:1.5px solid var(--border); border-radius:14px; overflow:hidden;
      background: repeating-conic-gradient(var(--bg2) 0% 25%, transparent 0% 50%) 0 0 / 18px 18px;
      min-height:280px; display:flex; align-items:center; justify-content:center;
      transition:border-color .25s;
      position:relative;
    }
    .preview-wrap.has-image { border-color:var(--teal-pale2); }
    .preview-placeholder { text-align:center; color:var(--muted2); padding:40px 20px; }
    .preview-placeholder .ph-icon { font-size:3rem; opacity:.35; margin-bottom:12px; }
    .preview-placeholder p { font-size:.84rem; font-weight:600; }
    .preview-img { max-width:100%; max-height:480px; object-fit:contain; border-radius:4px; display:block; }
    .preview-svg { width:100%; max-height:480px; }

    /* Image info bar */
    .img-info-bar {
      display:none; align-items:center; gap:14px; flex-wrap:wrap;
      padding:12px 16px; background:var(--teal-pale);
      border-top:1px solid var(--teal-pale2);
    }
    .img-info-bar.show { display:flex; }
    .img-badge { font-family:'JetBrains Mono',monospace; font-size:.72rem; font-weight:700; padding:3px 9px; border-radius:6px; background:var(--teal); color:#fff; text-transform:uppercase; letter-spacing:.4px; }
    .img-stat { font-size:.78rem; color:var(--teal-dark); font-weight:600; }
    .img-stat span { color:var(--teal); font-family:'JetBrains Mono',monospace; }

    /* Zoom controls */
    .zoom-bar { display:none; position:absolute; top:10px; right:10px; gap:4px; z-index:10; }
    .zoom-bar.show { display:flex; }
    .zoom-btn { width:30px; height:30px; background:rgba(255,255,255,.92); border:1px solid var(--border); border-radius:7px; cursor:pointer; font-size:.9rem; display:flex; align-items:center; justify-content:center; color:var(--slate); transition:all .15s; box-shadow:0 1px 4px rgba(0,0,0,.1); }
    .zoom-btn:hover { background:#fff; border-color:var(--teal); color:var(--teal); }

    /* ─── ENCODE TAB — file drop zone ─── */
    .file-zone { border:2px dashed var(--border2); border-radius:16px; padding:56px 28px; text-align:center; cursor:pointer; background:var(--surface2); transition:all .2s; }
    .file-zone:hover, .file-zone.drag { border-color:var(--teal); background:var(--teal-pale); }
    .file-zone-icon { font-size:2.8rem; margin-bottom:14px; }
    .file-zone h3 { font-size:1rem; font-weight:700; color:var(--slate); margin-bottom:6px; }
    .file-zone p  { font-size:.82rem; color:var(--muted); }
    #imgFileInput { display:none; }

    /* Encode result */
    .encode-result { display:none; margin-top:20px; }
    .encode-meta { font-size:.78rem; color:var(--muted); display:flex; gap:16px; flex-wrap:wrap; padding:10px 0 6px; }
    .encode-meta strong { color:var(--slate); }
    .encode-preview { width:100%; max-height:200px; object-fit:contain; border-radius:10px; border:1px solid var(--border); background:repeating-conic-gradient(var(--bg2) 0% 25%,transparent 0% 50%) 0 0/14px 14px; margin-bottom:12px; }
    .encode-out { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; font-family:'JetBrains Mono',monospace; font-size:.74rem; color:var(--slate2); word-break:break-all; line-height:1.65; max-height:150px; overflow-y:auto; }

    /* ─── CSS SNIPPET TAB ─── */
    .snippet-options { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:16px; }
    .snippet-out { background:var(--slate); border-radius:12px; padding:18px 20px; font-family:'JetBrains Mono',monospace; font-size:.76rem; line-height:1.85; overflow-x:auto; color:#cbd5e1; white-space:pre; max-height:260px; overflow-y:auto; }
    .snip-tag  { color:#7dd3fc; }
    .snip-attr { color:#fde68a; }
    .snip-val  { color:#86efac; }
    .snip-c    { color:#475569; font-style:italic; }

    /* ─── SHARED BUTTONS ─── */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); color:var(--amber); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .btn:disabled { opacity:.4; cursor:not-allowed; transform:none!important; box-shadow:none!important; }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ─── STATS ─── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num   { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label { font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ─── SECTIONS ─── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    /* Features */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber { background:var(--amber-pale); }
    .feat-icon.gray  { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; margin-bottom:8px; color:var(--slate); }
    .step p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* Format table */
    .fmt-table-wrap { overflow-x:auto; border-radius:14px; border:1px solid var(--border); box-shadow:0 2px 8px rgba(0,0,0,.05); }
    .fmt-table { width:100%; border-collapse:collapse; font-size:.8rem; }
    .fmt-table thead th { background:var(--surface2); border-bottom:1px solid var(--border); padding:12px 16px; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .fmt-table tbody tr { transition:background .15s; }
    .fmt-table tbody tr:hover { background:var(--teal-pale); }
    .fmt-table tbody td { padding:11px 16px; border-bottom:1px solid var(--bg2); color:var(--slate2); }
    .fmt-table tbody td:first-child { font-size:1.1rem; }
    .fmt-table tbody td:nth-child(2) { font-family:'JetBrains Mono',monospace; font-weight:700; color:var(--teal-dark); font-size:.76rem; }
    .fmt-table tbody tr:last-child td { border-bottom:none; }
    .badge-pill { display:inline-block; font-size:.65rem; font-weight:700; padding:2px 9px; border-radius:6px; letter-spacing:.3px; }
    .badge-pill.yes { background:var(--success-bg); color:var(--success); }
    .badge-pill.partial { background:var(--amber-pale); color:var(--amber); }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px; display:flex; gap:16px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .use-num { font-size:2.2rem; font-weight:800; font-family:'JetBrains Mono',monospace; color:var(--teal-pale2); line-height:1; flex-shrink:0; }
    .use-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .use-card p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* About */
    .about-inner { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:52px; display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start; box-shadow:0 4px 20px rgba(13,115,119,.08); }
    .about-inner h2 { text-align:left; margin-bottom:16px; }
    .about-inner p  { font-size:.86rem; color:var(--muted); line-height:1.82; margin-bottom:13px; }
    .about-visual { background:var(--slate); border-radius:14px; padding:24px; font-family:'JetBrains Mono',monospace; font-size:.74rem; line-height:1.95; overflow:hidden; }
    .mono-line .k { color:#7dd3fc; } .mono-line .s { color:#86efac; }
    .mono-line .v { color:#fde68a; } .mono-line .c { color:#475569; font-style:italic; }
    .mono-line { color:#cbd5e1; }

    /* FAQ */
    .faq-list { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.05); transition:border-color .2s,box-shadow .2s; }
    .faq-item:hover { border-color:var(--teal-pale2); }
    .faq-item.open  { border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,115,119,.08); }
    .faq-q { width:100%; background:none; border:none; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.91rem; font-weight:700; text-align:left; padding:18px 20px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; transition:color .18s; }
    .faq-item.open .faq-q { color:var(--teal); }
    .faq-arrow { width:26px; height:26px; background:var(--bg2); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.6rem; flex-shrink:0; color:var(--muted); transition:transform .25s,background .2s,color .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); background:var(--teal); color:#fff; }
    .faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease,padding .3s ease; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { max-height:400px; padding:0 20px 18px; }

    code { background:var(--teal-pale); color:var(--teal-dark); font-family:'JetBrains Mono',monospace; font-size:.78em; padding:1px 5px; border-radius:4px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

/* ─── RESPONSIVE ─── */
    @media(max-width:860px) {
      .features-grid,.use-grid { grid-template-columns:1fr; }
      .about-inner { grid-template-columns:1fr; padding:32px; }
      .steps-grid { grid-template-columns:1fr; gap:28px; }
      .steps-grid::before { display:none; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
    }
    @media(max-width:560px) {
      .header-inner { padding:0 1rem;       .footer-top {
        grid-template-columns: 1fr;
      }
    }
      
      .hero { padding:40px 1rem 28px; }
      .tool-wrapper,.section,.stats-strip { padding-left:1rem; padding-right:1rem; }
      .footer-top { grid-template-columns:1fr; }
      h1 { letter-spacing:-.8px; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

      *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:         #f2f5f7;
      --bg2:        #e8edf0;
      --surface:    #ffffff;
      --surface2:   #f7fafa;
      --border:     #d0dade;
      --border2:    #b8c8cc;
      --teal:       #0d7377;
      --teal-dark:  #095a5e;
      --teal-light: #14a7ad;
      --teal-pale:  #e0f4f5;
      --teal-pale2: #bde8ea;
      --amber:      #b45309;
      --amber2:     #d97706;
      --amber-pale: #fef3c7;
      --amber-pale2:#fde68a;
      --slate:      #1a2535;
      --slate2:     #2d3f55;
      --muted:      #5a6e82;
      --muted2:     #8fa0b0;
      --success:    #047857;
      --success-bg: #d1fae5;
      --error:      #b91c1c;
      --error-bg:   #fee2e2;
      --red-pale:   #fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,box-shadow .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── HERO ─── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl { color:var(--teal); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:530px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ─── TOOL ─── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* ─── IO ─── */
    .io-col { display:flex; flex-direction:column; gap:12px; }
    .io-label { display:flex; align-items:center; justify-content:space-between; font-size:.71rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    textarea { width:100%; min-height:160px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; color:var(--slate); font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.75; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s,background .18s; }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea[readonly] { background:#eef8f8; color:var(--slate2); }
    textarea::placeholder { color:var(--muted2); }

    /* ─── PDF PREVIEW AREA ─── */
    .pdf-preview-wrap {
      border:1.5px solid var(--border); border-radius:14px; overflow:hidden;
      background:var(--surface2); transition:border-color .25s;
    }
    .pdf-preview-wrap.has-pdf { border-color:var(--teal-pale2); }

    /* placeholder */
    .pdf-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:52px 20px; text-align:center; color:var(--muted2); }
    .pdf-placeholder-icon { font-size:3.2rem; opacity:.35; }
    .pdf-placeholder p { font-size:.84rem; font-weight:600; }

    /* iframe embed */
    .pdf-iframe-wrap { width:100%; position:relative; }
    .pdf-iframe-wrap iframe { width:100%; height:520px; border:none; display:block; }

    /* fallback card when iframe blocked */
    .pdf-fallback { display:none; flex-direction:column; align-items:center; gap:16px; padding:40px 28px; text-align:center; }
    .pdf-fallback-icon { font-size:3.8rem; }
    .pdf-fallback h3 { font-size:1.05rem; font-weight:800; color:var(--slate); }
    .pdf-fallback p  { font-size:.83rem; color:var(--muted); max-width:420px; line-height:1.7; }

    /* PDF info bar */
    .pdf-info-bar { display:none; align-items:center; gap:14px; flex-wrap:wrap; padding:12px 16px; background:var(--teal-pale); border-top:1px solid var(--teal-pale2); }
    .pdf-info-bar.show { display:flex; }
    .pdf-badge { font-family:'JetBrains Mono',monospace; font-size:.72rem; font-weight:700; padding:3px 9px; border-radius:6px; background:var(--error); color:#fff; letter-spacing:.5px; }
    .pdf-stat  { font-size:.78rem; color:var(--teal-dark); font-weight:600; }
    .pdf-stat span { color:var(--teal); font-family:'JetBrains Mono',monospace; }

    /* Metadata inspector */
    .meta-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
    .meta-row { background:var(--surface2); border:1px solid var(--border); border-radius:10px; padding:12px 14px; display:flex; flex-direction:column; gap:3px; }
    .meta-key { font-size:.65rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .meta-val { font-family:'JetBrains Mono',monospace; font-size:.8rem; color:var(--slate2); word-break:break-all; }
    .meta-val.empty { color:var(--muted2); font-style:italic; }

    /* ─── ENCODE TAB ─── */
    .file-zone { border:2px dashed var(--border2); border-radius:16px; padding:56px 28px; text-align:center; cursor:pointer; background:var(--surface2); transition:all .2s; }
    .file-zone:hover, .file-zone.drag { border-color:var(--teal); background:var(--teal-pale); }
    .file-zone-icon { font-size:2.8rem; margin-bottom:14px; }
    .file-zone h3 { font-size:1rem; font-weight:700; color:var(--slate); margin-bottom:6px; }
    .file-zone p  { font-size:.82rem; color:var(--muted); }
    #pdfFileInput { display:none; }
    .encode-result { display:none; margin-top:20px; }
    .encode-meta { font-size:.78rem; color:var(--muted); display:flex; gap:16px; flex-wrap:wrap; padding:8px 0 4px; }
    .encode-meta strong { color:var(--slate); }
    .encode-out { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; font-family:'JetBrains Mono',monospace; font-size:.74rem; color:var(--slate2); word-break:break-all; line-height:1.65; max-height:150px; overflow-y:auto; }

    /* ─── SHARED BUTTONS ─── */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); color:var(--amber); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .btn:disabled { opacity:.4; cursor:not-allowed; transform:none!important; box-shadow:none!important; }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ─── STATS ─── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num   { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label { font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ─── SECTIONS ─── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    /* Features */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber { background:var(--amber-pale); }
    .feat-icon.gray  { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; margin-bottom:8px; color:var(--slate); }
    .step p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px; display:flex; gap:16px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .use-num { font-size:2.2rem; font-weight:800; font-family:'JetBrains Mono',monospace; color:var(--teal-pale2); line-height:1; flex-shrink:0; }
    .use-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .use-card p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* About */
    .about-inner { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:52px; display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start; box-shadow:0 4px 20px rgba(13,115,119,.08); }
    .about-inner h2 { text-align:left; margin-bottom:16px; }
    .about-inner p  { font-size:.86rem; color:var(--muted); line-height:1.82; margin-bottom:13px; }
    .about-visual { background:var(--slate); border-radius:14px; padding:24px; font-family:'JetBrains Mono',monospace; font-size:.74rem; line-height:1.95; overflow:hidden; }
    .mono-line .k { color:#7dd3fc; } .mono-line .s { color:#86efac; }
    .mono-line .v { color:#fde68a; } .mono-line .c { color:#475569; font-style:italic; }
    .mono-line { color:#cbd5e1; }

    /* FAQ */
    .faq-list { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.05); transition:border-color .2s,box-shadow .2s; }
    .faq-item:hover { border-color:var(--teal-pale2); }
    .faq-item.open  { border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,115,119,.08); }
    .faq-q { width:100%; background:none; border:none; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.91rem; font-weight:700; text-align:left; padding:18px 20px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; transition:color .18s; }
    .faq-item.open .faq-q { color:var(--teal); }
    .faq-arrow { width:26px; height:26px; background:var(--bg2); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.6rem; flex-shrink:0; color:var(--muted); transition:transform .25s,background .2s,color .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); background:var(--teal); color:#fff; }
    .faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease,padding .3s ease; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { max-height:400px; padding:0 20px 18px; }

    code { background:var(--teal-pale); color:var(--teal-dark); font-family:'JetBrains Mono',monospace; font-size:.78em; padding:1px 5px; border-radius:4px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

/* ─── RESPONSIVE ─── */
    @media(max-width:860px) {
      .features-grid,.use-grid { grid-template-columns:1fr; }
      .about-inner { grid-template-columns:1fr; padding:32px; }
      .steps-grid { grid-template-columns:1fr; gap:28px; }
      .steps-grid::before { display:none; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
      .meta-grid { grid-template-columns:1fr; }
    }
    @media(max-width:560px) {
      .header-inner { padding:0 1rem;       .footer-top {
        grid-template-columns: 1fr;
      }
    }
      
      .hero { padding:40px 1rem 28px; }
      .tool-wrapper,.section,.stats-strip { padding-left:1rem; padding-right:1rem; }
      .footer-top { grid-template-columns:1fr; }
      h1 { letter-spacing:-.8px; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:         #f2f5f7;
      --bg2:        #e8edf0;
      --surface:    #ffffff;
      --surface2:   #f7fafa;
      --border:     #d0dade;
      --border2:    #b8c8cc;
      --teal:       #0d7377;
      --teal-dark:  #095a5e;
      --teal-light: #14a7ad;
      --teal-pale:  #e0f4f5;
      --teal-pale2: #bde8ea;
      --amber:      #b45309;
      --amber2:     #d97706;
      --amber-pale: #fef3c7;
      --amber-pale2:#fde68a;
      --slate:      #1a2535;
      --slate2:     #2d3f55;
      --muted:      #5a6e82;
      --muted2:     #8fa0b0;
      --success:    #047857;
      --success-bg: #d1fae5;
      --error:      #b91c1c;
      --error-bg:   #fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,box-shadow .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── HERO ─── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl { color:var(--teal); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:530px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ─── TOOL ─── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* ─── IO GRID ─── */
    .io-grid { display:grid; grid-template-columns:1fr 60px 1fr; gap:16px; align-items:start; }
    .io-col { display:flex; flex-direction:column; gap:10px; }
    .io-label { display:flex; align-items:center; justify-content:space-between; font-size:.71rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    textarea { width:100%; min-height:210px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; color:var(--slate); font-family:'JetBrains Mono',monospace; font-size:.8rem; line-height:1.75; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s,background .18s; }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea[readonly] { background:#eef8f8; color:var(--slate2); }
    textarea::placeholder { color:var(--muted2); }

    /* Arrow column */
    .arrow-col { display:flex; flex-direction:column; align-items:center; justify-content:center; padding-top:34px; gap:8px; }
    .convert-btn { width:46px; height:46px; background:var(--teal); border:none; border-radius:13px; color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 14px rgba(13,115,119,.3); transition:transform .15s,box-shadow .2s,background .18s; }
    .convert-btn:hover { background:var(--teal-dark); transform:scale(1.08); box-shadow:0 6px 20px rgba(13,115,119,.42); }
    .convert-btn:active { transform:scale(.94); }
    .convert-btn svg { transition:transform .25s; }
    .convert-btn:hover svg { transform:rotate(180deg); }

    /* Options */
    .options-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:2px; }
    .opt-label { font-size:.7rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
    .opt-select { background:var(--surface2); border:1.5px solid var(--border); border-radius:8px; padding:7px 12px; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.8rem; font-weight:600; cursor:pointer; outline:none; transition:border-color .18s; }
    .opt-select:focus { border-color:var(--teal); }
    .toggle-group { display:flex; gap:0; border:1.5px solid var(--border); border-radius:8px; overflow:hidden; }
    .toggle-btn { padding:6px 13px; background:var(--surface2); border:none; border-right:1px solid var(--border); color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.78rem; font-weight:600; cursor:pointer; transition:all .15s; white-space:nowrap; }
    .toggle-btn:last-child { border-right:none; }
    .toggle-btn.active { background:var(--teal); color:#fff; }

    /* Text stats bar */
    .stats-row { display:flex; align-items:center; gap:0; background:var(--surface2); border:1.5px solid var(--border); border-radius:10px; overflow:hidden; }
    .stat-pill { flex:1; text-align:center; padding:9px 6px; border-right:1px solid var(--border); }
    .stat-pill:last-child { border-right:none; }
    .stat-pill .sp-num { display:block; font-family:'JetBrains Mono',monospace; font-size:.9rem; font-weight:700; color:var(--teal); }
    .stat-pill .sp-lbl { display:block; font-size:.6rem; font-weight:700; letter-spacing:.7px; text-transform:uppercase; color:var(--muted2); margin-top:2px; }

    /* Diff / compare highlight */
    .diff-wrap { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; min-height:80px; font-family:'JetBrains Mono',monospace; font-size:.8rem; line-height:1.9; word-break:break-all; max-height:260px; overflow-y:auto; }
    .diff-wrap .added   { background:#d1fae5; color:#065f46; border-radius:3px; padding:0 2px; }
    .diff-wrap .removed { background:#fee2e2; color:#991b1b; border-radius:3px; padding:0 2px; }

    /* URL-safe tab specific */
    .urlsafe-note { display:flex; align-items:flex-start; gap:10px; background:var(--amber-pale); border:1px solid var(--amber-pale2); border-radius:10px; padding:12px 14px; font-size:.8rem; color:var(--amber); line-height:1.6; }
    .urlsafe-note .un-icon { font-size:1rem; flex-shrink:0; margin-top:1px; }

    /* Shared buttons */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); color:var(--amber); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ─── STATS STRIP ─── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num   { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label { font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ─── SECTIONS ─── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    /* Features */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber { background:var(--amber-pale); }
    .feat-icon.gray  { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Encoding table */
    .enc-table-wrap { overflow-x:auto; border-radius:14px; border:1px solid var(--border); box-shadow:0 2px 8px rgba(0,0,0,.05); }
    .enc-table { width:100%; border-collapse:collapse; font-size:.8rem; }
    .enc-table thead th { background:var(--surface2); border-bottom:1px solid var(--border); padding:12px 16px; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .enc-table tbody tr { transition:background .15s; }
    .enc-table tbody tr:hover { background:var(--teal-pale); }
    .enc-table tbody td { padding:11px 16px; border-bottom:1px solid var(--bg2); color:var(--slate2); }
    .enc-table tbody td:first-child { font-family:'JetBrains Mono',monospace; font-weight:700; color:var(--teal-dark); font-size:.76rem; }
    .enc-table tbody tr:last-child td { border-bottom:none; }
    .badge-pill { display:inline-block; font-size:.65rem; font-weight:700; padding:2px 9px; border-radius:6px; }
    .badge-pill.best    { background:var(--success-bg); color:var(--success); }
    .badge-pill.good    { background:var(--teal-pale); color:var(--teal-dark); }
    .badge-pill.limited { background:var(--amber-pale); color:var(--amber); }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; margin-bottom:8px; color:var(--slate); }
    .step p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px; display:flex; gap:16px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .use-num { font-size:2.2rem; font-weight:800; font-family:'JetBrains Mono',monospace; color:var(--teal-pale2); line-height:1; flex-shrink:0; }
    .use-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .use-card p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* About */
    .about-inner { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:52px; display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start; box-shadow:0 4px 20px rgba(13,115,119,.08); }
    .about-inner h2 { text-align:left; margin-bottom:16px; }
    .about-inner p  { font-size:.86rem; color:var(--muted); line-height:1.82; margin-bottom:13px; }
    .about-visual { background:var(--slate); border-radius:14px; padding:24px; font-family:'JetBrains Mono',monospace; font-size:.74rem; line-height:1.95; overflow:hidden; }
    .mono-line .k { color:#7dd3fc; } .mono-line .s { color:#86efac; }
    .mono-line .v { color:#fde68a; } .mono-line .c { color:#475569; font-style:italic; }
    .mono-line { color:#cbd5e1; }

    /* FAQ */
    .faq-list { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.05); transition:border-color .2s,box-shadow .2s; }
    .faq-item:hover { border-color:var(--teal-pale2); }
    .faq-item.open  { border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,115,119,.08); }
    .faq-q { width:100%; background:none; border:none; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.91rem; font-weight:700; text-align:left; padding:18px 20px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; transition:color .18s; }
    .faq-item.open .faq-q { color:var(--teal); }
    .faq-arrow { width:26px; height:26px; background:var(--bg2); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.6rem; flex-shrink:0; color:var(--muted); transition:transform .25s,background .2s,color .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); background:var(--teal); color:#fff; }
    .faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease,padding .3s ease; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { max-height:400px; padding:0 20px 18px; }

    code { background:var(--teal-pale); color:var(--teal-dark); font-family:'JetBrains Mono',monospace; font-size:.78em; padding:1px 5px; border-radius:4px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

/* ─── RESPONSIVE ─── */
    @media(max-width:860px) {
      .io-grid { grid-template-columns:1fr; }
      .arrow-col { flex-direction:row; padding-top:0; justify-content:center; }
      .features-grid,.use-grid { grid-template-columns:1fr; }
      .about-inner { grid-template-columns:1fr; padding:32px; }
      .steps-grid { grid-template-columns:1fr; gap:28px; }
      .steps-grid::before { display:none; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
    }
    @media(max-width:560px) {
      .header-inner { padding:0 1rem;       .footer-top {
        grid-template-columns: 1fr;
      }
    }
      
      .hero { padding:40px 1rem 28px; }
      .tool-wrapper,.section,.stats-strip { padding-left:1rem; padding-right:1rem; }
      .footer-top { grid-template-columns:1fr; }
      h1 { letter-spacing:-.8px; }
      .stats-row { flex-wrap:wrap; }
      .stat-pill { min-width:48%; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:         #f2f5f7;
      --bg2:        #e8edf0;
      --surface:    #ffffff;
      --surface2:   #f7fafa;
      --border:     #d0dade;
      --border2:    #b8c8cc;
      --teal:       #0d7377;
      --teal-dark:  #095a5e;
      --teal-light: #14a7ad;
      --teal-pale:  #e0f4f5;
      --teal-pale2: #bde8ea;
      --amber:      #b45309;
      --amber2:     #d97706;
      --amber-pale: #fef3c7;
      --amber-pale2:#fde68a;
      --slate:      #1a2535;
      --slate2:     #2d3f55;
      --muted:      #5a6e82;
      --muted2:     #8fa0b0;
      --success:    #047857;
      --success-bg: #d1fae5;
      --error:      #b91c1c;
      --error-bg:   #fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,box-shadow .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── HERO ─── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl { color:var(--teal); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:530px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ─── TOOL ─── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* IO */
    .io-col { display:flex; flex-direction:column; gap:12px; }
    .io-label { display:flex; align-items:center; justify-content:space-between; font-size:.71rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    textarea { width:100%; min-height:150px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; color:var(--slate); font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.75; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s,background .18s; }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea[readonly] { background:#eef8f8; color:var(--slate2); }
    textarea::placeholder { color:var(--muted2); }

    /* Options */
    .options-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
    .opt-label { font-size:.7rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
    .opt-select { background:var(--surface2); border:1.5px solid var(--border); border-radius:8px; padding:7px 12px; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.8rem; font-weight:600; cursor:pointer; outline:none; transition:border-color .18s; }
    .opt-select:focus { border-color:var(--teal); }

    /* ─── VIDEO PLAYER ─── */
    .player-wrap {
      background:#0a0e14;
      border-radius:16px;
      overflow:hidden;
      position:relative;
      box-shadow:0 8px 32px rgba(0,0,0,.28);
    }
    .player-placeholder {
      min-height:300px;
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      gap:14px; color:rgba(255,255,255,.3);
      text-align:center; padding:40px 20px;
    }
    .player-placeholder .ph-icon { font-size:3.6rem; opacity:.45; }
    .player-placeholder p { font-size:.85rem; font-weight:600; }
    video#videoEl {
      width:100%; max-height:480px; display:none;
      background:#000; outline:none;
    }

    /* Video info bar */
    .vid-info-bar { display:none; align-items:center; gap:14px; flex-wrap:wrap; padding:12px 18px; background:var(--teal-pale); border-top:1px solid var(--teal-pale2); }
    .vid-info-bar.show { display:flex; }
    .vid-badge { font-family:'JetBrains Mono',monospace; font-size:.72rem; font-weight:700; padding:3px 9px; border-radius:6px; background:var(--teal); color:#fff; letter-spacing:.5px; text-transform:uppercase; }
    .vid-stat  { font-size:.78rem; color:var(--teal-dark); font-weight:600; }
    .vid-stat span { color:var(--teal); font-family:'JetBrains Mono',monospace; }

    /* Unsupported notice */
    .vid-unsupported { display:none; flex-direction:column; align-items:center; gap:14px; padding:36px 24px; text-align:center; background:#0a0e14; }
    .vid-unsupported h3 { font-size:1rem; font-weight:800; color:#fff; }
    .vid-unsupported p  { font-size:.83rem; color:rgba(255,255,255,.55); max-width:400px; line-height:1.7; }

    /* ─── ENCODE TAB — file drop zone ─── */
    .file-zone { border:2px dashed var(--border2); border-radius:16px; padding:52px 28px; text-align:center; cursor:pointer; background:var(--surface2); transition:all .2s; }
    .file-zone:hover, .file-zone.drag { border-color:var(--teal); background:var(--teal-pale); }
    .file-zone-icon { font-size:2.8rem; margin-bottom:14px; }
    .file-zone h3 { font-size:1rem; font-weight:700; color:var(--slate); margin-bottom:6px; }
    .file-zone p  { font-size:.82rem; color:var(--muted); }
    #vidFileInput { display:none; }

    /* Encode result */
    .encode-result { display:none; margin-top:20px; }
    .encode-meta   { font-size:.78rem; color:var(--muted); display:flex; gap:16px; flex-wrap:wrap; padding:8px 0 4px; }
    .encode-meta strong { color:var(--slate); }
    .encode-preview-wrap { background:#0a0e14; border-radius:12px; overflow:hidden; margin-bottom:12px; }
    .encode-preview { width:100%; max-height:200px; display:block; }
    .encode-out { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; font-family:'JetBrains Mono',monospace; font-size:.74rem; color:var(--slate2); word-break:break-all; line-height:1.65; max-height:140px; overflow-y:auto; }

    /* Data URI builder */
    .uri-builder { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:18px 20px; display:flex; flex-direction:column; gap:14px; }
    .uri-row { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
    .uri-label { font-size:.7rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); min-width:100px; }
    .uri-input { flex:1; background:var(--surface); border:1.5px solid var(--border); border-radius:8px; padding:8px 12px; font-family:'JetBrains Mono',monospace; font-size:.78rem; color:var(--slate); outline:none; min-width:0; transition:border-color .18s; }
    .uri-input:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    .uri-out { background:var(--slate); border-radius:10px; padding:14px 16px; font-family:'JetBrains Mono',monospace; font-size:.73rem; color:#86efac; word-break:break-all; line-height:1.75; max-height:100px; overflow-y:auto; }

    /* Shared buttons */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); color:var(--amber); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .btn:disabled { opacity:.4; cursor:not-allowed; transform:none!important; box-shadow:none!important; }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ─── STATS ─── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num   { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label { font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ─── SECTIONS ─── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    /* Features */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber { background:var(--amber-pale); }
    .feat-icon.gray  { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; margin-bottom:8px; color:var(--slate); }
    .step p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* Format table */
    .fmt-table-wrap { overflow-x:auto; border-radius:14px; border:1px solid var(--border); box-shadow:0 2px 8px rgba(0,0,0,.05); }
    .fmt-table { width:100%; border-collapse:collapse; font-size:.8rem; }
    .fmt-table thead th { background:var(--surface2); border-bottom:1px solid var(--border); padding:12px 16px; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .fmt-table tbody tr { transition:background .15s; }
    .fmt-table tbody tr:hover { background:var(--teal-pale); }
    .fmt-table tbody td { padding:11px 16px; border-bottom:1px solid var(--bg2); color:var(--slate2); vertical-align:middle; }
    .fmt-table tbody td:first-child { font-size:1.1rem; }
    .fmt-table tbody td:nth-child(2) { font-family:'JetBrains Mono',monospace; font-weight:700; color:var(--teal-dark); font-size:.76rem; }
    .fmt-table tbody tr:last-child td { border-bottom:none; }
    .badge-pill { display:inline-block; font-size:.65rem; font-weight:700; padding:2px 9px; border-radius:6px; letter-spacing:.3px; }
    .badge-pill.yes     { background:var(--success-bg); color:var(--success); }
    .badge-pill.partial { background:var(--amber-pale);  color:var(--amber); }
    .badge-pill.no      { background:var(--error-bg);    color:var(--error); }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px; display:flex; gap:16px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .use-num { font-size:2.2rem; font-weight:800; font-family:'JetBrains Mono',monospace; color:var(--teal-pale2); line-height:1; flex-shrink:0; }
    .use-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .use-card p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* About */
    .about-inner { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:52px; display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start; box-shadow:0 4px 20px rgba(13,115,119,.08); }
    .about-inner h2 { text-align:left; margin-bottom:16px; }
    .about-inner p  { font-size:.86rem; color:var(--muted); line-height:1.82; margin-bottom:13px; }
    .about-visual { background:var(--slate); border-radius:14px; padding:24px; font-family:'JetBrains Mono',monospace; font-size:.74rem; line-height:1.95; overflow:hidden; }
    .mono-line .k { color:#7dd3fc; } .mono-line .s { color:#86efac; }
    .mono-line .v { color:#fde68a; } .mono-line .c { color:#475569; font-style:italic; }
    .mono-line { color:#cbd5e1; }

    /* Warning note */
    .note-box { display:flex; align-items:flex-start; gap:10px; background:var(--amber-pale); border:1px solid var(--amber-pale2); border-radius:10px; padding:12px 15px; font-size:.8rem; color:var(--amber); line-height:1.65; margin-bottom:16px; }
    .note-box .nb-icon { font-size:1rem; flex-shrink:0; margin-top:1px; }

    /* FAQ */
    .faq-list { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.05); transition:border-color .2s,box-shadow .2s; }
    .faq-item:hover { border-color:var(--teal-pale2); }
    .faq-item.open  { border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,115,119,.08); }
    .faq-q { width:100%; background:none; border:none; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.91rem; font-weight:700; text-align:left; padding:18px 20px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; transition:color .18s; }
    .faq-item.open .faq-q { color:var(--teal); }
    .faq-arrow { width:26px; height:26px; background:var(--bg2); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.6rem; flex-shrink:0; color:var(--muted); transition:transform .25s,background .2s,color .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); background:var(--teal); color:#fff; }
    .faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease,padding .3s ease; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { max-height:400px; padding:0 20px 18px; }

    code { background:var(--teal-pale); color:var(--teal-dark); font-family:'JetBrains Mono',monospace; font-size:.78em; padding:1px 5px; border-radius:4px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

/* ─── RESPONSIVE ─── */
    @media(max-width:860px) {
      .features-grid,.use-grid { grid-template-columns:1fr; }
      .about-inner { grid-template-columns:1fr; padding:32px; }
      .steps-grid { grid-template-columns:1fr; gap:28px; }
      .steps-grid::before { display:none; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
    }
    @media(max-width:560px) {
      .header-inner { padding:0 1rem;       .footer-top {
        grid-template-columns: 1fr;
      }
    }
      
      .hero { padding:40px 1rem 28px; }
      .tool-wrapper,.section,.stats-strip { padding-left:1rem; padding-right:1rem; }
      .footer-top { grid-template-columns:1fr; }
      h1 { letter-spacing:-.8px; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

      *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:         #f2f5f7;
      --bg2:        #e8edf0;
      --surface:    #ffffff;
      --surface2:   #f7fafa;
      --border:     #d0dade;
      --border2:    #b8c8cc;
      --teal:       #0d7377;
      --teal-dark:  #095a5e;
      --teal-light: #14a7ad;
      --teal-pale:  #e0f4f5;
      --teal-pale2: #bde8ea;
      --amber:      #b45309;
      --amber2:     #d97706;
      --amber-pale: #fef3c7;
      --amber-pale2:#fde68a;
      --slate:      #1a2535;
      --slate2:     #2d3f55;
      --muted:      #5a6e82;
      --muted2:     #8fa0b0;
      --success:    #047857;
      --success-bg: #d1fae5;
      --error:      #b91c1c;
      --error-bg:   #fee2e2;
      --warn:       #92400e;
      --warn-bg:    #fef3c7;
    }
    html { scroll-behavior:smooth; }
    body {
      font-family:'Plus Jakarta Sans', sans-serif;
      background:var(--bg); color:var(--slate);
      line-height:1.6; overflow-x:hidden;
    }
    body::before {
      content:''; position:fixed; top:0; left:0; right:0; height:3px;
      background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2));
      z-index:300;
    }
    body::after {
      content:''; position:fixed; inset:0;
      background-image:
        linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),
        linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px);
      background-size:44px 44px; pointer-events:none; z-index:0;
    }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,box-shadow .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── HERO ─── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl { color:var(--teal); }
    .underline-bar { display:block; width:220px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:530px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ─── TOOL ─── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* ─── DECODE PANEL ─── */
    .io-col { display:flex; flex-direction:column; gap:10px; }
    .io-label { display:flex; align-items:center; justify-content:space-between; font-size:.71rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    textarea { width:100%; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; color:var(--slate); font-family:'JetBrains Mono',monospace; font-size:.82rem; line-height:1.75; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s,background .18s; }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea::placeholder { color:var(--muted2); }

    /* Result card */
    .result-card { background:var(--surface2); border:1.5px solid var(--border); border-radius:14px; overflow:hidden; transition:border-color .25s; }
    .result-card.has-result { border-color:var(--teal-pale2); }
    .result-header { padding:14px 18px; background:var(--surface2); border-bottom:1px solid var(--border); display:flex; align-items:center; gap:10px; }
    .result-header-icon { font-size:1.1rem; }
    .result-header-title { font-size:.72rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .result-body { padding:20px 18px; display:flex; flex-direction:column; gap:14px; }

    .cred-row { display:flex; align-items:stretch; gap:0; border:1.5px solid var(--border); border-radius:10px; overflow:hidden; background:var(--surface); }
    .cred-label { background:var(--surface2); border-right:1px solid var(--border); padding:10px 14px; font-size:.68rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); display:flex; align-items:center; min-width:90px; flex-shrink:0; }
    .cred-value { font-family:'JetBrains Mono',monospace; font-size:.83rem; padding:10px 14px; color:var(--slate); flex:1; word-break:break-all; display:flex; align-items:center; min-height:42px; }
    .cred-value.empty { color:var(--muted2); font-style:italic; }
    .cred-copy { background:none; border:none; border-left:1px solid var(--border); padding:10px 12px; cursor:pointer; color:var(--muted); font-size:.8rem; transition:background .15s,color .15s; flex-shrink:0; }
    .cred-copy:hover { background:var(--teal-pale); color:var(--teal); }

    .reveal-btn { background:none; border:none; padding:0 8px; cursor:pointer; color:var(--muted2); font-size:.85rem; transition:color .15s; flex-shrink:0; }
    .reveal-btn:hover { color:var(--teal); }

    .full-decoded { background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:8px; padding:10px 14px; font-family:'JetBrains Mono',monospace; font-size:.8rem; color:var(--teal-dark); word-break:break-all; }
    .full-decoded-label { font-size:.65rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--teal); margin-bottom:5px; }

    .warn-banner { display:flex; align-items:flex-start; gap:10px; background:var(--warn-bg); border:1px solid var(--amber-pale2); border-radius:10px; padding:12px 14px; font-size:.8rem; color:var(--warn); line-height:1.6; }
    .warn-icon { font-size:1rem; flex-shrink:0; margin-top:1px; }

    .placeholder-state { padding:32px 0; text-align:center; color:var(--muted2); }
    .placeholder-state .ph-icon { font-size:2rem; margin-bottom:10px; opacity:.4; }
    .placeholder-state p { font-size:.82rem; font-weight:600; }

    /* ─── ENCODE PANEL ─── */
    .encode-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; }
    .input-field { background:var(--surface2); border:1.5px solid var(--border); border-radius:10px; padding:10px 14px; font-family:'JetBrains Mono',monospace; font-size:.83rem; color:var(--slate); width:100%; outline:none; transition:border-color .18s,box-shadow .18s; }
    .input-field:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    .input-field::placeholder { color:var(--muted2); }
    .field-group { display:flex; flex-direction:column; gap:6px; }
    .field-label { font-size:.69rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); }
    .encoded-output { background:var(--surface2); border:1.5px solid var(--border); border-radius:10px; padding:12px 14px; font-family:'JetBrains Mono',monospace; font-size:.8rem; color:var(--slate2); word-break:break-all; line-height:1.65; min-height:56px; display:flex; align-items:center; }
    .encoded-output.filled { background:#eef8f8; border-color:var(--teal-pale2); color:var(--teal-dark); }

    /* ─── HEADER BUILDER PANEL ─── */
    .header-display { background:var(--slate); border-radius:12px; padding:18px 20px; font-family:'JetBrains Mono',monospace; font-size:.8rem; line-height:1.9; overflow-x:auto; }
    .hd-key   { color:#7dd3fc; }
    .hd-colon { color:#475569; }
    .hd-value { color:#86efac; }
    .hd-basic { color:#fde68a; }
    .hd-b64   { color:#cbd5e1; word-break:break-all; }

    /* ─── SHARED ─── */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); color:var(--amber); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ─── STATS ─── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num   { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label { font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ─── SECTIONS ─── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    /* Features */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber { background:var(--amber-pale); }
    .feat-icon.gray  { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; margin-bottom:8px; color:var(--slate); }
    .step p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* Examples */
    .example-card { background:var(--surface); border:1px solid var(--border); border-radius:18px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.05); transition:box-shadow .2s,border-color .2s; margin-bottom:20px; }
    .example-card:hover { box-shadow:0 8px 28px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .example-header { padding:16px 22px; background:var(--surface2); border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; gap:12px; }
    .example-header h3 { font-size:.92rem; font-weight:700; color:var(--slate); }
    .example-tag { font-size:.68rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; background:var(--teal-pale); color:var(--teal-dark); border:1px solid var(--teal-pale2); border-radius:6px; padding:3px 10px; }
    .example-body { padding:20px 22px; display:flex; flex-direction:column; gap:10px; }
    .ex-row { display:flex; align-items:center; gap:12px; font-size:.82rem; }
    .ex-key   { font-family:'JetBrains Mono',monospace; font-size:.75rem; font-weight:700; color:var(--muted); white-space:nowrap; min-width:110px; }
    .ex-val   { font-family:'JetBrains Mono',monospace; font-size:.78rem; background:var(--surface2); border:1px solid var(--border); border-radius:8px; padding:6px 12px; color:var(--slate2); word-break:break-all; flex:1; }
    .ex-val.out { background:#eef8f8; border-color:var(--teal-pale2); color:var(--teal-dark); }
    .ex-arrow { color:var(--teal-pale2); font-size:1rem; flex-shrink:0; }
    .ex-copy-btn { display:inline-flex; align-items:center; gap:4px; padding:4px 10px; border-radius:6px; border:1.5px solid var(--border); background:var(--surface); color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.7rem; font-weight:700; cursor:pointer; transition:all .15s; white-space:nowrap; }
    .ex-copy-btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px; display:flex; gap:16px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .use-num { font-size:2.2rem; font-weight:800; font-family:'JetBrains Mono',monospace; color:var(--teal-pale2); line-height:1; flex-shrink:0; }
    .use-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .use-card p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* About */
    .about-inner { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:52px; display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start; box-shadow:0 4px 20px rgba(13,115,119,.08); }
    .about-inner h2 { text-align:left; margin-bottom:16px; }
    .about-inner p  { font-size:.86rem; color:var(--muted); line-height:1.82; margin-bottom:13px; }
    .about-visual { background:var(--slate); border-radius:14px; padding:24px; font-family:'JetBrains Mono',monospace; font-size:.75rem; line-height:2; overflow:hidden; }
    .mono-line .k { color:#7dd3fc; } .mono-line .s { color:#86efac; }
    .mono-line .v { color:#fde68a; } .mono-line .c { color:#475569; font-style:italic; }
    .mono-line { color:#cbd5e1; }

    /* Security callout */
    .security-box { background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:36px 40px; display:flex; gap:28px; align-items:flex-start; box-shadow:0 4px 20px rgba(13,115,119,.08); }
    .security-icon { font-size:2.4rem; flex-shrink:0; }
    .security-box h3 { font-size:1.15rem; font-weight:800; color:var(--slate); margin-bottom:10px; letter-spacing:-.3px; }
    .security-box p  { font-size:.84rem; color:var(--muted); line-height:1.8; margin-bottom:10px; }
    .security-box p:last-child { margin-bottom:0; }

    /* FAQ */
    .faq-list { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.05); transition:border-color .2s,box-shadow .2s; }
    .faq-item:hover { border-color:var(--teal-pale2); }
    .faq-item.open  { border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,115,119,.08); }
    .faq-q { width:100%; background:none; border:none; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.91rem; font-weight:700; text-align:left; padding:18px 20px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; transition:color .18s; }
    .faq-item.open .faq-q { color:var(--teal); }
    .faq-arrow { width:26px; height:26px; background:var(--bg2); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.6rem; flex-shrink:0; color:var(--muted); transition:transform .25s,background .2s,color .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); background:var(--teal); color:#fff; }
    .faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease,padding .3s ease; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { max-height:400px; padding:0 20px 18px; }

    code { background:var(--teal-pale); color:var(--teal-dark); font-family:'JetBrains Mono',monospace; font-size:.78em; padding:1px 5px; border-radius:4px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

/* ─── RESPONSIVE ─── */
    @media(max-width:860px) {
      .encode-grid { grid-template-columns:1fr; }
      .features-grid,.use-grid { grid-template-columns:1fr; }
      .about-inner { grid-template-columns:1fr; padding:32px; }
      .steps-grid { grid-template-columns:1fr; gap:28px; }
      .steps-grid::before { display:none; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
      .security-box { flex-direction:column; gap:16px; padding:28px 24px; }
    }
    @media(max-width:560px) {
      .header-inner { padding:0 1rem;       .footer-top {
        grid-template-columns: 1fr;
      }
    }
      
      .hero { padding:40px 1rem 28px; }
      .tool-wrapper,.section,.stats-strip { padding-left:1rem; padding-right:1rem; }
      .footer-top { grid-template-columns:1fr; }
      h1 { letter-spacing:-.8px; }
      .ex-row { flex-wrap:wrap; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg:        #f2f5f7;
      --bg2:       #e8edf0;
      --surface:   #ffffff;
      --surface2:  #f7fafa;
      --border:    #d0dade;
      --border2:   #b8c8cc;
      --teal:      #0d7377;
      --teal-dark: #095a5e;
      --teal-light:#14a7ad;
      --teal-pale: #e0f4f5;
      --teal-pale2:#bde8ea;
      --amber:     #b45309;
      --amber2:    #d97706;
      --amber-pale:#fef3c7;
      --amber-pale2:#fde68a;
      --slate:     #1a2535;
      --slate2:    #2d3f55;
      --muted:     #5a6e82;
      --muted2:    #8fa0b0;
      --success:   #047857;
      --success-bg:#d1fae5;
      --error:     #b91c1c;
      --error-bg:  #fee2e2;
    }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: var(--bg);
      color: var(--slate);
      line-height: 1.6;
      overflow-x: hidden;
    }
    body::before {
      content:'';
      position:fixed; top:0; left:0; right:0; height:3px;
      background: linear-gradient(90deg, var(--teal), var(--teal-light) 50%, var(--amber2));
      z-index:300;
    }
    body::after {
      content:'';
      position:fixed; inset:0;
      background-image:
        linear-gradient(rgba(13,115,119,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,115,119,.025) 1px, transparent 1px);
      background-size: 44px 44px;
      pointer-events:none; z-index:0;
    }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 4px rgba(13,115,119,.08);
      position: sticky; top:3px; z-index:100;
    }
    .header-inner {
      max-width:1200px; margin:0 auto; padding:0 2rem;
      display:flex; align-items:center; justify-content:space-between;
      height:66px;
    }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon {
      width:38px; height:38px;
      background: var(--teal); border-radius:10px;
      display:flex; align-items:center; justify-content:center;
      font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500;
      color:#fff; letter-spacing:-.3px;
      box-shadow:0 2px 8px rgba(13,115,119,.3);
    }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    nav a.active { color:var(--teal); }
    .nav-cta {
      background:var(--teal)!important; color:#fff!important;
      padding:9px 20px; border-radius:8px;
      font-size:.84rem!important; font-weight:700!important;
      box-shadow:0 2px 10px rgba(13,115,119,.28);
      transition:background .18s,box-shadow .18s,transform .12s!important;
    }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
    @keyframes slideIn { to{transform:scaleX(1)} }
    @keyframes pulse  { 0%,100%{opacity:1} 50%{opacity:.3} }

    /* ─── PAGE HERO ─── */
    .page-hero {
      max-width:1200px; margin:0 auto; padding:68px 2rem 52px;
      text-align:center;
    }
    .hero-badge {
      display:inline-flex; align-items:center; gap:8px;
      background:var(--teal-pale); border:1px solid var(--teal-pale2);
      border-radius:100px; padding:6px 16px;
      font-size:.74rem; font-weight:700; color:var(--teal-dark);
      letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px;
      animation:fadeUp .5s ease both;
    }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    h1 {
      font-size:clamp(2.1rem,5vw,3.5rem);
      font-weight:800; line-height:1.1; letter-spacing:-1.4px;
      color:var(--slate); margin-bottom:18px;
      animation:fadeUp .5s .08s ease both;
    }
    h1 .hl { color:var(--teal); }
    .underline-bar {
      display:block; width:180px; height:4px; margin:10px auto 0;
      background:linear-gradient(90deg,var(--teal),var(--amber2));
      border-radius:2px;
      animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0);
    }
    .hero-sub {
      font-size:1rem; color:var(--muted);
      max-width:480px; margin:16px auto 0;
      line-height:1.78; animation:fadeUp .5s .15s ease both;
    }

    /* ─── SHARED ─── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 72px; }
    .section-tag {
      display:inline-block; font-size:.7rem; font-weight:700;
      letter-spacing:1.3px; text-transform:uppercase;
      color:var(--teal); background:var(--teal-pale);
      border:1px solid var(--teal-pale2); border-radius:100px;
      padding:4px 13px; margin-bottom:14px;
    }
    h2 { font-size:clamp(1.5rem,3vw,2.2rem); font-weight:800; letter-spacing:-.7px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    /* ─── CONTACT GRID ─── */
    .contact-grid {
      display:grid; grid-template-columns:1fr 1.5fr; gap:32px; align-items:start;
    }

    /* ─── INFO CARDS ─── */
    .info-stack { display:flex; flex-direction:column; gap:16px; }
    .info-card {
      background:var(--surface); border:1px solid var(--border);
      border-radius:18px; padding:26px 24px; display:flex; gap:18px; align-items:flex-start;
      box-shadow:0 1px 4px rgba(0,0,0,.05);
      transition:transform .2s, box-shadow .2s, border-color .2s;
      text-decoration:none; color:inherit;
    }
    .info-card:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(13,115,119,.11); border-color:var(--teal-pale2); }
    .info-icon {
      width:46px; height:46px; border-radius:13px; flex-shrink:0;
      display:flex; align-items:center; justify-content:center;
      font-size:1.3rem; background:var(--teal-pale);
    }
    .info-icon.amber { background:var(--amber-pale); }
    .info-icon.slate { background:var(--bg2); }
    .info-card h3 { font-size:.9rem; font-weight:700; color:var(--slate); margin-bottom:5px; }
    .info-card p  { font-size:.81rem; color:var(--muted); line-height:1.68; }
    .info-card .info-link { font-size:.81rem; font-weight:700; color:var(--teal); margin-top:6px; display:block; }

    /* ─── FORM CARD ─── */
    .form-card {
      background:var(--surface); border:1px solid var(--border);
      border-radius:20px; padding:40px 38px;
      box-shadow:0 4px 24px rgba(13,115,119,.09);
    }
    .form-card h2 { text-align:left; margin-bottom:6px; }
    .form-card .form-sub { font-size:.85rem; color:var(--muted); margin-bottom:30px; line-height:1.6; }

    .form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
    .form-group { display:flex; flex-direction:column; gap:7px; margin-bottom:18px; }
    .form-group:last-of-type { margin-bottom:24px; }
    label {
      font-size:.72rem; font-weight:700; letter-spacing:.8px;
      text-transform:uppercase; color:var(--muted);
    }
    label .req { color:var(--teal); margin-left:2px; }
    input[type="text"], input[type="email"], select, textarea {
      width:100%; background:var(--surface2); border:1.5px solid var(--border);
      border-radius:10px; padding:11px 14px;
      color:var(--slate); font-family:'Plus Jakarta Sans', sans-serif;
      font-size:.85rem; font-weight:500; outline:none;
      transition:border-color .18s, box-shadow .18s, background .18s;
      appearance:none;
    }
    input:focus, select:focus, textarea:focus {
      border-color:var(--teal); background:var(--surface);
      box-shadow:0 0 0 3px rgba(13,115,119,.1);
    }
    input::placeholder, textarea::placeholder { color:var(--muted2); font-weight:400; }
    select { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238fa0b0' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:38px; cursor:pointer; }
    textarea { min-height:130px; resize:vertical; line-height:1.7; }

    /* Topic chips */
    .topic-chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
    .topic-chip {
      padding:7px 15px; border-radius:100px; cursor:pointer;
      font-size:.78rem; font-weight:600;
      border:1.5px solid var(--border); background:var(--surface2);
      color:var(--slate2); transition:all .15s; user-select:none;
    }
    .topic-chip:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .topic-chip.active { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }

    /* Submit btn */
    .btn-submit {
      width:100%; background:var(--teal); color:#fff;
      padding:14px 28px; border-radius:10px; border:none;
      font-family:'Plus Jakarta Sans',sans-serif;
      font-size:.92rem; font-weight:700; cursor:pointer;
      display:flex; align-items:center; justify-content:center; gap:8px;
      box-shadow:0 4px 18px rgba(13,115,119,.3);
      transition:background .18s, transform .12s, box-shadow .18s;
    }
    .btn-submit:hover { background:var(--teal-dark); transform:translateY(-2px); box-shadow:0 6px 24px rgba(13,115,119,.4); }
    .btn-submit:active { transform:scale(.98); }
    .btn-submit svg { transition:transform .2s; }
    .btn-submit:hover svg { transform:translateX(3px); }

    /* Success state */
    .success-state {
      display:none; text-align:center; padding:52px 28px;
    }
    .success-state .success-icon {
      width:72px; height:72px; border-radius:50%;
      background:var(--success-bg); border:2px solid #6ee7b7;
      display:flex; align-items:center; justify-content:center;
      font-size:2rem; margin:0 auto 22px;
      animation:fadeUp .4s ease both;
    }
    .success-state h3 { font-size:1.3rem; font-weight:800; color:var(--slate); margin-bottom:10px; }
    .success-state p { font-size:.87rem; color:var(--muted); line-height:1.76; max-width:320px; margin:0 auto 24px; }
    .btn-reset {
      background:transparent; border:1.5px solid var(--border);
      color:var(--muted); padding:10px 24px; border-radius:8px;
      font-family:'Plus Jakarta Sans',sans-serif; font-size:.82rem; font-weight:600;
      cursor:pointer; transition:all .15s;
    }
    .btn-reset:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }

    /* Field error */
    .field-error { font-size:.72rem; color:var(--error); font-weight:600; margin-top:2px; display:none; }
    .form-group.has-error input,
    .form-group.has-error textarea,
    .form-group.has-error select { border-color:var(--error); box-shadow:0 0 0 3px rgba(185,28,28,.08); }
    .form-group.has-error .field-error { display:block; }

    /* ─── FAQ QUICK ─── */
    .faq-quick { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .faq-quick-head { text-align:center; margin-bottom:40px; }
    .faq-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .faq-card {
      background:var(--surface); border:1px solid var(--border);
      border-radius:16px; padding:26px 24px;
      box-shadow:0 1px 4px rgba(0,0,0,.05);
      transition:transform .2s, box-shadow .2s, border-color .2s;
    }
    .faq-card:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .faq-card h3 { font-size:.9rem; font-weight:700; color:var(--slate); margin-bottom:9px; display:flex; align-items:center; gap:9px; }
    .faq-card h3 .fq-icon { font-size:1rem; }
    .faq-card p { font-size:.81rem; color:var(--muted); line-height:1.72; }
    .faq-card a { color:var(--teal); font-weight:600; text-decoration:none; }
    .faq-card a:hover { text-decoration:underline; }

    /* ─── RESPONSE TIME BANNER ─── */
    .response-banner {
      max-width:1080px; margin:0 auto; padding:0 2rem 72px;
    }
    .rb-inner {
      background:linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, var(--teal-light) 100%);
      border-radius:20px; padding:44px 52px;
      display:flex; align-items:center; justify-content:space-between; gap:32px;
      box-shadow:0 8px 36px rgba(13,115,119,.26); overflow:hidden; position:relative;
    }
    .rb-inner::before {
      content:''; position:absolute; inset:0;
      background:repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px, transparent 1px, transparent 24px);
    }
    .rb-text h2 { color:#fff; text-align:left; margin-bottom:10px; font-size:1.5rem; }
    .rb-text p { color:rgba(255,255,255,.8); font-size:.88rem; line-height:1.76; max-width:460px; }
    .rb-stats { display:flex; gap:20px; flex-shrink:0; }
    .rb-stat {
      background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2);
      border-radius:14px; padding:18px 22px; text-align:center;
      backdrop-filter:blur(6px); min-width:100px;
    }
    .rb-stat-num { font-size:1.6rem; font-weight:800; color:#fff; letter-spacing:-.5px; }
    .rb-stat-label { font-size:.71rem; color:rgba(255,255,255,.7); font-weight:600; margin-top:3px; text-transform:uppercase; letter-spacing:.5px; }

        /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

/* ─── RESPONSIVE ─── */
    @media (max-width: 800px) {
      .contact-grid { grid-template-columns:1fr; }
      .form-row { grid-template-columns:1fr; }
      .faq-grid { grid-template-columns:1fr; }
      .rb-inner { flex-direction:column; padding:36px 28px; }
      .rb-stats { width:100%; justify-content:center; }
      .form-card { padding:28px 24px; }
      .footer-top { grid-template-columns:1fr 1fr; }
      
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

      *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:         #f2f5f7;
      --bg2:        #e8edf0;
      --surface:    #ffffff;
      --surface2:   #f7fafa;
      --border:     #d0dade;
      --border2:    #b8c8cc;
      --teal:       #0d7377;
      --teal-dark:  #095a5e;
      --teal-light: #14a7ad;
      --teal-pale:  #e0f4f5;
      --teal-pale2: #bde8ea;
      --amber:      #b45309;
      --amber2:     #d97706;
      --amber-pale: #fef3c7;
      --amber-pale2:#fde68a;
      --slate:      #1a2535;
      --slate2:     #2d3f55;
      --muted:      #5a6e82;
      --muted2:     #8fa0b0;
      --success:    #047857;
      --success-bg: #d1fae5;
      --error:      #b91c1c;
      --error-bg:   #fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,box-shadow .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── HERO ─── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1}50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl { color:var(--teal); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:540px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)} }

    /* ─── TOOL ─── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* IO grid */
    .io-grid { display:grid; grid-template-columns:1fr 56px 1fr; gap:16px; align-items:start; }
    .io-col { display:flex; flex-direction:column; gap:10px; }
    .io-label { display:flex; align-items:center; justify-content:space-between; font-size:.71rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    textarea { width:100%; min-height:220px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; color:var(--slate); font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.75; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s,background .18s; }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea[readonly] { background:#eef8f8; color:var(--slate2); }
    textarea::placeholder { color:var(--muted2); }

    /* Arrow col */
    .arrow-col { display:flex; flex-direction:column; align-items:center; justify-content:center; padding-top:34px; gap:8px; }
    .convert-btn { width:46px; height:46px; background:var(--teal); border:none; border-radius:13px; color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 14px rgba(13,115,119,.3); transition:transform .15s,box-shadow .2s,background .18s; }
    .convert-btn:hover { background:var(--teal-dark); transform:scale(1.08); box-shadow:0 6px 20px rgba(13,115,119,.42); }
    .convert-btn svg { transition:transform .25s; }
    .convert-btn:hover svg { transform:rotate(180deg); }

    /* Options */
    .options-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
    .opt-label { font-size:.7rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
    .opt-select { background:var(--surface2); border:1.5px solid var(--border); border-radius:8px; padding:7px 12px; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.8rem; font-weight:600; cursor:pointer; outline:none; transition:border-color .18s; }
    .opt-select:focus { border-color:var(--teal); }
    .toggle-group { display:flex; gap:0; border:1.5px solid var(--border); border-radius:8px; overflow:hidden; }
    .toggle-btn { padding:6px 14px; background:var(--surface2); border:none; border-right:1px solid var(--border); color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.78rem; font-weight:600; cursor:pointer; transition:all .15s; white-space:nowrap; }
    .toggle-btn:last-child { border-right:none; }
    .toggle-btn.active { background:var(--teal); color:#fff; }

    /* File zone */
    .file-zone { border:2px dashed var(--border2); border-radius:16px; padding:40px 28px; text-align:center; cursor:pointer; background:var(--surface2); transition:all .2s; }
    .file-zone:hover, .file-zone.drag { border-color:var(--teal); background:var(--teal-pale); }
    .file-zone-icon { font-size:2.6rem; margin-bottom:12px; }
    .file-zone h3 { font-size:.96rem; font-weight:700; color:var(--slate); margin-bottom:5px; }
    .file-zone p  { font-size:.82rem; color:var(--muted); }
    #cssFileInput, #assetFileInput { display:none; }

    /* Snippet output */
    .snippet-out { background:var(--slate); border-radius:12px; padding:18px 20px; font-family:'JetBrains Mono',monospace; font-size:.76rem; line-height:1.9; overflow-x:auto; white-space:pre; max-height:300px; overflow-y:auto; color:#cbd5e1; }
    .snip-prop  { color:#7dd3fc; }
    .snip-val   { color:#86efac; }
    .snip-url   { color:#fde68a; }
    .snip-at    { color:#c084fc; }
    .snip-c     { color:#475569; font-style:italic; }
    .snip-str   { color:#fb923c; }

    /* Info note */
    .info-note { display:flex; align-items:flex-start; gap:10px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:10px; padding:12px 14px; font-size:.8rem; color:var(--teal-dark); line-height:1.65; }
    .info-note .ni { font-size:1rem; flex-shrink:0; margin-top:1px; }
    .warn-note { display:flex; align-items:flex-start; gap:10px; background:var(--amber-pale); border:1px solid var(--amber-pale2); border-radius:10px; padding:12px 14px; font-size:.8rem; color:var(--amber); line-height:1.65; }
    .warn-note .ni { font-size:1rem; flex-shrink:0; margin-top:1px; }

    /* Stat pills row */
    .stats-row { display:flex; align-items:center; gap:0; background:var(--surface2); border:1.5px solid var(--border); border-radius:10px; overflow:hidden; }
    .stat-pill { flex:1; text-align:center; padding:9px 6px; border-right:1px solid var(--border); }
    .stat-pill:last-child { border-right:none; }
    .stat-pill .sp-num { display:block; font-family:'JetBrains Mono',monospace; font-size:.9rem; font-weight:700; color:var(--teal); }
    .stat-pill .sp-lbl { display:block; font-size:.6rem; font-weight:700; letter-spacing:.7px; text-transform:uppercase; color:var(--muted2); margin-top:2px; }

    /* Shared buttons */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); color:var(--amber); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ─── STATS STRIP ─── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num   { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label { font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ─── SECTIONS ─── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    /* Features */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber { background:var(--amber-pale); }
    .feat-icon.gray  { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; margin-bottom:8px; color:var(--slate); }
    .step p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px; display:flex; gap:16px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(13,115,119,.1); border-color:var(--teal-pale2); }
    .use-num { font-size:2.2rem; font-weight:800; font-family:'JetBrains Mono',monospace; color:var(--teal-pale2); line-height:1; flex-shrink:0; }
    .use-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .use-card p  { font-size:.81rem; color:var(--muted); line-height:1.68; }

    /* About */
    .about-inner { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:52px; display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start; box-shadow:0 4px 20px rgba(13,115,119,.08); }
    .about-inner h2 { text-align:left; margin-bottom:16px; }
    .about-inner p  { font-size:.86rem; color:var(--muted); line-height:1.82; margin-bottom:13px; }
    .about-visual { background:var(--slate); border-radius:14px; padding:24px; font-family:'JetBrains Mono',monospace; font-size:.74rem; line-height:1.95; overflow:hidden; }
    .mono-line .k { color:#7dd3fc; } .mono-line .s { color:#86efac; }
    .mono-line .v { color:#fde68a; } .mono-line .c { color:#475569; font-style:italic; }
    .mono-line .p { color:#c084fc; }
    .mono-line { color:#cbd5e1; }

    /* FAQ */
    .faq-list { max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.05); transition:border-color .2s,box-shadow .2s; }
    .faq-item:hover { border-color:var(--teal-pale2); }
    .faq-item.open  { border-color:var(--teal); box-shadow:0 0 0 3px rgba(13,115,119,.08); }
    .faq-q { width:100%; background:none; border:none; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.91rem; font-weight:700; text-align:left; padding:18px 20px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; transition:color .18s; }
    .faq-item.open .faq-q { color:var(--teal); }
    .faq-arrow { width:26px; height:26px; background:var(--bg2); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.6rem; flex-shrink:0; color:var(--muted); transition:transform .25s,background .2s,color .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); background:var(--teal); color:#fff; }
    .faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease,padding .3s ease; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { max-height:400px; padding:0 20px 18px; }

    code { background:var(--teal-pale); color:var(--teal-dark); font-family:'JetBrains Mono',monospace; font-size:.78em; padding:1px 5px; border-radius:4px; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

/* ─── RESPONSIVE ─── */
    @media(max-width:860px) {
      .io-grid { grid-template-columns:1fr; }
      .arrow-col { flex-direction:row; padding-top:0; justify-content:center; }
      .features-grid,.use-grid { grid-template-columns:1fr; }
      .about-inner { grid-template-columns:1fr; padding:32px; }
      .steps-grid { grid-template-columns:1fr; gap:28px; }
      .steps-grid::before { display:none; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
    }
    @media(max-width:560px) {
      .header-inner { padding:0 1rem;       .footer-top {
        grid-template-columns: 1fr;
      }
    }
      
      .hero { padding:40px 1rem 28px; }
      .tool-wrapper,.section,.stats-strip { padding-left:1rem; padding-right:1rem; }
      .footer-top { grid-template-columns:1fr; }
      h1 { letter-spacing:-.8px; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

      *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:#f2f5f7; --bg2:#e8edf0; --surface:#ffffff; --surface2:#f7fafa;
      --border:#d0dade; --border2:#b8c8cc;
      --teal:#0d7377; --teal-dark:#095a5e; --teal-light:#14a7ad;
      --teal-pale:#e0f4f5; --teal-pale2:#bde8ea;
      --amber:#b45309; --amber2:#d97706; --amber-pale:#fef3c7; --amber-pale2:#fde68a;
      --slate:#1a2535; --slate2:#2d3f55; --muted:#5a6e82; --muted2:#8fa0b0;
      --success:#047857; --success-bg:#d1fae5; --error:#b91c1c; --error-bg:#fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,box-shadow .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl { color:var(--teal); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:560px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    .file-zone { border:2px dashed var(--border2); border-radius:16px; padding:56px 28px; text-align:center; cursor:pointer; background:var(--surface2); transition:all .2s; }
    .file-zone:hover,.file-zone.drag { border-color:var(--teal); background:var(--teal-pale); }
    .file-zone.has-file { border-color:var(--teal); border-style:solid; background:var(--teal-pale); }
    .file-zone-icon { font-size:3rem; margin-bottom:16px; transition:transform .2s; }
    .file-zone:hover .file-zone-icon { transform:scale(1.1); }
    .file-zone h3 { font-size:1.05rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .file-zone p { font-size:.82rem; color:var(--muted); }
    .formats-hint { display:flex; gap:6px; flex-wrap:wrap; justify-content:center; margin-top:14px; }
    .fmt-tag { font-size:.68rem; font-weight:700; letter-spacing:.5px; background:var(--surface); border:1px solid var(--border); color:var(--muted); padding:3px 8px; border-radius:6px; }
    #fileInput { display:none; }

    .result-card { display:none; flex-direction:column; gap:18px; margin-top:24px; background:var(--teal-pale); border:1.5px solid var(--teal-pale2); border-radius:16px; padding:22px; }
    .result-card.show { display:flex; }
    .file-identity { display:flex; align-items:center; gap:14px; }
    .file-icon-big { width:52px; height:52px; background:var(--teal); border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.5rem; flex-shrink:0; box-shadow:0 4px 14px rgba(13,115,119,.28); }
    .file-details h3 { font-size:.96rem; font-weight:700; color:var(--slate); margin-bottom:4px; word-break:break-all; }
    .file-meta { display:flex; gap:10px; flex-wrap:wrap; }
    .meta-badge { font-size:.68rem; font-weight:700; letter-spacing:.6px; text-transform:uppercase; padding:3px 10px; border-radius:6px; }
    .meta-badge.format { background:var(--teal); color:#fff; }
    .meta-badge.size   { background:var(--surface); color:var(--muted); border:1px solid var(--border); }
    .meta-badge.b64size{ background:var(--amber-pale); color:var(--amber); border:1px solid var(--amber-pale2); }

    .img-preview-wrap { background:var(--slate); border-radius:10px; padding:10px; display:none; align-items:center; justify-content:center; min-height:80px; overflow:hidden; }
    .img-preview-wrap.show { display:flex; }
    .img-preview-wrap img { max-width:100%; max-height:200px; border-radius:6px; object-fit:contain; }

    .output-section { display:flex; flex-direction:column; gap:8px; }
    .out-label { font-size:.7rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); display:flex; align-items:center; justify-content:space-between; }
    .out-chars { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    .out-box { background:var(--surface); border:1.5px solid var(--border); border-radius:12px; padding:13px 15px; font-family:'JetBrains Mono',monospace; font-size:.75rem; color:var(--slate2); word-break:break-all; line-height:1.65; max-height:130px; overflow-y:auto; }
    .out-box.uri { color:var(--teal-dark); background:#eef8f8; border-color:var(--teal-pale2); }

    .snippet-options { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:16px; }
    .opt-label { font-size:.7rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
    .opt-select { background:var(--surface2); border:1.5px solid var(--border); border-radius:8px; padding:7px 12px; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.8rem; font-weight:600; cursor:pointer; outline:none; transition:border-color .18s; }
    .opt-select:focus { border-color:var(--teal); }
    .snippet-out { background:var(--slate); border-radius:12px; padding:18px 20px; font-family:'JetBrains Mono',monospace; font-size:.75rem; line-height:1.9; overflow-x:auto; color:#cbd5e1; white-space:pre; max-height:280px; overflow-y:auto; }
    .snip-tag { color:#7dd3fc; } .snip-attr { color:#fde68a; } .snip-val { color:#86efac; } .snip-c { color:#475569; font-style:italic; } .snip-k { color:#c084fc; }

    .io-col { display:flex; flex-direction:column; gap:10px; }
    .io-label { display:flex; align-items:center; justify-content:space-between; font-size:.71rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); }
    textarea { width:100%; min-height:120px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; color:var(--slate); font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.75; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s; }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea[readonly] { background:#eef8f8; color:var(--slate2); }
    textarea::placeholder { color:var(--muted2); }

    .progress-wrap { display:none; margin-top:8px; }
    .progress-wrap.show { display:block; }
    .progress-bar { height:4px; background:var(--bg2); border-radius:2px; overflow:hidden; }
    .progress-fill { height:100%; width:0%; background:linear-gradient(90deg,var(--teal),var(--teal-light)); border-radius:2px; transition:width .3s ease; }
    .progress-label { font-size:.72rem; color:var(--muted); margin-top:5px; }

    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); color:var(--amber); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .btn:disabled { opacity:.4; cursor:not-allowed; transform:none!important; box-shadow:none!important; }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg); color:var(--error); }

    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label { font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber { background:var(--amber-pale); }
    .feat-icon.gray  { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; color:var(--slate); margin-bottom:8px; }
    .step p  { font-size:.8rem; color:var(--muted); line-height:1.7; }
    .step code,.feat-card code,.use-card code { font-family:'JetBrains Mono',monospace; font-size:.74rem; background:var(--bg2); padding:1px 5px; border-radius:4px; color:var(--slate2); }

    .fmt-table-wrap { overflow-x:auto; border-radius:16px; border:1px solid var(--border); }
    .fmt-table { width:100%; border-collapse:collapse; font-size:.82rem; }
    .fmt-table thead tr { background:var(--surface2); }
    .fmt-table th { padding:12px 16px; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); border-bottom:1px solid var(--border); white-space:nowrap; }
    .fmt-table td { padding:12px 16px; border-bottom:1px solid var(--bg2); color:var(--slate2); vertical-align:middle; }
    .fmt-table tbody tr:last-child td { border-bottom:none; }
    .fmt-table tbody tr:hover { background:var(--surface2); }
    .fmt-table td:first-child { font-size:1.1rem; text-align:center; }
    .badge-pill { display:inline-block; font-size:.65rem; font-weight:700; letter-spacing:.4px; padding:2px 8px; border-radius:100px; }
    .badge-pill.yes     { background:var(--success-bg); color:var(--success); }
    .badge-pill.good    { background:var(--teal-pale);  color:var(--teal-dark); }
    .badge-pill.limited { background:var(--amber-pale); color:var(--amber); }

    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px; display:flex; gap:18px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 6px 24px rgba(13,115,119,.1); }
    .use-num { font-family:'JetBrains Mono',monospace; font-size:1.2rem; font-weight:700; color:var(--teal-pale2); flex-shrink:0; line-height:1; margin-top:2px; }
    .use-card h3 { font-size:.9rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .use-card p  { font-size:.8rem; color:var(--muted); line-height:1.72; }

    /* About */
    .about-inner {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 52px;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 48px;
      align-items: start;
      box-shadow: 0 4px 20px rgba(13, 115, 119, .08);
    }

    .about-inner h2 {
      text-align: left;
      margin-bottom: 16px;
    }

    .about-inner p {
      font-size: .86rem;
      color: var(--muted);
      line-height: 1.82;
      margin-bottom: 13px;
    }

    .about-inner p:last-child {
      margin-bottom: 0;
    }

    .about-inner code {
      font-family: 'JetBrains Mono', monospace;
      font-size: .8rem;
      background: var(--bg2);
      padding: 1px 5px;
      border-radius: 4px;
      color: var(--slate2);
    }
    .about-visual { background:var(--slate); border-radius:16px; padding:22px 24px; border:1px solid rgba(255,255,255,.06); box-shadow:0 8px 32px rgba(0,0,0,.2); }
    .mono-line { font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.85; color:#cbd5e1; }
    .mono-line .k { color:#c084fc; } .mono-line .v { color:#7dd3fc; } .mono-line .s { color:#86efac; } .mono-line .c { color:#475569; font-style:italic; }

    .faq-list { display:flex; flex-direction:column; gap:10px; max-width:780px; margin:0 auto; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:box-shadow .18s; }
    .faq-item:hover { box-shadow:0 4px 16px rgba(13,115,119,.08); }
    .faq-item.open { border-color:var(--teal-pale2); }
    .faq-q { width:100%; background:none; border:none; padding:18px 22px; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:'Plus Jakarta Sans',sans-serif; font-size:.88rem; font-weight:700; color:var(--slate); cursor:pointer; text-align:left; transition:background .15s; }
    .faq-q:hover { background:var(--surface2); }
    .faq-item.open .faq-q { color:var(--teal); background:var(--teal-pale); }
    .faq-arrow { font-size:.7rem; color:var(--muted2); flex-shrink:0; transition:transform .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); color:var(--teal); }
    .faq-a { display:none; padding:0 22px 18px; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { display:block; }
    .faq-a code { font-family:'JetBrains Mono',monospace; font-size:.78rem; background:var(--bg2); padding:1px 5px; border-radius:4px; color:var(--slate2); }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

    @media(max-width:900px){
      .features-grid { grid-template-columns:repeat(2,1fr); }
      .steps-grid::before { display:none; }
      .steps-grid { grid-template-columns:1fr; gap:32px; }
      .about-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
      }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .use-grid { grid-template-columns:1fr; }
    }
    @media(max-width:600px){
      .features-grid { grid-template-columns:1fr; }
      
      .footer-top { grid-template-columns:1fr; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:#f2f5f7; --bg2:#e8edf0; --surface:#ffffff; --surface2:#f7fafa;
      --border:#d0dade; --border2:#b8c8cc;
      --teal:#0d7377; --teal-dark:#095a5e; --teal-light:#14a7ad;
      --teal-pale:#e0f4f5; --teal-pale2:#bde8ea;
      --amber:#b45309; --amber2:#d97706; --amber-pale:#fef3c7; --amber-pale2:#fde68a;
      --violet:#6d28d9; --violet-pale:#ede9fe; --violet-pale2:#c4b5fd;
      --slate:#1a2535; --slate2:#2d3f55; --muted:#5a6e82; --muted2:#8fa0b0;
      --success:#047857; --success-bg:#d1fae5; --error:#b91c1c; --error-bg:#fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* HEADER */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); }

    /* HERO */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1}50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl { color:var(--teal); }
    h1 .hl2 { color:var(--amber2); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:560px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* TOOL */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* IO layout */
    .io-grid { display:grid; grid-template-columns:1fr auto 1fr; gap:16px; align-items:start; }
    .io-arrow { display:flex; align-items:center; justify-content:center; padding-top:34px; }
    .arrow-btn { width:48px; height:48px; background:var(--teal); border:none; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 3px 12px rgba(13,115,119,.28); transition:transform .18s,box-shadow .18s; font-size:1.1rem; color:#fff; }
    .arrow-btn:hover { transform:scale(1.1); box-shadow:0 5px 18px rgba(13,115,119,.38); }
    .io-col { display:flex; flex-direction:column; gap:8px; }
    .io-label { font-size:.7rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); display:flex; align-items:center; justify-content:space-between; margin-bottom:2px; }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    textarea { width:100%; min-height:160px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; color:var(--slate); font-family:'JetBrains Mono',monospace; font-size:.82rem; line-height:1.8; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s; }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea.output { background:var(--teal-pale); border-color:var(--teal-pale2); color:var(--teal-dark); cursor:default; }
    textarea.error-state { border-color:var(--error); background:var(--error-bg); color:var(--error); }
    textarea::placeholder { color:var(--muted2); }

    /* Options row */
    .options-row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin:16px 0; padding:14px 16px; background:var(--surface2); border:1px solid var(--border); border-radius:12px; }
    .opt-label { font-size:.7rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
    .opt-select { background:var(--surface); border:1.5px solid var(--border); border-radius:8px; padding:6px 11px; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.8rem; font-weight:600; cursor:pointer; outline:none; transition:border-color .18s; }
    .opt-select:focus { border-color:var(--teal); }
    .opt-sep { width:1px; height:22px; background:var(--border); flex-shrink:0; }
    .toggle-wrap { display:flex; align-items:center; gap:7px; font-size:.78rem; font-weight:600; color:var(--muted); cursor:pointer; user-select:none; }
    .toggle-wrap input[type=checkbox] { width:14px; height:14px; accent-color:var(--teal); cursor:pointer; }

    /* Stats strip under tool */
    .meta-row { display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; }
    .meta-pill { display:inline-flex; align-items:center; gap:6px; background:var(--surface2); border:1px solid var(--border); border-radius:8px; padding:5px 12px; font-size:.72rem; font-weight:600; color:var(--muted); font-family:'JetBrains Mono',monospace; }
    .meta-pill .val { color:var(--teal); font-weight:700; }
    .meta-pill.err .val { color:var(--error); }

    /* Byte inspector */
    .byte-grid { display:flex; flex-wrap:wrap; gap:5px; margin-top:12px; max-height:140px; overflow-y:auto; padding:12px; background:var(--slate); border-radius:12px; }
    .byte-cell { display:flex; flex-direction:column; align-items:center; gap:2px; min-width:38px; }
    .byte-hex  { font-family:'JetBrains Mono',monospace; font-size:.7rem; font-weight:500; color:#7dd3fc; background:rgba(125,211,252,.12); border-radius:4px; padding:3px 5px; }
    .byte-dec  { font-family:'JetBrains Mono',monospace; font-size:.6rem; color:#94a3b8; }
    .byte-char { font-size:.6rem; color:#fde68a; }
    .inspector-empty { font-family:'JetBrains Mono',monospace; font-size:.76rem; color:#475569; padding:8px; font-style:italic; }

    /* Reverse tab */
    .reverse-panel { display:flex; flex-direction:column; gap:16px; }

    /* Action buttons */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin-top:4px; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); color:var(--amber); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg); color:var(--error); }

    /* STATS STRIP */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num   { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label { font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* SECTIONS */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; color:var(--slate); margin-bottom:8px; }
    .step p  { font-size:.8rem; color:var(--muted); line-height:1.7; }
    code { font-family:'JetBrains Mono',monospace; font-size:.78em; background:var(--bg2); padding:1px 5px; border-radius:4px; color:var(--slate2); }

    /* Features */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber  { background:var(--amber-pale); }
    .feat-icon.violet { background:var(--violet-pale); }
    .feat-icon.gray   { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px; display:flex; gap:18px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 6px 24px rgba(13,115,119,.1); }
    .use-num { font-family:'JetBrains Mono',monospace; font-size:1.2rem; font-weight:700; color:var(--teal-pale2); flex-shrink:0; line-height:1; margin-top:2px; }
    .use-card h3 { font-size:.9rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .use-card p  { font-size:.8rem; color:var(--muted); line-height:1.72; }

        /* About */
    .about-inner {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 52px;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 48px;
      align-items: start;
      box-shadow: 0 4px 20px rgba(13, 115, 119, .08);
    }

    .about-inner h2 {
      text-align: left;
      margin-bottom: 16px;
    }

    .about-inner p {
      font-size: .86rem;
      color: var(--muted);
      line-height: 1.82;
      margin-bottom: 13px;
    }

    .about-inner p:last-child {
      margin-bottom: 0;
    }

.about-visual { background:var(--slate); border-radius:16px; padding:22px 24px; border:1px solid rgba(255,255,255,.06); box-shadow:0 8px 32px rgba(0,0,0,.2); }
    .mono-line { font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.85; color:#cbd5e1; }
    .mono-line .k { color:#c084fc; }
    .mono-line .v { color:#7dd3fc; }
    .mono-line .s { color:#86efac; }
    .mono-line .c { color:#475569; font-style:italic; }
    .mono-line .n { color:#fde68a; }

    /* Conversion table */
    .conv-table-wrap { overflow-x:auto; border-radius:16px; border:1px solid var(--border); }
    .conv-table { width:100%; border-collapse:collapse; font-size:.82rem; }
    .conv-table thead tr { background:var(--surface2); }
    .conv-table th { padding:12px 16px; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); border-bottom:1px solid var(--border); }
    .conv-table td { padding:12px 16px; border-bottom:1px solid var(--bg2); color:var(--slate2); vertical-align:middle; font-family:'JetBrains Mono',monospace; font-size:.8rem; }
    .conv-table td.label { font-family:'Plus Jakarta Sans',sans-serif; font-size:.82rem; color:var(--muted); }
    .conv-table tbody tr:last-child td { border-bottom:none; }
    .conv-table tbody tr:hover { background:var(--surface2); }
    .hex-val  { color:#7dd3fc; }
    .b64-val  { color:#86efac; }
    .bin-val  { color:#fde68a; }

    /* FAQ */
    .faq-list { display:flex; flex-direction:column; gap:10px; max-width:780px; margin:0 auto; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:box-shadow .18s; }
    .faq-item:hover { box-shadow:0 4px 16px rgba(13,115,119,.08); }
    .faq-item.open { border-color:var(--teal-pale2); }
    .faq-q { width:100%; background:none; border:none; padding:18px 22px; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:'Plus Jakarta Sans',sans-serif; font-size:.88rem; font-weight:700; color:var(--slate); cursor:pointer; text-align:left; transition:background .15s; }
    .faq-q:hover { background:var(--surface2); }
    .faq-item.open .faq-q { color:var(--teal); background:var(--teal-pale); }
    .faq-arrow { font-size:.7rem; color:var(--muted2); flex-shrink:0; transition:transform .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); color:var(--teal); }
    .faq-a { display:none; padding:0 22px 18px; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { display:block; }

    /* Footer */
    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

    @media(max-width:900px){
      .io-grid { grid-template-columns:1fr; }
      .io-arrow { padding-top:0; transform:rotate(90deg); }
      .features-grid { grid-template-columns:repeat(2,1fr); }
      .steps-grid::before { display:none; }
      .steps-grid { grid-template-columns:1fr; gap:32px; }
      .about-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
      }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .use-grid { grid-template-columns:1fr; }
    }
    @media(max-width:600px){
      .features-grid { grid-template-columns:1fr; }
      
      .footer-top { grid-template-columns:1fr; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:#f2f5f7; --bg2:#e8edf0; --surface:#ffffff; --surface2:#f7fafa;
      --border:#d0dade; --border2:#b8c8cc;
      --teal:#0d7377; --teal-dark:#095a5e; --teal-light:#14a7ad;
      --teal-pale:#e0f4f5; --teal-pale2:#bde8ea;
      --amber:#b45309; --amber2:#d97706; --amber-pale:#fef3c7; --amber-pale2:#fde68a;
      --violet:#6d28d9; --violet-pale:#ede9fe; --violet-pale2:#c4b5fd;
      --slate:#1a2535; --slate2:#2d3f55; --muted:#5a6e82; --muted2:#8fa0b0;
      --success:#047857; --success-bg:#d1fae5; --error:#b91c1c; --error-bg:#fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* HEADER */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); }

    /* HERO */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1}50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl  { color:var(--teal); }
    h1 .hl2 { color:var(--amber2); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:570px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* TOOL CARD */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .22s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* OPTIONS ROW */
    .options-row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:20px; padding:14px 16px; background:var(--surface2); border:1px solid var(--border); border-radius:12px; }
    .opt-label { font-size:.7rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
    .opt-select { background:var(--surface); border:1.5px solid var(--border); border-radius:8px; padding:6px 11px; color:var(--slate); font-family:'Plus Jakarta Sans',sans-serif; font-size:.8rem; font-weight:600; cursor:pointer; outline:none; transition:border-color .18s; }
    .opt-select:focus { border-color:var(--teal); }
    .opt-sep { width:1px; height:22px; background:var(--border); flex-shrink:0; }
    .toggle-wrap { display:flex; align-items:center; gap:7px; font-size:.78rem; font-weight:600; color:var(--muted); cursor:pointer; user-select:none; }
    .toggle-wrap input[type=checkbox] { width:14px; height:14px; accent-color:var(--teal); cursor:pointer; }

    /* MAIN IO LAYOUT */
    .encode-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
    .io-col { display:flex; flex-direction:column; gap:8px; }
    .io-label { font-size:.7rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); display:flex; align-items:center; justify-content:space-between; }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); font-weight:400; }
    textarea { width:100%; min-height:220px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; color:var(--slate); font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.75; resize:vertical; outline:none; transition:border-color .18s,box-shadow .18s; }
    textarea:focus { border-color:var(--teal); background:var(--surface); box-shadow:0 0 0 3px rgba(13,115,119,.1); }
    textarea.output-ta { background:var(--teal-pale); border-color:var(--teal-pale2); color:var(--teal-dark); }
    textarea::placeholder { color:var(--muted2); }

    /* FILE DROP */
    .file-drop { border:2px dashed var(--border2); border-radius:12px; padding:18px; text-align:center; cursor:pointer; background:var(--surface2); transition:all .2s; font-size:.8rem; color:var(--muted); display:flex; align-items:center; justify-content:center; gap:8px; }
    .file-drop:hover, .file-drop.drag { border-color:var(--teal); background:var(--teal-pale); color:var(--teal-dark); }
    #htmlFileInput { display:none; }

    /* META PILLS */
    .meta-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
    .meta-pill { display:inline-flex; align-items:center; gap:5px; background:var(--surface2); border:1px solid var(--border); border-radius:8px; padding:4px 10px; font-size:.71rem; font-weight:600; color:var(--muted); }
    .meta-pill .val { color:var(--teal); font-weight:700; font-family:'JetBrains Mono',monospace; }

    /* PREVIEW PANEL */
    .preview-wrap { border:1.5px solid var(--border); border-radius:12px; overflow:hidden; background:var(--surface); }
    .preview-header { background:var(--surface2); border-bottom:1px solid var(--border); padding:8px 14px; display:flex; align-items:center; justify-content:space-between; }
    .preview-dots { display:flex; gap:5px; }
    .preview-dots span { width:10px; height:10px; border-radius:50%; }
    .preview-dots span:nth-child(1) { background:#ff5f57; }
    .preview-dots span:nth-child(2) { background:#ffbd2e; }
    .preview-dots span:nth-child(3) { background:#28c840; }
    .preview-label { font-size:.68rem; font-weight:700; letter-spacing:.7px; text-transform:uppercase; color:var(--muted); }
    .preview-badge { font-size:.65rem; font-weight:700; background:var(--success-bg); color:var(--success); padding:2px 8px; border-radius:100px; }
    iframe#livePreview { width:100%; height:240px; border:none; display:block; background:#fff; }

    /* SNIPPET TAB */
    .snippet-grid { display:grid; grid-template-columns:1fr; gap:16px; }
    .snip-block { background:var(--surface2); border:1px solid var(--border); border-radius:14px; overflow:hidden; }
    .snip-head  { padding:12px 16px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--border); }
    .snip-title { font-size:.78rem; font-weight:700; color:var(--slate); }
    .snip-desc  { font-size:.72rem; color:var(--muted); margin-top:1px; }
    .snip-body  { background:var(--slate); padding:14px 16px; font-family:'JetBrains Mono',monospace; font-size:.73rem; line-height:1.85; color:#cbd5e1; overflow-x:auto; white-space:pre; max-height:120px; overflow-y:auto; }
    .st  { color:#7dd3fc; }   /* tag */
    .sa  { color:#fde68a; }   /* attr */
    .sv  { color:#86efac; }   /* value */
    .sc  { color:#475569; font-style:italic; } /* comment */
    .sk  { color:#c084fc; }   /* keyword */

    /* REVERSE TAB */
    .rev-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }

    /* BUTTONS */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin-top:6px; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); }
    .btn-violet { background:var(--violet-pale); color:var(--violet); border-color:var(--violet-pale2); }
    .btn-violet:hover { background:var(--violet-pale2); border-color:var(--violet); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg); color:var(--error); }

    /* STATS */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num  { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label{ font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* CONTENT SECTIONS */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }
    code { font-family:'JetBrains Mono',monospace; font-size:.78em; background:var(--bg2); padding:1px 5px; border-radius:4px; color:var(--slate2); }

    /* STEPS */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; color:var(--slate); margin-bottom:8px; }
    .step p  { font-size:.8rem; color:var(--muted); line-height:1.7; }

    /* FEATURES */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber  { background:var(--amber-pale); }
    .feat-icon.violet { background:var(--violet-pale); }
    .feat-icon.gray   { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* USE CASES */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px; display:flex; gap:18px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 6px 24px rgba(13,115,119,.1); }
    .use-num { font-family:'JetBrains Mono',monospace; font-size:1.2rem; font-weight:700; color:var(--teal-pale2); flex-shrink:0; line-height:1; margin-top:2px; }
    .use-card h3 { font-size:.9rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .use-card p  { font-size:.8rem; color:var(--muted); line-height:1.72; }

    /* ABOUT */
    .about-inner { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
    .about-inner p { font-size:.87rem; color:var(--muted); line-height:1.8; margin-bottom:14px; }
    .about-inner p:last-child { margin-bottom:0; }
    .about-visual { background:var(--slate); border-radius:16px; padding:22px 24px; border:1px solid rgba(255,255,255,.06); box-shadow:0 8px 32px rgba(0,0,0,.2); }
    .mono-line { font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.85; color:#cbd5e1; }
    .mono-line .k { color:#c084fc; }
    .mono-line .v { color:#7dd3fc; }
    .mono-line .s { color:#86efac; }
    .mono-line .c { color:#475569; font-style:italic; }

    /* FAQ */
    .faq-list { display:flex; flex-direction:column; gap:10px; max-width:780px; margin:0 auto; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:box-shadow .18s; }
    .faq-item:hover { box-shadow:0 4px 16px rgba(13,115,119,.08); }
    .faq-item.open  { border-color:var(--teal-pale2); }
    .faq-q { width:100%; background:none; border:none; padding:18px 22px; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:'Plus Jakarta Sans',sans-serif; font-size:.88rem; font-weight:700; color:var(--slate); cursor:pointer; text-align:left; transition:background .15s; }
    .faq-q:hover { background:var(--surface2); }
    .faq-item.open .faq-q { color:var(--teal); background:var(--teal-pale); }
    .faq-arrow { font-size:.7rem; color:var(--muted2); flex-shrink:0; transition:transform .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); color:var(--teal); }
    .faq-a { display:none; padding:0 22px 18px; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { display:block; }

    /* FOOTER */
    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

    @media(max-width:900px){
      .encode-grid,.rev-grid { grid-template-columns:1fr; }
      .features-grid { grid-template-columns:repeat(2,1fr); }
      .steps-grid::before { display:none; }
      .steps-grid { grid-template-columns:1fr; gap:32px; }
      .about-inner { grid-template-columns:1fr; }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .use-grid { grid-template-columns:1fr; }
    }
    @media(max-width:600px){
      .features-grid { grid-template-columns:1fr; }
      
      .footer-top { grid-template-columns:1fr; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:#f2f5f7; --bg2:#e8edf0; --surface:#ffffff; --surface2:#f7fafa;
      --border:#d0dade; --border2:#b8c8cc;
      --teal:#0d7377; --teal-dark:#095a5e; --teal-light:#14a7ad;
      --teal-pale:#e0f4f5; --teal-pale2:#bde8ea;
      --amber:#b45309; --amber2:#d97706; --amber-pale:#fef3c7; --amber-pale2:#fde68a;
      --violet:#6d28d9; --violet-pale:#ede9fe; --violet-pale2:#c4b5fd;
      --slate:#1a2535; --slate2:#2d3f55; --muted:#5a6e82; --muted2:#8fa0b0;
      --success:#047857; --success-bg:#d1fae5; --error:#b91c1c; --error-bg:#fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ── HEADER ── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); }

    /* ── HERO ── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1}50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl  { color:var(--teal); }
    h1 .hl2 { color:var(--amber2); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:570px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    .fmt-badges { display:flex; gap:7px; flex-wrap:wrap; justify-content:center; margin-bottom:20px; animation:fadeUp .5s .2s ease both; }
    .fmt-badge { font-size:.7rem; font-weight:700; letter-spacing:.5px; background:var(--surface); border:1px solid var(--border); color:var(--muted); padding:4px 10px; border-radius:6px; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ── TOOL CARD ── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .25s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* ── DROP ZONE ── */
    .drop-zone { border:2px dashed var(--border2); border-radius:16px; padding:64px 28px; text-align:center; cursor:pointer; background:var(--surface2); transition:all .22s; position:relative; }
    .drop-zone:hover, .drop-zone.drag { border-color:var(--teal); background:var(--teal-pale); }
    .drop-zone.has-file { border-color:var(--teal); border-style:solid; background:var(--teal-pale); padding:28px; }
    .drop-icon { font-size:3.2rem; margin-bottom:16px; transition:transform .22s; display:block; }
    .drop-zone:hover .drop-icon { transform:scale(1.1) translateY(-3px); }
    .drop-zone h3 { font-size:1.06rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .drop-zone p  { font-size:.82rem; color:var(--muted); }
    .fmt-hint { display:flex; gap:5px; flex-wrap:wrap; justify-content:center; margin-top:14px; }
    .fmt-tag { font-size:.67rem; font-weight:700; letter-spacing:.5px; background:var(--surface); border:1px solid var(--border); color:var(--muted); padding:3px 8px; border-radius:5px; }
    #imgInput { display:none; }

    /* ── RESULT LAYOUT ── */
    .result-wrap { display:none; gap:24px; }
    .result-wrap.show { display:grid; grid-template-columns:1fr 1fr; }

    /* Left: image preview panel */
    .img-panel { display:flex; flex-direction:column; gap:14px; }
    .img-preview-box { background:var(--slate); border-radius:14px; overflow:hidden; display:flex; align-items:center; justify-content:center; min-height:220px; position:relative; }
    /* checkerboard to show transparency */
    .img-preview-box::before { content:''; position:absolute; inset:0; background-image:linear-gradient(45deg,#374151 25%,transparent 25%),linear-gradient(-45deg,#374151 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#374151 75%),linear-gradient(-45deg,transparent 75%,#374151 75%); background-size:16px 16px; background-position:0 0,0 8px,8px -8px,-8px 0; opacity:.35; border-radius:14px; z-index:0; }
    .img-preview-box img { max-width:100%; max-height:260px; object-fit:contain; border-radius:8px; position:relative; z-index:1; }
    .img-info { background:var(--surface2); border:1px solid var(--border); border-radius:12px; padding:14px 16px; display:flex; flex-direction:column; gap:8px; }
    .img-info-row { display:flex; align-items:center; justify-content:space-between; font-size:.78rem; }
    .img-info-label { color:var(--muted); font-weight:600; }
    .img-info-val { color:var(--slate2); font-family:'JetBrains Mono',monospace; font-weight:500; font-size:.75rem; }
    .img-info-val.teal { color:var(--teal); font-weight:700; }
    .img-info-val.amber { color:var(--amber); font-weight:700; }

    /* Size bar */
    .size-bar-wrap { display:flex; flex-direction:column; gap:5px; }
    .size-bar-labels { display:flex; justify-content:space-between; font-size:.7rem; color:var(--muted); font-weight:600; }
    .size-bar-track { height:6px; background:var(--bg2); border-radius:3px; overflow:hidden; position:relative; }
    .size-bar-fill  { height:100%; background:linear-gradient(90deg,var(--teal),var(--teal-light)); border-radius:3px; transition:width .4s ease; }
    .size-bar-fill2 { position:absolute; top:0; left:0; height:100%; background:linear-gradient(90deg,var(--amber),var(--amber2)); border-radius:3px; transition:width .4s ease; opacity:.7; }

    /* Right: output panel */
    .out-panel { display:flex; flex-direction:column; gap:12px; }
    .out-label { font-size:.7rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); display:flex; align-items:center; justify-content:space-between; }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); }
    .out-box { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:13px 15px; font-family:'JetBrains Mono',monospace; font-size:.73rem; color:var(--slate2); word-break:break-all; line-height:1.65; max-height:120px; overflow-y:auto; transition:border-color .18s; }
    .out-box.uri { color:var(--teal-dark); background:var(--teal-pale); border-color:var(--teal-pale2); }

    /* ── SNIPPET TAB ── */
    .snip-grid { display:grid; grid-template-columns:1fr; gap:14px; }
    .snip-block { background:var(--surface2); border:1px solid var(--border); border-radius:14px; overflow:hidden; }
    .snip-head  { padding:12px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--border); background:var(--surface); }
    .snip-meta  { flex:1; min-width:0; }
    .snip-title { font-size:.82rem; font-weight:700; color:var(--slate); }
    .snip-desc  { font-size:.72rem; color:var(--muted); margin-top:2px; }
    .snip-body  { background:var(--slate); padding:14px 18px; font-family:'JetBrains Mono',monospace; font-size:.73rem; line-height:1.85; color:#cbd5e1; overflow-x:auto; white-space:pre; max-height:130px; overflow-y:auto; }
    .st { color:#7dd3fc; }
    .sa { color:#fde68a; }
    .sv { color:#86efac; }
    .sc { color:#475569; font-style:italic; }
    .sk { color:#c084fc; }

    /* ── PROGRESS ── */
    .progress-wrap { display:none; margin-top:12px; }
    .progress-wrap.show { display:block; }
    .progress-bar  { height:4px; background:var(--bg2); border-radius:2px; overflow:hidden; }
    .progress-fill { height:100%; width:0%; background:linear-gradient(90deg,var(--teal),var(--teal-light)); border-radius:2px; transition:width .25s ease; }
    .progress-lbl  { font-size:.72rem; color:var(--muted); margin-top:5px; }

    /* ── BUTTONS ── */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); }
    .btn-violet { background:var(--violet-pale); color:var(--violet); border-color:var(--violet-pale2); }
    .btn-violet:hover { background:var(--violet-pale2); border-color:var(--violet); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ── STATS STRIP ── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num  { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label{ font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ── SECTIONS ── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }
    code { font-family:'JetBrains Mono',monospace; font-size:.78em; background:var(--bg2); padding:1px 5px; border-radius:4px; color:var(--slate2); }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; color:var(--slate); margin-bottom:8px; }
    .step p  { font-size:.8rem; color:var(--muted); line-height:1.7; }

    /* Features */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber  { background:var(--amber-pale); }
    .feat-icon.violet { background:var(--violet-pale); }
    .feat-icon.gray   { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Format table */
    .fmt-table-wrap { overflow-x:auto; border-radius:16px; border:1px solid var(--border); }
    .fmt-table { width:100%; border-collapse:collapse; font-size:.82rem; }
    .fmt-table thead tr { background:var(--surface2); }
    .fmt-table th { padding:12px 16px; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); border-bottom:1px solid var(--border); white-space:nowrap; }
    .fmt-table td { padding:12px 16px; border-bottom:1px solid var(--bg2); color:var(--slate2); vertical-align:middle; }
    .fmt-table td:first-child { font-size:1.15rem; text-align:center; width:44px; }
    .fmt-table tbody tr:last-child td { border-bottom:none; }
    .fmt-table tbody tr:hover { background:var(--surface2); }
    .badge-pill { display:inline-block; font-size:.65rem; font-weight:700; letter-spacing:.4px; padding:2px 8px; border-radius:100px; }
    .badge-pill.yes { background:var(--success-bg); color:var(--success); }
    .badge-pill.good { background:var(--teal-pale); color:var(--teal-dark); }
    .badge-pill.limited { background:var(--amber-pale); color:var(--amber); }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px; display:flex; gap:18px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 6px 24px rgba(13,115,119,.1); }
    .use-num { font-family:'JetBrains Mono',monospace; font-size:1.2rem; font-weight:700; color:var(--teal-pale2); flex-shrink:0; line-height:1; margin-top:2px; }
    .use-card h3 { font-size:.9rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .use-card p  { font-size:.8rem; color:var(--muted); line-height:1.72; }

        /* About */
    .about-inner {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 52px;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 48px;
      align-items: start;
      box-shadow: 0 4px 20px rgba(13, 115, 119, .08);
    }

    .about-inner h2 {
      text-align: left;
      margin-bottom: 16px;
    }

    .about-inner p {
      font-size: .86rem;
      color: var(--muted);
      line-height: 1.82;
      margin-bottom: 13px;
    }

    .about-inner p:last-child {
      margin-bottom: 0;
    }

.about-visual { background:var(--slate); border-radius:16px; padding:22px 24px; border:1px solid rgba(255,255,255,.06); box-shadow:0 8px 32px rgba(0,0,0,.2); }
    .mono-line { font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.85; color:#cbd5e1; }
    .mono-line .k { color:#c084fc; }
    .mono-line .v { color:#7dd3fc; }
    .mono-line .s { color:#86efac; }
    .mono-line .c { color:#475569; font-style:italic; }

    /* FAQ */
    .faq-list { display:flex; flex-direction:column; gap:10px; max-width:780px; margin:0 auto; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:box-shadow .18s; }
    .faq-item:hover { box-shadow:0 4px 16px rgba(13,115,119,.08); }
    .faq-item.open  { border-color:var(--teal-pale2); }
    .faq-q { width:100%; background:none; border:none; padding:18px 22px; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:'Plus Jakarta Sans',sans-serif; font-size:.88rem; font-weight:700; color:var(--slate); cursor:pointer; text-align:left; transition:background .15s; }
    .faq-q:hover { background:var(--surface2); }
    .faq-item.open .faq-q { color:var(--teal); background:var(--teal-pale); }
    .faq-arrow { font-size:.7rem; color:var(--muted2); flex-shrink:0; transition:transform .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); color:var(--teal); }
    .faq-a { display:none; padding:0 22px 18px; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { display:block; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

    @media(max-width:900px){
      .result-wrap.show { grid-template-columns:1fr; }
      .features-grid { grid-template-columns:repeat(2,1fr); }
      .steps-grid::before { display:none; }
      .steps-grid { grid-template-columns:1fr; gap:32px; }
      .about-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
      }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .use-grid { grid-template-columns:1fr; }
    }
    @media(max-width:600px){
      .features-grid { grid-template-columns:1fr; }
      
      .footer-top { grid-template-columns:1fr; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:#f2f5f7; --bg2:#e8edf0; --surface:#ffffff; --surface2:#f7fafa;
      --border:#d0dade; --border2:#b8c8cc;
      --teal:#0d7377; --teal-dark:#095a5e; --teal-light:#14a7ad;
      --teal-pale:#e0f4f5; --teal-pale2:#bde8ea;
      --amber:#b45309; --amber2:#d97706; --amber-pale:#fef3c7; --amber-pale2:#fde68a;
      --violet:#6d28d9; --violet-pale:#ede9fe; --violet-pale2:#c4b5fd;
      --slate:#1a2535; --slate2:#2d3f55; --muted:#5a6e82; --muted2:#8fa0b0;
      --success:#047857; --success-bg:#d1fae5; --error:#b91c1c; --error-bg:#fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ── HEADER ── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); }

    /* ── HERO ── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1}50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl  { color:var(--teal); }
    h1 .hl2 { color:var(--amber2); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:570px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    .fmt-badges { display:flex; gap:7px; flex-wrap:wrap; justify-content:center; margin-bottom:20px; animation:fadeUp .5s .2s ease both; }
    .fmt-badge { font-size:.7rem; font-weight:700; letter-spacing:.5px; background:var(--surface); border:1px solid var(--border); color:var(--muted); padding:4px 10px; border-radius:6px; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ── TOOL CARD ── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .25s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* ── DROP ZONE ── */
    .drop-zone { border:2px dashed var(--border2); border-radius:16px; padding:64px 28px; text-align:center; cursor:pointer; background:var(--surface2); transition:all .22s; position:relative; }
    .drop-zone:hover, .drop-zone.drag { border-color:var(--teal); background:var(--teal-pale); }
    .drop-zone.has-file { border-color:var(--teal); border-style:solid; background:var(--teal-pale); padding:28px; }
    .drop-icon { font-size:3.2rem; margin-bottom:16px; transition:transform .22s; display:block; }
    .drop-zone:hover .drop-icon { transform:scale(1.1) translateY(-3px); }
    .drop-zone h3 { font-size:1.06rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .drop-zone p  { font-size:.82rem; color:var(--muted); }
    .fmt-hint { display:flex; gap:5px; flex-wrap:wrap; justify-content:center; margin-top:14px; }
    .fmt-tag { font-size:.67rem; font-weight:700; letter-spacing:.5px; background:var(--surface); border:1px solid var(--border); color:var(--muted); padding:3px 8px; border-radius:5px; }
    #pdfInput { display:none; }

    /* ── RESULT LAYOUT ── */
    .result-wrap { display:none; gap:24px; }
    .result-wrap.show { display:grid; grid-template-columns:1fr 1fr; }

    /* Left: PDF info panel */
    .pdf-panel { display:flex; flex-direction:column; gap:14px; }
    .pdf-preview-box { background:var(--slate); border-radius:14px; overflow:hidden; display:flex; align-items:center; justify-content:center; min-height:220px; position:relative; flex-direction:column; gap:12px; padding:28px; }
    .pdf-icon-big { font-size:4rem; }
    .pdf-filename { font-family:'JetBrains Mono',monospace; font-size:.78rem; color:#94a3b8; word-break:break-all; text-align:center; }
    .pdf-info { background:var(--surface2); border:1px solid var(--border); border-radius:12px; padding:14px 16px; display:flex; flex-direction:column; gap:8px; }
    .pdf-info-row { display:flex; align-items:center; justify-content:space-between; font-size:.78rem; }
    .pdf-info-label { color:var(--muted); font-weight:600; }
    .pdf-info-val { color:var(--slate2); font-family:'JetBrains Mono',monospace; font-weight:500; font-size:.75rem; }
    .pdf-info-val.teal { color:var(--teal); font-weight:700; }
    .pdf-info-val.amber { color:var(--amber); font-weight:700; }

    /* Size bar */
    .size-bar-wrap { display:flex; flex-direction:column; gap:5px; }
    .size-bar-labels { display:flex; justify-content:space-between; font-size:.7rem; color:var(--muted); font-weight:600; }
    .size-bar-track { height:6px; background:var(--bg2); border-radius:3px; overflow:hidden; position:relative; }
    .size-bar-fill  { height:100%; background:linear-gradient(90deg,var(--teal),var(--teal-light)); border-radius:3px; transition:width .4s ease; }
    .size-bar-fill2 { position:absolute; top:0; left:0; height:100%; background:linear-gradient(90deg,var(--amber),var(--amber2)); border-radius:3px; transition:width .4s ease; opacity:.7; }

    /* Right: output panel */
    .out-panel { display:flex; flex-direction:column; gap:12px; }
    .out-label { font-size:.7rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); display:flex; align-items:center; justify-content:space-between; }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); }
    .out-box { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:13px 15px; font-family:'JetBrains Mono',monospace; font-size:.73rem; color:var(--slate2); word-break:break-all; line-height:1.65; max-height:120px; overflow-y:auto; transition:border-color .18s; }
    .out-box.uri { color:var(--teal-dark); background:var(--teal-pale); border-color:var(--teal-pale2); }

    /* ── SNIPPET TAB ── */
    .snip-grid { display:grid; grid-template-columns:1fr; gap:14px; }
    .snip-block { background:var(--surface2); border:1px solid var(--border); border-radius:14px; overflow:hidden; }
    .snip-head  { padding:12px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--border); background:var(--surface); }
    .snip-meta  { flex:1; min-width:0; }
    .snip-title { font-size:.82rem; font-weight:700; color:var(--slate); }
    .snip-desc  { font-size:.72rem; color:var(--muted); margin-top:2px; }
    .snip-body  { background:var(--slate); padding:14px 18px; font-family:'JetBrains Mono',monospace; font-size:.73rem; line-height:1.85; color:#cbd5e1; overflow-x:auto; white-space:pre; max-height:160px; overflow-y:auto; }
    .st { color:#7dd3fc; }
    .sa { color:#fde68a; }
    .sv { color:#86efac; }
    .sc { color:#475569; font-style:italic; }
    .sk { color:#c084fc; }

    /* ── PROGRESS ── */
    .progress-wrap { display:none; margin-top:12px; }
    .progress-wrap.show { display:block; }
    .progress-bar  { height:4px; background:var(--bg2); border-radius:2px; overflow:hidden; }
    .progress-fill { height:100%; width:0%; background:linear-gradient(90deg,var(--teal),var(--teal-light)); border-radius:2px; transition:width .25s ease; }
    .progress-lbl  { font-size:.72rem; color:var(--muted); margin-top:5px; }

    /* ── BUTTONS ── */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); }
    .btn-violet { background:var(--violet-pale); color:var(--violet); border-color:var(--violet-pale2); }
    .btn-violet:hover { background:var(--violet-pale2); border-color:var(--violet); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ── STATS STRIP ── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num  { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label{ font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ── SECTIONS ── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }
    code { font-family:'JetBrains Mono',monospace; font-size:.78em; background:var(--bg2); padding:1px 5px; border-radius:4px; color:var(--slate2); }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; color:var(--slate); margin-bottom:8px; }
    .step p  { font-size:.8rem; color:var(--muted); line-height:1.7; }

    /* Features */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber  { background:var(--amber-pale); }
    .feat-icon.violet { background:var(--violet-pale); }
    .feat-icon.gray   { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Format table */
    .fmt-table-wrap { overflow-x:auto; border-radius:16px; border:1px solid var(--border); }
    .fmt-table { width:100%; border-collapse:collapse; font-size:.82rem; }
    .fmt-table thead tr { background:var(--surface2); }
    .fmt-table th { padding:12px 16px; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); border-bottom:1px solid var(--border); white-space:nowrap; }
    .fmt-table td { padding:12px 16px; border-bottom:1px solid var(--bg2); color:var(--slate2); vertical-align:middle; }
    .fmt-table td:first-child { font-size:1.15rem; text-align:center; width:44px; }
    .fmt-table tbody tr:last-child td { border-bottom:none; }
    .fmt-table tbody tr:hover { background:var(--surface2); }
    .badge-pill { display:inline-block; font-size:.65rem; font-weight:700; letter-spacing:.4px; padding:2px 8px; border-radius:100px; }
    .badge-pill.yes { background:var(--success-bg); color:var(--success); }
    .badge-pill.good { background:var(--teal-pale); color:var(--teal-dark); }
    .badge-pill.limited { background:var(--amber-pale); color:var(--amber); }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px; display:flex; gap:18px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 6px 24px rgba(13,115,119,.1); }
    .use-num { font-family:'JetBrains Mono',monospace; font-size:1.2rem; font-weight:700; color:var(--teal-pale2); flex-shrink:0; line-height:1; margin-top:2px; }
    .use-card h3 { font-size:.9rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .use-card p  { font-size:.8rem; color:var(--muted); line-height:1.72; }

    /* About */
    .about-inner {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 52px;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 48px;
      align-items: start;
      box-shadow: 0 4px 20px rgba(13, 115, 119, .08);
    }
    .about-inner h2 {
      text-align: left;
      margin-bottom: 16px;
    }
    .about-inner p { font-size:.86rem; color:var(--muted); line-height:1.82; margin-bottom:13px; }
    .about-inner p:last-child { margin-bottom:0; }
    .about-visual { background:var(--slate); border-radius:16px; padding:22px 24px; border:1px solid rgba(255,255,255,.06); box-shadow:0 8px 32px rgba(0,0,0,.2); }
    .mono-line { font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.85; color:#cbd5e1; }
    .mono-line .k { color:#c084fc; }
    .mono-line .v { color:#7dd3fc; }
    .mono-line .s { color:#86efac; }
    .mono-line .c { color:#475569; font-style:italic; }

    /* FAQ */
    .faq-list { display:flex; flex-direction:column; gap:10px; max-width:780px; margin:0 auto; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:box-shadow .18s; }
    .faq-item:hover { box-shadow:0 4px 16px rgba(13,115,119,.08); }
    .faq-item.open  { border-color:var(--teal-pale2); }
    .faq-q { width:100%; background:none; border:none; padding:18px 22px; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:'Plus Jakarta Sans',sans-serif; font-size:.88rem; font-weight:700; color:var(--slate); cursor:pointer; text-align:left; transition:background .15s; }
    .faq-q:hover { background:var(--surface2); }
    .faq-item.open .faq-q { color:var(--teal); background:var(--teal-pale); }
    .faq-arrow { font-size:.7rem; color:var(--muted2); flex-shrink:0; transition:transform .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); color:var(--teal); }
    .faq-a { display:none; padding:0 22px 18px; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { display:block; }

    /* Footer */
    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

    @media(max-width:900px){
      .result-wrap.show { grid-template-columns:1fr; }
      .features-grid { grid-template-columns:repeat(2,1fr); }
      .steps-grid::before { display:none; }
      .steps-grid { grid-template-columns:1fr; gap:32px; }
      .about-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
      }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .use-grid { grid-template-columns:1fr; }
    }
    @media(max-width:600px){
      .features-grid { grid-template-columns:1fr; }
      
      .footer-top { grid-template-columns:1fr; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg:        #f2f5f7;
      --bg2:       #e8edf0;
      --surface:   #ffffff;
      --surface2:  #f7fafa;
      --border:    #d0dade;
      --border2:   #b8c8cc;
      --teal:      #0d7377;
      --teal-dark: #095a5e;
      --teal-light:#14a7ad;
      --teal-pale: #e0f4f5;
      --teal-pale2:#bde8ea;
      --amber:     #b45309;
      --amber2:    #d97706;
      --amber-pale:#fef3c7;
      --amber-pale2:#fde68a;
      --slate:     #1a2535;
      --slate2:    #2d3f55;
      --muted:     #5a6e82;
      --muted2:    #8fa0b0;
      --success:   #047857;
      --success-bg:#d1fae5;
      --error:     #b91c1c;
      --error-bg:  #fee2e2;
    }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: var(--bg);
      color: var(--slate);
      line-height: 1.6;
      overflow-x: hidden;
    }
    body::before {
      content:'';
      position:fixed; top:0; left:0; right:0; height:3px;
      background: linear-gradient(90deg, var(--teal), var(--teal-light) 50%, var(--amber2));
      z-index:300;
    }
    body::after {
      content:'';
      position:fixed; inset:0;
      background-image:
        linear-gradient(rgba(13,115,119,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,115,119,.025) 1px, transparent 1px);
      background-size: 44px 44px;
      pointer-events:none; z-index:0;
    }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 4px rgba(13,115,119,.08);
      position: sticky; top:3px; z-index:100;
    }
    .header-inner {
      max-width:1200px; margin:0 auto; padding:0 2rem;
      display:flex; align-items:center; justify-content:space-between;
      height:66px;
    }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon {
      width:38px; height:38px;
      background: var(--teal); border-radius:10px;
      display:flex; align-items:center; justify-content:center;
      font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500;
      color:#fff; letter-spacing:-.3px;
      box-shadow:0 2px 8px rgba(13,115,119,.3);
    }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta {
      background:var(--teal)!important; color:#fff!important;
      padding:9px 20px; border-radius:8px;
      font-size:.84rem!important; font-weight:700!important;
      box-shadow:0 2px 10px rgba(13,115,119,.28);
      transition:background .18s,box-shadow .18s,transform .12s!important;
    }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── PAGE HERO ─── */
    .page-hero {
      max-width:1200px; margin:0 auto; padding:64px 2rem 48px;
      text-align:center; animation:fadeUp .5s ease both;
    }
    .page-badge {
      display:inline-flex; align-items:center; gap:8px;
      background:var(--teal-pale); border:1px solid var(--teal-pale2);
      border-radius:100px; padding:6px 16px;
      font-size:.74rem; font-weight:700; color:var(--teal-dark);
      letter-spacing:.6px; text-transform:uppercase; margin-bottom:24px;
    }
    .page-badge-icon { font-size:.9rem; }
    .page-hero h1 {
      font-size:clamp(2rem,4.5vw,3.2rem);
      font-weight:800; line-height:1.12; letter-spacing:-1.2px;
      color:var(--slate); margin-bottom:16px;
    }
    .page-hero h1 .hl { color:var(--teal); }
    .page-hero-sub {
      font-size:.98rem; color:var(--muted);
      max-width:560px; margin:0 auto 24px;
      line-height:1.78;
    }
    .last-updated {
      display:inline-flex; align-items:center; gap:7px;
      font-size:.76rem; font-weight:600; color:var(--muted2);
      background:var(--surface); border:1px solid var(--border);
      border-radius:8px; padding:6px 14px;
    }

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

    /* ─── PRIVACY HIGHLIGHT CARDS ─── */
    .highlight-strip {
      max-width:1080px; margin:0 auto 60px; padding:0 2rem;
      display:grid; grid-template-columns:repeat(3,1fr); gap:14px;
    }
    .highlight-card {
      background:var(--surface); border:1px solid var(--border);
      border-radius:16px; padding:22px 20px;
      box-shadow:0 1px 4px rgba(13,115,119,.07);
      transition:transform .18s,box-shadow .18s,border-color .2s;
      text-align:center;
    }
    .highlight-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .highlight-card .hi-icon { font-size:1.8rem; margin-bottom:10px; display:block; }
    .highlight-card h3 { font-size:.9rem; font-weight:700; color:var(--slate); margin-bottom:6px; }
    .highlight-card p { font-size:.79rem; color:var(--muted); line-height:1.65; }
    .highlight-card.green { border-top:3px solid var(--success); }
    .highlight-card.teal  { border-top:3px solid var(--teal); }
    .highlight-card.amber { border-top:3px solid var(--amber2); }

    /* ─── CONTENT LAYOUT ─── */
    .content-wrap {
      max-width:1080px; margin:0 auto; padding:0 2rem 80px;
      display:grid; grid-template-columns:240px 1fr; gap:40px; align-items:start;
    }

    /* ─── TOC SIDEBAR ─── */
    .toc {
      background:var(--surface); border:1px solid var(--border);
      border-radius:16px; padding:24px 20px;
      box-shadow:0 1px 4px rgba(13,115,119,.07);
      position:sticky; top:90px;
    }
    .toc-title {
      font-size:.7rem; font-weight:700; letter-spacing:1.2px;
      text-transform:uppercase; color:var(--muted2);
      margin-bottom:14px; padding-bottom:10px;
      border-bottom:1px solid var(--border);
    }
    .toc ul { list-style:none; display:flex; flex-direction:column; gap:2px; }
    .toc li a {
      display:block; font-size:.8rem; font-weight:600; color:var(--muted);
      text-decoration:none; padding:7px 10px; border-radius:8px;
      transition:all .16s;
    }
    .toc li a:hover { color:var(--teal); background:var(--teal-pale); }
    .toc li a.active { color:var(--teal); background:var(--teal-pale); }
    .toc-number {
      font-family:'JetBrains Mono',monospace; font-size:.68rem;
      color:var(--muted2); margin-right:6px;
    }

    /* ─── POLICY CONTENT ─── */
    .policy-doc {
      background:var(--surface); border:1px solid var(--border);
      border-radius:20px; overflow:hidden;
      box-shadow:0 4px 20px rgba(13,115,119,.08);
    }
    .policy-section {
      padding:36px 44px;
      border-bottom:1px solid var(--border);
    }
    .policy-section:last-child { border-bottom:none; }
    .policy-section:first-child {
      background:linear-gradient(135deg,var(--teal-pale) 0%,var(--surface) 60%);
    }

    .section-num {
      display:inline-flex; align-items:center; justify-content:center;
      width:28px; height:28px; background:var(--teal); border-radius:8px;
      font-size:.72rem; font-weight:800; color:#fff;
      font-family:'JetBrains Mono',monospace;
      margin-right:10px; flex-shrink:0;
    }
    .section-heading {
      display:flex; align-items:center; margin-bottom:18px;
    }
    .section-heading h2 {
      font-size:1.15rem; font-weight:800; color:var(--slate);
      letter-spacing:-.3px; line-height:1.3;
    }

    .policy-text {
      font-size:.875rem; color:var(--muted); line-height:1.85;
      margin-bottom:14px;
    }
    .policy-text:last-child { margin-bottom:0; }
    .policy-text strong { color:var(--slate2); font-weight:700; }
    .policy-text a { color:var(--teal); text-decoration:none; font-weight:600; }
    .policy-text a:hover { text-decoration:underline; }

    .policy-list {
      list-style:none; margin:12px 0 16px; display:flex; flex-direction:column; gap:8px;
    }
    .policy-list li {
      display:flex; align-items:flex-start; gap:10px;
      font-size:.875rem; color:var(--muted); line-height:1.7;
    }
    .policy-list li::before {
      content:''; display:block; width:7px; height:7px;
      background:var(--teal); border-radius:50%; margin-top:7px; flex-shrink:0;
    }
    .policy-list li strong { color:var(--slate2); }

    .info-box {
      background:var(--teal-pale); border:1px solid var(--teal-pale2);
      border-left:4px solid var(--teal);
      border-radius:10px; padding:16px 18px; margin:18px 0;
      font-size:.84rem; color:var(--teal-dark); line-height:1.72;
    }
    .info-box.amber {
      background:var(--amber-pale); border-color:var(--amber-pale2);
      border-left-color:var(--amber2); color:var(--amber);
    }
    .info-box strong { font-weight:700; display:block; margin-bottom:4px; }

    .two-col-list {
      display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:12px 0;
    }
    .two-col-item {
      background:var(--surface2); border:1px solid var(--border);
      border-radius:10px; padding:12px 14px;
      font-size:.8rem; color:var(--muted); line-height:1.5;
      display:flex; align-items:flex-start; gap:8px;
    }
    .two-col-item::before {
      content:'✓'; color:var(--success); font-weight:800; font-size:.8rem; flex-shrink:0; margin-top:1px;
    }

    /* ─── FOOTER ─── */
    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

    code {
      background:var(--teal-pale); color:var(--teal-dark);
      font-family:'JetBrains Mono',monospace; font-size:.78em;
      padding:1px 5px; border-radius:4px;
    }

    @media(max-width:900px) {
      .content-wrap { grid-template-columns:1fr; }
      .toc { display:none; }
      .highlight-strip { grid-template-columns:1fr; }
      .policy-section { padding:28px 24px; }
      .two-col-list { grid-template-columns:1fr; }
      .footer-top { grid-template-columns:1fr 1fr; }
    }
    @media(max-width:600px) {
      .footer-top { grid-template-columns:1fr; }
      
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg:        #f2f5f7;
      --bg2:       #e8edf0;
      --surface:   #ffffff;
      --surface2:  #f7fafa;
      --border:    #d0dade;
      --border2:   #b8c8cc;
      --teal:      #0d7377;
      --teal-dark: #095a5e;
      --teal-light:#14a7ad;
      --teal-pale: #e0f4f5;
      --teal-pale2:#bde8ea;
      --amber:     #b45309;
      --amber2:    #d97706;
      --amber-pale:#fef3c7;
      --amber-pale2:#fde68a;
      --slate:     #1a2535;
      --slate2:    #2d3f55;
      --muted:     #5a6e82;
      --muted2:    #8fa0b0;
      --success:   #047857;
      --success-bg:#d1fae5;
      --error:     #b91c1c;
      --error-bg:  #fee2e2;
    }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background: var(--bg);
      color: var(--slate);
      line-height: 1.6;
      overflow-x: hidden;
    }
    body::before {
      content:'';
      position:fixed; top:0; left:0; right:0; height:3px;
      background: linear-gradient(90deg, var(--teal), var(--teal-light) 50%, var(--amber2));
      z-index:300;
    }
    body::after {
      content:'';
      position:fixed; inset:0;
      background-image:
        linear-gradient(rgba(13,115,119,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,115,119,.025) 1px, transparent 1px);
      background-size: 44px 44px;
      pointer-events:none; z-index:0;
    }
    * { position:relative; z-index:1; }

    /* ─── HEADER ─── */
    header {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 4px rgba(13,115,119,.08);
      position: sticky; top:3px; z-index:100;
    }
    .header-inner {
      max-width:1200px; margin:0 auto; padding:0 2rem;
      display:flex; align-items:center; justify-content:space-between;
      height:66px;
    }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon {
      width:38px; height:38px;
      background: var(--teal); border-radius:10px;
      display:flex; align-items:center; justify-content:center;
      font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500;
      color:#fff; letter-spacing:-.3px;
      box-shadow:0 2px 8px rgba(13,115,119,.3);
    }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta {
      background:var(--teal)!important; color:#fff!important;
      padding:9px 20px; border-radius:8px;
      font-size:.84rem!important; font-weight:700!important;
      box-shadow:0 2px 10px rgba(13,115,119,.28);
      transition:background .18s,box-shadow .18s,transform .12s!important;
    }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); box-shadow:0 4px 16px rgba(13,115,119,.38)!important; }

    /* ─── PAGE HERO ─── */
    .page-hero {
      max-width:1200px; margin:0 auto; padding:64px 2rem 48px;
      text-align:center; animation:fadeUp .5s ease both;
    }
    .page-badge {
      display:inline-flex; align-items:center; gap:8px;
      background:var(--amber-pale); border:1px solid var(--amber-pale2);
      border-radius:100px; padding:6px 16px;
      font-size:.74rem; font-weight:700; color:var(--amber);
      letter-spacing:.6px; text-transform:uppercase; margin-bottom:24px;
    }
    .page-hero h1 {
      font-size:clamp(2rem,4.5vw,3.2rem);
      font-weight:800; line-height:1.12; letter-spacing:-1.2px;
      color:var(--slate); margin-bottom:16px;
    }
    .page-hero h1 .hl { color:var(--teal); }
    .page-hero-sub {
      font-size:.98rem; color:var(--muted);
      max-width:560px; margin:0 auto 24px;
      line-height:1.78;
    }
    .last-updated {
      display:inline-flex; align-items:center; gap:7px;
      font-size:.76rem; font-weight:600; color:var(--muted2);
      background:var(--surface); border:1px solid var(--border);
      border-radius:8px; padding:6px 14px;
    }

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

    /* ─── TERMS SUMMARY CARDS ─── */
    .summary-strip {
      max-width:1080px; margin:0 auto 60px; padding:0 2rem;
      display:grid; grid-template-columns:repeat(4,1fr); gap:14px;
    }
    .summary-card {
      background:var(--surface); border:1px solid var(--border);
      border-radius:16px; padding:20px 18px;
      box-shadow:0 1px 4px rgba(13,115,119,.07);
      transition:transform .18s,box-shadow .18s;
      text-align:center;
    }
    .summary-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .summary-card .sc-icon { font-size:1.6rem; margin-bottom:9px; display:block; }
    .summary-card h3 { font-size:.82rem; font-weight:700; color:var(--slate); margin-bottom:5px; }
    .summary-card p { font-size:.75rem; color:var(--muted); line-height:1.6; }

    /* ─── CONTENT LAYOUT ─── */
    .content-wrap {
      max-width:1080px; margin:0 auto; padding:0 2rem 80px;
      display:grid; grid-template-columns:240px 1fr; gap:40px; align-items:start;
    }

    /* ─── TOC SIDEBAR ─── */
    .toc {
      background:var(--surface); border:1px solid var(--border);
      border-radius:16px; padding:24px 20px;
      box-shadow:0 1px 4px rgba(13,115,119,.07);
      position:sticky; top:90px;
    }
    .toc-title {
      font-size:.7rem; font-weight:700; letter-spacing:1.2px;
      text-transform:uppercase; color:var(--muted2);
      margin-bottom:14px; padding-bottom:10px;
      border-bottom:1px solid var(--border);
    }
    .toc ul { list-style:none; display:flex; flex-direction:column; gap:2px; }
    .toc li a {
      display:block; font-size:.8rem; font-weight:600; color:var(--muted);
      text-decoration:none; padding:7px 10px; border-radius:8px;
      transition:all .16s;
    }
    .toc li a:hover { color:var(--teal); background:var(--teal-pale); }
    .toc li a.active { color:var(--teal); background:var(--teal-pale); }
    .toc-number {
      font-family:'JetBrains Mono',monospace; font-size:.68rem;
      color:var(--muted2); margin-right:6px;
    }

    /* ─── POLICY CONTENT ─── */
    .policy-doc {
      background:var(--surface); border:1px solid var(--border);
      border-radius:20px; overflow:hidden;
      box-shadow:0 4px 20px rgba(13,115,119,.08);
    }
    .policy-section {
      padding:36px 44px;
      border-bottom:1px solid var(--border);
    }
    .policy-section:last-child { border-bottom:none; }
    .policy-section:first-child {
      background:linear-gradient(135deg,var(--amber-pale) 0%,var(--surface) 60%);
    }

    .section-num {
      display:inline-flex; align-items:center; justify-content:center;
      width:28px; height:28px; background:var(--teal); border-radius:8px;
      font-size:.72rem; font-weight:800; color:#fff;
      font-family:'JetBrains Mono',monospace;
      margin-right:10px; flex-shrink:0;
    }
    .section-num.amber { background:var(--amber2); }
    .section-heading {
      display:flex; align-items:center; margin-bottom:18px;
    }
    .section-heading h2 {
      font-size:1.15rem; font-weight:800; color:var(--slate);
      letter-spacing:-.3px; line-height:1.3;
    }

    .policy-text {
      font-size:.875rem; color:var(--muted); line-height:1.85;
      margin-bottom:14px;
    }
    .policy-text:last-child { margin-bottom:0; }
    .policy-text strong { color:var(--slate2); font-weight:700; }
    .policy-text a { color:var(--teal); text-decoration:none; font-weight:600; }
    .policy-text a:hover { text-decoration:underline; }

    .policy-list {
      list-style:none; margin:12px 0 16px; display:flex; flex-direction:column; gap:8px;
    }
    .policy-list li {
      display:flex; align-items:flex-start; gap:10px;
      font-size:.875rem; color:var(--muted); line-height:1.7;
    }
    .policy-list li::before {
      content:''; display:block; width:7px; height:7px;
      background:var(--teal); border-radius:50%; margin-top:7px; flex-shrink:0;
    }
    .policy-list li strong { color:var(--slate2); }

    .prohibited-list { list-style:none; margin:12px 0 16px; display:flex; flex-direction:column; gap:8px; }
    .prohibited-list li {
      display:flex; align-items:flex-start; gap:10px;
      font-size:.875rem; color:var(--muted); line-height:1.7;
    }
    .prohibited-list li::before {
      content:'✕'; color:var(--error); font-weight:800; font-size:.78rem;
      flex-shrink:0; margin-top:2px;
    }

    .info-box {
      background:var(--teal-pale); border:1px solid var(--teal-pale2);
      border-left:4px solid var(--teal);
      border-radius:10px; padding:16px 18px; margin:18px 0;
      font-size:.84rem; color:var(--teal-dark); line-height:1.72;
    }
    .info-box.amber {
      background:var(--amber-pale); border-color:var(--amber-pale2);
      border-left-color:var(--amber2); color:var(--amber);
    }
    .info-box.error {
      background:var(--error-bg); border-color:#fca5a5;
      border-left-color:var(--error); color:var(--error);
    }
    .info-box strong { font-weight:700; display:block; margin-bottom:4px; }

    /* ─── FOOTER ─── */
    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

    code {
      background:var(--teal-pale); color:var(--teal-dark);
      font-family:'JetBrains Mono',monospace; font-size:.78em;
      padding:1px 5px; border-radius:4px;
    }

    @media(max-width:900px) {
      .content-wrap { grid-template-columns:1fr; }
      .toc { display:none; }
      .summary-strip { grid-template-columns:repeat(2,1fr); }
      .policy-section { padding:28px 24px; }
      .footer-top { grid-template-columns:1fr 1fr; }
    }
    @media(max-width:600px) {
      .summary-strip { grid-template-columns:1fr; }
      .footer-top { grid-template-columns:1fr; }
      
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

     *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:#f2f5f7; --bg2:#e8edf0; --surface:#ffffff; --surface2:#f7fafa;
      --border:#d0dade; --border2:#b8c8cc;
      --teal:#0d7377; --teal-dark:#095a5e; --teal-light:#14a7ad;
      --teal-pale:#e0f4f5; --teal-pale2:#bde8ea;
      --amber:#b45309; --amber2:#d97706; --amber-pale:#fef3c7; --amber-pale2:#fde68a;
      --violet:#6d28d9; --violet-pale:#ede9fe; --violet-pale2:#c4b5fd;
      --slate:#1a2535; --slate2:#2d3f55; --muted:#5a6e82; --muted2:#8fa0b0;
      --success:#047857; --success-bg:#d1fae5; --error:#b91c1c; --error-bg:#fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ── HEADER ── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); }

    /* ── HERO ── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1}50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl  { color:var(--teal); }
    h1 .hl2 { color:var(--amber2); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:570px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    .fmt-badges { display:flex; gap:7px; flex-wrap:wrap; justify-content:center; margin-bottom:20px; animation:fadeUp .5s .2s ease both; }
    .fmt-badge { font-size:.7rem; font-weight:700; letter-spacing:.5px; background:var(--surface); border:1px solid var(--border); color:var(--muted); padding:4px 10px; border-radius:6px; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ── TOOL CARD ── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .25s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* ── ENCODE LAYOUT ── */
    .encode-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
    .col-label { font-size:.7rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
    .meta-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); }

    /* Charset selector */
    .charset-row { display:flex; align-items:center; gap:10px; margin-bottom:14px; flex-wrap:wrap; }
    .charset-label { font-size:.74rem; font-weight:700; color:var(--muted); }
    .charset-select { appearance:none; background:var(--surface2); border:1.5px solid var(--border); border-radius:8px; padding:6px 28px 6px 10px; font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; color:var(--slate2); cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235a6e82'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 9px center; transition:border-color .18s; }
    .charset-select:focus { outline:none; border-color:var(--teal); }

    /* Textarea */
    .txt-area { width:100%; min-height:200px; padding:14px 16px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; font-family:'JetBrains Mono',monospace; font-size:.78rem; color:var(--slate); line-height:1.7; resize:vertical; transition:border-color .2s; }
    .txt-area:focus { outline:none; border-color:var(--teal); background:#fff; }
    .txt-area::placeholder { color:var(--muted2); }

    /* Output box */
    .out-box { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; font-family:'JetBrains Mono',monospace; font-size:.73rem; color:var(--slate2); word-break:break-all; line-height:1.7; min-height:200px; max-height:260px; overflow-y:auto; transition:border-color .18s; cursor:text; user-select:all; }
    .out-box.active { border-color:var(--teal-pale2); background:var(--teal-pale); color:var(--teal-dark); }
    .out-box.empty { color:var(--muted2); font-style:italic; }

    /* ── DECODE LAYOUT ── */
    .decode-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
    .decode-out { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; font-family:'Plus Jakarta Sans',monospace; font-size:.82rem; color:var(--slate2); line-height:1.75; min-height:200px; max-height:260px; overflow-y:auto; white-space:pre-wrap; word-break:break-word; }
    .decode-out.error { background:var(--error-bg); border-color:var(--error); color:var(--error); }
    .decode-out.empty { color:var(--muted2); font-style:italic; font-family:'Plus Jakarta Sans',sans-serif; }

    /* ── SNIPPET TAB ── */
    .snip-grid { display:grid; grid-template-columns:1fr; gap:14px; }
    .snip-block { background:var(--surface2); border:1px solid var(--border); border-radius:14px; overflow:hidden; }
    .snip-head  { padding:12px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--border); background:var(--surface); }
    .snip-meta  { flex:1; min-width:0; }
    .snip-title { font-size:.82rem; font-weight:700; color:var(--slate); }
    .snip-desc  { font-size:.72rem; color:var(--muted); margin-top:2px; }
    .snip-body  { background:var(--slate); padding:14px 18px; font-family:'JetBrains Mono',monospace; font-size:.73rem; line-height:1.85; color:#cbd5e1; overflow-x:auto; white-space:pre; max-height:160px; overflow-y:auto; }
    .st { color:#7dd3fc; }
    .sa { color:#fde68a; }
    .sv { color:#86efac; }
    .sc { color:#475569; font-style:italic; }
    .sk { color:#c084fc; }

    /* ── BUTTONS ── */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin-top:10px; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); }
    .btn-violet { background:var(--violet-pale); color:var(--violet); border-color:var(--violet-pale2); }
    .btn-violet:hover { background:var(--violet-pale2); border-color:var(--violet); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ── STATS STRIP ── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num  { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label{ font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ── SECTIONS ── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }
    code { font-family:'JetBrains Mono',monospace; font-size:.78em; background:var(--bg2); padding:1px 5px; border-radius:4px; color:var(--slate2); }

    /* Steps */
    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; color:var(--slate); margin-bottom:8px; }
    .step p  { font-size:.8rem; color:var(--muted); line-height:1.7; }

    /* Features */
    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber  { background:var(--amber-pale); }
    .feat-icon.violet { background:var(--violet-pale); }
    .feat-icon.gray   { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    /* Charset table */
    .fmt-table-wrap { overflow-x:auto; border-radius:16px; border:1px solid var(--border); }
    .fmt-table { width:100%; border-collapse:collapse; font-size:.82rem; }
    .fmt-table thead tr { background:var(--surface2); }
    .fmt-table th { padding:12px 16px; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); border-bottom:1px solid var(--border); white-space:nowrap; }
    .fmt-table td { padding:12px 16px; border-bottom:1px solid var(--bg2); color:var(--slate2); vertical-align:middle; }
    .fmt-table td:first-child { font-size:1.1rem; text-align:center; width:44px; }
    .fmt-table tbody tr:last-child td { border-bottom:none; }
    .fmt-table tbody tr:hover { background:var(--surface2); }
    .badge-pill { display:inline-block; font-size:.65rem; font-weight:700; letter-spacing:.4px; padding:2px 8px; border-radius:100px; }
    .badge-pill.yes { background:var(--success-bg); color:var(--success); }
    .badge-pill.good { background:var(--teal-pale); color:var(--teal-dark); }
    .badge-pill.limited { background:var(--amber-pale); color:var(--amber); }

    /* Use cases */
    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px; display:flex; gap:18px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 6px 24px rgba(13,115,119,.1); }
    .use-num { font-family:'JetBrains Mono',monospace; font-size:1.2rem; font-weight:700; color:var(--teal-pale2); flex-shrink:0; line-height:1; margin-top:2px; }
    .use-card h3 { font-size:.9rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .use-card p  { font-size:.8rem; color:var(--muted); line-height:1.72; }

        /* About */
    .about-inner {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 52px;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 48px;
      align-items: start;
      box-shadow: 0 4px 20px rgba(13, 115, 119, .08);
    }

    .about-inner h2 {
      text-align: left;
      margin-bottom: 16px;
    }

    .about-inner p {
      font-size: .86rem;
      color: var(--muted);
      line-height: 1.82;
      margin-bottom: 13px;
    }

    .about-inner p:last-child {
      margin-bottom: 0;
    }

.about-visual { background:var(--slate); border-radius:16px; padding:22px 24px; border:1px solid rgba(255,255,255,.06); box-shadow:0 8px 32px rgba(0,0,0,.2); }
    .mono-line { font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.85; color:#cbd5e1; }
    .mono-line .k { color:#c084fc; }
    .mono-line .v { color:#7dd3fc; }
    .mono-line .s { color:#86efac; }
    .mono-line .c { color:#475569; font-style:italic; }

    /* FAQ */
    .faq-list { display:flex; flex-direction:column; gap:10px; max-width:780px; margin:0 auto; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:box-shadow .18s; }
    .faq-item:hover { box-shadow:0 4px 16px rgba(13,115,119,.08); }
    .faq-item.open  { border-color:var(--teal-pale2); }
    .faq-q { width:100%; background:none; border:none; padding:18px 22px; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:'Plus Jakarta Sans',sans-serif; font-size:.88rem; font-weight:700; color:var(--slate); cursor:pointer; text-align:left; transition:background .15s; }
    .faq-q:hover { background:var(--surface2); }
    .faq-item.open .faq-q { color:var(--teal); background:var(--teal-pale); }
    .faq-arrow { font-size:.7rem; color:var(--muted2); flex-shrink:0; transition:transform .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); color:var(--teal); }
    .faq-a { display:none; padding:0 22px 18px; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { display:block; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

    @media(max-width:900px){
      .encode-grid, .decode-grid { grid-template-columns:1fr; }
      .features-grid { grid-template-columns:repeat(2,1fr); }
      .steps-grid::before { display:none; }
      .steps-grid { grid-template-columns:1fr; gap:32px; }
      .about-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
      }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .use-grid { grid-template-columns:1fr; }
    }
    @media(max-width:600px){
      .features-grid { grid-template-columns:1fr; }
      
      .footer-top { grid-template-columns:1fr; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

      *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:#f2f5f7; --bg2:#e8edf0; --surface:#ffffff; --surface2:#f7fafa;
      --border:#d0dade; --border2:#b8c8cc;
      --teal:#0d7377; --teal-dark:#095a5e; --teal-light:#14a7ad;
      --teal-pale:#e0f4f5; --teal-pale2:#bde8ea;
      --amber:#b45309; --amber2:#d97706; --amber-pale:#fef3c7; --amber-pale2:#fde68a;
      --violet:#6d28d9; --violet-pale:#ede9fe; --violet-pale2:#c4b5fd;
      --slate:#1a2535; --slate2:#2d3f55; --muted:#5a6e82; --muted2:#8fa0b0;
      --success:#047857; --success-bg:#d1fae5; --error:#b91c1c; --error-bg:#fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ── HEADER ── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); }

    /* ── HERO ── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1}50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl  { color:var(--teal); }
    h1 .hl2 { color:var(--amber2); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:570px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    .fmt-badges { display:flex; gap:7px; flex-wrap:wrap; justify-content:center; margin-bottom:20px; animation:fadeUp .5s .2s ease both; }
    .fmt-badge { font-size:.7rem; font-weight:700; letter-spacing:.5px; background:var(--surface); border:1px solid var(--border); color:var(--muted); padding:4px 10px; border-radius:6px; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ── TOOL CARD ── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .25s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* ── URL INPUT ── */
    .url-input-wrap { position:relative; margin-bottom:16px; }
    .url-scheme-badge {
      position:absolute; left:14px; top:50%; transform:translateY(-50%);
      font-family:'JetBrains Mono',monospace; font-size:.7rem; font-weight:700;
      background:var(--teal-pale); color:var(--teal-dark); border:1px solid var(--teal-pale2);
      border-radius:5px; padding:2px 7px; pointer-events:none;
      transition:all .18s; display:none;
    }
    .url-input {
      width:100%; padding:13px 44px 13px 16px;
      background:var(--surface2); border:1.5px solid var(--border); border-radius:12px;
      font-family:'JetBrains Mono',monospace; font-size:.84rem; color:var(--slate);
      transition:border-color .2s, background .2s;
    }
    .url-input:focus { outline:none; border-color:var(--teal); background:#fff; }
    .url-input.has-scheme { padding-left:var(--scheme-pad, 16px); }
    .url-input.valid   { border-color:var(--success); }
    .url-input.invalid { border-color:var(--error); }
    .url-status-icon {
      position:absolute; right:14px; top:50%; transform:translateY(-50%);
      font-size:1rem; pointer-events:none; display:none;
    }

    /* URL breakdown */
    .url-breakdown { display:none; background:var(--surface2); border:1px solid var(--border); border-radius:12px; padding:14px 16px; margin-bottom:16px; }
    .url-breakdown.show { display:block; }
    .url-breakdown-title { font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
    .url-parts { display:flex; flex-wrap:wrap; gap:7px; }
    .url-part { display:inline-flex; align-items:center; gap:5px; background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:4px 10px; font-size:.74rem; }
    .url-part-label { color:var(--muted2); font-weight:700; font-size:.65rem; letter-spacing:.5px; text-transform:uppercase; }
    .url-part-val { font-family:'JetBrains Mono',monospace; color:var(--slate2); font-size:.73rem; max-width:240px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .url-part.scheme .url-part-val { color:var(--teal); font-weight:700; }
    .url-part.host   .url-part-val { color:var(--slate); font-weight:600; }
    .url-part.query  .url-part-val { color:var(--amber); }
    .url-part.frag   .url-part-val { color:var(--violet); }

    /* encode grid */
    .encode-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
    .col-label { font-size:.7rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
    .meta-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); }

    /* output box */
    .out-box { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; font-family:'JetBrains Mono',monospace; font-size:.73rem; color:var(--slate2); word-break:break-all; line-height:1.7; min-height:100px; max-height:160px; overflow-y:auto; transition:border-color .18s; cursor:text; user-select:all; }
    .out-box.active { border-color:var(--teal-pale2); background:var(--teal-pale); color:var(--teal-dark); }
    .out-box.empty  { color:var(--muted2); font-style:italic; }

    /* decode */
    .decode-input { width:100%; padding:13px 16px; background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; font-family:'JetBrains Mono',monospace; font-size:.84rem; color:var(--slate); resize:none; min-height:80px; transition:border-color .2s; }
    .decode-input:focus { outline:none; border-color:var(--teal); background:#fff; }
    .decode-result { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:14px 16px; font-family:'JetBrains Mono',monospace; font-size:.82rem; color:var(--slate2); word-break:break-all; min-height:80px; transition:all .18s; }
    .decode-result.active { background:var(--teal-pale); border-color:var(--teal-pale2); color:var(--teal-dark); }
    .decode-result.error  { background:var(--error-bg); border-color:var(--error); color:var(--error); }
    .decode-result.empty  { color:var(--muted2); font-style:italic; }

    /* open-url btn */
    .btn-open { background:var(--success-bg); color:var(--success); border-color:rgba(4,120,87,.25); font-size:.78rem; }
    .btn-open:hover { background:#bbf7d0; border-color:var(--success); color:var(--success); }

    /* ── SNIPPET TAB ── */
    .snip-grid { display:grid; grid-template-columns:1fr; gap:14px; }
    .snip-block { background:var(--surface2); border:1px solid var(--border); border-radius:14px; overflow:hidden; }
    .snip-head  { padding:12px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--border); background:var(--surface); }
    .snip-meta  { flex:1; min-width:0; }
    .snip-title { font-size:.82rem; font-weight:700; color:var(--slate); }
    .snip-desc  { font-size:.72rem; color:var(--muted); margin-top:2px; }
    .snip-body  { background:var(--slate); padding:14px 18px; font-family:'JetBrains Mono',monospace; font-size:.73rem; line-height:1.85; color:#cbd5e1; overflow-x:auto; white-space:pre; max-height:160px; overflow-y:auto; }
    .st { color:#7dd3fc; } .sa { color:#fde68a; } .sv { color:#86efac; }
    .sc { color:#475569; font-style:italic; } .sk { color:#c084fc; }

    /* ── BUTTONS ── */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin-top:10px; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); }
    .btn-violet { background:var(--violet-pale); color:var(--violet); border-color:var(--violet-pale2); }
    .btn-violet:hover { background:var(--violet-pale2); border-color:var(--violet); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ── STATS ── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num  { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label{ font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ── SECTIONS ── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }
    code { font-family:'JetBrains Mono',monospace; font-size:.78em; background:var(--bg2); padding:1px 5px; border-radius:4px; color:var(--slate2); }

    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; color:var(--slate); margin-bottom:8px; }
    .step p  { font-size:.8rem; color:var(--muted); line-height:1.7; }

    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber  { background:var(--amber-pale); }
    .feat-icon.violet { background:var(--violet-pale); }
    .feat-icon.gray   { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    .fmt-table-wrap { overflow-x:auto; border-radius:16px; border:1px solid var(--border); }
    .fmt-table { width:100%; border-collapse:collapse; font-size:.82rem; }
    .fmt-table thead tr { background:var(--surface2); }
    .fmt-table th { padding:12px 16px; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); border-bottom:1px solid var(--border); white-space:nowrap; }
    .fmt-table td { padding:12px 16px; border-bottom:1px solid var(--bg2); color:var(--slate2); vertical-align:middle; }
    .fmt-table td:first-child { font-size:1.05rem; text-align:center; width:44px; }
    .fmt-table tbody tr:last-child td { border-bottom:none; }
    .fmt-table tbody tr:hover { background:var(--surface2); }
    .badge-pill { display:inline-block; font-size:.65rem; font-weight:700; letter-spacing:.4px; padding:2px 8px; border-radius:100px; }
    .badge-pill.yes     { background:var(--success-bg); color:var(--success); }
    .badge-pill.good    { background:var(--teal-pale); color:var(--teal-dark); }
    .badge-pill.limited { background:var(--amber-pale); color:var(--amber); }

    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px; display:flex; gap:18px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 6px 24px rgba(13,115,119,.1); }
    .use-num { font-family:'JetBrains Mono',monospace; font-size:1.2rem; font-weight:700; color:var(--teal-pale2); flex-shrink:0; line-height:1; margin-top:2px; }
    .use-card h3 { font-size:.9rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .use-card p  { font-size:.8rem; color:var(--muted); line-height:1.72; }

    /* About */
    .about-inner {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 52px;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 48px;
      align-items: start;
      box-shadow: 0 4px 20px rgba(13, 115, 119, .08);
    }

    .about-inner h2 {
      text-align: left;
      margin-bottom: 16px;
    }

    .about-inner p {
      font-size: .86rem;
      color: var(--muted);
      line-height: 1.82;
      margin-bottom: 13px;
    }

    .about-inner p:last-child {
      margin-bottom: 0;
    }
    .about-visual { background:var(--slate); border-radius:16px; padding:22px 24px; border:1px solid rgba(255,255,255,.06); box-shadow:0 8px 32px rgba(0,0,0,.2); }
    .mono-line { font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.85; color:#cbd5e1; }
    .mono-line .k { color:#c084fc; } .mono-line .v { color:#7dd3fc; }
    .mono-line .s { color:#86efac; } .mono-line .c { color:#475569; font-style:italic; }

    .faq-list { display:flex; flex-direction:column; gap:10px; max-width:780px; margin:0 auto; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:box-shadow .18s; }
    .faq-item:hover { box-shadow:0 4px 16px rgba(13,115,119,.08); }
    .faq-item.open  { border-color:var(--teal-pale2); }
    .faq-q { width:100%; background:none; border:none; padding:18px 22px; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:'Plus Jakarta Sans',sans-serif; font-size:.88rem; font-weight:700; color:var(--slate); cursor:pointer; text-align:left; transition:background .15s; }
    .faq-q:hover { background:var(--surface2); }
    .faq-item.open .faq-q { color:var(--teal); background:var(--teal-pale); }
    .faq-arrow { font-size:.7rem; color:var(--muted2); flex-shrink:0; transition:transform .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); color:var(--teal); }
    .faq-a { display:none; padding:0 22px 18px; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { display:block; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

    @media(max-width:900px){
      .encode-grid { grid-template-columns:1fr; }
      .features-grid { grid-template-columns:repeat(2,1fr); }
      .steps-grid::before { display:none; }
      .steps-grid { grid-template-columns:1fr; gap:32px; }
      .about-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
      }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .use-grid { grid-template-columns:1fr; }
    }
    @media(max-width:600px){
      .features-grid { grid-template-columns:1fr; }
      
      .footer-top { grid-template-columns:1fr; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }

      *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    :root {
      --bg:#f2f5f7; --bg2:#e8edf0; --surface:#ffffff; --surface2:#f7fafa;
      --border:#d0dade; --border2:#b8c8cc;
      --teal:#0d7377; --teal-dark:#095a5e; --teal-light:#14a7ad;
      --teal-pale:#e0f4f5; --teal-pale2:#bde8ea;
      --amber:#b45309; --amber2:#d97706; --amber-pale:#fef3c7; --amber-pale2:#fde68a;
      --violet:#6d28d9; --violet-pale:#ede9fe; --violet-pale2:#c4b5fd;
      --slate:#1a2535; --slate2:#2d3f55; --muted:#5a6e82; --muted2:#8fa0b0;
      --success:#047857; --success-bg:#d1fae5; --error:#b91c1c; --error-bg:#fee2e2;
    }
    html { scroll-behavior:smooth; }
    body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--slate); line-height:1.6; overflow-x:hidden; }
    body::before { content:''; position:fixed; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--teal),var(--teal-light) 50%,var(--amber2)); z-index:300; }
    body::after  { content:''; position:fixed; inset:0; background-image:linear-gradient(rgba(13,115,119,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(13,115,119,.025) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; z-index:0; }
    * { position:relative; z-index:1; }

    /* ── HEADER ── */
    header { background:var(--surface); border-bottom:1px solid var(--border); box-shadow:0 1px 4px rgba(13,115,119,.08); position:sticky; top:3px; z-index:100; }
    .header-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; align-items:center; justify-content:space-between; height:66px; }
    .logo { display:flex; align-items:center; gap:11px; text-decoration:none; }
    .logo-icon { width:38px; height:38px; background:var(--teal); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:500; color:#fff; letter-spacing:-.3px; box-shadow:0 2px 8px rgba(13,115,119,.3); }
    .logo-text { font-size:1.1rem; font-weight:800; color:var(--slate); letter-spacing:-.4px; }
    .logo-text span { color:var(--teal); }
    nav { display:flex; align-items:center; gap:1.8rem; }
    nav a { color:var(--muted); text-decoration:none; font-size:.875rem; font-weight:600; transition:color .18s; }
    nav a:hover { color:var(--slate); }
    .nav-cta { background:var(--teal)!important; color:#fff!important; padding:9px 20px; border-radius:8px; font-size:.84rem!important; font-weight:700!important; box-shadow:0 2px 10px rgba(13,115,119,.28); transition:background .18s,transform .12s!important; }
    .nav-cta:hover { background:var(--teal-dark)!important; transform:translateY(-1px); }

    /* ── HERO ── */
    .hero { max-width:1200px; margin:0 auto; padding:52px 2rem 44px; text-align:center; }
    .hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:6px 16px; font-size:.74rem; font-weight:700; color:var(--teal-dark); letter-spacing:.6px; text-transform:uppercase; margin-bottom:26px; animation:fadeUp .5s ease both; }
    .badge-dot { width:7px; height:7px; background:var(--success); border-radius:50%; animation:pulse 2s ease infinite; }
    @keyframes pulse { 0%,100%{opacity:1}50%{opacity:.3} }
    h1 { font-size:clamp(2rem,5vw,3.6rem); font-weight:800; line-height:1.1; letter-spacing:-1.5px; color:var(--slate); margin-bottom:18px; animation:fadeUp .5s .08s ease both; }
    h1 .hl  { color:var(--teal); }
    h1 .hl2 { color:var(--amber2); }
    .underline-bar { display:block; width:200px; height:4px; margin:10px auto 0; background:linear-gradient(90deg,var(--teal),var(--amber2)); border-radius:2px; animation:slideIn .6s .4s ease both; transform-origin:left; transform:scaleX(0); }
    @keyframes slideIn { to{transform:scaleX(1)} }
    .hero-sub { font-size:1.04rem; color:var(--muted); max-width:570px; margin:16px auto 44px; line-height:1.78; animation:fadeUp .5s .15s ease both; }
    .fmt-badges { display:flex; gap:7px; flex-wrap:wrap; justify-content:center; margin-bottom:20px; animation:fadeUp .5s .2s ease both; }
    .fmt-badge { font-size:.7rem; font-weight:700; letter-spacing:.5px; background:var(--surface); border:1px solid var(--border); color:var(--muted); padding:4px 10px; border-radius:6px; }
    @keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

    /* ── TOOL CARD ── */
    .tool-wrapper { max-width:1080px; margin:0 auto; padding:0 2rem 72px; animation:fadeUp .5s .25s ease both; }
    .tool-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; overflow:hidden; box-shadow:0 8px 32px rgba(13,115,119,.1),0 24px 64px rgba(0,0,0,.07); }
    .tab-bar { background:var(--surface2); border-bottom:1px solid var(--border); display:flex; padding:12px 16px 0; gap:4px; flex-wrap:wrap; }
    .tab-btn { padding:10px 22px; background:transparent; border:1px solid transparent; border-bottom:none; border-radius:10px 10px 0 0; color:var(--muted); font-family:'Plus Jakarta Sans',sans-serif; font-size:.855rem; font-weight:700; cursor:pointer; transition:all .18s; }
    .tab-btn:hover:not(.active) { color:var(--slate); background:rgba(13,115,119,.06); }
    .tab-btn.active { background:var(--surface); color:var(--teal); border-color:var(--border); border-bottom-color:var(--surface); margin-bottom:-1px; position:relative; z-index:2; }
    .panel-body { padding:28px; }

    /* ── DROP ZONE ── */
    .drop-zone { border:2px dashed var(--border2); border-radius:16px; padding:64px 28px; text-align:center; cursor:pointer; background:var(--surface2); transition:all .22s; }
    .drop-zone:hover, .drop-zone.drag { border-color:var(--teal); background:var(--teal-pale); }
    .drop-zone.has-file { border-color:var(--teal); border-style:solid; background:var(--teal-pale); padding:22px 28px; }
    .drop-icon { font-size:3.2rem; margin-bottom:16px; transition:transform .22s; display:block; }
    .drop-zone:hover .drop-icon { transform:scale(1.1) translateY(-3px); }
    .drop-zone h3 { font-size:1.06rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .drop-zone p  { font-size:.82rem; color:var(--muted); }
    .fmt-hint { display:flex; gap:5px; flex-wrap:wrap; justify-content:center; margin-top:14px; }
    .fmt-tag { font-size:.67rem; font-weight:700; letter-spacing:.5px; background:var(--surface); border:1px solid var(--border); color:var(--muted); padding:3px 8px; border-radius:5px; }
    #videoInput { display:none; }

    /* ── RESULT LAYOUT ── */
    .result-wrap { display:none; gap:24px; }
    .result-wrap.show { display:grid; grid-template-columns:1fr 1fr; }

    /* Left: video preview panel */
    .vid-panel { display:flex; flex-direction:column; gap:14px; }
    .vid-preview-box { background:var(--slate); border-radius:14px; overflow:hidden; display:flex; align-items:center; justify-content:center; min-height:220px; position:relative; }
    #videoPreview { width:100%; max-height:260px; border-radius:8px; display:block; }
    .vid-info { background:var(--surface2); border:1px solid var(--border); border-radius:12px; padding:14px 16px; display:flex; flex-direction:column; gap:8px; }
    .vid-info-row { display:flex; align-items:center; justify-content:space-between; font-size:.78rem; }
    .vid-info-label { color:var(--muted); font-weight:600; }
    .vid-info-val { color:var(--slate2); font-family:'JetBrains Mono',monospace; font-weight:500; font-size:.75rem; max-width:200px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .vid-info-val.teal  { color:var(--teal);  font-weight:700; }
    .vid-info-val.amber { color:var(--amber); font-weight:700; }

    /* Size bar */
    .size-bar-wrap { display:flex; flex-direction:column; gap:5px; }
    .size-bar-labels { display:flex; justify-content:space-between; font-size:.7rem; color:var(--muted); font-weight:600; }
    .size-bar-track { height:6px; background:var(--bg2); border-radius:3px; overflow:hidden; position:relative; }
    .size-bar-fill  { height:100%; background:linear-gradient(90deg,var(--teal),var(--teal-light)); border-radius:3px; transition:width .4s ease; }
    .size-bar-fill2 { position:absolute; top:0; left:0; height:100%; background:linear-gradient(90deg,var(--amber),var(--amber2)); border-radius:3px; transition:width .4s ease; opacity:.7; }

    /* Right: output panel */
    .out-panel { display:flex; flex-direction:column; gap:12px; }
    .out-label { font-size:.7rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); display:flex; align-items:center; justify-content:space-between; }
    .char-count { font-family:'JetBrains Mono',monospace; font-size:.69rem; color:var(--muted2); }
    .out-box { background:var(--surface2); border:1.5px solid var(--border); border-radius:12px; padding:13px 15px; font-family:'JetBrains Mono',monospace; font-size:.73rem; color:var(--slate2); word-break:break-all; line-height:1.65; max-height:120px; overflow-y:auto; }
    .out-box.uri { color:var(--teal-dark); background:var(--teal-pale); border-color:var(--teal-pale2); }

    /* ── PROGRESS ── */
    .progress-wrap { display:none; margin-top:12px; }
    .progress-wrap.show { display:block; }
    .progress-bar  { height:4px; background:var(--bg2); border-radius:2px; overflow:hidden; }
    .progress-fill { height:100%; width:0%; background:linear-gradient(90deg,var(--teal),var(--teal-light)); border-radius:2px; transition:width .25s ease; }
    .progress-lbl  { font-size:.72rem; color:var(--muted); margin-top:5px; }

    /* ── WARNING BANNER ── */
    .size-warning { display:none; background:var(--amber-pale); border:1px solid var(--amber-pale2); border-radius:10px; padding:11px 16px; font-size:.79rem; color:var(--amber); font-weight:600; margin-top:12px; gap:8px; align-items:flex-start; }
    .size-warning.show { display:flex; }

    /* ── SNIPPET TAB ── */
    .snip-grid { display:grid; grid-template-columns:1fr; gap:14px; }
    .snip-block { background:var(--surface2); border:1px solid var(--border); border-radius:14px; overflow:hidden; }
    .snip-head  { padding:12px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--border); background:var(--surface); }
    .snip-meta  { flex:1; min-width:0; }
    .snip-title { font-size:.82rem; font-weight:700; color:var(--slate); }
    .snip-desc  { font-size:.72rem; color:var(--muted); margin-top:2px; }
    .snip-body  { background:var(--slate); padding:14px 18px; font-family:'JetBrains Mono',monospace; font-size:.73rem; line-height:1.85; color:#cbd5e1; overflow-x:auto; white-space:pre; max-height:170px; overflow-y:auto; }
    .st { color:#7dd3fc; } .sa { color:#fde68a; } .sv { color:#86efac; }
    .sc { color:#475569; font-style:italic; } .sk { color:#c084fc; }

    /* ── BUTTONS ── */
    .action-bar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .btn { display:inline-flex; align-items:center; gap:5px; padding:8px 15px; border-radius:8px; border:1.5px solid var(--border); background:var(--surface); color:var(--slate2); font-family:'Plus Jakarta Sans',sans-serif; font-size:.79rem; font-weight:600; cursor:pointer; transition:all .15s; }
    .btn:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }
    .btn-primary { background:var(--teal); color:#fff; border-color:var(--teal); box-shadow:0 2px 8px rgba(13,115,119,.22); }
    .btn-primary:hover { background:var(--teal-dark); border-color:var(--teal-dark); color:#fff; box-shadow:0 4px 14px rgba(13,115,119,.32); transform:translateY(-1px); }
    .btn-amber { background:var(--amber-pale); color:var(--amber); border-color:var(--amber-pale2); }
    .btn-amber:hover { background:var(--amber-pale2); border-color:var(--amber2); }
    .btn-violet { background:var(--violet-pale); color:var(--violet); border-color:var(--violet-pale2); }
    .btn-violet:hover { background:var(--violet-pale2); border-color:var(--violet); }
    .btn-ghost { background:transparent; border-color:var(--border); color:var(--muted); }
    .btn-ghost:hover { background:var(--bg2); border-color:var(--border2); color:var(--slate); }
    .status-bar { padding:0 28px 20px; min-height:42px; display:flex; align-items:center; }
    .status-msg { display:inline-flex; align-items:center; gap:7px; font-size:.79rem; font-weight:600; padding:6px 14px; border-radius:8px; opacity:0; transform:translateY(4px); transition:all .22s; }
    .status-msg.show { opacity:1; transform:translateY(0); }
    .status-msg.success { background:var(--success-bg); color:var(--success); }
    .status-msg.error   { background:var(--error-bg);   color:var(--error); }

    /* ── STATS ── */
    .stats-strip { max-width:1080px; margin:0 auto 72px; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
    .stat-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:20px 22px; box-shadow:0 1px 4px rgba(13,115,119,.07); transition:transform .18s,box-shadow .18s; }
    .stat-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(13,115,119,.12); }
    .stat-num  { font-size:1.85rem; font-weight:800; letter-spacing:-.8px; color:var(--teal); }
    .stat-label{ font-size:.75rem; color:var(--muted); font-weight:600; margin-top:3px; }

    /* ── SECTIONS ── */
    .section { max-width:1080px; margin:0 auto; padding:0 2rem 80px; }
    .section-head { text-align:center; margin-bottom:48px; }
    .section-tag { display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--teal); background:var(--teal-pale); border:1px solid var(--teal-pale2); border-radius:100px; padding:4px 13px; margin-bottom:14px; }
    h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800; letter-spacing:-.8px; color:var(--slate); margin-bottom:12px; }
    .section-sub { font-size:.92rem; color:var(--muted); max-width:480px; margin:0 auto; line-height:1.76; }
    code { font-family:'JetBrains Mono',monospace; font-size:.78em; background:var(--bg2); padding:1px 5px; border-radius:4px; color:var(--slate2); }

    .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
    .steps-grid::before { content:''; position:absolute; top:29px; left:calc(16.67% + 22px); right:calc(16.67% + 22px); height:2px; background:linear-gradient(90deg,var(--teal-pale2),var(--teal),var(--teal-pale2)); }
    .step { text-align:center; padding:0 20px; }
    .step-num { width:58px; height:58px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.05rem; font-weight:800; color:#fff; box-shadow:0 4px 16px rgba(13,115,119,.28); position:relative; z-index:2; }
    .step h3 { font-size:.92rem; font-weight:700; color:var(--slate); margin-bottom:8px; }
    .step p  { font-size:.8rem; color:var(--muted); line-height:1.7; }

    .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
    .feat-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px 24px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s,border-color .2s; }
    .feat-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(13,115,119,.12); border-color:var(--teal-pale2); }
    .feat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.25rem; margin-bottom:15px; background:var(--teal-pale); }
    .feat-icon.amber  { background:var(--amber-pale); }
    .feat-icon.violet { background:var(--violet-pale); }
    .feat-icon.gray   { background:var(--bg2); }
    .feat-card h3 { font-size:.92rem; font-weight:700; margin-bottom:7px; color:var(--slate); }
    .feat-card p  { font-size:.81rem; color:var(--muted); line-height:1.7; }

    .fmt-table-wrap { overflow-x:auto; border-radius:16px; border:1px solid var(--border); }
    .fmt-table { width:100%; border-collapse:collapse; font-size:.82rem; }
    .fmt-table thead tr { background:var(--surface2); }
    .fmt-table th { padding:12px 16px; text-align:left; font-size:.68rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--muted); border-bottom:1px solid var(--border); white-space:nowrap; }
    .fmt-table td { padding:12px 16px; border-bottom:1px solid var(--bg2); color:var(--slate2); vertical-align:middle; }
    .fmt-table td:first-child { font-size:1.1rem; text-align:center; width:44px; }
    .fmt-table tbody tr:last-child td { border-bottom:none; }
    .fmt-table tbody tr:hover { background:var(--surface2); }
    .badge-pill { display:inline-block; font-size:.65rem; font-weight:700; letter-spacing:.4px; padding:2px 8px; border-radius:100px; }
    .badge-pill.yes     { background:var(--success-bg); color:var(--success); }
    .badge-pill.good    { background:var(--teal-pale);  color:var(--teal-dark); }
    .badge-pill.limited { background:var(--amber-pale); color:var(--amber); }

    .use-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
    .use-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px; display:flex; gap:18px; box-shadow:0 1px 4px rgba(0,0,0,.05); transition:transform .2s,box-shadow .2s; }
    .use-card:hover { transform:translateY(-3px); box-shadow:0 6px 24px rgba(13,115,119,.1); }
    .use-num { font-family:'JetBrains Mono',monospace; font-size:1.2rem; font-weight:700; color:var(--teal-pale2); flex-shrink:0; line-height:1; margin-top:2px; }
    .use-card h3 { font-size:.9rem; font-weight:700; color:var(--slate); margin-bottom:7px; }
    .use-card p  { font-size:.8rem; color:var(--muted); line-height:1.72; }

    /* About */
    .about-inner {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 52px;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 48px;
      align-items: start;
      box-shadow: 0 4px 20px rgba(13, 115, 119, .08);
    }

    .about-inner h2 {
      text-align: left;
      margin-bottom: 16px;
    }

    .about-inner p {
      font-size: .86rem;
      color: var(--muted);
      line-height: 1.82;
      margin-bottom: 13px;
    }

    .about-inner p:last-child {
      margin-bottom: 0;
    }
    .about-visual { background:var(--slate); border-radius:16px; padding:22px 24px; border:1px solid rgba(255,255,255,.06); box-shadow:0 8px 32px rgba(0,0,0,.2); }
    .mono-line { font-family:'JetBrains Mono',monospace; font-size:.78rem; line-height:1.85; color:#cbd5e1; }
    .mono-line .k { color:#c084fc; } .mono-line .v { color:#7dd3fc; }
    .mono-line .s { color:#86efac; } .mono-line .c { color:#475569; font-style:italic; }

    .faq-list { display:flex; flex-direction:column; gap:10px; max-width:780px; margin:0 auto; }
    .faq-item { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:box-shadow .18s; }
    .faq-item:hover { box-shadow:0 4px 16px rgba(13,115,119,.08); }
    .faq-item.open  { border-color:var(--teal-pale2); }
    .faq-q { width:100%; background:none; border:none; padding:18px 22px; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:'Plus Jakarta Sans',sans-serif; font-size:.88rem; font-weight:700; color:var(--slate); cursor:pointer; text-align:left; transition:background .15s; }
    .faq-q:hover { background:var(--surface2); }
    .faq-item.open .faq-q { color:var(--teal); background:var(--teal-pale); }
    .faq-arrow { font-size:.7rem; color:var(--muted2); flex-shrink:0; transition:transform .2s; }
    .faq-item.open .faq-arrow { transform:rotate(180deg); color:var(--teal); }
    .faq-a { display:none; padding:0 22px 18px; font-size:.83rem; color:var(--muted); line-height:1.8; }
    .faq-item.open .faq-a { display:block; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--slate);
      color: #ffffff;
      padding: 64px 2rem 32px;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 48px;
      margin-bottom: 52px;
    }

    .footer-brand .logo-text {
      color: #ffffff;
    }

    .footer-brand .logo-icon {
      background: var(--teal);
    }

    .footer-brand p {
      font-size: .82rem;
      color: #e2e8f0;
      line-height: 1.76;
      margin-top: 14px;
      max-width: 230px;
    }

    .footer-col h4 {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #cbd5e1;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul li a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: .83rem;
      transition: color .18s;
    }

    .footer-col ul li a:hover {
      color: #ffffff;
    }

    .footer-divider {
      height: 1px;
      background: rgba(255, 255, 255, .12);
      margin-bottom: 28px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-bottom p {
      font-size: .78rem;
      color: #e2e8f0;
    }

    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .75rem;
      color: #ffffff;
      background: rgba(13, 115, 119, .25);
      border: 1px solid rgba(13, 115, 119, .45);
      border-radius: 8px;
      padding: 5px 12px;
    }

    @media(max-width:900px){
      .result-wrap.show { grid-template-columns:1fr; }
      .features-grid { grid-template-columns:repeat(2,1fr); }
      .steps-grid::before { display:none; }
      .steps-grid { grid-template-columns:1fr; gap:32px; }
      .about-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
      }
      .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
      .stats-strip { grid-template-columns:repeat(2,1fr); }
      .use-grid { grid-template-columns:1fr; }
    }
    @media(max-width:600px){
      .features-grid { grid-template-columns:1fr; }
      
      .footer-top { grid-template-columns:1fr; }
    }
  
    

      
  /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      font-size: 1.5rem;
      color: var(--slate);
      z-index: 101;
      margin-left: auto;
    }
    .mobile-menu-toggle:focus {
      outline: 2px solid var(--teal);
      outline-offset: 2px;
      border-radius: 4px;
    }
    @media (max-width: 960px) {
      .mobile-menu-toggle {
        display: block !important;
      }
      nav {
        position: fixed !important;
        top: 69px !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,.1) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem 2rem !important;
        gap: 0 !important;
        display: none !important;
        z-index: 99 !important;
      }
      nav.open {
        display: flex !important;
      }
      nav a {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border) !important;
        display: block !important;
      }
      nav a:last-child {
        border-bottom: none !important;
      }
      nav .nav-cta {
        margin-top: 8px !important;
        text-align: center !important;
      }
    }





