.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; text-decoration: none; }
.brand img { width: 50px; height: 50px; filter: drop-shadow(0 7px 14px rgba(23,105,224,.18)); transition: var(--transition); }
.brand:hover img { transform: translateY(-2px); }
.brand span { display: grid; }
.brand strong { font-size: 17px; letter-spacing: -.02em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); background: var(--blue-soft); border: 1px solid #d6e8ff; border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 700; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(23,105,224,.1); }
.hero h1 { margin: 12px 0 8px; font-size: clamp(30px, 4.3vw, 47px); line-height: 1.04; letter-spacing: -.045em; font-weight: 780; }
.hero h1 span { color: var(--blue); }
.hero p { margin: 0 auto; max-width: 650px; color: var(--muted); font-size: 14px; line-height: 1.45; }

.input-card, .result-card { background: var(--surface); border: 1px solid rgba(203,216,232,.9); backdrop-filter: blur(18px); box-shadow: var(--shadow-md); border-radius: var(--radius-lg); }
.input-card { padding: 20px; }
.input-card label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 750; }
.input-row { display: grid; grid-template-columns: 1fr auto; gap: 11px; }
.url-input-wrap { min-width: 0; position: relative; display: flex; align-items: center; }
.url-input-wrap input { width: 100%; height: 62px; padding: 0 50px 0 52px; border: 1px solid var(--line-strong); border-radius: 17px; color: var(--text); background: rgba(255,255,255,.96); outline: none; box-shadow: inset 0 1px 2px rgba(15,43,75,.03); transition: var(--transition); }
.url-input-wrap input::placeholder { color: #99a6b7; }
.url-input-wrap input:hover { border-color: #adc6e4; }
.url-input-wrap input:focus { border-color: #6ba5f2; box-shadow: 0 0 0 4px rgba(23,105,224,.11), 0 10px 30px rgba(30,72,120,.07); }
.input-icon { position: absolute; left: 18px; color: var(--blue); width: 22px; height: 22px; pointer-events: none; }
.input-icon svg, .clear-button svg { width: 100%; height: 100%; }
.clear-button { position: absolute; right: 11px; width: 36px; height: 36px; padding: 9px; color: var(--muted); background: transparent; border: 0; border-radius: 10px; transition: var(--transition); }
.clear-button:hover { background: #eef4fa; color: var(--text); }

.primary-button { min-width: 188px; height: 62px; border: 1px solid rgba(12,78,177,.22); border-radius: 17px; color: #fff; background: linear-gradient(135deg, #287df0, #0c55c6); font-weight: 760; padding: 0 27px; box-shadow: 0 12px 27px rgba(23,105,224,.25), inset 0 1px 0 rgba(255,255,255,.2); transition: transform var(--transition), box-shadow var(--transition), filter var(--transition); }
.primary-button:hover { transform: translateY(-2px); filter: saturate(1.05); box-shadow: 0 17px 34px rgba(23,105,224,.32), inset 0 1px 0 rgba(255,255,255,.25); }
.primary-button:active { transform: translateY(0) scale(.99); }
.primary-button[disabled] { cursor: wait; opacity: .88; transform: none; }
.button-loader { display: none; width: 19px; height: 19px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; }
.primary-button.is-loading .button-label { display: none; }
.primary-button.is-loading .button-loader { display: inline-block; }

.input-support { min-height: 24px; margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.privacy-note { min-width: 0; margin: 0; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.privacy-note svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--blue); }
.input-hint { flex: 0 0 auto; margin: 0; color: var(--subtle); font-size: 11px; white-space: nowrap; }
kbd { padding: 2px 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: #f8fafc; font-size: 10px; }
.form-error { min-height: 0; margin: 0; color: var(--red); font-size: 12px; font-weight: 650; }
.form-error:not(:empty) { margin-top: 8px; }

.analysis-status { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--blue-strong); font-size: 12px; font-weight: 700; }
.analysis-spinner { width: 15px; height: 15px; border: 2px solid #cfe2fb; border-top-color: var(--blue); border-radius: 50%; animation: spin .65s linear infinite; }

.result-card { margin-top: 14px; padding: 20px 22px; }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 14px; }
.provider-badge { display: flex; align-items: center; gap: 11px; }
.provider-badge img { width: 40px; height: 40px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.provider-badge span { display: grid; gap: 3px; }
.provider-badge strong { font-size: 17px; }
.provider-badge small { display: flex; align-items: center; gap: 4px; color: var(--green); font-size: 11px; font-weight: 700; }
.provider-badge small svg { width: 13px; height: 13px; }
.success-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 11px; font-weight: 750; white-space: nowrap; }
.success-badge svg { width: 15px; height: 15px; }

.result-section { padding: 13px 0; border-top: 1px solid var(--line); }
.section-label { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.section-label > span { color: var(--text); font-size: 12px; font-weight: 780; text-transform: uppercase; letter-spacing: .055em; }
.section-label small { color: var(--subtle); font-size: 10px; }
.url-value { margin: 0; overflow-wrap: anywhere; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.5; }
.original-url, .optimized-url { max-height: 38px; overflow: auto; scrollbar-width: thin; }
.optimized-url { color: #15529c; font-weight: 600; }
.optimized-section { background: linear-gradient(90deg, transparent, rgba(234,243,255,.58), transparent); }
.removed-count { min-width: 25px; height: 25px; display: grid; place-items: center; border-radius: 999px; color: var(--blue-strong); background: var(--blue-soft); font-size: 12px; }
.removed-list { display: flex; flex-wrap: wrap; gap: 7px; }
.removed-list span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 8px; color: #52657c; background: #eef3f8; font-family: ui-monospace, monospace; font-size: 10.5px; }
.removed-list span:not(.empty)::before { content: "✓"; color: var(--green); font-family: var(--font); font-weight: 800; }
.removed-list .empty { font-family: var(--font); color: var(--muted); }

.copy-button { width: 100%; height: 50px; margin-top: 2px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #b9d6f8; border-radius: 15px; color: var(--blue-strong); background: linear-gradient(180deg,#f8fbff,#edf6ff); font-weight: 780; box-shadow: inset 0 1px 0 rgba(255,255,255,.9); transition: var(--transition); }
.copy-button:hover { background: #e8f3ff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(23,105,224,.1); }
.copy-button:active { transform: translateY(0) scale(.995); }
.copy-button svg { width: 19px; height: 19px; }

.toast { position: fixed; top: 22px; right: 22px; z-index: 20; display: flex; align-items: center; gap: 9px; padding: 13px 17px; color: #fff; background: #16253b; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; box-shadow: 0 16px 42px rgba(16,32,58,.28); font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(-14px); pointer-events: none; transition: 220ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast svg { width: 18px; height: 18px; color: #72e2b3; }

.providers-details { margin-top: 8px; border-top: 1px solid rgba(213,224,237,.72); padding-top: 8px; }
.providers-details summary { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--subtle); font-size: 11px; font-weight: 650; cursor: pointer; list-style: none; user-select: none; transition: var(--transition); }
.providers-details summary::-webkit-details-marker { display: none; }
.providers-details summary::after { content: "⌄"; color: var(--blue); font-size: 13px; line-height: 1; transition: transform var(--transition); }
.providers-details[open] summary::after { transform: rotate(180deg); }
.providers-details summary:hover { color: var(--blue-strong); }
.providers-details summary strong { min-width: 23px; height: 20px; display: inline-grid; place-items: center; border-radius: 999px; color: var(--blue-strong); background: var(--blue-soft); font-size: 10px; }
.providers-list { max-height: 126px; margin-top: 9px; padding: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: rgba(248,251,255,.88); scrollbar-width: thin; }
.providers-list span { padding: 4px 7px; border: 1px solid #dce8f5; border-radius: 999px; color: #5d6f84; background: #fff; font-size: 9.5px; font-weight: 650; white-space: nowrap; }
