* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #10b981;
    --primary-lighter: #34d399;
    --primary-bg: #ecfdf5;
    --primary-bg-hover: #d1fae5;
    --primary-border: #a7f3d0;
    --primary-shadow: rgba(5, 150, 105, 0.18);
    --primary-shadow-lg: rgba(5, 150, 105, 0.28);

    --teal: #0d9488;
    --teal-light: #14b8a6;
    --cyan: #0891b2;
    --cyan-light: #06b6d4;
    --sky: #0ea5e9;

    --bg-page: #f8fafb;
    --bg-card: #ffffff;
    --bg-card-hover: #f9fbfc;
    --bg-input: #ffffff;
    --bg-subtle: #f5f7f9;
    --bg-muted: #eef2f5;

    --border: #e2e8f0;
    --border-light: #f0f4f6;
    --border-hover: #cbd5e1;
    --border-active: var(--primary);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    --success: #059669;
    --success-bg: #ecfdf5;
    --success-border: #a7f3d0;
    --success-light: #34d399;
    --warning: #d97706;
    --warning-bg: #fffbeb;
    --warning-border: #fde68a;
    --warning-orange: #ea580c;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --danger-border: #fecaca;
    --danger-light: #f87171;
    --na-color: #94a3b8;
    --na-bg: #f1f5f9;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05), 0 2px 4px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.07), 0 4px 8px rgba(15, 23, 42, 0.03);
    --shadow-primary: 0 4px 16px rgba(5, 150, 105, 0.22);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, #d1dce6 0.6px, transparent 0.6px);
    background-size: 28px 28px;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: -160px;
    right: -160px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.07), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    height: 60px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.12), transparent);
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-home-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.back-home-btn:hover {
    background: var(--primary-bg);
    color: var(--primary);
    border-color: var(--primary-border);
    transform: translateX(-1px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.3px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: var(--radius-xs);
    transition: opacity 0.15s;
}

.logo:hover {
    opacity: 0.85;
}

.logo-svg {
    flex-shrink: 0;
}

.logo-text {
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.nav {
    display: flex;
    gap: 2px;
    background: var(--bg-subtle);
    padding: 3px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 7px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.15s ease;
    position: relative;
}

.nav-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-btn.active {
    color: white;
    background: var(--primary);
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.28);
}

.main {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    animation: pageIn 0.4s ease;
}

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

.view {
    display: none;
}

.view.active {
    display: block;
    animation: viewIn 0.3s ease;
}

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

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 52px 48px 44px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary-lighter));
}

.hero-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.6px;
    line-height: 1.3;
    position: relative;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 30px;
    position: relative;
}

.url-input-group {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 560px;
    position: relative;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color 0.15s;
    z-index: 1;
}

.input-wrapper input[type="url"] {
    width: 100%;
    padding: 12px 16px 12px 42px;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14.5px;
    outline: none;
    transition: all 0.15s ease;
    font-family: inherit;
    height: 46px;
    box-sizing: border-box;
}

.input-wrapper input[type="url"]::placeholder {
    color: var(--text-muted);
}

.input-wrapper input[type="url"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.input-wrapper:focus-within .input-icon {
    color: var(--primary);
}

.scan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 24px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.2);
    box-sizing: border-box;
}

.scan-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-dark), #065f46);
    box-shadow: var(--shadow-primary);
    transform: translateY(-1px);
}

.scan-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.2);
}

.scan-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-arrow {
    transition: transform 0.15s;
}

.scan-btn:hover:not(:disabled) .btn-arrow {
    transform: translateX(3px);
}

.geo-intro {
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.8;
    max-width: 620px;
    margin: 22px auto 0;
    text-align: center;
}

.quick-examples {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    position: relative;
}

.example-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.example-btn:hover {
    background: var(--primary-bg);
    color: var(--primary);
    border-color: var(--primary-border);
}

.loading-section {
    text-align: center;
    padding: 72px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    width: 44px;
    height: 44px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-bottom: 20px;
}

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

.loading-status {
    color: var(--text-secondary);
    font-size: 14.5px;
    margin-bottom: 18px;
}

.progress-bar {
    width: 280px;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    width: 0%;
    transition: width 0.4s ease;
}

.results-section {
    animation: fadeInUp 0.4s ease;
}

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

