:root {
    --bg: #08080f;
    --bg-soft: #0d0d18;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-strong: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #f5f5f9;
    --text-soft: #c9c9d6;
    --muted: #9797ab;
    --brand: #ff3355;
    --brand-2: #ff7a3d;
    --brand-light: #ff8199;
    --brand-soft: rgba(255, 51, 85, 0.12);
    --green: #3fdd82;
    --radius: 20px;
    --shell: 1120px;
    --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: rgba(255, 51, 85, 0.35);
    color: #fff;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--brand-light);
    outline-offset: 3px;
}

.page-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(640px 440px at 10% -8%, rgba(255, 51, 85, 0.17), transparent 70%),
        radial-gradient(760px 520px at 98% 2%, rgba(255, 122, 61, 0.1), transparent 70%),
        radial-gradient(900px 620px at 50% 108%, rgba(94, 66, 255, 0.09), transparent 72%);
}

.page-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 75%);
}

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(8, 8, 15, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.16rem;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    flex-shrink: 0;
    border-radius: 11px;
    box-shadow: 0 6px 20px rgba(255, 51, 85, 0.25);
}

.brand-mark svg {
    width: 100%;
    height: 100%;
}

.brand-mark-sm {
    width: 32px;
    height: 32px;
    border-radius: 9px;
}

.brand-text span {
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.18s ease;
}

.site-nav a:hover {
    color: var(--text);
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-soft);
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 999px;
    padding: 7px 14px;
    white-space: nowrap;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(63, 221, 130, 0.6);
    animation: pulse 2.4s infinite;
}

/* Hero */

.hero {
    padding: 78px 0 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px 7px 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.035);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--text-soft);
}

.eyebrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-size: 0.52rem;
    padding-left: 1px;
}

.hero h1 {
    font-size: clamp(2.45rem, 4.6vw, 4.05rem);
    line-height: 1.04;
    letter-spacing: -0.038em;
    font-weight: 800;
    margin: 22px 0 22px;
}

.gradient-text {
    background: linear-gradient(115deg, #ff4d67 5%, #ff7a3d 55%, #ffb26b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lede {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.7;
    max-width: 50ch;
    margin: 0;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
}

.meta-item strong {
    display: block;
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.meta-item span {
    display: block;
    font-size: 0.74rem;
    color: var(--muted);
    margin-top: 2px;
}

.meta-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Converter */

.converter-wrap {
    animation: fadeUp 0.8s 0.12s both;
}

.converter-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
        rgba(13, 13, 24, 0.86);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.field-label {
    display: block;
    margin-bottom: 9px;
    font-size: 0.73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--muted);
}

.url-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 6px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.3);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.url-field:focus-within {
    border-color: rgba(255, 51, 85, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 51, 85, 0.1);
}

.url-field.is-invalid {
    border-color: rgba(255, 51, 85, 0.7);
    box-shadow: 0 0 0 4px rgba(255, 51, 85, 0.12);
}

.url-icon {
    display: inline-flex;
    color: var(--muted);
    flex-shrink: 0;
}

.url-icon svg {
    width: 18px;
    height: 18px;
}

.url-field input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 0.92rem;
}

.url-field input::placeholder {
    color: #6c6c80;
}

.paste-btn {
    flex-shrink: 0;
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
}

.paste-btn:hover {
    background: var(--surface-strong);
    color: var(--text);
}

.input-hint {
    min-height: 19px;
    margin: 8px 0 18px;
    font-size: 0.76rem;
    color: var(--muted);
    transition: color 0.2s ease;
}

.input-hint.is-error {
    color: var(--brand-light);
}

.quality-block {
    margin-bottom: 18px;
}

.quality-picker {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.24);
}

.quality-picker button {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 8px 13px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.quality-picker button span {
    font-size: 0.66rem;
    font-weight: 500;
    opacity: 0.72;
}

.quality-picker button em {
    margin-left: 3px;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.22);
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.quality-picker button:hover {
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.05);
}

.quality-picker button.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #ff5638);
    box-shadow: 0 5px 16px rgba(255, 51, 85, 0.32);
}

.convert-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff3355 0%, #ff5c3f 55%, #ff7a3d 100%);
    background-size: 150% 150%;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 14px 32px rgba(255, 51, 85, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.convert-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 18px 38px rgba(255, 51, 85, 0.34);
}

