/* MultiDebrid home refresh — scoped to the homepage only */
.md-home-refresh{
  --md-home-bg:#080d1d;
  --md-home-surface:#0f172d;
  --md-home-surface-2:#131e38;
  --md-home-line:rgba(148,163,184,.18);
  --md-home-muted:#9eabd0;
  --md-home-text:#f8fbff;
  --md-home-purple:#7768ff;
  --md-home-cyan:#35c7ff;
  --md-home-green:#72f59e;
  position:relative;
  isolation:isolate;
  padding-bottom:24px;
}
.md-home-refresh:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:-2;
  background:
    radial-gradient(900px 520px at 12% 4%,rgba(119,104,255,.17),transparent 68%),
    radial-gradient(760px 480px at 88% 10%,rgba(53,199,255,.11),transparent 68%),
    linear-gradient(180deg,#080d1d 0,#0a1123 44%,#0a1123 100%);
}
.md-home-refresh:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.26;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(to bottom,#000 0%,transparent 64%);
}

/* Hero */
.md-home-refresh .md-hero{
  padding:76px 0 48px!important;
  overflow:visible!important;
}
.md-home-refresh .md-hero:before{
  width:720px!important;
  height:720px!important;
  top:-110px!important;
  left:45%!important;
  opacity:.34!important;
  filter:blur(70px)!important;
}
.md-home-refresh .md-hero>.md-container{max-width:1320px!important}
.md-home-refresh .md-hero-grid{
  grid-template-columns:minmax(350px,.80fr) minmax(590px,1.20fr)!important;
  gap:40px!important;
}
.md-home-refresh .md-hero-copy{padding:14px 0 20px}
.md-home-refresh .md-badge{
  border-color:rgba(130,118,255,.34)!important;
  background:linear-gradient(135deg,rgba(119,104,255,.18),rgba(53,199,255,.08))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 38px rgba(55,45,160,.14);
}
.md-home-refresh .md-hero h1{
  max-width:760px;
  margin:20px 0 20px!important;
  font-size:clamp(48px,5.8vw,82px)!important;
  line-height:.94!important;
  letter-spacing:-.072em!important;
  text-wrap:balance;
  text-shadow:0 18px 54px rgba(0,0,0,.28);
}
.md-home-refresh .md-hero-copy>p{
  max-width:680px!important;
  color:#b5c0df!important;
  font-size:18px!important;
  line-height:1.78!important;
}
.md-home-refresh .md-hero-actions{margin-top:28px!important;gap:12px!important}
.md-home-refresh .md-hero-actions .md-btn{
  min-height:52px;
  padding-inline:22px!important;
  box-shadow:none;
}
.md-home-refresh .md-hero-actions .md-btn-primary{
  background:linear-gradient(120deg,#7667ff,#5c80ff 52%,#36c9ff)!important;
  box-shadow:0 18px 42px rgba(87,91,255,.30)!important;
}
.md-home-refresh .md-hero-actions .md-btn-outline{
  background:rgba(13,22,44,.72)!important;
  border-color:rgba(148,163,184,.22)!important;
}
.md-home-refresh .md-hero-proof{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  max-width:620px;
  margin-top:28px;
}
.md-home-refresh .md-hero-proof>div{
  min-width:0;
  padding:13px 14px;
  border:1px solid rgba(148,163,184,.15);
  border-radius:17px;
  background:rgba(12,20,40,.58);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(14px);
}
.md-home-refresh .md-hero-proof strong{
  display:block;
  color:#fff;
  font-size:21px;
  line-height:1;
  letter-spacing:-.045em;
}
.md-home-refresh .md-hero-proof span{
  display:block;
  margin-top:6px;
  color:#8f9dc5;
  font-size:11px;
  font-weight:850;
  line-height:1.25;
}

/* Generator */
.md-home-refresh .md-downloader-card{
  overflow:visible!important;
  padding:0 30px 30px!important;
  border-radius:32px!important;
  border:1px solid rgba(148,163,184,.20)!important;
  background:
    radial-gradient(circle at 88% 2%,rgba(53,199,255,.13),transparent 30%),
    radial-gradient(circle at 8% 0%,rgba(119,104,255,.13),transparent 30%),
    linear-gradient(150deg,rgba(17,27,53,.98),rgba(9,16,34,.98))!important;
  box-shadow:0 38px 100px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.06)!important;
  backdrop-filter:blur(24px)!important;
}
.md-home-refresh .md-downloader-card:before{
  content:"";
  position:absolute;
  inset:-1px;
  z-index:-1;
  border-radius:33px;
  background:linear-gradient(135deg,rgba(123,108,255,.42),rgba(53,199,255,.16),rgba(114,245,158,.18));
  filter:blur(15px);
  opacity:.26;
}
.md-home-refresh .md-generator-chrome{
  height:42px;
  margin:0 -30px 22px;
  padding:0 18px;
  display:flex;
  align-items:center;
  gap:7px;
  border-bottom:1px solid rgba(148,163,184,.14);
  background:rgba(7,13,29,.50);
  border-radius:32px 32px 0 0;
}
.md-home-refresh .md-generator-chrome span{width:8px;height:8px;border-radius:50%;background:#ff6b7b;box-shadow:0 0 0 4px rgba(255,107,123,.08)}
.md-home-refresh .md-generator-chrome span:nth-child(2){background:#fbc85b;box-shadow:0 0 0 4px rgba(251,200,91,.08)}
.md-home-refresh .md-generator-chrome span:nth-child(3){background:#67e79a;box-shadow:0 0 0 4px rgba(103,231,154,.08)}
.md-home-refresh .md-generator-chrome em{margin-left:auto;width:82px;height:6px;border-radius:999px;background:rgba(148,163,184,.12)}
.md-home-refresh .md-card-head{margin-bottom:19px!important}
.md-home-refresh .md-card-head h2{font-size:35px!important;letter-spacing:-.055em!important}
.md-home-refresh .md-card-head>i{
  width:54px!important;height:54px!important;border-radius:18px!important;
  background:linear-gradient(135deg,rgba(114,245,158,.16),rgba(53,199,255,.10))!important;
  border:1px solid rgba(114,245,158,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.md-home-refresh .md-link-form textarea{
  min-height:225px!important;
  resize:vertical;
  border-radius:20px!important;
  border:1px solid rgba(148,163,184,.20)!important;
  background:rgba(5,11,25,.64)!important;
  color:#f7f9ff!important;
  padding:19px 20px!important;
  font-size:14px!important;
  line-height:1.65!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 0 0 1px rgba(0,0,0,.06)!important;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.md-home-refresh .md-link-form textarea:focus{
  border-color:rgba(119,104,255,.65)!important;
  background:rgba(7,13,29,.84)!important;
  box-shadow:0 0 0 4px rgba(119,104,255,.11),inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.md-home-refresh .md-form-actions{margin-top:13px!important}
.md-home-refresh .md-form-actions .md-btn{min-height:52px;padding:14px 20px!important}
.md-home-refresh .md-form-actions #submit{flex:1;background:linear-gradient(120deg,#7667ff,#5e83ff 58%,#36c9ff)!important;box-shadow:0 14px 32px rgba(91,97,255,.24)!important}
.md-home-refresh .md-form-actions #reset{background:rgba(255,255,255,.055)!important;border:1px solid rgba(148,163,184,.17)!important}

/* Metrics */
.md-home-refresh>.md-metric-grid{margin-top:10px!important;gap:12px!important}
.md-home-refresh .md-metric{
  min-height:148px;
  padding:19px!important;
  border-radius:23px!important;
  border:1px solid rgba(148,163,184,.14)!important;
  background:linear-gradient(145deg,rgba(18,28,53,.92),rgba(10,18,37,.92))!important;
  box-shadow:0 18px 48px rgba(0,0,0,.15)!important;
}
.md-home-refresh .md-metric:after{background:rgba(119,104,255,.09)!important}
.md-home-refresh .md-metric i{
  width:42px!important;height:42px!important;border-radius:14px!important;
  margin-bottom:15px!important;
  background:linear-gradient(135deg,rgba(119,104,255,.14),rgba(53,199,255,.08))!important;
  color:#9c92ff!important;
  border:1px solid rgba(119,104,255,.13);
}
.md-home-refresh .md-metric strong{color:#fff!important;font-size:29px!important;margin-top:0!important}
.md-home-refresh .md-metric span{color:#94a3c6!important;font-size:12px!important}
.md-home-refresh .md-progress{height:5px!important;background:rgba(148,163,184,.10)!important;margin-top:13px!important}

/* Workspace */
.md-home-refresh .md-v3-workspace{
  margin-top:22px!important;
  padding:30px!important;
  border-radius:30px!important;
  background:
    radial-gradient(circle at 5% 15%,rgba(119,104,255,.17),transparent 30%),
    linear-gradient(140deg,#101a34,#0c142a)!important;
  border:1px solid rgba(148,163,184,.15)!important;
  display:grid!important;
  grid-template-columns:.82fr 1.18fr!important;
  gap:28px!important;
  align-items:center!important;
  box-shadow:0 24px 70px rgba(0,0,0,.20)!important;
}
.md-home-refresh .md-v3-copy h2{font-size:clamp(30px,4vw,45px)!important;line-height:1!important;margin:10px 0 12px!important;color:#fff!important;letter-spacing:-.055em}
.md-home-refresh .md-v3-copy p{color:#9fadd0!important;margin:0!important;line-height:1.72!important}
.md-home-refresh .md-v3-cards{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:10px!important}
.md-home-refresh .md-v3-cards>div{
  min-height:170px!important;
  padding:18px!important;
  border-radius:20px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;
  border:1px solid rgba(148,163,184,.13)!important;
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.md-home-refresh .md-v3-cards>div:hover{transform:translateY(-4px);border-color:rgba(119,104,255,.30)!important;background:rgba(119,104,255,.07)!important}
.md-home-refresh .md-v3-cards i{width:44px!important;height:44px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:rgba(114,245,158,.10)!important;color:#72f59e!important;font-size:23px!important;margin-bottom:16px!important}
.md-home-refresh .md-v3-cards small{display:block!important;color:#7f8daf!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.1em!important;margin-bottom:6px!important;font-size:10px}
.md-home-refresh .md-v3-cards strong{display:block!important;color:#fff!important;font-size:17px!important;margin-bottom:7px!important;line-height:1.3}
.md-home-refresh .md-v3-cards span{color:#94a3c6!important;font-weight:700!important;font-size:12px!important;line-height:1.45}

/* Common homepage cards */
.md-home-refresh .md-v3-flow,
.md-home-refresh .md-panel{
  border:1px solid rgba(148,163,184,.14)!important;
  background:linear-gradient(145deg,rgba(17,27,52,.94),rgba(10,18,37,.94))!important;
  color:#f8fbff!important;
  box-shadow:0 22px 62px rgba(0,0,0,.16)!important;
}
.md-home-refresh .md-v3-flow{margin-top:22px!important;padding:28px!important;border-radius:30px!important}
.md-home-refresh .md-v3-flow-head h2,.md-home-refresh .md-panel h2{color:#fff!important}
.md-home-refresh .md-v3-flow-head p,.md-home-refresh .md-panel p{color:#97a6c7!important}
.md-home-refresh .md-v3-flow-grid article{
  min-height:220px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.022))!important;
  border:1px solid rgba(148,163,184,.12)!important;
  transition:transform .2s ease,border-color .2s ease,background .2s ease!important;
}
.md-home-refresh .md-v3-flow-grid article:hover{transform:translateY(-5px)!important;border-color:rgba(119,104,255,.32)!important;background:rgba(119,104,255,.065)!important}
.md-home-refresh .md-v3-flow-grid article b{color:#6f7d9d!important}
.md-home-refresh .md-v3-flow-grid article i{background:linear-gradient(135deg,rgba(119,104,255,.14),rgba(53,199,255,.09))!important;color:#a99fff!important;border:1px solid rgba(119,104,255,.12)}
.md-home-refresh .md-v3-flow-grid h3{color:#fff!important}
.md-home-refresh .md-v3-flow-grid p{color:#94a3c6!important}
.md-home-refresh .md-section-grid{gap:14px!important;margin-top:18px!important}
.md-home-refresh .md-panel{padding:25px!important;border-radius:26px!important}
.md-home-refresh .md-panel .md-eyebrow{margin-bottom:3px}
.md-home-refresh .md-link-more{color:#9d94ff!important;text-decoration:none!important}
.md-home-refresh .md-link-more:hover{color:#c1bbff!important}

/* Host tiles */
.md-home-refresh .md-host-grid{gap:8px!important}
.md-home-refresh .md-host{
  min-height:56px;
  padding:10px 12px!important;
  border-radius:15px!important;
  border:1px solid rgba(148,163,184,.13)!important;
  background:rgba(255,255,255,.035)!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease!important;
}
.md-home-refresh .md-host:hover{transform:translateY(-2px);border-color:rgba(119,104,255,.32)!important;background:rgba(119,104,255,.075)!important}
.md-home-refresh .md-host img{width:31px!important;height:31px!important;padding:4px;border-radius:9px;background:#fff}
.md-home-refresh .md-host span{color:#e9efff!important;font-size:12px!important}

/* Status + live host panel */
.md-home-refresh .md-v3-status-strip{margin-top:14px!important;gap:10px!important}
.md-home-refresh .md-v3-status-strip>div{
  border-radius:19px!important;
  background:linear-gradient(140deg,#101a34,#0b142a)!important;
  border:1px solid rgba(148,163,184,.13)!important;
  box-shadow:none!important;
}
.md-home-refresh .md-v3-status-strip span{color:#7f8ead!important}
.md-home-refresh .md-live-host-panel{overflow:hidden!important}
.md-home-refresh .md-host-summary-row>div,
.md-home-refresh .md-host-live-card{
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(148,163,184,.13)!important;
}

/* Process/FAQ/SEO areas */
.md-home-refresh .md-process-item,
.md-home-refresh .md-security-item{
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(148,163,184,.12)!important;
}
.md-home-refresh .md-process-item strong,.md-home-refresh .md-security-item strong{color:#eef3ff!important}
.md-home-refresh .md-process-item span,.md-home-refresh .md-security-item span{color:#91a0c1!important}
.md-home-refresh .md-process-num{
  background:rgba(119,104,255,.13)!important;
  color:#aaa1ff!important;
  border:1px solid rgba(119,104,255,.14);
}
.md-home-refresh .md-seo-host-links a{
  border-color:rgba(148,163,184,.13)!important;
  background:rgba(255,255,255,.035)!important;
  color:#dbe5ff!important;
}
.md-home-refresh .md-seo-host-links a:hover{background:rgba(119,104,255,.08)!important;border-color:rgba(119,104,255,.28)!important}

/* Result area follows the generator visual language */
.md-home-refresh .md-results{margin-top:18px}
.md-home-refresh .md-premium-result-card{border-color:rgba(148,163,184,.16)!important;box-shadow:0 18px 54px rgba(0,0,0,.18)!important}

/* Motion */
@media (prefers-reduced-motion:no-preference){
  .md-home-refresh .md-hero-copy{animation:mdHomeRise .5s ease both}
  .md-home-refresh .md-downloader-card{animation:mdHomeRise .58s .06s ease both}
  .md-home-refresh>.md-metric-grid{animation:mdHomeRise .58s .12s ease both}
  @keyframes mdHomeRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
}

/* Responsive */
@media(max-width:1080px){
  .md-home-refresh .md-hero-grid{grid-template-columns:1fr!important;gap:28px!important}
  .md-home-refresh .md-hero-copy{max-width:820px}
  .md-home-refresh .md-downloader-card{max-width:900px;width:100%;margin-inline:auto}
  .md-home-refresh .md-link-form textarea{min-height:210px!important}
  .md-home-refresh .md-v3-workspace{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .md-home-refresh .md-hero{padding:52px 0 34px!important}
  .md-home-refresh .md-hero h1{font-size:clamp(42px,12vw,62px)!important}
  .md-home-refresh .md-hero-proof{grid-template-columns:1fr 1fr 1fr;gap:7px}
  .md-home-refresh .md-hero-proof>div{padding:11px 10px}
  .md-home-refresh .md-hero-proof strong{font-size:18px}
  .md-home-refresh .md-hero-proof span{font-size:10px}
  .md-home-refresh .md-downloader-card{padding:0 17px 18px!important;border-radius:25px!important}
  .md-home-refresh .md-generator-chrome{margin:0 -17px 17px;border-radius:25px 25px 0 0}
  .md-home-refresh .md-card-head h2{font-size:29px!important}
  .md-home-refresh .md-link-form textarea{min-height:185px!important}
  .md-home-refresh .md-card-head>i{width:46px!important;height:46px!important;border-radius:15px!important;font-size:25px!important}
  .md-home-refresh .md-v3-workspace{padding:20px!important;border-radius:24px!important}
  .md-home-refresh .md-v3-cards{grid-template-columns:1fr!important}
  .md-home-refresh .md-v3-cards>div{min-height:auto!important}
  .md-home-refresh .md-v3-flow{padding:20px!important;border-radius:24px!important}
}
@media(max-width:480px){
  .md-home-refresh .md-hero-proof{grid-template-columns:1fr}
}

/* Free starter quota */
.md-free-quota-box{margin:14px 0 16px;padding:14px 15px;border:1px solid rgba(101,84,255,.28);border-radius:18px;background:linear-gradient(135deg,rgba(101,84,255,.12),rgba(54,194,255,.06));}
.md-free-quota-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.md-free-quota-head span{display:block;color:var(--md-muted,#9ba7c7);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.md-free-quota-head strong{display:block;color:#fff;font-size:18px;margin-top:2px}.md-free-quota-head a{white-space:nowrap;color:#bdb4ff!important;font-weight:900;text-decoration:none}.md-free-quota-progress{height:8px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;margin:11px 0 8px}.md-free-quota-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#745dff,#39c8ff);transition:width .3s ease}.md-free-quota-box p{margin:0;color:#9faacb;font-size:12px;line-height:1.5}.md-free-quota-box.is-low{border-color:rgba(255,189,75,.34);background:rgba(255,189,75,.07)}.md-free-quota-box.is-low .md-free-quota-progress span{background:linear-gradient(90deg,#ffbd4b,#ff8f5c)}.md-free-quota-box.is-empty{border-color:rgba(255,94,120,.34);background:rgba(255,94,120,.07)}.md-free-quota-box.is-empty .md-free-quota-progress span{width:0!important}.md-free-quota-box.is-empty .md-free-quota-head a{color:#ff9cac!important}
@media(max-width:600px){.md-free-quota-head{align-items:flex-start}.md-free-quota-head a{font-size:12px}.md-free-quota-head strong{font-size:16px}}

/* Free starter quota card — v2 */
.md-free-quota-box{margin:16px 0 18px;padding:16px 17px 14px;border:1px solid rgba(122,106,255,.32);border-radius:20px;background:linear-gradient(145deg,rgba(104,85,255,.14),rgba(40,195,255,.055));box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.md-free-quota-top{display:flex;align-items:center;gap:12px}.md-free-quota-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:13px;color:#c8c0ff;font-size:21px;background:linear-gradient(145deg,rgba(111,91,255,.3),rgba(51,179,255,.14));border:1px solid rgba(136,122,255,.28)}
.md-free-quota-title{min-width:0;flex:1}.md-free-quota-title>span{display:block;color:#9ba8ca;font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;margin-bottom:3px}.md-free-quota-title>div{display:flex;align-items:baseline;gap:7px;min-width:0}.md-free-quota-title strong{color:#fff;font-size:24px;line-height:1;font-weight:950;letter-spacing:-.035em}.md-free-quota-title em{font-style:normal;color:#aab5d1;font-size:12px;font-weight:800}
.md-free-quota-upgrade{height:38px;padding:0 13px;border-radius:12px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;text-decoration:none!important;color:#fff!important;font-size:12px;font-weight:900;background:linear-gradient(90deg,#6e59ff,#36bdf4);box-shadow:0 8px 24px rgba(69,96,255,.2)}.md-free-quota-upgrade:hover{transform:translateY(-1px);filter:brightness(1.06)}
.md-free-quota-progress{height:10px;margin:14px 0 9px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.075);box-shadow:inset 0 1px 3px rgba(0,0,0,.28)}.md-free-quota-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#735dff 0%,#4c8eff 52%,#32cdf4 100%);box-shadow:0 0 18px rgba(62,182,255,.26);transition:width .35s ease}
.md-free-quota-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.md-free-quota-foot p{margin:0;color:#9ca9c9;font-size:11.5px;line-height:1.45}.md-free-quota-foot>b{flex:0 0 auto;color:#c5ceea;font-size:11px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.07);border-radius:999px;padding:3px 7px}
.md-free-quota-box.is-low{border-color:rgba(255,186,74,.36);background:linear-gradient(145deg,rgba(255,179,57,.1),rgba(255,117,72,.045))}.md-free-quota-box.is-low .md-free-quota-progress span{background:linear-gradient(90deg,#ffbb49,#ff8d57)}.md-free-quota-box.is-low .md-free-quota-icon{color:#ffd08b;background:rgba(255,184,71,.12);border-color:rgba(255,184,71,.24)}
.md-free-quota-box.is-empty{border-color:rgba(255,90,121,.36);background:linear-gradient(145deg,rgba(255,79,111,.09),rgba(255,79,111,.025))}.md-free-quota-box.is-empty .md-free-quota-progress span{width:0!important}.md-free-quota-box.is-empty .md-free-quota-icon{color:#ff9bb0;background:rgba(255,84,116,.11);border-color:rgba(255,84,116,.22)}
@media(max-width:680px){.md-free-quota-top{align-items:flex-start;flex-wrap:wrap}.md-free-quota-title strong{font-size:21px}.md-free-quota-upgrade{width:100%;justify-content:center;margin-top:2px}.md-free-quota-foot{gap:8px}.md-free-quota-foot p{font-size:11px}}
