    /* iOS Safari full viewport coverage */
    html{
      width: 100%;
      height: 100%;
      min-height: 100vh;
      min-height: 100svh;
      min-height: 100dvh;
      min-height: -webkit-fill-available;
      background-color: #081b11;
    }

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

    body{
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      /* iOS Safari full viewport coverage */
      min-height: 100vh;
      min-height: 100svh;
      min-height: 100dvh;
      min-height: -webkit-fill-available;
      width: 100%;
      margin: 0;
      /* iOS Safari safe area support for horizontal edges */
      padding-left: env(safe-area-inset-left);
      padding-right: env(safe-area-inset-right);
      /* Prevent default Safari background from showing */
      background-color: #081b11;
      color: rgba(255, 255, 255, 0.95);
    }

    .hero-img{
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      height: 100svh;
      height: 100dvh;
      /* iOS Safari: use fill-available for true full screen */
      height: -webkit-fill-available;
      margin: 0;
      padding: 0;
      background-image: url("/images/bg.webp");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      pointer-events: none;
    }

    .hero-mask{
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      height: 100svh;
      height: 100dvh;
      /* iOS Safari: use fill-available for true full screen */
      height: -webkit-fill-available;
      background: linear-gradient(180deg,
        rgba(8,27,17,0.28) 0%,
        rgba(8,27,17,0.45) 55%,
        rgba(8,27,17,0.78) 100%);
      pointer-events: none;
      margin: 0;
      padding: 0;
      z-index: 4;
    }

    .toolbar-underlay{
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      height: calc(140px + env(safe-area-inset-bottom));
      pointer-events: none;
      background: linear-gradient(180deg,
        rgba(8,27,17,0) 0%,
        rgba(8,27,17,0.55) 55%,
        rgba(8,27,17,0.95) 100%);
      z-index: 6;
    }


    /* Header styles - minimal, no glass */
    .header{
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 1.5rem 2rem;
      /* iOS Safari safe area support */
      padding-top: calc(1.5rem + env(safe-area-inset-top));
      padding-left: calc(2rem + env(safe-area-inset-left));
      padding-right: calc(2rem + env(safe-area-inset-right));
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }

    .header .brand{
      font-family: Inter, ui-sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: rgba(255,255,255,.95);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      line-height: 1.2;
    }

    .nav-group{
      display: flex;
      align-items: center;
      gap: 1rem;
      position: relative;
      margin-right: auto;
    }

    .nav-toggle{
      display: inline-flex;
      flex-direction: column;
      justify-content: center;
      gap: 0.3rem;
      width: 2.25rem;
      height: 2.25rem;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .nav-toggle:hover{
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .nav-toggle span{
      display: block;
      width: 16px;
      height: 2px;
      margin: 0 auto;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.85);
    }

    .header-nav{
      position: absolute;
      top: calc(100% + 0.5rem);
      left: 0;
      display: none;
      flex-direction: column;
      gap: 0.45rem;
      width: min(260px, 85vw);
      padding: 0.85rem 1rem;
      border-radius: 14px;
      background: rgba(8, 27, 17, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 26px rgba(0, 0, 0, 0.28);
      backdrop-filter: blur(16px) saturate(160%);
      -webkit-backdrop-filter: blur(16px) saturate(160%);
      z-index: 110;
    }

    .header-nav.is-open{
      display: flex;
    }

    .nav-link{
      background: transparent;
      border: none;
      color: rgba(255,255,255,0.96);
      font-family: Inter, ui-sans-serif;
      font-size: 0.92rem;
      letter-spacing: 0.01em;
      text-transform: none;
      font-weight: 600;
      cursor: pointer;
      width: 100%;
      text-align: left;
      padding: 0.45rem 0.2rem;
      transition: color 0.2s ease;
    }

    .nav-link + .nav-link{
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-link:hover{
      color: rgba(255,255,255,1);
    }

    .header .brand-name{
      font-family: Inter, ui-sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,.95);
      text-decoration: none;
      cursor: pointer;
      transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      display: inline-block;
    }

    .header .brand-name:hover{
      color: #fff;
      text-shadow: 0 0 24px rgba(255, 255, 255, 0.4),
                   0 0 48px rgba(255, 255, 255, 0.2),
                   0 0 72px rgba(255, 255, 255, 0.1);
    }

    .header .brand-prefix{
      font-family: "Cormorant Garamond", "Times New Roman", serif;
      font-size: 0.85rem;
      font-style: italic;
      font-weight: 300;
      letter-spacing: 0.05em;
      text-transform: none;
      color: rgba(255, 255, 255, 0.8);
    }

    @media (max-width: 767px) {
      .header{
        padding: 1rem 1.25rem;
        /* iOS Safari safe area support */
        padding-top: calc(1rem + env(safe-area-inset-top));
        padding-left: calc(1.25rem + env(safe-area-inset-left));
        padding-right: calc(1.25rem + env(safe-area-inset-right));
      }

      .nav-group{
        gap: 0.75rem;
      }

      .nav-toggle{
        display: inline-flex;
      }

      .header-nav{
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        width: min(240px, 80vw);
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.85rem 1rem;
        border-radius: 14px;
        background: rgba(8, 27, 17, 0.72);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.05),
          0 12px 26px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(16px) saturate(160%);
        -webkit-backdrop-filter: blur(16px) saturate(160%);
        z-index: 110;
      }

      .header-nav.is-open{
        display: flex;
      }

      .nav-link{
        font-size: 0.9rem;
        letter-spacing: 0.01em;
        width: 100%;
        text-align: left;
        padding: 0.4rem 0.2rem;
        color: rgba(255,255,255,0.96);
      }

      .nav-link + .nav-link{
        border-top: 1px solid rgba(255, 255, 255, 0.08);
      }

      .nav-link::after{
        display: none;
      }

      .header .brand-name{
        font-size: 1.125rem;
      }

      .header .brand-prefix{
        font-size: 0.75rem;
      }
    }

    @media (min-width: 768px) {
      .header-nav{
        width: 260px;
        gap: 0.6rem;
      }

      .nav-link{
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.015em;
      }

      .nav-link + .nav-link{
        border-top: 1px solid rgba(255, 255, 255, 0.1);
      }
    }

    /* Technical manifesto - caption beneath hero text */
    /* Modal styles */
    .modal{
      display: none;
      position: fixed;
      inset: 0;
      z-index: 200;
      background: rgba(0,0,0,.85);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      padding: 2rem;
      overflow-y: auto;
    }

    .modal.show{
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .modal-content{
      background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(20, 20, 20, 0.92));
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      padding: 2rem;
      max-width: 600px;
      width: 100%;
      max-height: calc(100vh - 4rem);
      max-height: calc(100dvh - 4rem);
      overflow-y: auto;
      color: #fff;
      box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
                  0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    }

    .modal h2{
      font-family: "Bricolage Grotesque", Inter, ui-sans-serif;
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    .modal p{
      color: rgba(255,255,255,.9);
      line-height: 1.6;
      margin-bottom: 1rem;
    }

    .modal ul{
      list-style: none;
      padding-left: 0;
      margin-bottom: 1rem;
    }

    .modal li{
      color: rgba(255,255,255,.9);
      padding-left: 1.5rem;
      position: relative;
      margin-bottom: 0.5rem;
    }

    .modal li:before{
      content: "→";
      position: absolute;
      left: 0;
      color: rgba(255,255,255,.5);
    }

    .modal-close{
      float: right;
      font-size: 1.5rem;
      line-height: 1;
      color: rgba(255,255,255,.5);
      cursor: pointer;
      transition: color 0.2s;
      padding: 0.5rem;
      min-width: 44px;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .modal-close:hover{
      color: rgba(255,255,255,.9);
    }

    /* LinkedIn link styling */
    .linkedin-link{
      color: rgba(134, 239, 172, 0.9);
      text-decoration: underline;
      text-decoration-color: rgba(134, 239, 172, 0.3);
      text-underline-offset: 2px;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
    }

    .linkedin-link:hover{
      color: rgba(134, 239, 172, 1);
      text-decoration-color: rgba(134, 239, 172, 0.6);
    }

    .external-link-icon{
      width: 14px;
      height: 14px;
      flex-shrink: 0;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity: 0.7;
      transition: all 0.2s ease;
    }

    .linkedin-link:hover .external-link-icon{
      opacity: 1;
      transform: translateX(1px) translateY(-1px);
    }

    .api-snippet{
      margin: 1rem 0;
      padding: 1rem 1.25rem;
      border-radius: 18px;
      background: linear-gradient(135deg, rgba(20, 24, 25, 0.75), rgba(16, 20, 21, 0.6));
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 12px 30px rgba(0, 0, 0, 0.25);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    .api-snippet pre{
      margin: 0;
      font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size: 0.95rem;
      color: rgba(255, 255, 255, 0.9);
      white-space: pre;
      overflow-x: auto;
    }

    .api-rate-pill{
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.4rem 0.8rem;
      margin: 0.75rem 0 0.25rem;
      font-size: 0.75rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.7);
      background: rgba(134, 239, 172, 0.08);
      border: 1px solid rgba(134, 239, 172, 0.2);
      border-radius: 999px;
    }

    .api-note{
      margin: 0.75rem 0 0;
      color: rgba(255, 255, 255, 0.75);
      font-size: 0.9rem;
      line-height: 1.6;
    }

    @media (max-width: 767px) {
      .modal{
        padding: 0.75rem;
        padding-top: max(0.75rem, env(safe-area-inset-top));
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
        align-items: center;
      }

      .modal-content{
        padding: 1rem 1.1rem;
        border-radius: 14px;
        max-height: calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
      }

      .conversion-modal{
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
      }

      .modal h2{
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
      }

      .file-info{
        padding: 0.6rem 0.85rem;
        gap: 0.25rem;
        margin: 0.35rem 0 0.2rem;
      }

      .file-label{
        font-size: 0.75rem;
      }

      .file-name{
        font-size: 0.82rem;
      }

      .format-selection{
        margin: 0.5rem 0;
      }

      .format-label{
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
      }

      .format-options{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.3rem;
      }

      .format-option{
        padding: 0.65rem 0.8rem;
        border-radius: 10px;
        border-width: 1px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
      }

      .format-option::before{
        width: 15px;
        height: 15px;
        margin-right: 0;
        margin-bottom: 0.2rem;
      }

      .format-name{
        font-size: 0.8rem;
        line-height: 1.3;
      }

      .format-desc{
        font-size: 0.68rem;
        line-height: 1.3;
      }

      .modal-actions{
        flex-direction: row;
        gap: 0.5rem;
        margin-top: 0.5rem;
      }

      .modal-btn{
        flex: 1;
        min-height: 44px;
        padding: 0.7rem 0.85rem;
      }

      .conversion-status{
        margin-top: 0.45rem;
        font-size: 0.78rem;
      }

      .verification-reminder{
        margin-top: 1rem;
        padding: 0.75rem;
        background: rgba(255, 193, 7, 0.1);
        border-left: 3px solid rgba(255, 193, 7, 0.6);
        border-radius: 4px;
        font-size: 0.85rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.9);
      }

      .verification-reminder p{
        margin: 0;
      }

      .verification-reminder strong{
        color: rgba(255, 193, 7, 0.9);
      }

      .upload-progress{
        margin-top: 0.6rem;
      }
    }

    /* Hero text styles - Dominant luxury positioning */
    .hero-section{
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 40vh;
      height: 40svh;
      height: 40dvh;
      padding-top: calc(30vh + env(safe-area-inset-top));
      padding-top: calc(30svh + env(safe-area-inset-top));
      padding-top: calc(30dvh + env(safe-area-inset-top));
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      z-index: 10;
      padding-left: 2rem;
      padding-right: 2rem;
      /* iOS Safari safe area support for horizontal edges */
      padding-left: calc(2rem + env(safe-area-inset-left));
      padding-right: calc(2rem + env(safe-area-inset-right));
    }

    .hero-text{
      font-family: "Bricolage Grotesque", Inter, ui-sans-serif;
      font-size: 4.5rem;
      line-height: 1.1;
      font-weight: 300;
      color: #fff;
      text-shadow: 0 4px 20px rgba(0,0,0,.3);
      text-align: center;
      max-width: 1000px;
      letter-spacing: -0.02em;
    }

    @media (min-width: 768px) {
      .hero-text{
        font-size: 5.5rem;
        font-weight: 300;
      }
    }

    @media (max-width: 767px) {
      .hero-section{
        padding-top: calc(20vh + env(safe-area-inset-top));
        padding-top: calc(20svh + env(safe-area-inset-top));
        padding-top: calc(20dvh + env(safe-area-inset-top));
        padding-left: calc(2rem + env(safe-area-inset-left));
        padding-right: calc(2rem + env(safe-area-inset-right));
      }

      .hero-text{
        font-size: 3rem;
      }
    }

    /* Drop zone - Apple liquid glass */
    .drop-zone-container{
      position: fixed;
      bottom: 8rem;
      /* iOS Safari safe area support */
      bottom: calc(8rem + env(safe-area-inset-bottom));
      left: 50%;
      transform: translateX(-50%) translateZ(0);
      width: 90%;
      max-width: 620px;
      padding: 1.75rem 3.25rem;
      /* iOS Safari safe area support for horizontal edges */
      padding-left: calc(3.25rem + env(safe-area-inset-left));
      padding-right: calc(3.25rem + env(safe-area-inset-right));
      overflow: hidden;
      background: rgba(8, 27, 17, 0.74);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 26px;
      text-align: center;
      z-index: 20;
      cursor: pointer;
      transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 42px rgba(0, 0, 0, 0.28);
      backdrop-filter: blur(16px) saturate(160%);
      -webkit-backdrop-filter: blur(16px) saturate(160%);
    }

    .drop-zone-container::before{
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: 24px;
      background: linear-gradient(135deg, rgba(134, 239, 172, 0.18), rgba(134, 239, 172, 0.02));
      opacity: 0.35;
      pointer-events: none;
    }

    .drop-zone-container::after{
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 26px;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
      pointer-events: none;
    }

    .drop-zone-container:hover{
      transform: translateX(-50%) translateY(-2px) translateZ(0);
      background: rgba(8, 27, 17, 0.82);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 26px 60px rgba(0, 0, 0, 0.32);
    }

    .drop-zone-container.drag-over{
      transform: translateX(-50%) scale(1.01) translateZ(0);
      background: rgba(8, 27, 17, 0.88);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 30px 70px rgba(0, 0, 0, 0.35);
    }

    /* Organic noise texture overlay */
    .drop-zone-container::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 24px;
      background: linear-gradient(135deg, rgba(134, 239, 172, 0.18), rgba(134, 239, 172, 0.02));
      opacity: 0.35;
      pointer-events: none;
    }

    /* Reduced motion accessibility */
    @media (prefers-reduced-motion: reduce) {
      .drop-zone-container {
        animation: none;
      }
      .drop-zone-container:hover {
        animation: none;
      }
    }

    .drop-text{
      font-family: Inter, "Geist", "Satoshi", ui-sans-serif;
      font-size: 1.05rem;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.85);
      margin: 0;
      letter-spacing: 0.02em;
      line-height: 1.5;
    }

    .drop-hint{
      font-family: Inter, ui-sans-serif;
      font-size: 0.875rem;
      color: rgba(255, 255, 255, 0.5);
      margin: 0.5rem 0 0 0;
      font-weight: 300;
      letter-spacing: 0.04em;
      line-height: 1.6;
    }

    .status-message{
      position: fixed;
      bottom: 2rem;
      /* iOS Safari safe area support */
      bottom: calc(2rem + env(safe-area-inset-bottom));
      left: 50%;
      transform: translateX(-50%);
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.9rem;
      text-align: center;
      max-width: 90%;
      z-index: 20;
    }

    @media (max-width: 767px) {
      .drop-zone-container{
        padding: 2rem 1.5rem;
        bottom: 5.5rem;
        /* iOS Safari safe area support */
        bottom: calc(5.5rem + env(safe-area-inset-bottom));
        padding-left: calc(1.5rem + env(safe-area-inset-left));
        padding-right: calc(1.5rem + env(safe-area-inset-right));
        border-radius: 32px;
      }

      .drop-zone-container::before{
        border-radius: 32px;
      }

      .drop-text{
        font-size: 0.95rem;
      }

      .drop-hint{
        font-size: 0.8rem;
      }

      .status-message{
        bottom: 1rem;
        /* iOS Safari safe area support */
        bottom: calc(1rem + env(safe-area-inset-bottom));
      }
    }

    /* Conversion Modal Specific Styles */
    .conversion-modal{
      max-width: 480px;
    }

    .file-info{
      background: rgba(0, 0, 0, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 10px;
      padding: 0.875rem 1.25rem;
      margin: 1.5rem 0;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .file-label{
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.875rem;
      font-weight: 300;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .file-name{
      color: rgba(255, 255, 255, 0.95);
      font-weight: 600;
      font-size: 0.95rem;
    }

    .format-selection{
      margin: 2rem 0;
    }

    .format-label{
      color: rgba(255, 255, 255, 0.85);
      font-size: 0.95rem;
      margin-bottom: 1rem;
    }

    .format-options{
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .format-option{
      display: flex;
      align-items: center;
      padding: 1rem 1.25rem;
      background: rgba(0, 0, 0, 0.3);
      border: 2px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
    }

    .format-option:hover{
      background: rgba(0, 0, 0, 0.5);
      border-color: rgba(255, 255, 255, 0.15);
      transform: translateX(2px);
    }

    .format-option input[type="radio"]{
      position: absolute;
      opacity: 0;
      width: 0;
      height: 0;
    }

    .format-option::before{
      content: '';
      width: 20px;
      height: 20px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      margin-right: 1rem;
      display: inline-block;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      flex-shrink: 0;
    }

    .format-option:has(input:checked){
      background: linear-gradient(135deg, rgba(134, 239, 172, 0.12), rgba(134, 239, 172, 0.08));
      border-color: rgba(134, 239, 172, 0.3);
      box-shadow: 0 0 20px rgba(134, 239, 172, 0.15),
                  0 0 0 1px rgba(134, 239, 172, 0.1) inset;
    }

    .format-option:has(input:checked)::before{
      border-color: rgba(134, 239, 172, 0.9);
      background: radial-gradient(circle at center, rgba(134, 239, 172, 0.9) 0%, rgba(134, 239, 172, 0.9) 35%, transparent 35%);
    }

    .format-text{
      display: flex;
      flex-direction: column;
      gap: 0.125rem;
    }

    .format-name{
      color: rgba(255, 255, 255, 0.95);
      font-weight: 600;
      font-size: 0.95rem;
    }

    .format-desc{
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.8rem;
    }

    .modal-actions{
      display: flex;
      gap: 1rem;
      justify-content: flex-end;
      margin-top: 2rem;
    }

    .modal-btn{
      padding: 0.75rem 1.5rem;
      border-radius: 10px;
      font-weight: 600;
      font-size: 0.95rem;
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: rgba(0, 0, 0, 0.4);
      color: rgba(255, 255, 255, 0.9);
      cursor: pointer;
      transition: all 0.2s ease;
      min-width: 100px;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .modal-btn:hover{
      background: rgba(0, 0, 0, 0.6);
      border-color: rgba(255, 255, 255, 0.25);
      transform: translateY(-1px);
    }

    .modal-btn:active{
      transform: translateY(0);
    }

    .modal-btn:disabled{
      opacity: 0.5;
      cursor: not-allowed;
    }

    .modal-btn-primary{
      background: linear-gradient(135deg, rgba(134, 239, 172, 0.15), rgba(134, 239, 172, 0.1));
      border-color: rgba(134, 239, 172, 0.3);
      color: rgba(134, 239, 172, 0.95);
    }

    .modal-btn-primary:hover{
      background: linear-gradient(135deg, rgba(134, 239, 172, 0.2), rgba(134, 239, 172, 0.15));
      border-color: rgba(134, 239, 172, 0.4);
      box-shadow: 0 4px 20px rgba(134, 239, 172, 0.2);
    }

    .modal-btn-cancel{
      background: transparent;
      border-color: rgba(255, 255, 255, 0.15);
    }

    .modal-btn-cancel:hover{
      background: rgba(255, 255, 255, 0.05);
    }

    .conversion-status{
      margin-top: 1rem;
      font-size: 0.9rem;
      text-align: center;
      min-height: 1.5rem;
      color: rgba(255, 255, 255, 0.7);
    }

    /* Upload progress bar */
    .upload-progress{
      width: 100%;
      height: 3px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 2px;
      overflow: hidden;
      margin-top: 1.25rem;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .upload-progress.active{
      opacity: 1;
    }

    .upload-progress-bar{
      height: 100%;
      background: linear-gradient(90deg, rgba(134, 239, 172, 0.8), rgba(134, 239, 172, 0.95));
      border-radius: 2px;
      width: 0%;
      transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 0 10px rgba(134, 239, 172, 0.5);
      position: relative;
    }

    .upload-progress-bar::after{
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      animation: progressShimmer 1.5s infinite;
    }

    @keyframes progressShimmer{
      0%{
        transform: translateX(-100%);
      }
      100%{
        transform: translateX(100%);
      }
    }

    /* Success animation */
    .success-animation{
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      animation: successFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      color: rgba(255, 255, 255, 0.95);
      font-weight: 300;
      letter-spacing: 0.02em;
    }

    .success-checkmark{
      width: 20px;
      height: 20px;
      flex-shrink: 0;
    }

    .success-checkmark circle{
      fill: none;
      stroke: rgba(134, 239, 172, 0.9);
      stroke-width: 2;
      stroke-dasharray: 166;
      stroke-dashoffset: 166;
      animation: checkmarkCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
    }

    .success-checkmark path{
      fill: none;
      stroke: rgba(134, 239, 172, 1);
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 48;
      stroke-dashoffset: 48;
      animation: checkmarkPath 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.3s forwards;
    }

    @keyframes successFadeIn{
      0%{
        opacity: 0;
        transform: scale(0.9);
      }
      100%{
        opacity: 1;
        transform: scale(1);
      }
    }

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

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

    /* Error animation */
    .error-animation{
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      animation: errorFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      color: rgba(255, 255, 255, 0.95);
      font-weight: 300;
      letter-spacing: 0.02em;
    }

    .error-icon{
      width: 20px;
      height: 20px;
      flex-shrink: 0;
    }

    .error-icon circle{
      fill: none;
      stroke: rgba(251, 113, 133, 0.9);
      stroke-width: 2;
      stroke-dasharray: 166;
      stroke-dashoffset: 166;
      animation: errorCircle 0.5s cubic-bezier(0.65, 0, 0.45, 1) forwards;
    }

    .error-icon path{
      fill: none;
      stroke: rgba(251, 113, 133, 1);
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 40;
      stroke-dashoffset: 40;
      animation: errorPath 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.25s forwards;
    }

    @keyframes errorFadeIn{
      0%{
        opacity: 0;
        transform: scale(0.92);
      }
      100%{
        opacity: 1;
        transform: scale(1);
      }
    }

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

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