* { box-sizing: border-box; }

:root {
    --background: #070910;
    --background-2: #0a0e18;
    --panel: #111724;
    --panel-soft: #141c2c;
    --panel-dark: #0b101a;
    --border: #263148;
    --border-soft: rgba(142, 160, 184, 0.16);
    --cyan: #00e5ff;
    --cyan-soft: #79f1ff;
    --purple: #9b5cff;
    --purple-soft: #bd94ff;
    --text: #eef7ff;
    --muted: #8ea0b8;
    --danger: #ff6b8a;
    --success: #6ef3c5;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 15% -10%, rgba(0, 229, 255, .14), transparent 30rem),
        radial-gradient(circle at 90% 10%, rgba(155, 92, 255, .17), transparent 34rem),
        linear-gradient(180deg, #070910 0%, #080b13 55%, #070910 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
    opacity: .7;
    z-index: -2;
}

button, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }
.skip-link { position:absolute; left:-9999px; top:10px; z-index:100; padding:10px 14px; background:var(--text); color:#05070d; border-radius:8px; }
.skip-link:focus { left:10px; }

.site-header {
    width: min(1180px, calc(100% - 32px));
    min-height: 78px;
    margin: 14px auto 0;
    padding: 0 12px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(142,160,184,.13);
    border-radius: 18px;
    background: rgba(9, 13, 22, .72);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0,0,0,.2);
    position: sticky;
    top: 12px;
    z-index: 50;
}
.brand { display:flex; align-items:center; gap:11px; text-decoration:none; }
.brand-icon { width:38px; height:38px; display:grid; place-items:center; border:1px solid var(--cyan); border-radius:11px; color:var(--cyan); font-weight:800; box-shadow:0 0 22px rgba(0,229,255,.18), inset 0 0 12px rgba(0,229,255,.05); }
.brand-copy { display:grid; line-height:1; gap:4px; }
.brand-copy strong { font-size:.9rem; letter-spacing:.12em; }
.brand-copy small { color:var(--muted); font-size:.58rem; letter-spacing:.22em; }
nav { display:flex; align-items:center; gap:24px; }
nav a { color:var(--muted); text-decoration:none; font-size:.9rem; transition:.2s; }
nav a:hover { color:var(--text); }
nav .nav-cta { padding:10px 14px; border:1px solid rgba(0,229,255,.35); border-radius:10px; color:var(--cyan); background:rgba(0,229,255,.06); }
nav .nav-cta:hover { background:rgba(0,229,255,.12); color:var(--cyan-soft); }

main { width:min(1120px, calc(100% - 32px)); margin:auto; }
.eyebrow { margin:0 0 10px; color:var(--cyan); font-size:.72rem; font-weight:800; letter-spacing:.16em; }
.status-dot { display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:var(--success); box-shadow:0 0 12px rgba(110,243,197,.65); vertical-align:1px; }

