/* ========================================
   CAD 算量工具箱 - 深色科技风 V2
   灵感: Vercel / Linear / Stripe
   ======================================== */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0b0b12;
    --bg-secondary: #11111b;
    --bg-tertiary: #181825;
    --bg-card: rgba(24, 24, 37, 0.6);
    --bg-card-hover: rgba(30, 30, 48, 0.8);
    --bg-nav: rgba(11, 11, 18, 0.8);
    --text-primary: #e2e2ef;
    --text-secondary: #9a9ab8;
    --text-muted: #6a6a88;
    --accent-from: #6366f1;
    --accent-mid: #8b5cf6;
    --accent-to: #a855f7;
    --accent-glow: rgba(99, 102, 241, 0.12);
    --accent-glow-strong: rgba(99, 102, 241, 0.2);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --success: #22d3a0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
    --max-width: 1120px;
    --nav-height: 64px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* --- Global Background Grid Pattern --- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--text-primary);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --- Section Glow Effects --- */
.section-glow {
    position: absolute;
    width: 600px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.glow-purple {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    top: -100px;
    right: -200px;
}

.glow-pink {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent 70%);
    bottom: -100px;
    left: -200px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-nav);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--text-primary) !important;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
    border-radius: 7px;
    font-size: 15px;
    color: white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links a {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 450;
    color: var(--text-secondary);
    transition: all 0.15s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.nav-btn {
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to)) !important;
    color: white !important;
    font-weight: 500 !important;
    padding: 8px 18px !important;
    margin-left: 8px;
}

.nav-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 700px 500px at 50% -10%, rgba(99, 102, 241, 0.08), transparent),
        radial-gradient(ellipse 500px 400px at 80% 70%, rgba(168, 85, 247, 0.06), transparent);
    pointer-events: none;
}

/* Decorative floating elements */
.hero-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-decoration span {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.hero-decoration .dot-1 {
    width: 4px; height: 4px;
    background: var(--accent-from);
    top: 20%; left: 15%;
    box-shadow: 0 0 20px var(--accent-from);
}

.hero-decoration .dot-2 {
    width: 3px; height: 3px;
    background: var(--accent-to);
    top: 60%; right: 20%;
    box-shadow: 0 0 15px var(--accent-to);
}

.hero-decoration .dot-3 {
    width: 5px; height: 5px;
    background: var(--success);
    bottom: 30%; left: 25%;
    box-shadow: 0 0 25px var(--success);
    opacity: 0.4;
}

/* Arrow line decoration */
.hero-decoration .line {
    position: absolute;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), transparent);
    top: 35%;
    right: 10%;
    transform: rotate(30deg);
}

.hero-decoration .line-2 {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168,85,247,0.2), transparent);
    bottom: 40%;
    left: 12%;
    transform: rotate(-20deg);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 450;
    color: var(--accent-from);
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.hero h1 {
    font-size: clamp(38px, 6.5vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #f0f0ff 20%, var(--accent-from) 50%, var(--accent-to));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    text-decoration: none;
    letter-spacing: -0.2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-from), var(--accent-mid));
    color: white;
    box-shadow: 0 1px 20px rgba(99, 102, 241, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border-hover);
}

.btn-ghost {
    color: var(--text-secondary);
    background: none;
}
.btn-ghost:hover {
    color: var(--text-primary);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

/* --- Sections General --- */
.section {
    position: relative;
    padding: 110px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 650;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 15.5px;
    max-width: 460px;
    margin: 0 auto;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.1);
    font-size: 20px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 15.5px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 680px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.pricing-card.featured {
    border-color: rgba(99, 102, 241, 0.2);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.04), var(--bg-card));
}

