 body {
     font-family: 'Poppins', sans-serif;
     background: linear-gradient(135deg, #0f2027, #2c5364);
     color: #fff;
 }

 /* 3D Glass Card */
 .main-box {
     background: rgba(255, 255, 255, 0.08);
     backdrop-filter: blur(20px);
     border-radius: 20px;
     padding: 30px;
     max-width: 520px;
     margin: auto;
     margin-top: 40px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
     transition: .4s;
 }

 .main-box:hover {
     transform: scale(1.02);
 }

 /* Upload */
 .upload-box {
     border: 2px dashed rgba(255, 255, 255, 0.3);
     padding: 35px;
     text-align: center;
     border-radius: 15px;
     cursor: pointer;
     transition: .3s;
 }

 .upload-box:hover {
     background: rgba(255, 255, 255, 0.1);
     transform: scale(1.05);
 }

 /* Button */
 .btn-custom {
     background: linear-gradient(45deg, #00f2fe, #4facfe);
     border: none;
     border-radius: 10px;
     color: #fff;
     padding: 12px;
 }

 /* Progress */
 .progress {
     display: none;
     margin-top: 15px;
 }

 .progress-bar {
     background: linear-gradient(90deg, #00f2fe, #4facfe);
 }

 /* Result */
 #preview {
     display: none;
     text-align: center;
     margin-top: 20px;
 }

 #preview img {
     max-width: 100%;
     border-radius: 10px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
 }

 .progress-bar {
     font-weight: bold;
     transition: width 0.3s ease;
 }

 #previewImg {
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
     transition: 0.3s;
 }

 .preview-box {
     width: 100%;
     height: 250px;
     /* fixed height */
     border-radius: 12px;
     overflow: hidden;
     margin-top: 10px;
     display: none;
     background: rgba(0, 0, 0, 0.05);

     display: flex;
     align-items: center;
     justify-content: center;
 }

 .preview-box img {
     max-width: 100%;
     max-height: 100%;
     object-fit: contain;
     /* full image dikhe */
 }

 .preview-box {
     border: 2px dashed rgba(255, 255, 255, 0.2);
 }

 body {
     background: linear-gradient(135deg, #0f2027, #2c5364);
     color: #fff;
     font-family: 'Poppins', sans-serif;
 }

 /* HERO */
 .hero-box {
     margin-top: 50px;
 }

 .hero-img {
     width: 260px;
     border-radius: 12px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
 }

 .subtitle {
     opacity: 0.8;
 }

 /* TOOL CARD */
 .main-box {
     background: rgba(255, 255, 255, 0.08);
     backdrop-filter: blur(20px);
     border-radius: 20px;
     padding: 30px;
     max-width: 520px;
     margin: auto;
     margin-top: 30px;
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
 }

 /* UPLOAD BOX */
 .upload-box {
     border: 2px dashed rgba(255, 255, 255, 0.3);
     padding: 35px;
     border-radius: 15px;
     text-align: center;
     cursor: pointer;
     transition: 0.3s;
 }

 .upload-box:hover {
     background: rgba(255, 255, 255, 0.1);
     transform: scale(1.05);
 }

 /* PREVIEW */
 .preview-box {
     width: 100%;
     height: 220px;
     display: none;
     justify-content: center;
     align-items: center;
 }

 .preview-box img {
     max-width: 100%;
     max-height: 100%;
     border-radius: 10px;
 }

 /* BUTTON */
 .btn-custom {
     background: linear-gradient(45deg, #00f2fe, #4facfe);
     border: none;
     border-radius: 10px;
     font-weight: bold;
     padding: 12px;
 }

 /* RESULT */
 #preview img {
     border-radius: 10px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
 }

 /* FEATURES */
 .row h4 {
     font-weight: 600;
 }
 