.convert-btn:active {
    transform: translateY(0);
}

.convert-btn:disabled {
    cursor: wait;
    opacity: 0.78;
    transform: none;
}

.convert-btn > svg {
    width: 18px;
    height: 18px;
}

.convert-btn.is-loading > svg {
    display: none;
}

.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.legal-note {
    margin: 13px 0 0;
    font-size: 0.71rem;
    line-height: 1.55;
    color: #77778b;
}

.converter-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 0 6px;
    font-size: 0.72rem;
    color: var(--muted);
}

.converter-foot > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dot-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}

/* Feedback + status */

.feedback {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.84rem;
    line-height: 1.55;
    border: 1px solid transparent;
    animation: fadeUp 0.3s both;
}

.feedback.is-error {
    color: #ffb9c4;
    background: rgba(255, 51, 85, 0.1);
    border-color: rgba(255, 51, 85, 0.28);
}

.feedback.is-success {
    color: #b6f5cf;
    background: rgba(63, 221, 130, 0.09);
    border-color: rgba(63, 221, 130, 0.26);
}

.status-panel {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.26);
    animation: fadeUp 0.35s both;
}

.status-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.status-preview img {
    width: 96px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--bg-soft);
}

.status-preview-text {
    min-width: 0;
}

.status-preview-text h3 {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.status-preview-text p {
    margin: 4px 0 0;
    font-size: 0.74rem;
    color: var(--muted);
}

.progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.79rem;
    color: var(--text-soft);
}

#progress-time {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--muted);
}

.progress-track {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress-fill {
    position: relative;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff3355, #ff7a3d);
    transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.6s infinite;
}

.status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    animation: fadeUp 0.35s both;
}

.download-btn {
    flex: 1;
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #27b968, #3fdd82);
    color: #04140a;
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(43, 200, 110, 0.24);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.download-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.download-btn svg {
    width: 17px;
    height: 17px;
}

.download-size {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.68;
    padding-left: 2px;
}

.reset-btn {
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: transparent;
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
}

.reset-btn:hover {
    background: var(--surface);
    color: var(--text);
}

/* Trust strip */

.trust-strip {
    margin-top: 62px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.018);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.trust-item svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--brand-light);
}

.trust-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.trust-item span {
    display: block;
    font-size: 0.74rem;
    color: var(--muted);
    line-height: 1.45;
    margin-top: 1px;
}

/* Sections */

.section {
    padding-top: 96px;
}

.section-head {
    max-width: 640px;
    margin-bottom: 38px;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brand-light);
}

.section-head h2 {
    margin: 12px 0 14px;
    font-size: clamp(1.85rem, 3.1vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -0.032em;
    font-weight: 800;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.7;
    max-width: 52ch;
}

.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
}

.section-head-row h2 {
    margin-bottom: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    padding: 24px 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand-light);
    border: 1px solid rgba(255, 51, 85, 0.18);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-card h3 {
    margin: 18px 0 7px;
    font-size: 0.97rem;
    font-weight: 650;
    letter-spacing: -0.015em;
}

.feature-card p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--muted);
}

/* Steps */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.step {
    position: relative;
    padding: 27px 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.01));
    overflow: hidden;
}

.step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 85, 0.55), transparent);
}

.step-number {
    display: block;
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
    margin-bottom: 16px;
}

.step h3 {
    margin: 0 0 7px;
    font-size: 0.97rem;
    font-weight: 650;
}

.step p {
    margin: 0;
    font-size: 0.83rem;
    line-height: 1.65;
    color: var(--muted);
}

/* Recent */

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    margin-bottom: 6px;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.recent-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.recent-card:hover {
    border-color: rgba(255, 51, 85, 0.35);
    background: rgba(255, 51, 85, 0.05);
    transform: translateY(-2px);
}

.recent-thumb {
    position: relative;
    flex-shrink: 0;
}

.recent-thumb img {
    width: 100px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--bg-soft);
}

.recent-duration {
    position: absolute;
    right: 4px;
    bottom: 4px;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.82);
    font-family: var(--mono);
    font-size: 0.62rem;
    color: #fff;
}

.recent-body {
    min-width: 0;
    flex: 1;
}