.hero { min-height:650px; padding:100px 0 76px; display:grid; grid-template-columns:1.06fr .94fr; gap:76px; align-items:center; }
.hero-copy { max-width:650px; }
.hero h1 { margin:0; font-size:clamp(3.4rem, 6.3vw, 6.45rem); line-height:.92; letter-spacing:-.065em; }
.hero h1 span { color:transparent; background:linear-gradient(90deg, var(--cyan), #62d7ff 42%, var(--purple)); background-clip:text; -webkit-background-clip:text; }
.hero-description { max-width:650px; margin:28px 0 0; color:#a8b8cc; font-size:1.08rem; line-height:1.75; }
.hero-actions { display:flex; gap:12px; margin-top:30px; }
.primary-button, .secondary-button { min-height:48px; padding:0 18px; display:inline-flex; align-items:center; justify-content:center; gap:12px; border-radius:12px; text-decoration:none; font-weight:800; font-size:.92rem; transition:.2s; }
.primary-button { background:linear-gradient(90deg, var(--cyan), #6ceeff); color:#041014; box-shadow:0 0 26px rgba(0,229,255,.16); }
.primary-button:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(0,229,255,.22); }
.secondary-button { border:1px solid var(--border); background:rgba(17,23,36,.72); color:var(--text); }
.secondary-button:hover { border-color:rgba(155,92,255,.65); transform:translateY(-2px); }
.trust-row { display:flex; flex-wrap:wrap; gap:20px; margin-top:25px; color:var(--muted); font-size:.82rem; }
.trust-row span::first-letter { color:var(--success); }

.hero-visual { position:relative; min-height:420px; display:grid; place-items:center; }
.hero-visual::before { content:""; position:absolute; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle, rgba(0,229,255,.13), transparent 68%); filter:blur(12px); }
.hero-visual::after { content:""; position:absolute; width:310px; height:310px; border-radius:50%; border:1px solid rgba(155,92,255,.2); transform:rotate(18deg); box-shadow:0 0 70px rgba(155,92,255,.08); }
.visual-window { width:min(100%, 470px); position:relative; z-index:2; border:1px solid #2b3952; border-radius:20px; overflow:hidden; background:linear-gradient(180deg, rgba(20,28,44,.96), rgba(8,12,20,.98)); box-shadow:var(--shadow), 0 0 70px rgba(0,229,255,.05); transform:rotate(-1.5deg); }
.window-bar { min-height:48px; padding:0 15px; display:flex; align-items:center; gap:7px; border-bottom:1px solid var(--border-soft); background:#0d131f; }
.window-bar > span { width:8px; height:8px; border-radius:50%; background:#344056; }
.window-bar > span:first-child { background:#ff6b8a; }
.window-bar > span:nth-child(2) { background:#ffd46a; }
.window-bar > span:nth-child(3) { background:#6ef3c5; }
.window-bar small { margin-left:auto; color:#6f819b; font-size:.7rem; letter-spacing:.08em; }
.visual-content { padding:24px; }
.visual-file { padding:15px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px; border:1px solid var(--border); border-radius:14px; background:#0a101a; }
.file-badge { width:48px; height:48px; display:grid; place-items:center; border:1px solid rgba(0,229,255,.5); border-radius:12px; color:var(--cyan); font-size:.7rem; font-weight:900; }
.visual-file strong, .visual-file small { display:block; }
.visual-file strong { font-size:.85rem; }
.visual-file small { margin-top:4px; color:var(--muted); font-size:.7rem; }
.check { width:25px; height:25px; display:grid; place-items:center; border-radius:50%; background:rgba(110,243,197,.09); color:var(--success); font-size:.75rem; }
.visual-route { margin:28px 0 20px; display:grid; grid-template-columns:1fr auto 1fr; gap:12px; align-items:center; text-align:center; }
.visual-route span { padding:12px; border:1px solid var(--border); border-radius:10px; background:#0b111c; font-weight:900; font-size:.78rem; }
.visual-route span:last-child { border-color:rgba(155,92,255,.42); color:var(--purple-soft); }
.visual-route b { color:var(--cyan); }
.visual-progress { height:7px; border-radius:999px; overflow:hidden; background:#151d2d; }
.visual-progress i { display:block; width:84%; height:100%; border-radius:inherit; background:linear-gradient(90deg, var(--cyan), var(--purple)); box-shadow:0 0 15px rgba(0,229,255,.3); }
.visual-ready { margin-top:15px; display:flex; justify-content:space-between; color:var(--muted); font-size:.7rem; }
.visual-ready strong { color:var(--success); letter-spacing:.12em; }
.floating-chip { position:absolute; z-index:3; padding:9px 13px; border:1px solid rgba(155,92,255,.4); border-radius:10px; background:rgba(11,16,26,.9); color:var(--purple-soft); font-size:.72rem; font-weight:800; letter-spacing:.08em; box-shadow:0 12px 30px rgba(0,0,0,.35); }
.chip-one { top:35px; right:-2px; transform:rotate(6deg); }
.chip-two { bottom:50px; left:2px; color:var(--cyan); border-color:rgba(0,229,255,.35); transform:rotate(-7deg); }

.quick-stats { margin:0 0 48px; display:grid; grid-template-columns:repeat(4, 1fr); border:1px solid var(--border-soft); border-radius:18px; background:rgba(13,18,30,.62); overflow:hidden; }
.quick-stats div { padding:20px 22px; border-right:1px solid var(--border-soft); }
.quick-stats div:last-child { border-right:0; }
.quick-stats strong, .quick-stats span { display:block; }
.quick-stats strong { color:var(--text); font-size:1.2rem; }
.quick-stats span { margin-top:4px; color:var(--muted); font-size:.75rem; }

.ad-section { margin:0 auto 50px; text-align:center; }
.ad-label { display:block; margin-bottom:7px; color:#617089; font-size:.65rem; text-transform:uppercase; letter-spacing:.14em; }
.ad-banner { max-width:760px; min-height:84px; margin:auto; display:flex; flex-direction:column; align-items:center; justify-content:center; border:1px dashed #2c3952; border-radius:14px; background:rgba(13,17,28,.56); color:#536079; }
.ad-banner span { font-size:.8rem; text-transform:uppercase; letter-spacing:.12em; }
.ad-banner small { margin-top:4px; color:#46536a; }

.converter-shell { padding:26px; display:grid; grid-template-columns:.72fr 1.28fr; gap:24px; border:1px solid var(--border-soft); border-radius:28px; background:linear-gradient(135deg, rgba(17,23,36,.9), rgba(8,12,20,.93)); box-shadow:var(--shadow); }
.converter-side { padding:30px 22px 22px; }
.converter-side h2 { margin:0; font-size:clamp(2.2rem, 4vw, 3.8rem); line-height:1.04; letter-spacing:-.045em; }
.converter-side h2 span { color:var(--purple-soft); }
.converter-side > p:not(.eyebrow) { margin-top:20px; color:var(--muted); line-height:1.7; }
.side-points { margin-top:34px; display:grid; gap:12px; }
.side-points div { padding:12px 0; display:grid; grid-template-columns:34px 1fr; gap:10px; border-bottom:1px solid var(--border-soft); }
.side-points span { color:var(--cyan); font-size:.68rem; font-weight:800; }
.side-points p { margin:0; }
.side-points strong, .side-points small { display:block; }
.side-points strong { font-size:.85rem; }
.side-points small { margin-top:3px; color:var(--muted); font-size:.72rem; }

.converter-card { padding:30px; border:1px solid var(--border); border-radius:22px; background:linear-gradient(180deg, #111724, #0a0e17); box-shadow:0 20px 60px rgba(0,0,0,.32), 0 0 45px rgba(0,229,255,.025); }
.section-header { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:24px; }
.section-header h2 { margin:0; font-size:2rem; }
.privacy-message { margin:0; color:var(--muted); font-size:.8rem; white-space:nowrap; }
.drop-zone { width:100%; min-height:240px; padding:28px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; border:1px dashed #3b4d6e; border-radius:18px; background:radial-gradient(circle at 50% 40%, rgba(0,229,255,.035), transparent 12rem), var(--panel-dark); cursor:pointer; transition:.2s; }
.drop-zone:hover, .drop-zone.dragging { border-color:var(--cyan); background:rgba(0,229,255,.035); transform:translateY(-1px); }
.upload-icon { width:60px; height:60px; display:grid; place-items:center; margin-bottom:5px; border:1px solid var(--cyan); border-radius:18px; color:var(--cyan); font-size:1.7rem; box-shadow:0 0 24px rgba(0,229,255,.12); }
.drop-zone strong { font-size:1.18rem; }
.drop-zone span { color:var(--purple-soft); }
.drop-zone small { margin-top:6px; color:var(--muted); }
.file-details { margin-top:16px; padding:14px; display:flex; align-items:center; justify-content:space-between; gap:16px; border:1px solid var(--border); border-radius:14px; background:var(--panel-dark); }
.file-info { display:flex; align-items:center; gap:12px; }
.file-info strong, .file-info span { display:block; }
.file-info span { margin-top:3px; color:var(--muted); font-size:.8rem; }
.file-icon { width:48px; height:48px; display:grid; place-items:center; border:1px solid var(--purple); border-radius:12px; color:var(--purple-soft); font-size:.72rem; font-weight:bold; }
.remove-button { border:none; background:transparent; color:var(--muted); cursor:pointer; }
.remove-button:hover { color:var(--danger); }
.conversion-controls { margin-top:22px; display:grid; grid-template-columns:1fr auto 1fr; gap:14px; align-items:end; }
.conversion-controls label { display:grid; gap:8px; }
.conversion-controls label > span { color:var(--muted); font-size:.78rem; font-weight:bold; }
select { width:100%; height:50px; padding:0 14px; border:1px solid var(--border); border-radius:12px; outline:none; background:var(--panel-dark); color:var(--text); }
select:focus { border-color:var(--cyan); box-shadow:0 0 0 3px rgba(0,229,255,.06); }
.arrow { width:46px; height:50px; display:grid; place-items:center; color:var(--purple-soft); font-size:1.4rem; }
.convert-button { width:100%; min-height:54px; margin-top:22px; border:none; border-radius:12px; background:linear-gradient(90deg, var(--cyan), #57f1ff); color:#061116; font-weight:900; cursor:pointer; box-shadow:0 0 22px rgba(0,229,255,.15); }
.convert-button span { margin-left:8px; }
.convert-button:hover:not(:disabled) { box-shadow:0 0 30px rgba(0,229,255,.35); }
.convert-button:disabled { opacity:.38; cursor:not-allowed; }
.status-message { min-height:23px; margin:12px 0 0; color:var(--muted); }
.status-message.error { color:var(--danger); }
.status-message.success { color:var(--success); }
.result-card { margin-top:16px; padding:16px; display:flex; align-items:center; justify-content:space-between; gap:18px; border:1px solid rgba(110,243,197,.28); border-radius:14px; background:rgba(110,243,197,.04); }
.result-card .eyebrow { margin-bottom:5px; color:var(--success); }
.download-button { padding:12px 18px; border:none; border-radius:12px; background:var(--purple); color:#fff; font-weight:bold; cursor:pointer; }
.download-button:hover { box-shadow:0 0 20px rgba(155,92,255,.35); }
.hidden { display:none !important; }
.hidden-input { position:absolute; width:1px; height:1px; overflow:hidden; opacity:0; }

.formats-section, .how-section, .faq-section { padding:104px 0 10px; }
.section-heading { margin-bottom:30px; display:flex; justify-content:space-between; align-items:end; gap:40px; }
.section-heading h2 { margin:0; font-size:clamp(2.2rem, 4.4vw, 4rem); letter-spacing:-.045em; }
.section-heading > p { max-width:440px; margin:0; color:var(--muted); line-height:1.7; }
.format-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
.format-card { min-height:154px; padding:20px; display:grid; grid-template-columns:1fr auto 1fr; grid-template-rows:auto 1fr; align-items:center; gap:8px 10px; border:1px solid var(--border); border-radius:18px; background:linear-gradient(145deg, var(--panel), #0c121d); text-decoration:none; transition:.2s; position:relative; overflow:hidden; }
.format-card::after { content:""; position:absolute; width:120px; height:120px; right:-55px; bottom:-70px; border-radius:50%; background:rgba(155,92,255,.1); filter:blur(5px); }
.format-card:hover { border-color:rgba(155,92,255,.6); transform:translateY(-3px); box-shadow:0 15px 40px rgba(0,0,0,.22); }
.format-type { font-weight:900; letter-spacing:.06em; }
.format-type.accent { color:var(--purple-soft); text-align:right; }
.route-arrow { color:var(--cyan); }
.format-card small { grid-column:1 / -1; align-self:end; color:var(--muted); font-size:.75rem; line-height:1.45; }

.step-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.step-grid article { min-height:250px; padding:24px; border:1px solid var(--border); border-radius:18px; background:linear-gradient(180deg, rgba(17,23,36,.9), rgba(11,16,26,.9)); position:relative; }
.step-number { position:absolute; top:20px; right:20px; color:#3b4c67; font-size:.7rem; font-weight:900; }
.feature-icon { width:46px; height:46px; display:grid; place-items:center; border:1px solid rgba(0,229,255,.32); border-radius:13px; color:var(--cyan); background:rgba(0,229,255,.035); font-size:1.2rem; }
.step-grid h3 { margin:24px 0 9px; font-size:1.15rem; }
.step-grid p { margin:0; color:var(--muted); line-height:1.65; }

.privacy-panel { margin:105px 0 10px; padding:34px; display:grid; grid-template-columns:.55fr 1fr .9fr; gap:34px; align-items:center; border:1px solid rgba(0,229,255,.22); border-radius:24px; background:linear-gradient(120deg, rgba(0,229,255,.045), rgba(155,92,255,.04) 55%, rgba(11,16,26,.9)); box-shadow:0 20px 60px rgba(0,0,0,.22); }
.privacy-art { min-height:210px; display:grid; place-items:center; position:relative; }
.shield { width:108px; height:108px; display:grid; place-items:center; border:1px solid rgba(0,229,255,.5); border-radius:32px; color:var(--cyan); font-size:3rem; transform:rotate(45deg); box-shadow:0 0 45px rgba(0,229,255,.09), inset 0 0 35px rgba(0,229,255,.05); }
.shield::first-letter { transform:rotate(-45deg); }
.privacy-art > span { position:absolute; border:1px solid rgba(155,92,255,.18); border-radius:50%; }
.privacy-art > span:nth-child(2) { width:150px; height:150px; }
.privacy-art > span:nth-child(3) { width:190px; height:190px; }
.privacy-art > span:nth-child(4) { width:225px; height:225px; }
.privacy-copy h2 { margin:0; font-size:2rem; line-height:1.08; letter-spacing:-.035em; }
.privacy-copy p:not(.eyebrow) { color:var(--muted); line-height:1.7; }
.privacy-copy a { color:var(--cyan); text-decoration:none; font-weight:800; font-size:.86rem; }
.privacy-list { display:grid; gap:12px; }
.privacy-list div { padding:14px 0; border-bottom:1px solid var(--border-soft); }
.privacy-list div:last-child { border-bottom:0; }
.privacy-list strong, .privacy-list span { display:block; }
.privacy-list strong { font-size:.85rem; }
.privacy-list span { margin-top:4px; color:var(--muted); font-size:.75rem; }

.faq-section { padding-bottom:95px; }
.faq-list { border-top:1px solid var(--border); }
details { border-bottom:1px solid var(--border); }
summary { padding:20px 4px; display:flex; justify-content:space-between; gap:20px; cursor:pointer; list-style:none; font-weight:750; }
summary::-webkit-details-marker { display:none; }
summary span { color:var(--cyan); }
details p { max-width:780px; margin:-5px 0 22px; color:var(--muted); line-height:1.7; }

.site-footer { width:min(1180px, calc(100% - 32px)); margin:0 auto 28px; padding:34px; display:grid; grid-template-columns:1.5fr .7fr .7fr; gap:34px; border:1px solid var(--border-soft); border-radius:22px; background:#090d16; }
.footer-brand p { max-width:360px; margin:18px 0 0; color:var(--muted); line-height:1.6; font-size:.84rem; }
.footer-links { display:grid; align-content:start; gap:9px; }
.footer-links strong { margin-bottom:4px; font-size:.8rem; }
.footer-links a { color:var(--muted); text-decoration:none; font-size:.8rem; }
.footer-links a:hover { color:var(--cyan); }
.footer-bottom { grid-column:1 / -1; padding-top:20px; display:flex; justify-content:space-between; border-top:1px solid var(--border-soft); color:#66758d; font-size:.72rem; }

/* Dedicated tool pages */
.tool-hero { padding:82px 0 48px; display:grid; grid-template-columns:1fr .8fr; gap:60px; align-items:end; }
.tool-hero h1 { margin:0; font-size:clamp(3rem, 6vw, 5.8rem); line-height:.95; letter-spacing:-.055em; }
.tool-hero h1 span { color:var(--cyan); }
.tool-hero p { margin:20px 0 0; max-width:620px; color:var(--muted); line-height:1.75; }
.breadcrumbs { margin-bottom:18px; color:#66758d; font-size:.72rem; }
.breadcrumbs a { text-decoration:none; color:#7d91ad; }
.tool-hero-aside { padding:20px; border:1px solid var(--border); border-radius:16px; background:var(--panel-dark); }
.tool-hero-aside strong { display:block; font-size:.8rem; }
.tool-hero-aside span { display:block; margin-top:6px; color:var(--muted); font-size:.75rem; line-height:1.5; }
.tool-page .converter-shell { margin-bottom:84px; }
.content-grid { padding:0 0 90px; display:grid; grid-template-columns:1.05fr .95fr; gap:18px; }
.info-card { padding:28px; border:1px solid var(--border); border-radius:18px; background:var(--panel); }
.info-card h2 { margin:0 0 12px; font-size:1.6rem; }
.info-card p, .info-card li { color:var(--muted); line-height:1.7; }
.info-card ul { margin:14px 0 0; padding-left:20px; }

/* About / legal pages */
.policy-page { max-width:900px; margin:0 auto; padding:86px 0 100px; }
.policy-page::before { content:""; display:block; width:58px; height:4px; margin-bottom:26px; border-radius:999px; background:linear-gradient(90deg, var(--cyan), var(--purple)); }
.policy-page h1 { margin:0; font-size:clamp(2.7rem, 6vw, 4.8rem); line-height:.95; letter-spacing:-.05em; background:linear-gradient(90deg, var(--cyan), var(--purple)); color:transparent; background-clip:text; -webkit-background-clip:text; }
.policy-updated { margin:14px 0 30px; color:var(--muted); }
.policy-card { padding:34px; border:1px solid var(--border); border-radius:22px; background:linear-gradient(180deg, var(--panel), var(--panel-dark)); box-shadow:0 20px 60px rgba(0,0,0,.3); }
.policy-card h2 { margin-top:36px; margin-bottom:10px; color:var(--cyan); font-size:1.18rem; }
.policy-card h2:first-of-type { margin-top:24px; }
.policy-card p { color:var(--muted); line-height:1.78; }
body > footer:not(.site-footer) { min-height:100px; padding:28px; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px; border-top:1px solid var(--border); color:var(--muted); }
body > footer:not(.site-footer) strong { color:var(--cyan); }
body > footer:not(.site-footer) a { color:var(--muted); text-decoration:none; }
body > footer:not(.site-footer) a:hover { color:var(--cyan); }

@media (max-width: 920px) {
    .hero { grid-template-columns:1fr; gap:30px; padding-top:80px; }
    .hero-copy { max-width:760px; }
    .hero-visual { min-height:380px; }
    .converter-shell { grid-template-columns:1fr; }
    .converter-side { padding:18px 6px 10px; }
    .format-grid { grid-template-columns:repeat(2, 1fr); }
    .privacy-panel { grid-template-columns:.65fr 1.35fr; }
    .privacy-list { grid-column:1 / -1; grid-template-columns:repeat(3,1fr); }
    .privacy-list div { border-bottom:0; border-right:1px solid var(--border-soft); }
    .privacy-list div:last-child { border-right:0; }
    .tool-hero { grid-template-columns:1fr; gap:24px; }
}

@media (max-width: 760px) {
    .site-header { min-height:auto; padding:14px; }
    nav { gap:12px; }
    nav a:not(.nav-cta) { display:none; }
    main { width:min(100% - 24px, 1120px); }
    .hero { min-height:auto; padding:68px 0 50px; }
    .hero h1 { font-size:clamp(3.2rem, 16vw, 5rem); }
    .hero-actions { flex-direction:column; align-items:stretch; }
    .trust-row { gap:10px 16px; }
    .quick-stats { grid-template-columns:repeat(2,1fr); }
    .quick-stats div:nth-child(2) { border-right:0; }
    .quick-stats div:nth-child(-n+2) { border-bottom:1px solid var(--border-soft); }
    .converter-shell { padding:14px; border-radius:22px; }
    .converter-card { padding:20px; }
    .section-header { align-items:flex-start; flex-direction:column; }
    .conversion-controls { grid-template-columns:1fr; }
    .arrow { width:100%; height:28px; transform:rotate(90deg); }
    .section-heading { align-items:flex-start; flex-direction:column; gap:14px; }
    .format-grid, .step-grid, .content-grid { grid-template-columns:1fr; }
    .privacy-panel { grid-template-columns:1fr; padding:26px; }
    .privacy-art { min-height:170px; }
    .privacy-list { grid-column:auto; grid-template-columns:1fr; }
    .privacy-list div { border-right:0; border-bottom:1px solid var(--border-soft); }
    .site-footer { padding:26px; grid-template-columns:1fr 1fr; }
    .footer-brand { grid-column:1 / -1; }
    .footer-bottom { flex-direction:column; gap:5px; }
}

@media (max-width: 520px) {
    .brand-copy small { display:none; }
    .site-header .nav-cta { font-size:.75rem; }
    .visual-window { transform:none; }
    .floating-chip { display:none; }
    .quick-stats { grid-template-columns:1fr 1fr; }
    .drop-zone { min-height:210px; }
    .result-card { flex-direction:column; align-items:stretch; }
    .download-button { width:100%; }
    .site-footer { grid-template-columns:1fr; }
    .footer-brand, .footer-bottom { grid-column:1; }
}


/* Full converter / expanded format library */
.convert-hero { padding-bottom:38px; }
.format-library { padding:10px 0 88px; }
.library-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.library-grid article { min-height:150px; padding:22px; border:1px solid var(--border); border-radius:18px; background:linear-gradient(145deg, var(--panel), #0c121d); }
.library-grid strong { display:block; margin-bottom:26px; color:var(--cyan); font-size:1.05rem; letter-spacing:.04em; }
.library-grid span { color:var(--muted); font-size:.82rem; line-height:1.6; }
.convert-notes { padding-bottom:100px; }
.info-card code { color:var(--cyan); background:rgba(0,229,255,.06); padding:2px 5px; border-radius:5px; }
@media (max-width: 920px) { .library-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 520px) { .library-grid { grid-template-columns:1fr; } }

/* =========================================================
   V3 — EDITOR-STYLE CONVERTER + MOTION
   ========================================================= */
.converter-editor {
    margin: 8px 0 86px;
    overflow: hidden;
    border: 1px solid rgba(111, 135, 173, .28);
    border-radius: 20px;
    background: #0a0f18;
    box-shadow: 0 28px 90px rgba(0,0,0,.42), 0 0 80px rgba(0,229,255,.035);
    animation: editorEnter .65s cubic-bezier(.2,.8,.2,1) both;
}
.editor-titlebar {
    min-height: 48px;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--border-soft);
    background: linear-gradient(180deg, #111827, #0d131e);
}
.window-dots { display:flex; gap:7px; align-items:center; }
.window-dots span { width:9px; height:9px; border-radius:50%; background:#344056; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.window-dots span:first-child { background:#ff6b8a; }
.window-dots span:nth-child(2) { background:#ffd46a; }
.window-dots span:nth-child(3) { background:#6ef3c5; }
.editor-title { justify-self:center; display:flex; align-items:center; gap:9px; color:#b9c8da; font-size:.78rem; }
.editor-title strong { color:#dce9f6; font-weight:700; }
.editor-title small { color:#60728b; }
.editor-file-icon { width:20px; height:20px; display:grid; place-items:center; border:1px solid rgba(0,229,255,.35); border-radius:5px; color:var(--cyan); font-size:.62rem; font-weight:900; }
.editor-local { justify-self:end; color:#71849e; font-size:.7rem; letter-spacing:.03em; }

.editor-toolbar {
    min-height: 76px;
    padding: 12px 15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border-bottom:1px solid var(--border-soft);
    background:#0d131f;
}
.toolbar-group { display:flex; align-items:end; gap:10px; min-width:0; }
.toolbar-field { display:grid; gap:5px; min-width:180px; }
.toolbar-field > span { color:#61748e; font-size:.62rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.toolbar-field select {
    height:40px;
    border-radius:8px;
    background:#090e17;
    border-color:#243149;
    font-size:.82rem;
}
.swap-indicator {
    width:38px; height:40px; margin:0 1px;
    border:1px solid #243149; border-radius:8px;
    background:#0a101a; color:var(--purple-soft);
    cursor:default;
}
.editor-convert {
    width:auto;
    min-width:132px;
    min-height:42px;
    margin:0;
    padding:0 18px;
    border-radius:9px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.editor-convert:hover:not(:disabled) { transform:translateY(-2px); filter:brightness(1.04); }
.editor-convert:active:not(:disabled) { transform:translateY(0) scale(.98); }
.editor-convert .button-arrow { transition: transform .22s ease; }
.editor-convert:hover:not(:disabled) .button-arrow { transform:translateX(4px); }

.editor-workspace {
    display:grid;
    grid-template-columns:minmax(0, 1fr) 34px minmax(0, 1fr);
    min-height:500px;
    background:#070b12;
}
.editor-pane { min-width:0; display:flex; flex-direction:column; background:#0a0f18; }
.source-pane { border-right:1px solid rgba(255,255,255,.018); }
.output-pane { border-left:1px solid rgba(255,255,255,.018); }
.pane-header {
    min-height:58px;
    padding:10px 14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border-bottom:1px solid var(--border-soft);
    background:#0b111b;
}
.pane-header > div { display:grid; gap:2px; }
.pane-kicker { color:#52657e; font-size:.57rem; font-weight:800; letter-spacing:.16em; }
.pane-header strong { font-size:.82rem; font-weight:700; }
.format-badge { padding:5px 8px; border:1px solid #26344c; border-radius:6px; background:#0c1420; color:#70829b; font-size:.6rem; font-weight:900; letter-spacing:.09em; }
.format-badge.active { color:var(--cyan); border-color:rgba(0,229,255,.35); background:rgba(0,229,255,.05); box-shadow:0 0 16px rgba(0,229,255,.06); }
.format-badge.output.active { color:var(--purple-soft); border-color:rgba(155,92,255,.35); background:rgba(155,92,255,.05); }
.pane-body { min-height:0; flex:1; display:flex; flex-direction:column; position:relative; }

.editor-drop-zone {
    min-height:126px;
    margin:14px;
    padding:18px;
    border-radius:10px;
    border:1px dashed #30405a;
    background:repeating-linear-gradient(135deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 8px, transparent 8px, transparent 16px), #090e16;
    transition:border-color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}
.editor-drop-zone:hover, .editor-drop-zone.dragging {
    transform:none;
    border-color:rgba(0,229,255,.65);
    background:rgba(0,229,255,.025);
    box-shadow:inset 0 0 0 1px rgba(0,229,255,.06), 0 0 30px rgba(0,229,255,.04);
}
.editor-drop-zone .upload-icon {
    width:36px; height:36px; margin-bottom:2px;
    border-radius:9px;
    font-size:1rem;
    background:#0b131e;
    animation:floatUpload 3s ease-in-out infinite;
}
.editor-drop-zone strong { font-size:.9rem; }
.editor-drop-zone > span { color:#8ba0ba; font-size:.76rem; }
.editor-drop-zone small { max-width:90%; color:#4f627b; font-size:.62rem; line-height:1.5; text-align:center; }

.file-details {
    margin:0 14px 10px;
    padding:9px 10px;
    border-radius:8px;
    background:#0b111a;
    animation:fileSlide .32s cubic-bezier(.2,.8,.2,1) both;
}
.file-icon { width:36px; height:36px; border-radius:8px; }
.remove-button { padding:6px 8px; border-radius:6px; font-size:.72rem; transition:.18s; }
.remove-button:hover { background:rgba(255,107,138,.08); }

.editor-preview {
    flex:1;
    min-height:220px;
    display:grid;
    grid-template-columns:38px minmax(0,1fr);
    overflow:hidden;
    border-top:1px solid var(--border-soft);
    background:#080d14;
}
.preview-gutter {
    padding:14px 0;
    display:grid;
    align-content:start;
    gap:8px;
    border-right:1px solid #172130;
    background:#090f18;
    color:#33435a;
    font: .68rem/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    text-align:center;
    user-select:none;
}
.preview-content {
    min-width:0;
    padding:14px 16px;
    overflow:auto;
    white-space:pre;
    color:#a9bdd4;
    font: .75rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    scrollbar-color:#27354c #0a0f18;
}
.preview-content.is-live { animation:previewReveal .34s ease both; }
.preview-placeholder { color:#3f526a; }
.preview-content img {
    display:block;
    max-width:min(100%, 520px);
    max-height:320px;
    margin:8px auto;
    object-fit:contain;
    border:1px solid #26354c;
    border-radius:10px;
    background:linear-gradient(45deg,#111827 25%,transparent 25%),linear-gradient(-45deg,#111827 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#111827 75%),linear-gradient(-45deg,transparent 75%,#111827 75%);
    background-size:18px 18px;
    background-position:0 0,0 9px,9px -9px,-9px 0;
}
.workspace-divider { display:grid; place-items:center; border-left:1px solid var(--border-soft); border-right:1px solid var(--border-soft); background:#080d15; }
.workspace-divider span { width:24px; height:24px; display:grid; place-items:center; border:1px solid #25344b; border-radius:6px; color:#765aa8; font-size:.78rem; background:#0b111b; }

.result-card {
    margin:0;
    padding:12px 14px;
    border:0;
    border-top:1px solid rgba(110,243,197,.18);
    border-radius:0;
    background:linear-gradient(90deg, rgba(110,243,197,.05), rgba(155,92,255,.025));
    animation:resultReveal .38s cubic-bezier(.2,.8,.2,1) both;
}
.result-meta { display:flex; align-items:center; gap:10px; min-width:0; }
.result-meta small, .result-meta strong { display:block; }
.result-meta small { margin-bottom:3px; color:#6d819a; font-size:.62rem; }
.result-meta strong { max-width:300px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.8rem; }
.result-check { width:28px; height:28px; display:grid; place-items:center; border-radius:7px; color:var(--success); background:rgba(110,243,197,.08); border:1px solid rgba(110,243,197,.2); }
.download-button { padding:9px 12px; border-radius:8px; font-size:.75rem; transition:.2s; }
.download-button:hover { transform:translateY(-1px); box-shadow:0 8px 24px rgba(155,92,255,.24); }

.editor-statusbar {
    min-height:36px;
    padding:0 14px;
    display:grid;
    grid-template-columns:minmax(100px,1fr) 180px auto;
    align-items:center;
    gap:14px;
    border-top:1px solid var(--border-soft);
    background:#0b111b;
}
.editor-statusbar .status-message { min-height:0; margin:0; color:#60738d; font-size:.66rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.editor-statusbar .status-message.success { color:var(--success); }
.editor-statusbar .status-message.error { color:var(--danger); }
.status-meta { display:flex; gap:14px; color:#52647c; font-size:.62rem; }
.editor-progress { height:3px; overflow:hidden; border-radius:999px; background:#141d2a; opacity:.45; }
.editor-progress span { display:block; width:28%; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--cyan),var(--purple)); transform:translateX(-120%); }
.editor-progress.busy { opacity:1; }
.editor-progress.busy span { animation:progressSweep 1.05s ease-in-out infinite; }
.editor-progress.done span { width:100%; transform:none; animation:progressDone .45s ease both; }

/* Scroll motion: JS enables these only when IntersectionObserver is available. */
.motion-enabled .reveal-target { opacity:0; transform:translateY(22px); transition:opacity .58s ease, transform .58s cubic-bezier(.2,.8,.2,1); }
.motion-enabled .reveal-target.reveal-visible { opacity:1; transform:none; }
.motion-enabled .format-card.reveal-target,
.motion-enabled .library-grid article.reveal-target,
.motion-enabled .step-grid article.reveal-target { transition-delay:var(--reveal-delay, 0ms); }

@keyframes editorEnter { from { opacity:0; transform:translateY(18px) scale(.992); } to { opacity:1; transform:none; } }
@keyframes floatUpload { 0%,100% { transform:translateY(0); box-shadow:0 0 18px rgba(0,229,255,.08); } 50% { transform:translateY(-3px); box-shadow:0 0 25px rgba(0,229,255,.14); } }
@keyframes fileSlide { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
@keyframes previewReveal { from { opacity:.25; transform:translateY(3px); } to { opacity:1; transform:none; } }
@keyframes resultReveal { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
@keyframes progressSweep { 0% { transform:translateX(-120%); } 60%,100% { transform:translateX(430%); } }
@keyframes progressDone { from { opacity:.3; } to { opacity:1; } }

@media (max-width: 900px) {
    .editor-titlebar { grid-template-columns:auto 1fr auto; }
    .editor-title { justify-self:start; }
    .editor-title small { display:none; }
    .editor-toolbar { align-items:stretch; flex-direction:column; }
    .toolbar-group { width:100%; }
    .toolbar-field { flex:1; min-width:0; }
    .editor-convert { width:100%; }
    .editor-workspace { grid-template-columns:1fr; }
    .workspace-divider { min-height:32px; border-left:0; border-right:0; border-top:1px solid var(--border-soft); border-bottom:1px solid var(--border-soft); }
    .workspace-divider span { transform:rotate(90deg); }
    .output-pane { border-left:0; }
    .editor-preview { min-height:250px; }
    .editor-statusbar { grid-template-columns:1fr 120px; }
    .status-meta { display:none; }
}
@media (max-width: 560px) {
    .converter-editor { margin-left:-5px; margin-right:-5px; border-radius:14px; }
    .editor-local { display:none; }
    .editor-titlebar { grid-template-columns:auto 1fr; }
    .editor-title { justify-self:end; }
    .toolbar-group { display:grid; grid-template-columns:1fr 34px 1fr; }
    .toolbar-field select { padding:0 9px; }
    .swap-indicator { width:34px; }
    .editor-drop-zone { margin:10px; min-height:116px; }
    .file-details { margin:0 10px 8px; }
    .preview-content { font-size:.68rem; }
    .editor-statusbar { grid-template-columns:1fr; }
    .editor-progress { display:none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
    .motion-enabled .reveal-target { opacity:1; transform:none; }
}


/* FORMATIFY APPROVED LOGO */
.brand-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 11px;
    overflow: hidden;
    background: #070910;
    box-shadow: 0 0 24px rgba(0,229,255,.16), 0 0 30px rgba(155,92,255,.08);
}
.brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.editor-file-icon {
    width: 29px;
    height: 29px;
    padding: 0;
    overflow: hidden;
    border: 0 !important;
    border-radius: 8px;
    background: #070910;
    box-shadow: 0 0 18px rgba(0,229,255,.13);
}
.editor-file-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* IMAGE RESIZER */
.resize-hero h1 span { color:transparent; background:linear-gradient(90deg,var(--cyan),var(--purple)); background-clip:text; -webkit-background-clip:text; }
.resize-editor {
    margin:12px 0 74px;
    overflow:hidden;
    border:1px solid #243047;
    border-radius:16px;
    background:#070b12;
    box-shadow:0 26px 80px rgba(0,0,0,.35), 0 0 50px rgba(0,229,255,.025);
    animation:editorEnter .65s cubic-bezier(.2,.8,.2,1) both;
}
.resize-workspace { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(310px,.84fr) minmax(0,1.08fr); min-height:590px; }
.resize-preview-pane, .resize-controls-pane { min-width:0; display:flex; flex-direction:column; background:#0a0f18; }
.resize-controls-pane { border-left:1px solid var(--border-soft); border-right:1px solid var(--border-soft); background:#090e16; }
.resize-drop-zone {
    min-height:126px; margin:14px; padding:18px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px;
    border:1px dashed #30405a; border-radius:10px; background:repeating-linear-gradient(135deg,rgba(255,255,255,.012) 0,rgba(255,255,255,.012) 8px,transparent 8px,transparent 16px),#090e16;
    color:var(--text); cursor:pointer; transition:.22s ease;
}
.resize-drop-zone:hover, .resize-drop-zone.dragging { border-color:rgba(0,229,255,.65); background:rgba(0,229,255,.025); box-shadow:inset 0 0 0 1px rgba(0,229,255,.06),0 0 30px rgba(0,229,255,.04); }
.resize-drop-zone .upload-icon { width:36px; height:36px; display:grid; place-items:center; margin-bottom:2px; border:1px solid rgba(0,229,255,.5); border-radius:9px; background:#0b131e; color:var(--cyan); animation:floatUpload 3s ease-in-out infinite; }
.resize-drop-zone strong { font-size:.9rem; }
.resize-drop-zone > span { color:#8ba0ba; font-size:.76rem; }
.resize-drop-zone small { color:#4f627b; font-size:.62rem; }
.resize-image-stage {
    min-height:320px; flex:1; margin-top:0; padding:18px; display:grid; place-items:center; overflow:hidden;
    border-top:1px solid var(--border-soft); background:linear-gradient(45deg,#0a101a 25%,transparent 25%),linear-gradient(-45deg,#0a101a 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#0a101a 75%),linear-gradient(-45deg,transparent 75%,#0a101a 75%),#080d14;
    background-size:24px 24px; background-position:0 0,0 12px,12px -12px,-12px 0;
}
.resize-image-stage.is-live { animation:previewReveal .34s ease both; }
.resize-image-stage img { display:block; max-width:100%; max-height:410px; object-fit:contain; border-radius:9px; box-shadow:0 15px 38px rgba(0,0,0,.3); }
.resize-file-strip { min-height:62px; padding:10px 14px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--border-soft); background:#0b111a; animation:fileSlide .32s cubic-bezier(.2,.8,.2,1) both; }
.resize-file-strip > div { min-width:0; }
.resize-file-strip strong, .resize-file-strip span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.resize-file-strip strong { font-size:.76rem; }
.resize-file-strip span { margin-top:3px; color:#60738d; font-size:.63rem; }
.resize-file-strip button { border:0; border-radius:6px; padding:7px 9px; background:transparent; color:#7f91a9; cursor:pointer; }
.resize-file-strip button:hover { color:var(--danger); background:rgba(255,107,138,.07); }
.resize-controls-body { padding:16px; display:flex; flex-direction:column; gap:15px; }
.resize-mode-tabs { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border:1px solid #1f2b3e; border-radius:9px; background:#080d14; }
.resize-mode-tabs button { min-height:34px; border:0; border-radius:6px; background:transparent; color:#667a95; font-size:.7rem; font-weight:800; cursor:pointer; transition:.2s; }
.resize-mode-tabs button.active { color:#081116; background:linear-gradient(90deg,var(--cyan),#61efff); box-shadow:0 4px 16px rgba(0,229,255,.14); }
.resize-control-section { padding:14px; border:1px solid #1c2839; border-radius:10px; background:#0b111a; }
.resize-control-heading { margin-bottom:12px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.resize-control-heading > span { color:#9db0c8; font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.resize-control-heading small { color:#52657e; font-size:.61rem; }
.resize-control-heading strong { color:var(--cyan); font-size:.72rem; }
.dimension-grid { display:grid; grid-template-columns:1fr 68px 1fr; gap:8px; align-items:end; }
.dimension-grid label, .output-settings-grid label { display:grid; gap:6px; }
.dimension-grid label > span, .output-settings-grid label > span { color:#60738d; font-size:.62rem; font-weight:800; }
.input-with-unit { position:relative; }
.input-with-unit input { width:100%; height:42px; padding:0 38px 0 10px; border:1px solid #26344a; border-radius:8px; outline:0; background:#080d14; color:#dce8f5; font:700 .78rem ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.input-with-unit input:focus { border-color:rgba(0,229,255,.6); box-shadow:0 0 0 3px rgba(0,229,255,.05); }
.input-with-unit em { position:absolute; right:10px; top:50%; transform:translateY(-50%); color:#50627a; font-size:.6rem; font-style:normal; }
.ratio-lock { height:42px; display:grid; place-items:center; align-content:center; gap:1px; border:1px solid #26344a; border-radius:8px; background:#080d14; color:#637690; cursor:pointer; transition:.2s; }
.ratio-lock span { font-size:.78rem; }
.ratio-lock small { font-size:.52rem; }
.ratio-lock.active { color:var(--cyan); border-color:rgba(0,229,255,.35); background:rgba(0,229,255,.045); }
.scale-slider, #resizeQuality { width:100%; accent-color:#00d8f2; }
.preset-row { margin-top:11px; display:grid; grid-template-columns:repeat(6,1fr); gap:5px; }
.preset-row button { min-height:28px; padding:0; border:1px solid #223047; border-radius:6px; background:#080d14; color:#71849d; font-size:.58rem; cursor:pointer; transition:.18s; }
.preset-row button:hover:not(:disabled) { color:var(--cyan); border-color:rgba(0,229,255,.4); transform:translateY(-1px); }
.calculated-size { margin-top:10px; color:#697d98; font: .62rem ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.output-settings-grid { display:grid; grid-template-columns:1fr 1.15fr; gap:10px; }
.output-settings-grid select { height:40px; padding:0 9px; border:1px solid #26344a; border-radius:8px; background:#080d14; color:#d5e1ed; font-size:.7rem; }
.output-settings-grid label.disabled { opacity:.45; }
.output-settings-grid label > span strong { float:right; color:#8297b1; }
.resize-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.resize-summary div { padding:10px 8px; border:1px solid #1d293a; border-radius:8px; background:#080d14; text-align:center; }
.resize-summary span, .resize-summary strong { display:block; }
.resize-summary span { color:#52647c; font-size:.54rem; text-transform:uppercase; letter-spacing:.08em; }
.resize-summary strong { margin-top:4px; color:#b9c9da; font:700 .65rem ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.resize-action-button { min-height:46px; padding:0 14px; display:flex; align-items:center; justify-content:space-between; border:0; border-radius:9px; background:linear-gradient(90deg,var(--cyan),#63ecff); color:#061116; font-weight:900; cursor:pointer; box-shadow:0 8px 24px rgba(0,229,255,.12); transition:.22s; }
.resize-action-button:hover:not(:disabled) { transform:translateY(-2px); box-shadow:0 12px 30px rgba(0,229,255,.19); }
.resize-action-button b { transition:transform .22s; }
.resize-action-button:hover:not(:disabled) b { transform:translateX(4px); }
.resize-action-button:disabled { opacity:.35; cursor:not-allowed; box-shadow:none; }
.resize-note { margin:0; color:#4c6078; font-size:.58rem; line-height:1.5; }
.output-resize-pane .resize-image-stage { margin-top:0; }
.resize-result { min-height:72px; padding:10px 14px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid rgba(110,243,197,.18); background:linear-gradient(90deg,rgba(110,243,197,.05),rgba(155,92,255,.025)); animation:resultReveal .38s cubic-bezier(.2,.8,.2,1) both; }
.resize-result > div { display:flex; align-items:center; gap:10px; min-width:0; }
.resize-result small, .resize-result strong, .resize-result div span { display:block; }
.resize-result small { color:#6d819a; font-size:.58rem; }
.resize-result strong { max-width:260px; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.72rem; }
.resize-result div div > span { margin-top:2px; color:#60738d; font-size:.58rem; }
.resize-result > button { padding:9px 11px; border:0; border-radius:8px; background:var(--purple); color:white; font-size:.68rem; font-weight:800; cursor:pointer; transition:.2s; }
.resize-result > button:hover { transform:translateY(-1px); box-shadow:0 8px 22px rgba(155,92,255,.22); }
.resize-statusbar { border-top:1px solid var(--border-soft); }

@media (max-width: 1080px) {
    .resize-workspace { grid-template-columns:1fr 1fr; }
    .resize-controls-pane { grid-column:1 / -1; grid-row:1; border-left:0; border-right:0; border-bottom:1px solid var(--border-soft); }
    .resize-preview-pane { grid-row:2; }
    .output-resize-pane { grid-column:2; }
    .resize-controls-body { display:grid; grid-template-columns:1fr 1fr; }
    .resize-mode-tabs, .resize-action-button, .resize-note { grid-column:1 / -1; }
}
@media (max-width: 720px) {
    .resize-workspace { grid-template-columns:1fr; }
    .resize-controls-pane, .resize-preview-pane, .output-resize-pane { grid-column:1; grid-row:auto; border-left:0; border-right:0; border-bottom:1px solid var(--border-soft); }
    .resize-controls-body { display:flex; }
    .resize-image-stage { min-height:260px; }
    .preset-row { grid-template-columns:repeat(3,1fr); }
    .resize-summary { grid-template-columns:1fr; }
    .output-settings-grid { grid-template-columns:1fr; }
}
.utility-card { border-color:rgba(0,229,255,.24); background:linear-gradient(135deg,rgba(0,229,255,.035),rgba(155,92,255,.045)),var(--panel); }
.utility-card:hover { border-color:var(--cyan); box-shadow:0 14px 36px rgba(0,229,255,.06); }
.text-link { display:inline-flex; margin-top:12px; color:var(--cyan); text-decoration:none; font-size:.78rem; font-weight:800; }
.text-link:hover { text-decoration:underline; }
