CSS 
/*
 * Modern UI for Instagram Video Downloader
 */

:root {
  /* Brand / Gradient Colors */
  --ig1: #0A2540; /* deep navy blue */
  --ig2: #FF3D8B; /* vibrant pink */
  --ig3: #7C3AED; /* modern purple */
  --ig4: #16A34A; /* strong green */
  --ig5: #F97316; /* rich coral/orange */
  --ig6: #FDBA74; /* soft peach */
  --ig7: #FACC15; /* warm yellow */

  /* Text Colors */
  --text:  #0F172A; /* primary text */
  --muted: #64748B; /* muted/secondary text */

  /* Backgrounds */
  --bg:    #FFFFFF; /* main background */
  --light: #F1F5F9; /* section background */

  /* UI Tokens */
  --radius: 18px;
  --shadow: 0 12px 32px rgba(2, 6, 23, 0.10);
}



*{box-sizing:border-box}
html,body{height:100%}
body{font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.6}

    /* lang-switcher select {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
} 
*/



/* Global helpers */
.section{padding:80px 0}
.section-light{background:linear-gradient(180deg,#fff 0%, #fff 10%, #fff6fb 60%, #fff 100%)}
.section-title{font-weight:700}
.section-subtitle{color:var(--muted)}

/* Navigation */
.nav-glass{background:rgba(17,24,39,.4);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid rgba(255,255,255,.1)}
.navbar-dark .navbar-brand,.navbar-dark .nav-link{color:#fff}
.navbar-dark .nav-link:hover{opacity:.85}
.brand-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--ig3),var(--ig2),var(--ig1));color:#fff}

/* Hero */
.gradient-ig{background:linear-gradient(135deg,var(--ig3),var(--ig2),var(--ig1),var(--ig4),var(--ig5),var(--ig6),var(--ig7));}
.hero{padding-top:130px;padding-bottom:80px;position:relative}
.hero .badge-ig{display:inline-block;background:rgba(255,255,255,.2);color:#fff;border-radius:999px;padding:8px 14px;font-weight:600}
.hero-subtitle{opacity:.95}

.download-card{border-radius:var(--radius);padding:18px;border:1px solid #eef2f7;box-shadow:var(--shadow);max-width:880px}
.input-group .form-control{border-radius:12px 0 0 12px;border:0;background:#f1f5f9;padding-left:46px;height:58px}
.input-group .form-control:focus{box-shadow:none;border:0;background:#eef2f7}
.input-group .btn-ig{border-radius:0 12px 12px 0;padding:0 22px;height:58px}
.input-icon{position:absolute;z-index:4;left:16px;top:50%;transform:translateY(-50%);color:#64748b}


.hero-bullets .dot{display:inline-block;width:8px;height:8px;border-radius:999px;background:#fff;margin-right:6px}
.hero-bullets li{color:#fff;opacity:.95}

/* Buttons */
.btn-ig{background:linear-gradient(135deg,var(--ig1),var(--ig2),var(--ig3));color:#fff;border:0;box-shadow:0 6px 18px rgba(225,48,108,.35);font-weight:600}
.btn-ig:hover{filter:brightness(.95);color:#fff}

/* Cards and icons */
.i-shadow{box-shadow:0 10px 20px rgba(131,58,180,.25)}
.step-card{border:1px solid #eef2f7;border-radius:16px;padding:22px;box-shadow:0 6px 18px rgba(16,24,40,.04)}
.step-icon{width:64px;height:64px;border-radius:16px;color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;margin:4px auto}
.step-index{position:absolute;margin-top:-12px;margin-left:-12px;background:#0ea5e9;color:#fff;border-radius:999px;font-size:12px;padding:6px 8px}

.feature-item{padding:12px}
.feature-icon{width:56px;height:56px;border-radius:14px;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:22px;box-shadow:0 8px 18px rgba(225,48,108,.25)}

.stats-card{border:1px solid #eef2f7;border-radius:18px;padding:20px 10px;background:#fff}
.stat-value{font-weight:700;font-size:28px}
.stat-label{color:var(--muted);font-size:.9rem}

/* Why us */
.list-why{padding-left:0;list-style:none}
.list-why li{padding:8px 0;color:#374151}
.trust-card{display:flex;align-items:center;border:1px solid #eef2f7;border-radius:16px;padding:16px;background:#fff;box-shadow:var(--shadow)}
.trust-icon{width:56px;height:56px;border-radius:14px;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;margin-right:14px}

/* FAQ */
.faq-card{border:1px solid #eef2f7;border-radius:14px;overflow:hidden;margin-bottom:10px}
.faq-card .card-header{background:#fff}
.faq-card .btn-link{color:var(--text);text-decoration:none;font-weight:600}
.faq-card .btn-link:hover{text-decoration:none}

/* Footer */
.dark-footer{background:#0b1220;color:#cbd5e1;padding-top:48px}
.footer-title{color:#e2e8f0;font-weight:600;margin-bottom:8px}
.footer-links a{color:#94a3b8}
.footer-links a:hover{color:#e2e8f0}
.security-box{display:flex;align-items:center;background:rgba(15,23,42,.6);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:14px 16px;margin-top:12px}
.security-icon{width:36px;height:36px;border-radius:10px;background:#0ea5e9;color:#fff;display:flex;align-items:center;justify-content:center;margin-right:10px}
.footer-meta{border-top:1px solid rgba(255,255,255,.08)}

/* Legacy classes retained to avoid breaking JS/backend */
.bg-pink { background-color: var(--ig2)!important; }
.text-pink { color: var(--ig2); }
.bg-blue{background-color:#5851DB!important}
.text-pink{color:var(--ig1)}
.btn-blue{color:#fff;background-color:#5851DB;border-color:#5851DB}
.btn-blue:hover{color:#fff;background-color:#5851DB;border-color:#5851DB}
.btn-pink{color:#fff;background-color:var(--ig1);border-color:var(--ig1)}
.btn-pink:hover{color:#fff;background-color:#c30e4a;border-color:var(--ig1)}
.footer-white-links a{color:#fff}
.footer-white-links a:hover{color:#f8f9fab5}

/* Responsive tweaks */
@media (max-width: 991.98px){
  .hero{padding-top:110px}
}
@media (max-width: 575.98px){
  .display-4{font-size:2rem}
  .input-group .form-control{height:52px}
  .input-group .btn-ig{height:52px}
}











/* Main card */
.download-card {
  background: #38BDF8 ;
  padding: 30px 25px;
  border-radius: 16px;
  max-width: 880px;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Input field */
.download-input .form-control {
  border-radius: 10px 0 0 10px;
  border: 1px solid #ddd;
  padding: 14px 18px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.download-input .form-control:focus {
  border-color: #38BDF8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.35);
}


/* Button */
.btn-yellow {
  background: #38BDF8;
  color: #fff;
  border-radius: 0 10px 10px 0;
  border: none;
  padding: 0 22px;
  font-weight: 600;
}

.btn-yellow:hover {
  background: #0ea5e9;
}




.btn-yellow:hover {
  background: #0ea5e9;}



/* Download box */
#downloadbox {
  margin-top: 20px;
  padding: 15px;
  border: 1px dashed #ccc;
  border-radius: 10px;
  display: none; /* hidden until results appear */
  font-size: 15px;
  text-align: left;
}

/* Helper text */
.helper-text {
  margin-top: 12px;
  font-size: 14px;
  color: #475569;
}