.score-overview {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.score-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.score-ring-wrap {
    position: relative;
    margin-bottom: 16px;
}

.score-ring-bg {
    stroke: var(--border-light);
}

.score-ring-fill {
    stroke: var(--primary);
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.4s ease;
}

.score-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-number {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.score-grade {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 2px;
}

.score-meta {
    text-align: center;
}

.score-meta h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.scan-url {
    color: var(--primary);
    font-size: 12.5px;
    word-break: break-all;
    margin-bottom: 3px;
    font-weight: 500;
}

.scan-meta {
    color: var(--text-muted);
    font-size: 11.5px;
}

.categories-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-content: start;
}

.category-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.category-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-xs);
    transform: translateY(-1px);
}

.category-info {
    flex: 1;
    min-width: 0;
}

.category-name {
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 7px;
    color: var(--text-primary);
}

.category-bar {
    height: 3px;
    background: var(--bg-muted);
    border-radius: 2px;
    overflow: hidden;
}

.category-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-score {
    font-size: 18px;
    font-weight: 700;
    min-width: 34px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.advice-section, .details-section, .history-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.section-title svg {
    color: var(--primary);
}

.advice-count {
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 99px;
    min-width: 20px;
    text-align: center;
}

.advice-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.advice-tab {
    background: var(--bg-subtle);
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 7px 14px;
    border-radius: var(--radius-xs);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: inherit;
    font-weight: 500;
}

.advice-tab:hover {
    color: var(--text-primary);
    background: var(--bg-muted);
}

.advice-tab.active {
    background: var(--primary-bg);
    color: var(--primary);
    border-color: var(--primary-border);
}

.tab-count {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    opacity: 0.8;
}

.advice-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.empty-advice {
    text-align: center;
    color: var(--success);
    padding: 28px;
    font-size: 14px;
    background: var(--success-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--success-border);
}

.advice-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    transition: all 0.15s ease;
    animation: adviceIn 0.3s ease backwards;
}

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

.advice-item.priority-high {
    border-left: 3px solid var(--danger);
    background: var(--danger-bg);
    border-color: var(--danger-border);
}

.advice-item.priority-medium {
    border-left: 3px solid var(--warning);
    background: var(--warning-bg);
    border-color: var(--warning-border);
}

.advice-item.priority-low {
    border-left: 3px solid var(--primary);
    background: var(--primary-bg);
    border-color: var(--primary-border);
}

.advice-item.priority-external {
    border-left: 3px solid var(--success);
    background: var(--success-bg);
    border-color: var(--success-border);
}

.advice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.priority-badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.priority-badge.high { background: var(--danger); color: white; }
.priority-badge.medium { background: var(--warning); color: white; }
.priority-badge.low { background: var(--primary); color: white; }
.priority-badge.external { background: var(--success); color: white; }

.advice-title {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text-primary);
}

.advice-fix {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.advice-ref {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s;
    font-weight: 500;
}

.advice-ref:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.checks-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.check-group {
    margin-bottom: 2px;
}

.check-group-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    border-radius: var(--radius-xs);
    transition: all 0.15s;
    background: var(--bg-subtle);
}

.check-group-title:hover {
    background: var(--bg-muted);
}

.check-group-title::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid var(--text-muted);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: transform 0.15s ease;
}

.check-group.open .check-group-title::before {
    transform: rotate(90deg);
}

.check-items {
    display: none;
    flex-direction: column;
    gap: 3px;
    margin-top: 3px;
}

.check-group.open .check-items {
    display: flex;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-xs);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: all 0.1s ease;
}

.check-item:hover {
    background: var(--bg-subtle);
    border-color: var(--border);
}

.check-status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
}

.check-status.pass { background: var(--success); }
.check-status.warn { background: var(--warning); }
.check-status.fail { background: var(--danger); }
.check-status.na { background: var(--na-color); }

.check-content {
    flex: 1;
    min-width: 0;
}

.check-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--text-primary);
}

.status-pill {
    font-size: 10.5px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 3px;
    letter-spacing: 0.2px;
}

.status-pill.status-pass { background: var(--success-bg); color: var(--success); }
.status-pill.status-warn { background: var(--warning-bg); color: var(--warning); }
.status-pill.status-fail { background: var(--danger-bg); color: var(--danger); }
.status-pill.status-na { background: var(--na-bg); color: var(--na-color); }

.check-details {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.actions-bar {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.2);
}

.action-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), #065f46);
    box-shadow: var(--shadow-primary);
    transform: translateY(-1px);
}

.action-btn.secondary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    box-shadow: none;
}

.action-btn.secondary:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
    box-shadow: none;
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.hidden {
    display: none !important;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
}

.history-item:hover {
    background: var(--bg-card);
    border-color: var(--primary-border);
    box-shadow: var(--shadow-xs);
    transform: translateX(2px);
}

.history-grade {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}

