.fc-page{background:var(--bg);color:var(--fg)}
.fc-hero{position:relative;padding:72px 0 28px;background:linear-gradient(180deg,var(--bg-subtle),var(--bg));overflow:hidden}
.fc-hero-inner{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:28px;align-items:center;position:relative;z-index:1}
.fc-hero-copy{max-width:760px}
.fc-title{font-size:clamp(3.4rem,6vw,6.2rem);line-height:0.95;margin:10px 0 14px}
.fc-lead{font-size:1.8rem;max-width:68rem;color:var(--fg-secondary)}
.fc-hero-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.fc-hero-pills span,.fc-chip{display:inline-flex;align-items:center;justify-content:center;border-radius:9999px;border:1px solid var(--border);background:var(--bg-card);color:var(--fg-secondary);padding:7px 12px;font-size:1.2rem;box-shadow:var(--shadow-card)}
.fc-hero-card{padding:22px;border-radius:24px}
.fc-hero-card-top{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}
.fc-hero-kicker{font-size:1.1rem;letter-spacing:.16em;text-transform:uppercase;color:var(--fg-secondary)}
.fc-hero-card-top strong{font-size:1.8rem;line-height:1.3}
.fc-hero-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fc-hero-card-grid div{padding:14px;border-radius:16px;background:var(--bg-subtle);border:1px solid var(--border)}
.fc-hero-card-grid span{display:block;font-size:1.1rem;color:var(--fg-secondary);margin-bottom:4px}
.fc-hero-card-grid strong{font-size:1.4rem;line-height:1.3}
.fc-hero-orb{position:absolute;border-radius:9999px;filter:blur(40px);opacity:.6;pointer-events:none}
.fc-hero-orb-a{width:220px;height:220px;background:rgba(21,94,239,.15);left:5%;top:10%}
.fc-hero-orb-b{width:280px;height:280px;background:rgba(255,74,195,.12);right:8%;top:2%}
.fc-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.fc-main-column,.fc-side-column{min-width:0}
.fc-side-column{display:grid;gap:18px;position:sticky;top:110px}
.fc-card{padding:24px;border-radius:24px}
.fc-card h2,.fc-card h3{font-family:"Space Grotesk",sans-serif}
.fc-drop-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:360px;border:1px dashed var(--border);background:linear-gradient(180deg,var(--bg-card),var(--bg-subtle));transition:border-color .2s,transform .2s,box-shadow .2s}
.fc-drop-card.is-dragover{border-color:var(--accent);transform:translateY(-2px);box-shadow:var(--shadow-elevated)}
.fc-file-input{display:none}
.fc-drop-icon{display:inline-flex;width:72px;height:72px;align-items:center;justify-content:center;border-radius:22px;background:var(--bg);border:1px solid var(--border);color:var(--accent);margin-bottom:18px}
.fc-drop-icon svg{width:34px;height:34px}
.fc-drop-card h2{font-size:2.2rem;margin-bottom:8px}
.fc-drop-card p{color:var(--fg-secondary);max-width:56rem}
.fc-browse-btn{margin-top:18px}
.fc-drop-hint{margin-top:10px;font-size:1.3rem;color:var(--fg-secondary)}
.fc-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.fc-section-head h2{font-size:2rem;margin-top:4px}
.fc-note{font-size:1.2rem;color:var(--fg-secondary)}
.fc-chip-live{background:rgba(21,94,239,.08);border-color:rgba(21,94,239,.18);color:var(--accent)}
.fc-chip-success{background:rgba(34,197,94,.08);border-color:rgba(34,197,94,.18);color:#16a34a}
.fc-detect-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fc-detect-item,.fc-output-item{padding:14px 16px;border:1px solid var(--border);border-radius:16px;background:var(--bg-subtle)}
.fc-detect-item span,.fc-output-item span{display:block;font-size:1.1rem;color:var(--fg-secondary);margin-bottom:3px}
.fc-detect-item strong,.fc-output-item strong{font-size:1.5rem;word-break:break-word}
.fc-format-grid{display:flex;flex-wrap:wrap;gap:10px}
.fc-format-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:9999px;border:1px solid var(--border);background:var(--bg-card);color:var(--fg);font-weight:600;letter-spacing:.02em;transition:all .15s ease}
.fc-format-btn:hover{transform:translateY(-1px);border-color:var(--accent)}
.fc-format-btn.active{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.fc-actions-card,.fc-output-card,.fc-detect-card,.fc-advanced-card,.fc-progress-card,.fc-download-card{margin-top:18px}
.fc-actions-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.fc-ghost-btn{background:var(--bg-card);border:1px solid var(--border);padding:16px 24px;border-radius:9999px}
.fc-advanced-groups{display:grid;gap:16px}
.fc-advanced-group{padding:18px;border:1px solid var(--border);border-radius:20px;background:var(--bg-subtle)}
.fc-advanced-group h3{font-size:1.6rem;margin-bottom:14px}
.fc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fc-form-grid-2{grid-template-columns:repeat(3,minmax(0,1fr))}
.fc-form-grid label{display:flex;flex-direction:column;gap:6px;font-size:1.2rem;color:var(--fg-secondary)}
.fc-form-grid input,.fc-form-grid select{width:100%;border:1px solid var(--border);background:var(--bg-card);border-radius:14px;padding:12px 14px;color:var(--fg);outline:none;transition:border-color .15s,box-shadow .15s}
.fc-form-grid input:focus,.fc-form-grid select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(21,94,239,.12)}
.fc-toggle-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px;font-size:1.3rem;color:var(--fg-secondary)}
.fc-toggle-row label{display:inline-flex;align-items:center;gap:8px}
.fc-toggle-row input{accent-color:var(--accent)}
.fc-progress-bar{height:12px;border-radius:9999px;background:var(--bg-subtle);overflow:hidden;border:1px solid var(--border)}
.fc-progress-bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--accent),var(--accent-secondary));border-radius:inherit;transition:width .25s ease}
.fc-stage-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.fc-stage-list span{padding:8px 12px;border-radius:9999px;border:1px solid var(--border);background:var(--bg-subtle);font-size:1.1rem;color:var(--fg-secondary)}
.fc-stage-list span.active{background:var(--bg-card);color:var(--fg);border-color:var(--accent)}
.fc-download-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.fc-download-meta .fc-output-item strong{font-size:1.4rem}
.fc-bullet-list{list-style:none;margin-top:10px;display:grid;gap:10px;color:var(--fg-secondary)}
.fc-bullet-list li{display:flex;align-items:center;gap:10px}
.fc-bullet-list li::before{content:"";width:8px;height:8px;border-radius:9999px;background:var(--accent);flex:0 0 auto}
.fc-side-text{margin-top:10px;color:var(--fg-secondary)}
.fc-detect-notice{grid-column:1/-1;padding:14px 18px;border-radius:16px;background:rgba(234,179,8,.06);border:1px solid rgba(234,179,8,.18);color:var(--fg-secondary);font-size:1.3rem;line-height:1.5}
.fc-detect-notice strong{color:var(--fg)}
.fc-hidden{display:none !important}
[hidden]{display:none !important}

@media (max-width: 1024px){
  .fc-hero-inner,.fc-layout{grid-template-columns:1fr}
  .fc-side-column{position:static}
}

@media (max-width: 768px){
  .fc-hero{padding-top:56px}
  .fc-title{font-size:3.6rem}
  .fc-hero-card-grid,.fc-detect-grid,.fc-form-grid,.fc-download-meta{grid-template-columns:1fr}
  .fc-section-head,.fc-actions-row{align-items:stretch;flex-direction:column}
  .fc-card{padding:18px}
  .fc-form-grid-2{grid-template-columns:1fr}
}

@media (prefers-color-scheme: dark){
  .fc-hero-orb-a{background:rgba(107,159,255,.16)}
  .fc-hero-orb-b{background:rgba(255,109,213,.12)}
}