.recent-body h3 {
    margin: 0;
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-body p {
    margin: 3px 0 0;
    font-size: 0.71rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
    font-size: 0.66rem;
    color: var(--muted);
}

.chip {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--brand-soft);
    color: var(--brand-light);
    font-weight: 600;
}

.recent-download {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.recent-download svg {
    width: 14px;
    height: 14px;
}

.recent-card:hover .recent-download {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* FAQ */

.faq-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 60px;
    align-items: start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.028);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
    border-color: rgba(255, 51, 85, 0.28);
    background: rgba(255, 51, 85, 0.04);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--muted);
    transition: transform 0.22s ease, color 0.22s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.22s ease;
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
    color: var(--brand-light);
    transform: rotate(180deg);
}

.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
    margin: 0;
    padding: 0 18px 17px;
    font-size: 0.83rem;
    line-height: 1.7;
    color: var(--muted);
}

/* CTA */

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 96px;
    margin-bottom: 84px;
    padding: 38px 40px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        radial-gradient(420px 200px at 8% 0%, rgba(255, 51, 85, 0.2), transparent 70%),
        radial-gradient(360px 200px at 100% 100%, rgba(255, 122, 61, 0.12), transparent 70%),
        rgba(255, 255, 255, 0.035);
}

.cta-strip h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    letter-spacing: -0.028em;
    font-weight: 750;
}

.cta-strip p {
    margin: 6px 0 0;
    font-size: 0.88rem;
    color: var(--muted);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-size: 0.87rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(255, 51, 85, 0.26);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.cta-button svg {
    width: 16px;
    height: 16px;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.22);
    padding: 42px 0 26px;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.footer-brand p {
    margin: 12px 0 0;
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-legal {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal p {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.6;
    color: #6f6f83;
}

.footer-legal p:last-child {
    text-align: right;
    max-width: 52ch;
}

/* Animations */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(63, 221, 130, 0.5);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(63, 221, 130, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(63, 221, 130, 0);
    }
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.hero-copy > * {
    animation: fadeUp 0.7s both;
}

.hero-copy > *:nth-child(2) {
    animation-delay: 0.05s;
}

.hero-copy > *:nth-child(3) {
    animation-delay: 0.1s;
}

.hero-copy > *:nth-child(4) {
    animation-delay: 0.16s;
}

/* Responsive */

@media (max-width: 1040px) {
    .hero-grid {
        gap: 38px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recent-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-layout {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .hero {
        padding-top: 56px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-copy {
        max-width: 640px;
    }

    .converter-wrap {
        max-width: 640px;
    }

    .site-nav {
        display: none;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .shell {
        padding: 0 18px;
    }

    .header-inner {
        height: 64px;
    }

    .header-badge {
        font-size: 0.7rem;
        padding: 6px 11px;
    }

    .hero {
        padding-top: 44px;
    }

    .hero-meta {
        flex-wrap: wrap;
        gap: 14px 18px;
    }

    .meta-divider {
        display: none;
    }

    .trust-strip {
        margin-top: 48px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding-top: 72px;
    }

    .section-head {
        margin-bottom: 28px;
    }

    .section-head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .feature-grid,
    .recent-grid {
        grid-template-columns: 1fr;
    }

    .cta-strip {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 72px;
        margin-bottom: 64px;
        padding: 30px 26px;
    }

    .footer-inner,
    .footer-legal {
        flex-direction: column;
        gap: 20px;
    }

    .footer-legal p:last-child {
        text-align: left;
    }
}

@media (max-width: 540px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .converter-card {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .url-field {
        flex-wrap: wrap;
        padding: 10px 10px 10px 12px;
    }

    .url-icon {
        margin-top: 10px;
        align-self: flex-start;
    }

    .url-field input {
        flex: 1 1 calc(100% - 34px);
        height: 38px;
        font-size: 0.86rem;
    }

    .paste-btn {
        width: 100%;
        height: 36px;
    }

    .quality-picker {
        display: flex;
        width: 100%;
    }

    .quality-picker button {
        flex: 1;
        justify-content: center;
        padding: 8px 6px;
    }

    .converter-foot {
        flex-direction: column;
        gap: 5px;
    }

    .status-actions {
        flex-direction: column;
    }

    .download-btn,
    .reset-btn {
        width: 100%;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .recent-thumb img {
        width: 86px;
        height: 50px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