.history-grade.A { background: var(--success-bg); color: var(--success); border: 1.5px solid var(--success-border); }
.history-grade.B { background: #f0fdf4; color: #16a34a; border: 1.5px solid #bbf7d0; }
.history-grade.C { background: var(--warning-bg); color: var(--warning); border: 1.5px solid var(--warning-border); }
.history-grade.D { background: #fff7ed; color: var(--warning-orange); border: 1.5px solid #fed7aa; }
.history-grade.F { background: var(--danger-bg); color: var(--danger); border: 1.5px solid var(--danger-border); }

.history-info {
    flex: 1;
    min-width: 0;
}

.history-url {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-url-masked {
    font-family: 'SF Mono', 'Consolas', 'Monaco', 'Menlo', monospace;
    font-size: 12.5px;
    letter-spacing: 0;
    color: var(--text-secondary);
}

.history-time {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.history-score {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    min-width: 32px;
    text-align: right;
}

.loading-history, .empty-history {
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
    font-size: 13.5px;
}

#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 18px;
    color: var(--text-primary);
    font-size: 13.5px;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.25s ease, toastOut 0.25s ease 2.7s forwards;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--primary); }

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

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

.score-grade.grade-A { color: var(--success); }
.score-grade.grade-B { color: #16a34a; }
.score-grade.grade-C { color: var(--warning); }
.score-grade.grade-D { color: var(--warning-orange); }
.score-grade.grade-F { color: var(--danger); }

.score-ring-fill.grade-A { stroke: url(#ringGradGood); }
.score-ring-fill.grade-B { stroke: url(#ringGradGood); }
.score-ring-fill.grade-C { stroke: url(#ringGradWarn); }
.score-ring-fill.grade-D { stroke: url(#ringGradWarn); }
.score-ring-fill.grade-F { stroke: url(#ringGradBad); }

.methodology-container {
    max-width: 820px;
    margin: 0 auto;
}

.methodology-hero {
    text-align: center;
    padding: 20px 0 36px;
}

.methodology-title {
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
    letter-spacing: -0.4px;
    color: var(--text-primary);
}

.methodology-title svg {
    color: var(--primary);
}

.methodology-subtitle {
    color: var(--text-secondary);
    font-size: 14.5px;
}

.methodology-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.4s ease backwards;
}

.methodology-card:nth-child(2) { animation-delay: 0.05s; }
.methodology-card:nth-child(3) { animation-delay: 0.1s; }
.methodology-card:nth-child(4) { animation-delay: 0.15s; }
.methodology-card:nth-child(5) { animation-delay: 0.2s; }
.methodology-card:nth-child(6) { animation-delay: 0.25s; }
.methodology-card:nth-child(7) { animation-delay: 0.3s; }

.method-card-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.method-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-bg);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.method-content {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.method-content p {
    margin-bottom: 14px;
}

.method-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.method-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 18px 0 10px;
}

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

.stat-item {
    text-align: center;
    padding: 16px 10px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}

.stat-item:hover {
    border-color: var(--primary-border);
    background: var(--primary-bg);
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
}

.feat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.feat-seo { background: var(--cyan); }
.feat-geo { background: var(--primary); }
.feat-key { background: var(--warning); }

.weight-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.weight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
}

.weight-name {
    min-width: 100px;
    color: var(--text-primary);
    font-weight: 500;
}

.weight-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-muted);
    border-radius: 3px;
    overflow: hidden;
}

.weight-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
}

.weight-val {
    min-width: 36px;
    text-align: right;
    font-weight: 600;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    font-size: 12px;
}

.grade-scale {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.grade-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: var(--bg-subtle);
    border-radius: var(--radius-xs);
}

.grade-badge {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 800;
    flex-shrink: 0;
}

.grade-badge.grade-A { background: var(--success-bg); color: var(--success); border: 1.5px solid var(--success-border); }
.grade-badge.grade-B { background: #f0fdf4; color: #16a34a; border: 1.5px solid #bbf7d0; }
.grade-badge.grade-C { background: var(--warning-bg); color: var(--warning); border: 1.5px solid var(--warning-border); }
.grade-badge.grade-D { background: #fff7ed; color: var(--warning-orange); border: 1.5px solid #fed7aa; }
.grade-badge.grade-F { background: var(--danger-bg); color: var(--danger); border: 1.5px solid var(--danger-border); }

.grade-range {
    min-width: 68px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 12.5px;
}

.grade-desc {
    color: var(--text-muted);
    font-size: 12.5px;
}

.status-legend {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: var(--bg-subtle);
    border-radius: var(--radius-xs);
    font-size: 12.5px;
}

.status-item strong {
    min-width: 86px;
}

.status-item span:last-child {
    color: var(--text-muted);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.status-pass { background: var(--success); }
.status-dot.status-warn { background: var(--warning); }
.status-dot.status-fail { background: var(--danger); }

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

.dim-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px;
    transition: all 0.15s ease;
}

.dim-card:hover {
    background: var(--bg-card);
    border-color: var(--border);
    transform: translateY(-1px);
    box-shadow: var(--shadow-xs);
}

.dim-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding-left: 8px;
    border-left: 3px solid;
}

.dim-num {
    font-size: 10.5px;
    font-weight: 800;
    font-family: 'SF Mono', 'Consolas', monospace;
    opacity: 0.7;
}

.dim-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.dim-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dim-list li {
    font-size: 11.5px;
    color: var(--text-muted);
    padding-left: 10px;
    position: relative;
    line-height: 1.5;
}

.dim-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 3px;
    height: 3px;
    background: var(--text-muted);
    border-radius: 50%;
    opacity: 0.5;
}

.ai-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.platform-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px;
    transition: all 0.15s ease;
}

.platform-card:hover {
    background: var(--bg-card);
    border-color: var(--border);
    transform: translateY(-1px);
}

.platform-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.platform-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

.best-practices {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.practice-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.practice-item:hover {
    background: var(--bg-card);
    border-color: var(--border);
}

.practice-num {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.practice-text strong {
    display: block;
    font-size: 13.5px;
    margin-bottom: 2px;
}

.practice-text p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

.methodology-footer {
    text-align: center;
    padding: 24px 0;
    color: var(--text-muted);
    font-size: 12.5px;
}

.methodology-footer a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s;
    font-weight: 500;
}

.methodology-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.footer-note {
    margin-top: 4px;
    font-size: 11.5px;
    opacity: 0.7;
}

@media (max-width: 900px) {
    .dimension-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ai-platforms {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner { padding: 0 16px; }
    .main { padding: 24px 16px 60px; }
    .hero-card { padding: 36px 20px 32px; border-radius: var(--radius-lg); }
    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 14px; margin-bottom: 24px; }
    .url-input-group { flex-direction: column; }
    .scan-btn { justify-content: center; }
    .score-overview { flex-direction: column; }
    .score-card { min-width: auto; }
    .categories-grid { grid-template-columns: 1fr; }
    .quick-examples { flex-wrap: wrap; justify-content: center; }
    .nav-btn { padding: 6px 12px; font-size: 13px; }
    .logo-text { font-size: 15px; }
    .methodology-card { padding: 18px 16px; }
    .methodology-title { font-size: 20px; }
    .stat-grid { grid-template-columns: 1fr; gap: 6px; }
    .dimension-grid { grid-template-columns: 1fr; }
    .ai-platforms { grid-template-columns: 1fr; }
    .weight-name { min-width: 80px; font-size: 12px; }
    .grade-row { flex-wrap: wrap; }
    .actions-bar { flex-direction: column; }
    .action-btn { justify-content: center; }
    .advice-section, .details-section, .history-card { padding: 18px; }
    .back-home-btn { width: 30px; height: 30px; }
    #toast-container { bottom: 16px; right: 16px; left: 16px; }
    .toast { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .hero-card { padding: 28px 14px 24px; }
    .hero-title { font-size: 19px; }
    .geo-intro { font-size: 12.5px; }
    .methodology-hero { padding: 12px 0 20px; }
    .practice-item { flex-direction: column; gap: 8px; }
    .score-number { font-size: 36px; }
    .score-grade { font-size: 18px; }
    .llms-quick-form { flex-direction: column; }
    .llms-quick-btn { justify-content: center; }
    .llms-modal-content { margin: 16px; max-height: calc(100vh - 32px); }
    .llms-page-form { flex-direction: column; }
    .llms-page-btn { justify-content: center; height: 46px; }
    .llms-page-info { flex-direction: column; gap: 8px; }
    .llms-page-title { font-size: 22px; }
    .llms-page-header { padding: 20px 12px 16px; }
}

.llms-quick-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-top: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 0.4s ease 0.1s backwards;
}

.llms-quick-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.llms-quick-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.1));
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.llms-quick-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.llms-quick-title p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.llms-quick-form {
    display: flex;
    gap: 10px;
}

.llms-quick-form .input-wrapper {
    flex: 1;
}

.llms-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 22px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.llms-quick-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
    transform: translateY(-1px);
}

.llms-quick-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.action-btn.llms-btn {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    box-shadow: 0 1px 3px rgba(8, 145, 178, 0.2);
}

.action-btn.llms-btn:hover {
    background: linear-gradient(135deg, #0e7490, #0891b2);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.llms-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.llms-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.llms-modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.25s ease;
    overflow: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.llms-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.llms-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.llms-modal-title svg {
    color: var(--primary);
}

.llms-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-subtle);
    border-radius: var(--radius-xs);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    padding: 0;
}

.llms-modal-close:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

.llms-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.llms-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.llms-loading p {
    margin: 12px 0 4px;
    font-size: 14px;
}

.llms-loading-hint {
    font-size: 12.5px !important;
    color: var(--text-muted) !important;
}

.loader-ring.small {
    width: 36px;
    height: 36px;
    border-width: 3px;
}

.loader-ring.small::after {
    width: 36px;
    height: 36px;
    border-width: 3px;
}

.llms-result {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.llms-info-bar {
    display: flex;
    gap: 24px;
    padding: 12px 16px;
    background: var(--primary-bg);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-sm);
}

.llms-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.llms-info-label {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.llms-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.llms-code-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.llms-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border-light);
}

.llms-filename {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'SF Mono', 'Consolas', monospace;
}

.llms-code-actions {
    display: flex;
    gap: 6px;
}

.llms-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.llms-action-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.llms-code {
    margin: 0;
    padding: 16px;
    background: #f8fafc;
    font-family: 'SF Mono', 'Consolas', 'Monaco', 'Menlo', monospace;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--text-primary);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 400px;
    overflow-y: auto;
}

.llms-tips {
    padding: 12px 16px;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.llms-tips code {
    background: var(--bg-card);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 12px;
    color: var(--primary);
    border: 1px solid var(--border-light);
}

.llms-tips strong {
    color: var(--text-primary);
}

.llms-error {
    text-align: center;
    padding: 40px 20px;
    color: var(--danger);
}

.llms-error svg {
    margin-bottom: 12px;
    opacity: 0.6;
}

.llms-error p {
    font-size: 14px;
    margin: 0;
}

.geo-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px 0 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    text-align: center;
}

.stat-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 11.5px;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.3;
}

.geo-quote {
    margin: 16px 0;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(16, 185, 129, 0.08));
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
}

