/* WEB PANEL PROXY public CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  :root {
    --bg: #fbfdfb;
    --text: #1d1f1d;
    --text-secondary: #6e736e;
    --blue: #00a86b;
    --blue-hover: #00b874;
    --border: rgba(0, 0, 0, 0.08);
    --glass: rgba(251, 253, 251, 0.72);
    --violet: #4dd4a0;
    --pink: #7ee8b8;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
      "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.47059;
    letter-spacing: -0.022em;
    overflow-x: hidden;
    min-height: 100vh;
  }

  /* ------- Animated background ------- */
  .bg-orbs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
  }
  .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.65;
    animation: float 22s ease-in-out infinite;
  }
  .orb.o1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #a8f5c8, transparent 70%);
    top: -140px; left: -120px;
  }
  .orb.o2 {
    width: 620px; height: 620px;
    background: radial-gradient(circle, #b3f0d0, transparent 70%);
    top: 15%; right: -220px;
    animation-delay: -7s;
  }
  .orb.o3 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, #d4f5c8, transparent 70%);
    bottom: -160px; left: 25%;
    animation-delay: -13s;
  }
  .orb.o4 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #a8f5e5, transparent 70%);
    top: 45%; left: 8%;
    animation-delay: -4s;
    opacity: 0.5;
  }
  @keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -40px) scale(1.08); }
    50% { transform: translate(-30px, 50px) scale(0.95); }
    75% { transform: translate(30px, 20px) scale(1.04); }
  }

  /* ------- Nav ------- */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: var(--glass);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    width: 100%;
    max-width: 900px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.03em;
  }
  .logo svg { width: 18px; height: 18px; color: var(--blue); }
  .nav-links {
    display: flex;
    gap: 26px;
    font-size: 12px;
    color: var(--text);
    opacity: 0.85;
  }
  .nav-links a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
  }
  .nav-links a:hover { opacity: 0.6; }
  @media (max-width: 640px) { .nav-links { display: none; } }

  /* ------- Hero ------- */
  .hero {
    max-width: 820px;
    margin: 0 auto;
    padding: 76px 22px 32px;
    text-align: center;
  }
  .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--blue);
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    opacity: 0;
    animation: fadeUp 0.7s 0.05s forwards;
  }
  h1 {
    font-size: clamp(38px, 6.5vw, 68px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.06;
    margin-bottom: 18px;
    opacity: 0;
    animation: fadeUp 0.7s 0.15s forwards;
  }
  h1 .gradient {
    background: linear-gradient(90deg, #00a86b, #4dd4a0 50%, #7ee8b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .subtitle {
    font-size: clamp(16px, 2.2vw, 19px);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeUp 0.7s 0.25s forwards;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ------- Upload ------- */
  .upload-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 22px 36px;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
  }
  .dropzone {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1.5px dashed rgba(0, 0, 0, 0.14);
    border-radius: 24px;
    padding: 44px 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }
  .dropzone::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,168,107,0.05), rgba(77,212,160,0.05));
    opacity: 0;
    transition: opacity 0.35s;
  }
  .dropzone:hover {
    border-color: rgba(0, 168, 107, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(0, 140, 90, 0.14);
  }
  .dropzone:hover::before { opacity: 1; }
  .dropzone.dragover {
    border-color: var(--blue);
    background: rgba(0, 168, 107, 0.07);
    transform: scale(1.01);
  }
  .dropzone > * { position: relative; z-index: 1; }

  .cloud-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: block;
    color: var(--blue);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .dropzone:hover .cloud-icon { transform: translateY(-4px) scale(1.06); }

  .dropzone h2 {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .dropzone p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 22px;
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 11px 24px;
    border: none;
    border-radius: 980px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    letter-spacing: -0.01em;
    box-shadow: 0 6px 18px rgba(0, 168, 107, 0.25);
  }
  .btn-primary:hover {
    background: var(--blue-hover);
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 168, 107, 0.35);
  }
  .btn-primary:active { transform: scale(0.98); }

  .file-hint {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
  }

  /* ------- Features ------- */
  .features {
    max-width: 900px;
    margin: 20px auto 48px;
    padding: 0 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  @media (max-width: 780px) {
    .features { grid-template-columns: 1fr; }
  }
  .feature {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px 24px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeUp 0.7s forwards;
  }
  .feature:nth-child(1) { animation-delay: 0.55s; }
  .feature:nth-child(2) { animation-delay: 0.65s; }
  .feature:nth-child(3) { animation-delay: 0.75s; }
  .feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 100, 60, 0.08);
    border-color: rgba(0, 168, 107, 0.25);
  }
  .feature-icon {
    font-size: 22px;
    margin-bottom: 12px;
    display: block;
  }
  .feature h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .feature p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
  }

  /* ------- Stats ------- */
  .stats {
    max-width: 600px;
    margin: 0 auto 64px;
    padding: 0 22px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    opacity: 0;
    animation: fadeUp 0.7s 0.95s forwards;
  }
  .stat-num {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #00a86b, #4dd4a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .stat-label {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-top: 4px;
  }

  /* ------- Footer ------- */
  footer {
    border-top: 1px solid var(--border);
    padding: 28px 22px;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.7;
  }
  footer a {
    color: inherit;
    text-decoration: none;
    opacity: 0.85;
  }
  footer a:hover { opacity: 1; text-decoration: underline; }

  /* ------- Toast ------- */
  .toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: rgba(29, 31, 29, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    padding: 13px 22px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    max-width: 90vw;
  }
  .toast.show { transform: translateX(-50%) translateY(0); }

  /* ------- Progress ------- */
  .progress {
    display: none;
    margin-top: 20px;
  }
  .progress.active { display: block; }
  .progress-bar {
    height: 6px;
    background: rgba(0,0,0,0.08);
    border-radius: 3px;
    overflow: hidden;
  }
  .progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00a86b, #4dd4a0);
    border-radius: 3px;
    transition: width 0.3s ease;
  }
  .progress-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
    text-align: center;
  }