.pricing-card.featured::before {
    content: '推荐';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 14px;
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: white;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.pricing-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.pricing-card .price {
    font-size: 42px;
    font-weight: 700;
    margin: 16px 0 4px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card .price-unit {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card .price-note {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pricing-card ul li {
    padding: 7px 0;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.pricing-card ul li::before {
    content: '→';
    color: var(--accent-from);
    margin-right: 10px;
    font-weight: 500;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.cta-section .cta-inner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(168, 85, 247, 0.02));
    border: 1px solid rgba(99, 102, 241, 0.08);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 30px;
    font-weight: 650;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 15px;
}

/* --- Divider --- */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    border: none;
    margin: 0;
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 13.5px;
    padding: 4px 0;
    color: var(--text-muted);
    transition: color 0.15s;
}

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

.footer-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-icp {
    margin-top: 16px;
    font-size: 11.5px;
    color: rgba(255,255,255,0.2);
}

/* --- Sub-pages Common --- */
.page-section {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    position: relative;
}

.page-section h1 {
    font-size: 34px;
    font-weight: 650;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
}

.page-section .subtitle {
    color: var(--text-secondary);
    font-size: 15.5px;
    max-width: 480px;
    margin-bottom: 48px;
}

/* --- Download Page --- */
.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    max-width: 560px;
    margin: 0 auto 32px;
}

.download-card .version {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.download-card .btn-lg {
    font-size: 17px;
    padding: 16px 48px;
}

.download-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.download-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.download-info-card h3 {
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.download-info-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.download-info-card a {
    color: var(--accent-from);
    font-size: 13px;
}

/* --- Auth Pages --- */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 44px;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(10px);
}

.auth-card h1 {
    font-size: 22px;
    font-weight: 650;
    text-align: center;
    margin-bottom: 6px;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.06);
}

.form-group .btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    margin-top: 4px;
}

.auth-card .auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.auth-card .auth-footer a {
    color: var(--accent-from);
}

/* --- Message Banners --- */
.msg-error {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #f87171;
    text-align: center;
}

.msg-success {
    background: rgba(34, 211, 160, 0.06);
    border: 1px solid rgba(34, 211, 160, 0.15);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--success);
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-nav);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 12px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: 75vh;
        padding: 100px 24px 60px;
    }

    .section {
        padding: 70px 0;
    }

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

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

    .section-header h2 {
        font-size: 28px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-decoration { display: none; }
    .footer-inner { grid-template-columns: 1fr; }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.5s ease-out forwards;
}
.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

/* --- WeChat Login --- */
.wechat-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 12px;
    gap: 12px;
}
.wechat-divider::before,
.wechat-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}
.wechat-divider span {
    flex-shrink: 0;
}

.btn-wechat {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 20px;
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-wechat:hover {
    background: #06ad56;
    color: #fff;
    transform: translateY(-1px);
}

/* --- Dashboard WeChat Section --- */
.wechat-section {
    margin-top: 8px;
}

.wechat-bound-card,
.wechat-unbound-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.wechat-bound-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wechat-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.wechat-avatar-placeholder {
    background: #07c160;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

.wechat-bound-text strong {
    font-size: 14px;
    color: var(--text-primary);
}

.wechat-icon-big {
    width: 44px;
    height: 44px;
    background: rgba(7, 193, 96, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wechat-unbound-card .btn-wechat {
    width: auto;
    padding: 8px 20px;
    font-size: 13px;
}


/* --- Logout --- */
.nav-btn-logout {
    opacity: 0.5;
    font-size: 12px !important;
    padding: 6px 14px !important;
}
.nav-btn-logout:hover {
    opacity: 1;
    background: rgba(226,75,74,0.1) !important;
    border-color: rgba(226,75,74,0.3) !important;
    color: #e24b4a !important;
}
/* --- Delete Account --- */
.delete-account-section {
    background: var(--bg-card);
    border: 1px solid rgba(226,75,74,0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 8px;
}
.btn-danger {
    background: rgba(226,75,74,0.1);
    color: #e24b4a;
    border: 1px solid rgba(226,75,74,0.2);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-danger:hover {
    background: #e24b4a;
    color: #fff;
}
/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    width: 100%;
    max-width: 400px;
}
.modal-card input:focus {
    border-color: rgba(226,75,74,0.4);
    box-shadow: 0 0 0 3px rgba(226,75,74,0.06);
}

/* --- Tooltip --- */
.tooltip-group {
    position: relative;
}
.tooltip-box {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% - 8px);
    background: #1a1a2e;
    border: 1px solid #2a2a4a;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 12px;
    line-height: 1.6;
    color: #c8c8e0;
    z-index: 100;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.tooltip-box strong {
    color: #e2e2ef;
    font-size: 13px;
}
.tooltip-box::before {
    content: ;
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: #1a1a2e;
    border-top: 1px solid #2a2a4a;
    border-left: 1px solid #2a2a4a;
    transform: rotate(45deg);
}
.tooltip-group input:focus + .tooltip-box,
.tooltip-group input:hover + .tooltip-box {
    display: block;
}

/* --- Bind Cards --- */
.bind-card-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}
.bind-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.bind-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.bind-icon {
    width: 44px;
    height: 44px;
    background: rgba(99,102,241,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* --- Success message --- */
.msg-success {
    background: rgba(100,255,218,0.08);
    border: 1px solid rgba(100,255,218,0.2);
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    color: #64ffda;
    text-align: center;
}