.geo-quote cite {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-style: normal;
    color: var(--text-muted);
    text-align: right;
}

@media (max-width: 640px) {
    .geo-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.site-footer {
    margin-top: 48px;
    padding: 24px 0 32px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-updated {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0 0 8px;
}

.footer-updated time {
    font-weight: 500;
    color: var(--text-secondary);
}

.footer-refs {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin: 0 0 6px;
}

.footer-refs a {
    color: var(--primary);
    text-decoration: none;
}

.footer-refs a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.nav-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.nav-link:hover {
    text-decoration: none;
}

.nav-link.active {
    color: white;
    background: var(--primary);
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.28);
}

.llms-page-card {
    max-width: 820px;
    margin: 0 auto;
}

.llms-page-header {
    text-align: center;
    margin-bottom: 28px;
    padding: 32px 20px 24px;
}

.llms-page-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #059669, #34d399);
    border-radius: 16px;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.llms-page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.llms-page-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.65;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.llms-page-desc a {
    color: var(--primary);
    text-decoration: none;
}

.llms-page-desc a:hover {
    text-decoration: underline;
}

.llms-page-form {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.llms-page-input {
    flex: 1;
}

.llms-page-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.llms-page-btn:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.llms-page-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.llms-page-btn .btn-arrow {
    transition: transform 0.15s ease;
}

.llms-page-btn:hover .btn-arrow {
    transform: translateX(3px);
}

.llms-page-loading {
    text-align: center;
    padding: 40px 20px;
}

.llms-page-loading p {
    color: var(--text-secondary);
    margin: 12px 0 4px;
    font-size: 14px;
}

.llms-page-result {
    margin-top: 8px;
}

.llms-page-info {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding: 14px 18px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.llms-page-info .llms-info-item {
    flex: 1;
}

.llms-page-code-wrap {
    margin-bottom: 16px;
}

.llms-page-error {
    text-align: center;
    padding: 40px 20px;
    color: #dc2626;
}

.llms-page-error p {
    margin: 12px 0 16px;
    font-size: 15px;
    color: var(--text-secondary);
}

.llms-page-retry-btn {
    padding: 10px 24px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.llms-page-retry-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.llms-page-faq {
    margin-top: 36px;
    padding: 24px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.llms-page-faq h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px;
}

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

.llms-faq-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.llms-faq-item p {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}
