/* ===== CSS Reset & Variables ===== */
:root {
    color-scheme: light;
    --bg: #f8f9fb;
    --bg-dark: #0f172a;
    --card: #ffffff;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --primary: #111827;
    --accent: #10a37f;
    --accent-dark: #0d7c5e;
    --accent-light: rgba(16,163,127,0.08);
    --muted: #6b7280;
    --text-secondary: #4b5563;
    --danger: #dc2626;
    --warning: #f59e0b;
    --info: #3b82f6;
    --radius-xl: 32px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(15,23,42,0.04);
    --shadow-md: 0 4px 20px rgba(15,23,42,0.06);
    --shadow-lg: 0 20px 50px rgba(15,23,42,0.1);
    --shadow-xl: 0 60px 120px rgba(15,23,42,0.12);
    --transition: .2s ease;
    --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ===== Layout ===== */
.page { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.page-narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* ===== Navigation ===== */
.nav-wrapper {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
}
.nav {
    max-width: 1100px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav-brand {
    font-size: 20px; font-weight: 800; color: var(--primary);
    display: flex; align-items: center; gap: 8px;
}
.nav-logo { flex-shrink: 0; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    color: var(--muted); font-size: 14px; font-weight: 500;
    transition: color var(--transition);
    display: inline-flex; align-items: center; gap: 5px;
}
.nav-links a:hover { color: var(--primary); }
.nav-links .nav-query-link {
    color: var(--accent-dark);
    background: var(--accent-light);
    border: 1px solid rgba(16,163,127,0.18);
    border-radius: 999px;
    padding: 7px 13px;
    font-weight: 700;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.nav-links .nav-query-link:hover {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}
.nav-links .nav-cta {
    background: var(--primary); color: #fff; padding: 8px 20px;
    border-radius: var(--radius-sm); font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}
.nav-links .nav-cta:hover { background: #374151; transform: translateY(-1px); }

/* Hamburger menu (mobile) */
.nav-toggle {
    display: none; background: none; border: none;
    cursor: pointer; padding: 8px; flex-direction: column; gap: 5px;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--primary);
    transition: all .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border: none; border-radius: var(--radius-md);
    font-size: 15px; font-weight: 600; cursor: pointer;
    transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #374151; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline {
    background: transparent; color: var(--primary);
    border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); }
.btn-ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-ghost:hover { background: var(--accent-light); }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: var(--radius-md); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn:active:not(:disabled) { transform: scale(0.97) !important; }

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #10a37f 0%, #3b82f6 50%, #a855f7 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

/* ===== Cards ===== */
.card {
    background: var(--card); border-radius: var(--radius-lg); padding: 36px 32px;
    border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.card-hover:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lg);
}

/* ===== Form Elements ===== */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 14px; font-weight: 600; color: #374151; }
.form-input, .form-select {
    padding: 12px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius-md); font-size: 15px; outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--card); color: var(--primary);
    font-family: inherit;
}
.form-input:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16,163,127,0.1);
}
.form-input::placeholder { color: #9ca3af; }
.form-input.input-warn {
    border-color: var(--warning);
    box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

/* Email suggestion */
.email-suggest {
    margin-top: 6px; padding: 8px 12px;
    background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2);
    border-radius: var(--radius-sm); font-size: 13px; color: #92400e;
    cursor: pointer; transition: background var(--transition);
    display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.email-suggest:hover { background: rgba(245,158,11,0.14); }
.email-suggest-btn {
    color: var(--accent-dark); font-weight: 600; margin-left: 4px;
    text-decoration: underline; text-underline-offset: 2px;
}

/* ===== Badges ===== */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; padding: 4px 12px;
    border-radius: 999px;
}
.badge-green { background: rgba(16,163,127,0.1); color: var(--accent-dark); }
.badge-red { background: rgba(220,38,38,0.1); color: var(--danger); }
.badge-blue { background: rgba(59,130,246,0.1); color: var(--info); }
.badge-yellow { background: rgba(245,158,11,0.1); color: #d97706; }

/* ===== Toast ===== */
.toast-container {
    position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
    z-index: 9999; display: flex; flex-direction: column; gap: 8px;
    pointer-events: none;
}
.toast {
    padding: 12px 24px; border-radius: var(--radius-md);
    font-size: 14px; font-weight: 500; pointer-events: auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-20px); opacity: 0;
    animation: toastIn .3s ease forwards;
    display: flex; align-items: center; gap: 8px;
}
.toast.removing { animation: toastOut .3s ease forwards; }
.toast-success { background: #065f46; color: #fff; }
.toast-error { background: #991b1b; color: #fff; }
.toast-info { background: var(--primary); color: #fff; }

@keyframes toastIn {
    to { transform: translateY(0); opacity: 1; }
}
@keyframes toastOut {
    to { transform: translateY(-20px); opacity: 0; }
}

/* ===== Code Block ===== */
.code-block {
    background: #1e293b; color: #e2e8f0; border-radius: var(--radius-md);
    padding: 24px; overflow-x: auto; font-family: var(--font-mono);
    font-size: 13px; line-height: 1.8; position: relative;
}
.code-block .comment { color: #64748b; }
.code-block .string { color: #22d3ee; }
.code-block .keyword { color: #c084fc; }
.code-block .func { color: #fbbf24; }
.code-block .number { color: #fb923c; }
.code-copy {
    position: absolute; top: 12px; right: 12px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    color: #94a3b8; padding: 6px 12px; border-radius: var(--radius-sm);
    font-size: 12px; cursor: pointer; transition: all var(--transition);
}
.code-copy:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ===== Key Display ===== */
.key-display {
    background: #1e293b; color: #22d3ee; padding: 14px 18px;
    border-radius: var(--radius-sm); font-family: var(--font-mono);
    font-size: 13px; word-break: break-all; cursor: pointer;
    transition: opacity var(--transition); position: relative;
}
.key-display:hover { opacity: 0.85; }

/* ===== Section ===== */
.section { padding: 80px 0; }
.section-title {
    font-size: 32px; font-weight: 800; text-align: center;
    margin-bottom: 12px; letter-spacing: -0.02em;
}
.section-desc {
    text-align: center; color: var(--muted); margin-bottom: 48px;
    font-size: 16px; max-width: 560px; margin-left: auto; margin-right: auto;
}

/* ===== Spinner ===== */
.spinner {
    display: inline-block; width: 18px; height: 18px;
    border: 2px solid var(--border); border-top-color: var(--accent);
    border-radius: 50%; animation: spin .8s linear infinite;
}
.spinner-lg { width: 40px; height: 40px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Modal ===== */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    z-index: 1200; align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--card); border-radius: var(--radius-lg); padding: 40px;
    max-width: 440px; width: 92%; text-align: center; position: relative;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    animation: modalIn .3s ease;
}
.modal-close {
    position: absolute; top: 16px; right: 16px; background: none; border: none;
    font-size: 22px; cursor: pointer; color: var(--muted); padding: 4px 8px;
    border-radius: var(--radius-sm); transition: all var(--transition);
}
.modal-close:hover { background: var(--border-light); color: var(--primary); }

@keyframes modalIn {
    from { transform: scale(0.95) translateY(10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

/* ===== Purchase Modal ===== */
.purchase-modal { max-width: 480px; width: 92%; padding: 0; overflow: hidden; }
.purchase-modal-body { padding: 36px 32px; }
.purchase-modal h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.purchase-modal .modal-subtitle { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

/* Plan Picker */
.plan-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.plan-option {
    position: relative; border: 2px solid var(--border); border-radius: var(--radius-md);
    padding: 16px 14px; cursor: pointer; transition: all var(--transition);
    background: var(--card); text-align: center;
}
.plan-option:hover { border-color: #b0b8c4; }
.plan-option.active { border-color: var(--accent); background: rgba(16,163,127,0.03); }
.plan-option .rec-tag {
    position: absolute; top: -1px; right: 12px;
    background: var(--accent); color: #fff; font-size: 10px; font-weight: 700;
    padding: 2px 8px; border-radius: 0 0 6px 6px;
}
.plan-option-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.plan-option-price { font-size: 22px; font-weight: 800; margin-bottom: 2px; }
.plan-option-price small { font-size: 12px; font-weight: 400; color: var(--muted); }
.plan-option-quota { font-size: 12px; color: var(--accent-dark); font-weight: 600; }

/* Form in modal */
.modal-form-group { margin-bottom: 16px; }
.modal-form-group .form-label { margin-bottom: 6px; display: block; }
.pay-methods { display: flex; gap: 10px; }
.pay-method {
    flex: 1; padding: 12px; border: 2px solid var(--border); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 13px; font-weight: 600;
    transition: all var(--transition); background: var(--card);
}
.pay-method.active { border-color: var(--accent); background: var(--accent-light); }
.pay-method.active-alipay { border-color: #1677ff; background: rgba(22,119,255,0.06); }
.pay-method-dot {
    display: inline-block; width: 10px; height: 10px; border-radius: 50%;
    margin-right: 6px; vertical-align: middle; flex-shrink: 0;
}

/* Payment QR */
.qr-container {
    width: 200px; height: 200px; margin: 0 auto 16px;
    background: var(--border-light); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.qr-container img { width: 100%; height: 100%; object-fit: contain; }
.modal-price { font-size: 28px; font-weight: 800; color: var(--accent-dark); margin-bottom: 16px; }
.modal-status { font-size: 14px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.modal-plan-text { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* Order Summary Card (formStep 2) */
.order-summary-card {
    background: var(--bg); border-radius: var(--radius-md);
    padding: 16px 20px; margin-bottom: 20px;
    border: 1px solid var(--border);
}
.order-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0; font-size: 14px;
}
.order-summary-row + .order-summary-row { border-top: 1px solid var(--border-light); }
.order-summary-label { color: var(--muted); }
.order-summary-value { font-weight: 600; color: var(--primary); word-break: break-all; text-align: right; max-width: 60%; }
.order-summary-total { padding-top: 10px; margin-top: 4px; border-top: 1px dashed var(--border) !important; }
.order-summary-price { font-size: 20px; font-weight: 800; color: var(--accent-dark); }

/* Form Step Back Link */
.form-step-back {
    display: block; width: 100%; margin-top: 12px; padding: 8px;
    background: none; border: none; color: var(--muted); font-size: 14px;
    cursor: pointer; text-align: center;
    transition: color var(--transition);
}
.form-step-back:hover { color: var(--primary); }

/* QR Back Link */
.qr-back-link {
    display: inline-block; margin-top: 16px; padding: 8px 16px;
    background: none; border: none; color: var(--muted); font-size: 13px;
    cursor: pointer; transition: color var(--transition);
}
.qr-back-link:hover { color: var(--primary); }

/* Success */
.success-box {
    text-align: left;
    background: rgba(16,163,127,0.04); border-radius: var(--radius-md);
    padding: 28px; border: 1px solid rgba(16,163,127,0.15);
}
.success-icon { font-size: 48px; text-align: center; margin-bottom: 16px; }
.success-box h4 { color: var(--accent-dark); margin-bottom: 16px; font-size: 18px; text-align: center; }
.key-warn {
    background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2);
    border-radius: var(--radius-sm); padding: 10px 14px; margin-top: 12px;
    font-size: 13px; color: #92400e; display: flex; align-items: center; gap: 6px;
}
.copy-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; margin-top: 12px; padding: 10px;
    background: var(--accent); color: #fff; border: none;
    border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
    cursor: pointer; transition: background var(--transition);
}
.copy-btn:hover { background: var(--accent-dark); }
.success-meta { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.success-meta strong { color: var(--primary); }

/* ===== Footer ===== */
.footer {
    text-align: center; padding: 40px 20px; color: var(--muted); font-size: 13px;
    border-top: 1px solid var(--border);
}
.footer a { color: var(--accent); }
.footer a:hover { text-decoration: underline; }

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes celebrate {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.animate-fadeIn { animation: fadeIn .6s ease forwards; }
.animate-slideUp { animation: slideUp .6s ease forwards; }

/* Stagger children */
.stagger > * { opacity: 0; animation: slideUp .5s ease forwards; }
.stagger > *:nth-child(1) { animation-delay: 0s; }
.stagger > *:nth-child(2) { animation-delay: .1s; }
.stagger > *:nth-child(3) { animation-delay: .2s; }
.stagger > *:nth-child(4) { animation-delay: .3s; }
.stagger > *:nth-child(5) { animation-delay: .4s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: var(--card); flex-direction: column; padding: 20px;
        border-bottom: 1px solid var(--border); gap: 16px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.mobile-open { display: flex; }
    .nav-links .nav-query-link {
        width: 100%;
        justify-content: center;
    }
    .nav-toggle { display: flex; }
    .section { padding: 48px 0; }
    .section-title { font-size: 24px; }
    .card { padding: 24px 20px; }
    .modal { padding: 28px 20px; }
    .purchase-modal-body { padding: 28px 20px; }
    .plan-picker { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .section-title { font-size: 22px; }
    .btn-lg { padding: 14px 24px; font-size: 15px; }
}

/* ===== 右下角客服 FAB ===== */
.fab-container { position: fixed; right: 20px; bottom: 20px; z-index: 50; }
.fab-button {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 16px 8px 8px;
    background: var(--accent); color: #fff; border: none; border-radius: 999px;
    cursor: pointer; text-decoration: none;
    box-shadow: 0 4px 20px rgba(16,163,127,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.fab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(16,163,127,0.4);
}
.fab-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.fab-text { display: flex; flex-direction: column; line-height: 1.3; }
.fab-title { font-size: 13px; font-weight: 600; }
.fab-sub { font-size: 11px; opacity: 0.7; }

/* ===== 联系客服弹窗 ===== */
.contact-overlay {
    position: fixed; inset: 0; z-index: 1300;
    background: rgba(0,0,0,0.45); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.contact-card {
    position: relative; width: 100%; max-width: 380px;
    padding: 32px 28px; background: var(--card);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-xl);
}
.contact-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; font-size: 24px;
    color: var(--muted); cursor: pointer; line-height: 1;
}
.contact-close:hover { color: var(--text); }
.contact-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.contact-list { display: flex; flex-direction: column; }
.contact-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-label { font-size: 14px; color: var(--muted); font-weight: 500; }
.contact-value { font-size: 15px; font-weight: 600; color: var(--text); }
a.contact-link { color: var(--accent); text-decoration: none; }
a.contact-link:hover { text-decoration: underline; }
.contact-hint { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.5; }

@media (max-width: 768px) {
    .fab-button { padding: 0; }
    .fab-text { display: none; }
    .fab-container { right: 16px; bottom: 16px; }
    .fab-avatar { width: 48px; height: 48px; }
    .contact-overlay { align-items: flex-end; padding: 0; }
    .contact-card { max-width: 100%; border-radius: 20px 20px 0 0; }
}

/* ===== Side Link Panel ===== */
@keyframes linkPanelSlideIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes linkPanelSlideInMobile {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
}
.link-panel {
    position: fixed;
    right: 24px;
    top: 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 900;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    overflow-x: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: 10px;
    animation: linkPanelSlideIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s both;
}
.link-panel::-webkit-scrollbar { display: none; }
.link-panel.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(40px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.link-panel__close {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
    margin-top: 4px;
}
.link-panel__close:hover { background: rgba(0,0,0,0.7); }
.link-panel__header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 4px;
}
.link-panel__icon { font-size: 14px; }
.link-panel__title {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    line-height: 1.35;
}
.link-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 160px;
    padding: 14px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.link-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    pointer-events: none;
    border-radius: inherit;
}
.link-tile:hover {
    transform: translateX(-5px) scale(1.02);
    box-shadow: none;
}
.link-tile__logo { font-size: 20px; line-height: 1; }
.link-tile__name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.link-tile__desc { font-size: 11px; opacity: 0.7; line-height: 1.3; }
.link-tile__cta {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 2px;
}
/* Card gradients */
.tile-gemini       { background: linear-gradient(150deg, #1a73e8, #4285f4, #669df6); }
.tile-claude       { background: linear-gradient(150deg, #c75b27, #d4793c, #e09660); }
.tile-grok         { background: linear-gradient(150deg, #0a0a0a, #222, #333); border: 1px solid rgba(255,255,255,0.08); }
.tile-chatgpt-team { background: linear-gradient(150deg, #059669, #10b981, #34d399); }
.tile-chatgpt      { background: linear-gradient(150deg, #6d28d9, #7c3aed, #8b5cf6); }

@media (max-width: 1200px) {
    .link-panel { right: 10px; }
    .link-tile { width: 140px; padding: 12px; }
    .link-tile__desc { display: none; }
}
@media (max-width: 1100px) {
    .link-panel {
        position: fixed;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 0;
        max-height: none;
        overflow: visible;
        background: rgba(255,255,255,0.82);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(0,0,0,0.08);
        padding: 8px 6px calc(env(safe-area-inset-bottom, 0px) + 8px);
        animation: linkPanelSlideInMobile 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s both;
    }
    .link-panel.is-hidden {
        transform: translateY(100%);
        opacity: 0;
    }
    .link-panel__close,
    .link-panel__header { display: none; }
    .link-tile {
        flex: 1;
        width: auto;
        min-width: 0;
        flex-direction: row;
        align-items: center;
        gap: 5px;
        padding: 8px 6px;
        border-radius: 10px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        margin: 0 3px;
    }
    .link-tile::before { display: none; }
    .link-tile:hover { transform: none; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
    .link-tile__logo { font-size: 15px; flex-shrink: 0; }
    .link-tile__name { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .link-tile__desc,
    .link-tile__cta { display: none; }
    .fab-container { bottom: 60px; }
}
