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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a2230 50%, #0f1419 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 20px; */
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

/* Dashboard page background */
.page-dashboard body {
    background: #0f1419;
    color: #ffffff;
}

/* Marketing page background */
.page-landing body {
    background: linear-gradient(135deg, #0f1419 0%, #1a2230 50%, #0f1419 100%);
    color: #ffffff;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.page-landing {
    display: block;
    min-height: 100vh;
    justify-content: normal;
    align-items: normal;
    padding: 0;
    overflow: auto;
    background: #0f1419;
}

.page-landing .site-nav,
.page-landing .hero,
.page-landing .section,
.page-landing .site-footer {
    position: relative;
    z-index: 10;
}

.page-dashboard {
    display: block;
    min-height: 100vh;
    justify-content: normal;
    align-items: normal;
    padding: 0;
    background: #0f1419;
    color: #ffffff;
    overflow: auto;
}

/* Dynamic Background Elements */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.02); }
}

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

/* Hero Section Background */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 122, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 86, 179, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 64, 133, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: float 30s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 122, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 122, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: pulse 8s ease-in-out infinite;
    z-index: -1;
}

/* Section Backgrounds */
.section {
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 25, 45, 0.9) 0%, rgba(20, 30, 50, 0.9) 100%);
    z-index: -1;
}

.section--surface {
    position: relative;
}

.section--surface::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(25, 35, 55, 0.95);
    /* border-radius: 36px; */
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
    z-index: -1;
}

/* Card Hover Animations */
.card {
    background: rgba(35, 45, 65, 0.98);
    border-radius: 28px;
    border: 1px solid rgba(80, 90, 120, 0.6);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 3px rgba(255, 255, 255, 0.05);
    padding: 36px 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(30px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 122, 255, 0.4);
}

/* Feature Cards with Glow Effect */
.feature {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 24px;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.15), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 122, 255, 0.5);
    box-shadow: 
        0 28px 60px rgba(15, 23, 42, 0.25),
        0 0 0 1px rgba(59, 130, 246, 0.2) inset;
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 122, 255, 0.4);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0;
    }
    25% { 
        transform: translate(20px, -30px);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-15px, 40px);
        opacity: 0.8;
    }
    75% { 
        transform: translate(25px, 20px);
        opacity: 0.3;
    }
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, #007AFF 0%, #0056B3 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056B3 0%, #004080 100%);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45);
    transform: translateY(-2px);
}

/* Navigation Enhancements */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(16px) saturate(180%);
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav.scrolled {
    background: rgba(0, 18, 41, 0.98);
    border-bottom-color: rgba(0, 122, 255, 0.4);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* Hero Panel Animations */
.hero-panel {
    animation: panelFloat 6s ease-in-out infinite;
}

@keyframes panelFloat {
    0%, 100% { transform: translateY(0) rotate(0.5deg); }
    50% { transform: translateY(-8px) rotate(-0.5deg); }
}

.hero-steps li {
    transition: all 0.3s ease;
}

.hero-steps li:hover {
    transform: translateX(4px);
}

/* Enhanced Text Effects */
.hero__title {
    background: linear-gradient(135deg, #ffffff 0%, #B3D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 8s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { 
        background-position: 0% 50%;
        background-size: 200% 200%;
    }
    50% { 
        background-position: 100% 50%;
        background-size: 300% 300%;
    }
}

/* Card Hover Animations */
.card {
    background: rgba(35, 45, 65, 0.98);
    border-radius: 28px;
    border: 1px solid rgba(80, 90, 120, 0.6);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 3px rgba(255, 255, 255, 0.05);
    padding: 36px 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(30px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 122, 255, 0.4);
}

/* Feature Cards with Glow Effect */
.feature {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 24px;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.15), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 122, 255, 0.5);
    box-shadow: 
        0 28px 60px rgba(15, 23, 42, 0.25),
        0 0 0 1px rgba(59, 130, 246, 0.2) inset;
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 122, 255, 0.4);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0;
    }
    25% { 
        transform: translate(20px, -30px);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-15px, 40px);
        opacity: 0.8;
    }
    75% { 
        transform: translate(25px, 20px);
        opacity: 0.3;
    }
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, #007AFF 0%, #0056B3 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056B3 0%, #004080 100%);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45);
    transform: translateY(-2px);
}

/* Navigation Enhancements */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(16px) saturate(180%);
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav.scrolled {
    background: rgba(0, 18, 41, 0.98);
    border-bottom-color: rgba(0, 122, 255, 0.4);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* Hero Panel Animations */
.hero-panel {
    animation: panelFloat 6s ease-in-out infinite;
}

@keyframes panelFloat {
    0%, 100% { transform: translateY(0) rotate(0.5deg); }
    50% { transform: translateY(-8px) rotate(-0.5deg); }
}

.hero-steps li {
    transition: all 0.3s ease;
}

.hero-steps li:hover {
    transform: translateX(4px);
}

/* Enhanced Text Effects */
.hero__title {
    background: linear-gradient(135deg, #ffffff 0%, #B3D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 8s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { 
        background-position: 0% 50%;
        background-size: 200% 200%;
    }
    50% { 
        background-position: 100% 50%;
        background-size: 300% 300%;
    }
}

.container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 10;
}

/* Header Section */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.logo-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-box {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.logo-box:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(59, 130, 246, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 122, 255, 0.5);
}

.logo-box:hover::before {
    opacity: 1;
}

.logo-icon {
    width: 50px;
    height: 50px;
    color: #66B2FF;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.5));
    transition: all 0.4s ease;
}

.logo-box:hover .logo-icon {
    color: #007AFF;
    transform: rotate(5deg);
}

.platform-name {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    letter-spacing: 1px;
    position: relative;
    margin-top: 8px;
}

.platform-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #66B2FF, transparent);
    border-radius: 2px;
}

/* Login Section */
.login-section {
    width: 100%;
}

.login-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    border-radius: 24px 24px 0 0;
}

.login-box:hover {
    box-shadow: 
        0 24px 72px rgba(15, 23, 42, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset,
        0 2px 6px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 36px;
    text-align: center;
    letter-spacing: -0.5px;
    position: relative;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    background-color: #f8fafc;
    padding: 0 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.input-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, #007AFF, #66B2FF);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.input-wrapper:focus-within {
    border-color: #007AFF;
    background-color: #ffffff;
    box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 0.08),
        0 4px 16px rgba(59, 130, 246, 0.12);
    outline: none;
    transform: translateY(-1px);
}

.input-wrapper:focus-within::before {
    opacity: 0.1;
}

/* Phone input with verify button */
.input-wrapper-phone {
    padding-right: 8px;
    gap: 8px;
}

.input-wrapper-phone .form-input {
    flex: 1;
    padding-right: 0;
}

.btn-verify {
    padding: 8px 16px;
    background: linear-gradient(135deg, #007AFF 0%, #0056B3 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.btn-verify:hover:not(:disabled) {
    background: linear-gradient(135deg, #0056B3 0%, #004080 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    transform: translateY(-1px);
}

.btn-verify:active:not(:disabled) {
    transform: translateY(0);
}

.btn-verify:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.input-icon {
    width: 20px;
    height: 20px;
    color: #64748b;
    margin-right: 12px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.input-wrapper:focus-within .input-icon {
    color: #007AFF;
}

.form-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 0;
    font-size: 15px;
    color: #333333;
    background-color: transparent;
}

.form-input::placeholder {
    color: #94a3b8;
}

.error-message {
    color: #ef4444;
    font-size: 13px;
    padding-left: 4px;
    display: none;
    font-weight: 500;
}

.action-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -8px;
}

.link {
    color: #007AFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.link:hover {
    color: #0056B3;
    text-decoration: underline;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #007AFF 0%, #0056B3 100%);
    color: #ffffff;
    margin-top: 12px;
    box-shadow: 
        0 4px 16px rgba(59, 130, 246, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056B3 0%, #004080 100%);
    box-shadow: 
        0 6px 24px rgba(59, 130, 246, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 12px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-wechat {
    background-color: #ffffff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    margin-top: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.btn-wechat:hover {
    background-color: #f8fafc;
    border-color: #007AFF;
    color: #007AFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
}

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

.wechat-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.btn-wechat:hover .wechat-icon {
    transform: scale(1.1);
}

/* Submit Button (for registration) */
.btn-submit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    margin-top: 12px;
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 
        0 6px 24px rgba(16, 185, 129, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 12px rgba(16, 185, 129, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Apps Page Styles */
.page-apps {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.page-apps .dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    background: #0f1419;
    width: 100%;
    max-width: none;
}

.page-apps .dashboard-main {
    width: 100%;
    max-width: none;
}

.dashboard-sidebar {
    background: rgba(15, 23, 42, 0.95);
    border-right: 1px solid rgba(59, 130, 246, 0.15);
    padding: 24px 0;
    backdrop-filter: blur(16px);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
    color: #B3D9FF;
    display: grid;
    place-items: center;
}

.brand-mark svg {
    width: 18px;
    height: 18px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 16px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(226, 232, 240, 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.sidebar-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #ffffff;
    transform: translateX(2px);
}

.sidebar-link.is-active {
    background: rgba(59, 130, 246, 0.15);
    color: #B3D9FF;
    border-left: 3px solid #007AFF;
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    color: currentColor;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    background: #0f1419;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
}

.user-quick {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Coolpilot Icon - Right Floating */
.coolpilot-icon {
    color: #007AFF;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1000;
    background: rgba(15, 20, 25, 0.9);
    border: 2px solid rgba(0, 122, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.coolpilot-icon:hover {
    transform: scale(1.1);
    background: rgba(15, 20, 25, 1);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5);
}

.coolpilot-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    display: grid;
    place-items: center;
    color: #B3D9FF;
    font-size: 14px;
    font-weight: 600;
}

.user-name {
    color: #ffffff;
    font-weight: 500;
}

.dashboard-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.page-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.page-subtitle {
    color: rgba(226, 232, 240, 0.8);
    font-size: 16px;
}

.apps-section {
    margin-bottom: 48px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.app-card {
    background: rgba(25, 35, 55, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.app-card:hover::before {
    left: 100%;
}

.app-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
}

.app-card--coming-soon {
    opacity: 0.7;
    filter: grayscale(0.3);
}

.app-card--coming-soon:hover {
    opacity: 0.9;
    filter: grayscale(0.1);
}

.app-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.app-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.15);
    display: grid;
    place-items: center;
    color: #B3D9FF;
}

.app-card__icon svg {
    width: 24px;
    height: 24px;
}

.app-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.app-card__status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-card:not(.app-card--coming-soon) .app-card__status {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.app-card--coming-soon .app-card__status {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.usage-info {
    font-size: 12px;
    color: rgba(226, 232, 240, 0.7);
}

.app-card__content {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.app-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.app-card__description {
    color: rgba(226, 232, 240, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.app-card__actions {
    position: relative;
    z-index: 1;
}

.btn-compact {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: rgba(148, 163, 184, 0.8);
}

.btn-outline:hover:not(:disabled) {
    border-color: rgba(59, 130, 246, 0.6);
    color: #B3D9FF;
}

.btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.coming-soon-notice {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 32px;
}

.notice-icon {
    font-size: 24px;
}

.notice-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.notice-content p {
    color: rgba(226, 232, 240, 0.8);
    font-size: 14px;
}

/* Footer Section */
.footer {
    width: 100%;
    text-align: center;
    padding-top: 20px;
}

.copyright {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        gap: 30px;
    }

    .login-box {
        padding: 32px 24px;
    }

    .platform-name {
        font-size: 24px;
    }

    .form-title {
        font-size: 18px;
        margin-bottom: 28px;
    }
}

/* ---------- Marketing site (index.html) ---------- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(16px) saturate(180%);
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav.scrolled {
    background: rgba(0, 18, 41, 0.98);
    border-bottom-color: rgba(0, 122, 255, 0.4);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.site-nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-brand:hover {
    transform: translateY(-1px);
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
    color: #B3D9FF;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.brand-mark:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.brand-mark svg { 
    width: 22px; 
    height: 22px; 
    transition: all 0.3s ease;
}

.brand-name { 
    color: #ffffff; 
    font-weight: 700; 
    letter-spacing: 0.5px; 
    font-size: 18px; 
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.site-links { 
    display: flex; 
    gap: 24px; 
    margin: 0 auto;
}

.site-links .nav-link {
    color: rgba(226, 232, 240, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.site-links .nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007AFF, #66B2FF);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.site-links .nav-link:hover {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.site-links .nav-link:hover::before {
    width: 60%;
}

.site-cta { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.btn.small { 
    padding: 12px 22px; 
    font-size: 14px; 
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 10px;
    min-width: 80px;
    text-align: center;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-ghost {
    background: rgba(0, 122, 255, 0.12);
    color: #B3D9FF;
    border: 1px solid rgba(0, 122, 255, 0.3);
    width: auto;
    padding: 12px 22px;
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 500;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 122, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.btn-primary.small {
    background: linear-gradient(135deg, #007AFF 0%, #0056B3 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-primary.small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-primary.small:hover::before {
    left: 100%;
}

.btn-primary.small:hover {
    background: linear-gradient(135deg, #0056B3 0%, #004080 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.landing-main {
    position: relative;
    z-index: 1;
}

.hero {
    padding: 120px 24px 80px;
}
.hero__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 56px;
}
.hero__content {
    flex: 1;
    color: #ffffff;
}
.hero__eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 122, 255, 0.25);
    color: #99C9FF;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero__title {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #B3D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
}
.hero__subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 24px;
}
.hero__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.hero__points li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 40, 85, 0.6);
    border: 1px solid rgba(0, 122, 255, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
}
.point-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF, #004080);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 12px;
}
.hero__actions {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.hero__actions .btn {
    width: auto;
    min-width: 168px;
    padding: 12px 22px;
}
.hero__meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.hero__visual {
    flex: 1;
    display: flex;
    justify-content: center;
}
.hero-panel {
    width: 100%;
    max-width: 440px;
    background: rgba(25, 35, 55, 0.95);
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(0, 122, 255, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hero-panel__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px 16px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15), rgba(0, 122, 255, 0.25));
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF, #004080);
    box-shadow: 0 0 0 6px rgba(0, 122, 255, 0.25);
}
.hero-panel__title {
    font-weight: 600;
    color: #ffffff;
}
.hero-status {
    margin-left: auto;
    font-size: 12px;
    color: #99C9FF;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 122, 255, 0.3);
}
.hero-panel__body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-steps li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 122, 255, 0.3);
    background: rgba(25, 35, 55, 0.8);
}
.hero-steps li.is-done {
    border-color: rgba(0, 122, 255, 0.5);
    background: rgba(0, 60, 120, 0.7);
}
.hero-steps li.is-active {
    border-color: rgba(0, 122, 255, 0.7);
    background: rgba(0, 86, 179, 0.2);
    box-shadow: 0 12px 26px rgba(59, 130, 246, 0.2);
}
.step-id {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.3), rgba(0, 122, 255, 0.15));
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 13px;
}
.step-text strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 2px;
}
.step-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.5;
}
.step-state {
    font-size: 12px;
    color: #99C9FF;
    font-weight: 600;
}
.hero-steps li.is-done .step-state {
    color: #66FF99;
}
.hero-panel__footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0, 122, 255, 0.4);
    padding: 1px;
}
.hero-panel__footer .metric {
    background: rgba(25, 35, 55, 0.95);
    padding: 14px 0;
    text-align: center;
}
.metric-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}
.metric-value {
    display: block;
    font-weight: 600;
    color: #ffffff;
    font-size: 16px;
    margin-top: 6px;
}

.section {
    padding: 80px 24px 60px;
}
.section--surface {
    position: relative;
}
.section--surface::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(25, 35, 55, 0.95);
    /* border-radius: 36px; */
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
    z-index: -1;
}

/* Card Hover Animations */
.card {
    background: rgba(35, 45, 65, 0.98);
    border-radius: 28px;
    border: 1px solid rgba(80, 90, 120, 0.6);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 3px rgba(255, 255, 255, 0.05);
    padding: 36px 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(30px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 122, 255, 0.4);
}

/* Feature Cards with Glow Effect */
.feature {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 24px;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.15), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 122, 255, 0.5);
    box-shadow: 
        0 28px 60px rgba(15, 23, 42, 0.25),
        0 0 0 1px rgba(59, 130, 246, 0.2) inset;
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 122, 255, 0.4);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0;
    }
    25% { 
        transform: translate(20px, -30px);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-15px, 40px);
        opacity: 0.8;
    }
    75% { 
        transform: translate(25px, 20px);
        opacity: 0.3;
    }
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, #007AFF 0%, #0056B3 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056B3 0%, #004080 100%);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45);
    transform: translateY(-2px);
}

/* Navigation Enhancements */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(16px) saturate(180%);
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav.scrolled {
    background: rgba(0, 18, 41, 0.98);
    border-bottom-color: rgba(0, 122, 255, 0.4);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* Hero Panel Animations */
.hero-panel {
    animation: panelFloat 6s ease-in-out infinite;
}

@keyframes panelFloat {
    0%, 100% { transform: translateY(0) rotate(0.5deg); }
    50% { transform: translateY(-8px) rotate(-0.5deg); }
}

.hero-steps li {
    transition: all 0.3s ease;
}

.hero-steps li:hover {
    transform: translateX(4px);
}

/* Enhanced Text Effects */
.hero__title {
    background: linear-gradient(135deg, #ffffff 0%, #B3D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 8s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { 
        background-position: 0% 50%;
        background-size: 200% 200%;
    }
    50% { 
        background-position: 100% 50%;
        background-size: 300% 300%;
    }
}

/* Card Hover Animations */
.card {
    background: rgba(35, 45, 65, 0.98);
    border-radius: 28px;
    border: 1px solid rgba(80, 90, 120, 0.6);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 3px rgba(255, 255, 255, 0.05);
    padding: 36px 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(30px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 122, 255, 0.4);
}

/* Feature Cards with Glow Effect */
.feature {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 24px;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.15), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 122, 255, 0.5);
    box-shadow: 
        0 28px 60px rgba(15, 23, 42, 0.25),
        0 0 0 1px rgba(59, 130, 246, 0.2) inset;
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 122, 255, 0.4);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0;
    }
    25% { 
        transform: translate(20px, -30px);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-15px, 40px);
        opacity: 0.8;
    }
    75% { 
        transform: translate(25px, 20px);
        opacity: 0.3;
    }
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, #007AFF 0%, #0056B3 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056B3 0%, #004080 100%);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45);
    transform: translateY(-2px);
}

/* Navigation Enhancements */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(16px) saturate(180%);
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav.scrolled {
    background: rgba(0, 18, 41, 0.98);
    border-bottom-color: rgba(0, 122, 255, 0.4);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* Hero Panel Animations */
.hero-panel {
    animation: panelFloat 6s ease-in-out infinite;
}

@keyframes panelFloat {
    0%, 100% { transform: translateY(0) rotate(0.5deg); }
    50% { transform: translateY(-8px) rotate(-0.5deg); }
}

.hero-steps li {
    transition: all 0.3s ease;
}

.hero-steps li:hover {
    transform: translateX(4px);
}

/* Enhanced Text Effects */
.hero__title {
    background: linear-gradient(135deg, #ffffff 0%, #B3D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 8s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { 
        background-position: 0% 50%;
        background-size: 200% 200%;
    }
    50% { 
        background-position: 100% 50%;
        background-size: 300% 300%;
    }
}
.section__inner {
    max-width: 1160px;
    margin: 0 auto;
}
.section__header {
    text-align: center;
    margin-bottom: 28px;
}
.section__title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}
.section--surface .section__title {
    color: #ffffff;
}
.section__desc {
    margin-top: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}
.section--surface .section__desc {
    color: rgba(255, 255, 255, 0.85);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.section--surface .card {
    background: #007AFF !important;
    border-radius: 18px !important;
    padding: 24px !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14) !important;
    border: 1px solid #007AFF !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.section--surface .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18) !important;
    border-color: #0056B3 !important;
    background: #0056B3 !important;
}
.section--surface .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-icon svg {
    stroke: #ffffff;
    fill: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}
.card-icon svg { width: 24px; height: 24px; }
.card-title {
    margin-top: 18px;
    font-weight: 700;
    color: #ffffff;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.card-desc {
    margin-top: 10px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.feature {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 24px;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}
.feature h3 {
    color: #B3D9FF;
    font-size: 18px;
}
.feature p {
    color: rgba(153, 201, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.stat-band {
    margin-top: 36px;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.2);
    background: rgba(15, 23, 42, 0.55);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.stat {
    padding: 24px;
    text-align: center;
    border-right: 1px solid rgba(148, 163, 184, 0.15);
}
.stat:last-child { border-right: none; }
.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #B3D9FF;
    margin-bottom: 6px;
}
.stat-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}
.logo-pill {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0, 122, 255, 0.15);
    border: 1px solid rgba(0, 122, 255, 0.2);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}
.section--surface .logo-pill {
    background: rgba(0, 122, 255, 0.2);
    border: 1px solid rgba(0, 122, 255, 0.3);
    color: #ffffff;
}
.testimonial {
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}
.testimonial span {
    display: block;
    opacity: 0.7;
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}
.center-cta {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 14px;
}
.center-cta .btn {
    width: auto;
    min-width: 180px;
    padding: 12px 26px;
}

.site-footer {
    padding: 48px 32px 60px;
    border-top: 1px solid rgba(0, 122, 255, 0.3);
    background: linear-gradient(180deg, rgba(0, 20, 41, 0.95) 0%, rgba(0, 20, 41, 1) 100%);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #007AFF, transparent);
    opacity: 0.5;
}

.site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(226, 232, 240, 0.85);
    position: relative;
    z-index: 1;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.site-footer a:hover {
    color: #B3D9FF;
    text-decoration: underline;
    transform: translateY(-1px);
}

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

.footer-links a {
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(0, 122, 255, 0.15);
    text-decoration: none;
}

.site-footer__inner > span {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1040px) {
    .hero__inner { flex-direction: column; text-align: center; }
    .hero__content { max-width: 700px; }
    .hero__points li { text-align: left; }
    .hero__actions { justify-content: center; }
    .hero__visual { width: 100%; }
}
@media (max-width: 980px) {
    .site-links { display: none; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-band { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
    .site-nav__inner { flex-wrap: wrap; justify-content: center; }
    .site-cta { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
    .hero { padding: 100px 18px 60px; }
    .hero__title { font-size: 32px; }
    .hero__subtitle { font-size: 16px; }
    .hero__points li { padding: 12px; }
    .hero-panel__footer { grid-template-columns: 1fr; }
    .card-grid, .feature-grid { grid-template-columns: 1fr; }
    .stat-band { grid-template-columns: 1fr; }
    .landing-main { padding-bottom: 40px; }
    .site-nav__inner { padding: 12px 18px; }
    .site-cta { width: 100%; justify-content: center; }
    .center-cta { flex-direction: column; }
}
@media (max-width: 480px) {
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .card { padding: 20px; }
    .feature { padding: 20px; }
    .section { padding: 64px 18px 48px; }
}

/* Apps Page - Enhanced */
.page-apps {
    background: #0f1419;
    color: #ffffff;
    overflow: auto;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 32px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apps-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}

@media (max-width: 768px) {
    .apps-grid {
        gap: 16px;
    }
    
    .app-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px;
    }
    
    .app-card__actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .app-card {
        padding: 20px;
    }
}

.app-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 12px 40px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 1px 2px rgba(0, 0, 0, 0.02);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.app-card:hover::before {
    left: 100%;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 122, 255, 0.4);
}

.app-card--coming-soon {
    opacity: 0.7;
    background: rgba(226, 232, 240, 0.5);
}

.app-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 122, 255, 0.05));
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    color: #007AFF;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.app-card:hover .app-card__icon {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3);
}

.app-card__icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
}

.app-card__title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.app-card__description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.app-card__status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-available {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-coming-soon {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.usage-info {
    font-size: 12px;
    color: #64748b;
}

.app-card__actions {
    display: flex;
    gap: 12px;
}

.app-card__actions .btn-primary {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 12px;
}

.app-card__actions .btn-outline {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: #64748b;
}

.app-card__actions .btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.coming-soon-notice {
    background: rgba(226, 232, 240, 0.5);
    border: 1px solid rgba(0, 122, 255, 0.3);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(20px);
}

.notice-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.notice-content p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
}

/* Dashboard - Enhanced */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.04; }
    50% { opacity: 0.06; }
}

.dashboard-sidebar {
    width: 260px;
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
    padding: 24px 0px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: 
        4px 0 20px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 2px 0 0 rgba(226, 232, 240, 0.7);
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0.1;
    z-index: -1;
}

/* .dashboard-sidebar:hover {
    box-shadow: 
        30px 0 120px rgba(15, 23, 42, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 3px 0 0 rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
} */

.dashboard-sidebar .brand-mark {
    width: 40px;
    height: 40px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.dashboard-sidebar .brand-mark svg {
    width: 24px;
    height: 24px;
    color: #007AFF;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2));
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: #0f172a;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.sidebar-link:hover::before {
    left: 100%;
}

.sidebar-link .sidebar-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
}

.sidebar-link svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.sidebar-link:hover,
.sidebar-link.is-active {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    border-color: rgba(0, 122, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    transform: translateX(4px);
}

.sidebar-link:hover svg,
.sidebar-link.is-active svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.3));
}

.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: calc(100% - 260px);
    background: transparent;
    position: relative;
    z-index: 10;
}

@media (max-width: 960px) {
    .dashboard-main {
        width: 100%;
    }
}

.dashboard-header {
    height: 64px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-shadow: 
        0 8px 24px rgba(15, 23, 42, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(20px);
    position: relative;
}

.dashboard-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #007AFF, transparent);
    opacity: 0.3;
}

.user-quick {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #007AFF 0%, #66B2FF 100%);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 
        0 3px 8px rgba(59, 130, 246, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    position: relative;
    overflow: hidden;
}

.user-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.user-avatar:hover::before {
    left: 100%;
}

.user-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Logout Menu */
.user-quick {
    position: relative;
    cursor: pointer;
}

.logout-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
}

.logout-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 16px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
}

.logout-link {
    display: block;
    padding: 10px 16px;
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin: 4px;
}

.logout-link:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.dashboard-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 12px 40px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 1px 2px rgba(0, 0, 0, 0.02);
    padding: 24px 28px;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
    opacity: 0.6;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 122, 255, 0.4);
}

.card-profile {
    gap: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.card-profile__info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #007AFF 0%, #66B2FF 45%, #99C6FF 80%, #CCE4FF 100%);
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 
        0 16px 48px rgba(59, 130, 246, 0.5),
        0 0 0 3px rgba(255, 255, 255, 0.4) inset,
        0 2px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.avatar-large:hover::before {
    left: 100%;
}

.avatar-large:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 
        0 24px 72px rgba(59, 130, 246, 0.7),
        0 0 0 4px rgba(255, 255, 255, 0.6) inset,
        0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-profile h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    background: linear-gradient(135deg, #0f172a 0%, #334155 30%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
    text-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.card-profile p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.card-profile__actions {
    display: flex;
    gap: 16px;
}

.btn-outline {
    padding: 10px 18px;
    border-radius: 12px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: #0056B3;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-outline:hover::before {
    left: 100%;
}

.btn-outline:hover {
    border-color: rgba(59, 130, 246, 0.8);
    color: #1e3a8a;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.card-balance {
    gap: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 244, 0.95) 100%);
}

.card-balance__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-balance__meta .label {
    font-size: 15px;
    color: #475569;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-balance__meta .value {
    font-size: 48px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    background: linear-gradient(135deg, #0f1419 0%, #007AFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 3px 6px rgba(15, 23, 42, 0.08);
}

.link-inline {
    color: #0056B3;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.link-inline:hover {
    color: #1e3a8a;
    text-decoration: underline;
    transform: translateX(2px);
}

.card-balance__plan {
    display: flex;
    align-items: center;
    gap: 24px;
}

.plan-status {
    text-align: right;
}

.plan-label {
    display: block;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.plan-name {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-upgrade {
    padding: 12px 24px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #fdba74 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 24px rgba(249, 115, 22, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    position: relative;
    overflow: hidden;
}

.btn-upgrade::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-upgrade:hover::before {
    left: 100%;
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(249, 115, 22, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.btn-upgrade:active {
    transform: translateY(-1px);
}

/* Additional Stats Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.stat-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #007AFF 0%, #66B2FF 100%);
    display: grid;
    place-items: center;
    margin-bottom: 8px;
}

.stat-card__icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.stat-card__value {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.stat-card__label {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

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

@media (max-width: 960px) {
    .dashboard-layout {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        padding: 24px;
        gap: 24px;
        height: auto;
        max-height: none;
        box-sizing: border-box;
    }
    
    .sidebar-nav {
        flex-direction: column;
        gap: 8px;
        flex-wrap: nowrap;
        width: 100%;
    }
    
    .sidebar-link {
        padding: 12px 16px;
        white-space: normal;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }
    
    .sidebar-brand {
        flex-shrink: 0;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        padding: 20px;
        gap: 20px;
    }
    
    .sidebar-brand {
        font-size: 16px;
    }
    
    .sidebar-link {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .dashboard-header {
        height: 72px;
        padding: 0 24px;
    }
    
    .dashboard-content {
        padding: 24px;
        gap: 24px;
    }
    
    .card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px 28px;
    }
    
    .card-profile__actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .card-balance__plan {
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .plan-status {
        text-align: left;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .dashboard-content {
        padding: 20px;
    }
    
    .card {
        padding: 20px 24px;
    }
    
    .avatar-large {
        width: 64px;
        height: 64px;
        font-size: 16px;
    }
    
    .card-profile h2 {
        font-size: 24px;
    }
    
    .card-balance__meta .value {
        font-size: 48px;
    }
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal.show {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    z-index: 1;
    width: 360px;
    max-width: calc(100% - 40px);
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 16px;
    box-shadow: 0 24px 72px rgba(15,23,42,0.35);
    padding: 24px 24px 28px;
    text-align: center;
}

.modal-title {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #e2e8f0;
}

.qr-box {
    width: 270px;
    height: 290px;
    border-radius: 12px;
    margin: 0 auto 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pricing Page Styles */
.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    background: linear-gradient(135deg, #0f172a 0%, #334155 30%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.pricing-header p {
    color: #64748b;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 48px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 12px 40px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 1px 2px rgba(0, 0, 0, 0.02);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 122, 255, 0.4);
}

.pricing-card__header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-card__header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.pricing-card__price .price {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #0f1419 0%, #007AFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card__price .period {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
}

.pricing-card__desc {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.pricing-card__features {
    flex: 1;
    margin-bottom: 24px;
}

.pricing-card__features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #334155;
    font-size: 14px;
}

.feature-item svg {
    width: 18px;
    height: 18px;
    color: #10b981;
    flex-shrink: 0;
}

.pricing-card__action {
    margin-top: auto;
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.pricing-card--recommended {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.15),
        0 0 0 1px rgba(59, 130, 246, 0.2) inset,
        0 2px 8px rgba(59, 130, 246, 0.1);
}

.btn-full {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.faq-section {
    margin-top: 48px;
}

.faq-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    text-align: center;
}

.faq-item {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 24px 16px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
}

.qr-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-tip {
    font-size: 13px;
    color: #334155;
}

/* Page Switching Styles */
.page-switch {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 24px auto 32px;
    max-width: 300px;
}

.switch-btn {
    flex: 1;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #1e293b;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(15, 23, 42, 0.1);
}

.switch-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 
        0 0 0 1px rgba(0, 122, 255, 0.3),
        0 4px 12px rgba(59, 130, 246, 0.2);
}

.switch-btn.active {
    background: linear-gradient(135deg, #007AFF 0%, #0056B3 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

/* Pricing Options Styles */
.pricing-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.pricing-option-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 12px 40px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 1px 2px rgba(0, 0, 0, 0.02);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    text-align: center;
}

.pricing-option-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 122, 255, 0.4);
}

.pricing-option-card--recommended {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 20px 60px rgba(15, 23, 42, 0.15),
        0 0 0 1px rgba(59, 130, 246, 0.2) inset,
        0 2px 8px rgba(59, 130, 246, 0.1);
}

.option-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 122, 255, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007AFF;
}

.option-icon svg {
    width: 32px;
    height: 32px;
}

.pricing-option-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.pricing-option-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pricing-option-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.pricing-option-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
}

.pricing-option-card li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    font-size: 14px;
}

.option-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Quantity Purchase Styles */
.quantity-purchase {
    max-width: 480px;
    margin: 0 auto 48px;
}

.quantity-input-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 12px 40px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 1px 2px rgba(0, 0, 0, 0.02);
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.quantity-input-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 16px 48px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset,
        0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 122, 255, 0.4);
}

.quantity-input-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    text-align: center;
}

.rate-info {
    text-align: center;
    margin-bottom: 24px;
}

.rate-text {
    display: inline-block;
    background: linear-gradient(135deg, #007AFF 0%, #0056B3 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.amount-input {
    margin-bottom: 24px;
}

.amount-input label {
    display: block;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.amount-input input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    color: #0f172a;
    transition: all 0.3s ease;
    background: #ffffff;
}

.amount-input input:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.quantity-result {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.result-value {
    color: #007AFF;
    font-size: 18px;
    font-weight: 700;
}

.payment-methods h4 {
    color: #334155;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.payment-option {
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-option:hover {
    border-color: #007AFF;
    background: #f8fafc;
    transform: translateY(-1px);
}

.payment-option svg {
    width: 20px;
    height: 20px;
}

.payment-option.wechat-pay:hover svg {
    color: #09bb07;
}

.payment-option.alipay:hover svg {
    color: #1677ff;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-options {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .page-switch {
        flex-direction: column;
        max-width: 200px;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
}

/* Coolpilot应用详情页样式 */
.app-detail-header {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 12px 40px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 1px 2px rgba(0, 0, 0, 0.02);
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    z-index: -1;
}

.app-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.app-detail-header:hover::before {
    left: 100%;
}

.app-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 122, 255, 0.05));
    display: grid;
    place-items: center;
    color: #007AFF;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    flex-shrink: 0;
}

.app-detail-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    fill: none;
}

.app-detail-info {
    flex: 1;
}

.app-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.app-detail-description {
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.app-detail-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.app-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-version, .app-update {
    color: #64748b;
    font-size: 14px;
}

.app-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 160px;
}

.btn-large {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #B3D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 8px 32px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 48px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
    border-color: rgba(0, 122, 255, 0.4);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 122, 255, 0.05));
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    color: #007AFF;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.feature-item p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.usage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 20px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #007AFF;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 8px;
}

.stat-trend {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
}

.stat-trend.up {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

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

.quick-action-btn {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(20px);
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 122, 255, 0.4);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    color: #007AFF;
}

.quick-action-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.back-section {
    display: flex;
    align-items: center;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.back-btn:hover {
    color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
}

.back-btn svg {
    width: 16px;
    height: 16px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .usage-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .app-detail-header {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .app-detail-actions {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .app-detail-meta {
        justify-content: center;
    }
    
    .features-grid {
        gap: 16px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .usage-stats {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .app-detail-header {
        padding: 20px;
    }
    
    .app-detail-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
}

/* apps.html页面优化样式 */
.page-header {
    margin-bottom: 32px;
}

.page-subtitle {
    color: #64748b;
    font-size: 16px;
    margin-top: 8px;
}

.apps-section {
    margin-bottom: 40px;
}

.apps-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.app-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 4px 20px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
    border-color: rgba(0, 122, 255, 0.3);
}

.app-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.app-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 122, 255, 0.05));
    display: grid;
    place-items: center;
    color: #007AFF;
    flex-shrink: 0;
}

.app-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.app-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.app-card__status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.app-card--coming-soon .app-card__status {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.usage-info {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.app-card__content {
    flex: 1;
}

.app-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.app-card__description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-card__actions {
    margin-top: auto;
}

.btn-compact {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    width: 100%;
}

.coming-soon-notice {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 24px;
    text-align: center;
    margin-top: 32px;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 16px;
}

.notice-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.notice-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.notice-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .app-card {
        padding: 16px;
        gap: 12px;
    }
    
    .app-card__header {
        gap: 8px;
    }
    
    .app-card__icon {
        width: 40px;
        height: 40px;
    }
    
    .app-card__icon svg {
        width: 20px;
        height: 20px;
    }
    
    .app-card__title {
        font-size: 16px;
    }
    
    .app-card__description {
        font-size: 13px;
    }
    
    .coming-soon-notice {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }
    
    .notice-icon {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin-bottom: 24px;
    }
    
    .apps-section {
        margin-bottom: 32px;
    }
    
    .app-card {
        padding: 12px;
    }
    
    .btn-compact {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* 页面切换导航样式 */
.page-tabs {
    margin-bottom: 32px;
}

.tab-nav {
    display: flex;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 8px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.tab-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.tab-link:hover {
    color: #007AFF;
    background: rgba(0, 122, 255, 0.05);
}

.tab-link.active {
    color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
    font-weight: 600;
}

.tab-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

/* 插件安装页面样式 */
.plugins-section {
    margin-bottom: 40px;
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.plugin-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 4px 20px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
    border-color: rgba(0, 122, 255, 0.3);
}

.plugin-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plugin-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
    display: grid;
    place-items: center;
    color: #8b5cf6;
    flex-shrink: 0;
}

.plugin-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.plugin-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.plugin-card__status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.plugin-card__status.installed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.plugin-card__status.available {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.plugin-card__status.coming-soon {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.plugin-card__size {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.plugin-card__content {
    flex: 1;
}

.plugin-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.plugin-card__description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plugin-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.plugin-feature {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
}

.plugin-card__actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.plugin-card__actions .btn-compact {
    flex: 1;
}

.plugin-search {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 16px;
    margin-bottom: 24px;
    backdrop-filter: blur(20px);
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tab-nav {
        flex-direction: column;
        gap: 4px;
    }
    
    .tab-link {
        padding: 10px 16px;
    }
    
    .plugins-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .plugin-card {
        padding: 16px;
        gap: 12px;
    }
    
    .plugin-card__header {
        gap: 8px;
    }
    
    .plugin-card__icon {
        width: 40px;
        height: 40px;
    }
    
    .plugin-card__icon svg {
        width: 20px;
        height: 20px;
    }
    
    .plugin-card__title {
        font-size: 16px;
    }
    
    .plugin-card__description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .page-tabs {
        margin-bottom: 24px;
    }
    
    .plugin-card {
        padding: 12px;
    }
    
    .plugin-card__actions {
        flex-direction: column;
    }
}

/* 新的插件管理页面样式 */
.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 0 8px;
}

.plugin-header__info h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-header__info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.plugin-header__stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

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

.plugin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 8px;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-surface);
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-tertiary);
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn:hover:not(.active) {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

.plugins-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    gap: 16px;
}

.plugin-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.plugin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 10px;
    flex-shrink: 0;
}

.plugin-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

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

.plugin-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.plugin-metadata {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.plugin-version, .plugin-size, .plugin-author {
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 2px 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.plugin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.plugin-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.plugin-status.installed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.plugin-status.available {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.plugin-status.update-available {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.action-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.action-btn.secondary {
    background: transparent;
    color: var(--text-secondary);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.action-btn.secondary:hover {
    background: var(--bg-hover);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .plugin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .plugin-header__stats {
        gap: 16px;
    }
    
    .plugin-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .search-container {
        max-width: none;
    }
    
    .plugin-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .plugin-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .plugin-item {
        padding: 16px;
    }
    
    .plugin-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-btn {
        width: 100%;
    }
}

/* 新的插件管理页面样式 */
.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 0 8px;
}

.plugin-header__info h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-header__info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.plugin-header__stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

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

.plugin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 8px;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-surface);
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-tertiary);
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn:hover:not(.active) {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

.plugins-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    gap: 16px;
}

.plugin-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.plugin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 10px;
    flex-shrink: 0;
}

.plugin-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

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

.plugin-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.plugin-metadata {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.plugin-version, .plugin-size, .plugin-author {
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 2px 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.plugin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.plugin-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.plugin-status.installed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.plugin-status.available {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.plugin-status.update-available {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.action-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.action-btn.secondary {
    background: transparent;
    color: var(--text-secondary);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.action-btn.secondary:hover {
    background: var(--bg-hover);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .plugin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .plugin-header__stats {
        gap: 16px;
    }
    
    .plugin-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .search-container {
        max-width: none;
    }
    
    .plugin-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .plugin-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .plugin-item {
        padding: 16px;
    }
    
    .plugin-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-btn {
        width: 100%;
    }
}

/* 页面切换导航样式 */
.page-tabs {
    margin-bottom: 32px;
}

.tab-nav {
    display: flex;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 8px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.tab-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.tab-link:hover {
    color: #007AFF;
    background: rgba(0, 122, 255, 0.05);
}

.tab-link.active {
    color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
    font-weight: 600;
}

.tab-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

/* 插件安装页面样式 */
.plugins-section {
    margin-bottom: 40px;
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.plugin-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 4px 20px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
    border-color: rgba(0, 122, 255, 0.3);
}

.plugin-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plugin-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
    display: grid;
    place-items: center;
    color: #8b5cf6;
    flex-shrink: 0;
}

.plugin-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.plugin-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.plugin-card__status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.plugin-card__status.installed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.plugin-card__status.available {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.plugin-card__status.coming-soon {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.plugin-card__size {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.plugin-card__content {
    flex: 1;
}

.plugin-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.plugin-card__description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plugin-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.plugin-feature {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
}

.plugin-card__actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.plugin-card__actions .btn-compact {
    flex: 1;
}

.plugin-search {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 16px;
    margin-bottom: 24px;
    backdrop-filter: blur(20px);
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tab-nav {
        flex-direction: column;
        gap: 4px;
    }
    
    .tab-link {
        padding: 10px 16px;
    }
    
    .plugins-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .plugin-card {
        padding: 16px;
        gap: 12px;
    }
    
    .plugin-card__header {
        gap: 8px;
    }
    
    .plugin-card__icon {
        width: 40px;
        height: 40px;
    }
    
    .plugin-card__icon svg {
        width: 20px;
        height: 20px;
    }
    
    .plugin-card__title {
        font-size: 16px;
    }
    
    .plugin-card__description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .page-tabs {
        margin-bottom: 24px;
    }
    
    .plugin-card {
        padding: 12px;
    }
    
    .plugin-card__actions {
        flex-direction: column;
    }
}

/* 新的插件管理页面样式 */
.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 0 8px;
}

.plugin-header__info h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-header__info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.plugin-header__stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

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

.plugin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 8px;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-surface);
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-tertiary);
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn:hover:not(.active) {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

.plugins-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    gap: 16px;
}

.plugin-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.plugin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 10px;
    flex-shrink: 0;
}

.plugin-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

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

.plugin-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.plugin-metadata {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.plugin-version, .plugin-size, .plugin-author {
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 2px 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.plugin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.plugin-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.plugin-status.installed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.plugin-status.available {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.plugin-status.update-available {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.action-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.action-btn.secondary {
    background: transparent;
    color: var(--text-secondary);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.action-btn.secondary:hover {
    background: var(--bg-hover);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .plugin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .plugin-header__stats {
        gap: 16px;
    }
    
    .plugin-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .search-container {
        max-width: none;
    }
    
    .plugin-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .plugin-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .plugin-item {
        padding: 16px;
    }
    
    .plugin-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-btn {
        width: 100%;
    }
}

/* 新的插件管理页面样式 */
.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 0 8px;
}

.plugin-header__info h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-header__info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.plugin-header__stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

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

.plugin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 8px;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-surface);
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-tertiary);
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn:hover:not(.active) {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

.plugins-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    gap: 16px;
}

.plugin-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.plugin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 10px;
    flex-shrink: 0;
}

.plugin-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

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

.plugin-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.plugin-metadata {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.plugin-version, .plugin-size, .plugin-author {
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 2px 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.plugin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.plugin-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.plugin-status.installed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.plugin-status.available {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.plugin-status.update-available {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.action-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.action-btn.secondary {
    background: transparent;
    color: var(--text-secondary);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.action-btn.secondary:hover {
    background: var(--bg-hover);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .plugin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .plugin-header__stats {
        gap: 16px;
    }
    
    .plugin-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .search-container {
        max-width: none;
    }
    
    .plugin-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .plugin-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .plugin-item {
        padding: 16px;
    }
    
    .plugin-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-btn {
        width: 100%;
    }
}
/* Coolpilot应用详情页样式 */
.app-detail-header {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 12px 40px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 1px 2px rgba(0, 0, 0, 0.02);
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    z-index: -1;
}

.app-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.app-detail-header:hover::before {
    left: 100%;
}

.app-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 122, 255, 0.05));
    display: grid;
    place-items: center;
    color: #007AFF;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    flex-shrink: 0;
}

.app-detail-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    fill: none;
}

.app-detail-info {
    flex: 1;
}

.app-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.app-detail-description {
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.app-detail-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.app-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-version, .app-update {
    color: #64748b;
    font-size: 14px;
}

.app-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 160px;
}

.btn-large {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #B3D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 8px 32px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 48px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
    border-color: rgba(0, 122, 255, 0.4);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 122, 255, 0.05));
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    color: #007AFF;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.feature-item p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.usage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 20px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #007AFF;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 8px;
}

.stat-trend {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
}

.stat-trend.up {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

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

.quick-action-btn {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(20px);
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 122, 255, 0.4);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    color: #007AFF;
}

.quick-action-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.back-section {
    display: flex;
    align-items: center;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.back-btn:hover {
    color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
}

.back-btn svg {
    width: 16px;
    height: 16px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .usage-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .app-detail-header {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .app-detail-actions {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .app-detail-meta {
        justify-content: center;
    }
    
    .features-grid {
        gap: 16px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .usage-stats {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .app-detail-header {
        padding: 20px;
    }
    
    .app-detail-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
}

/* apps.html页面优化样式 */
.page-header {
    margin-bottom: 32px;
}

.page-subtitle {
    color: #64748b;
    font-size: 16px;
    margin-top: 8px;
}

.apps-section {
    margin-bottom: 40px;
}

.apps-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.app-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 4px 20px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
    border-color: rgba(0, 122, 255, 0.3);
}

.app-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.app-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 122, 255, 0.05));
    display: grid;
    place-items: center;
    color: #007AFF;
    flex-shrink: 0;
}

.app-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.app-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.app-card__status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.app-card--coming-soon .app-card__status {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.usage-info {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.app-card__content {
    flex: 1;
}

.app-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.app-card__description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-card__actions {
    margin-top: auto;
}

.btn-compact {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    width: 100%;
}

.coming-soon-notice {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 24px;
    text-align: center;
    margin-top: 32px;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 16px;
}

.notice-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.notice-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.notice-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .app-card {
        padding: 16px;
        gap: 12px;
    }
    
    .app-card__header {
        gap: 8px;
    }
    
    .app-card__icon {
        width: 40px;
        height: 40px;
    }
    
    .app-card__icon svg {
        width: 20px;
        height: 20px;
    }
    
    .app-card__title {
        font-size: 16px;
    }
    
    .app-card__description {
        font-size: 13px;
    }
    
    .coming-soon-notice {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }
    
    .notice-icon {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin-bottom: 24px;
    }
    
    .apps-section {
        margin-bottom: 32px;
    }
    
    .app-card {
        padding: 12px;
    }
    
    .btn-compact {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* 页面切换导航样式 */
.page-tabs {
    margin-bottom: 32px;
}

.tab-nav {
    display: flex;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 8px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.tab-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.tab-link:hover {
    color: #007AFF;
    background: rgba(0, 122, 255, 0.05);
}

.tab-link.active {
    color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
    font-weight: 600;
}

.tab-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

/* 插件安装页面样式 */
.plugins-section {
    margin-bottom: 40px;
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.plugin-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 4px 20px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
    border-color: rgba(0, 122, 255, 0.3);
}

.plugin-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plugin-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
    display: grid;
    place-items: center;
    color: #8b5cf6;
    flex-shrink: 0;
}

.plugin-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.plugin-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.plugin-card__status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.plugin-card__status.installed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.plugin-card__status.available {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.plugin-card__status.coming-soon {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.plugin-card__size {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.plugin-card__content {
    flex: 1;
}

.plugin-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.plugin-card__description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plugin-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.plugin-feature {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
}

.plugin-card__actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.plugin-card__actions .btn-compact {
    flex: 1;
}

.plugin-search {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 16px;
    margin-bottom: 24px;
    backdrop-filter: blur(20px);
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tab-nav {
        flex-direction: column;
        gap: 4px;
    }
    
    .tab-link {
        padding: 10px 16px;
    }
    
    .plugins-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .plugin-card {
        padding: 16px;
        gap: 12px;
    }
    
    .plugin-card__header {
        gap: 8px;
    }
    
    .plugin-card__icon {
        width: 40px;
        height: 40px;
    }
    
    .plugin-card__icon svg {
        width: 20px;
        height: 20px;
    }
    
    .plugin-card__title {
        font-size: 16px;
    }
    
    .plugin-card__description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .page-tabs {
        margin-bottom: 24px;
    }
    
    .plugin-card {
        padding: 12px;
    }
    
    .plugin-card__actions {
        flex-direction: column;
    }
}

/* 新的插件管理页面样式 */
.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 0 8px;
}

.plugin-header__info h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-header__info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.plugin-header__stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

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

.plugin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 8px;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-surface);
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-tertiary);
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn:hover:not(.active) {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

.plugins-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    gap: 16px;
}

.plugin-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.plugin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 10px;
    flex-shrink: 0;
}

.plugin-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

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

.plugin-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.plugin-metadata {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.plugin-version, .plugin-size, .plugin-author {
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 2px 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.plugin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.plugin-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.plugin-status.installed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.plugin-status.available {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.plugin-status.update-available {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.action-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.action-btn.secondary {
    background: transparent;
    color: var(--text-secondary);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.action-btn.secondary:hover {
    background: var(--bg-hover);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .plugin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .plugin-header__stats {
        gap: 16px;
    }
    
    .plugin-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .search-container {
        max-width: none;
    }
    
    .plugin-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .plugin-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .plugin-item {
        padding: 16px;
    }
    
    .plugin-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-btn {
        width: 100%;
    }
}

/* 新的插件管理页面样式 */
.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 0 8px;
}

.plugin-header__info h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-header__info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.plugin-header__stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

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

.plugin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 8px;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-surface);
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-tertiary);
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn:hover:not(.active) {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

.plugins-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    gap: 16px;
}

.plugin-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.plugin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 10px;
    flex-shrink: 0;
}

.plugin-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

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

.plugin-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.plugin-metadata {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.plugin-version, .plugin-size, .plugin-author {
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 2px 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.plugin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.plugin-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.plugin-status.installed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.plugin-status.available {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.plugin-status.update-available {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.action-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.action-btn.secondary {
    background: transparent;
    color: var(--text-secondary);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.action-btn.secondary:hover {
    background: var(--bg-hover);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .plugin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .plugin-header__stats {
        gap: 16px;
    }
    
    .plugin-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .search-container {
        max-width: none;
    }
    
    .plugin-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .plugin-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .plugin-item {
        padding: 16px;
    }
    
    .plugin-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-btn {
        width: 100%;
    }
}

/* 页面切换导航样式 */
.page-tabs {
    margin-bottom: 32px;
}

.tab-nav {
    display: flex;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 8px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.tab-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.tab-link:hover {
    color: #007AFF;
    background: rgba(0, 122, 255, 0.05);
}

.tab-link.active {
    color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
    font-weight: 600;
}

.tab-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

/* 插件安装页面样式 */
.plugins-section {
    margin-bottom: 40px;
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.plugin-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 
        0 4px 20px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
    border-color: rgba(0, 122, 255, 0.3);
}

.plugin-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plugin-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
    display: grid;
    place-items: center;
    color: #8b5cf6;
    flex-shrink: 0;
}

.plugin-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.plugin-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.plugin-card__status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.plugin-card__status.installed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.plugin-card__status.available {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.plugin-card__status.coming-soon {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.plugin-card__size {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.plugin-card__content {
    flex: 1;
}

.plugin-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.plugin-card__description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plugin-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.plugin-feature {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
}

.plugin-card__actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.plugin-card__actions .btn-compact {
    flex: 1;
}

.plugin-search {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 16px;
    margin-bottom: 24px;
    backdrop-filter: blur(20px);
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tab-nav {
        flex-direction: column;
        gap: 4px;
    }
    
    .tab-link {
        padding: 10px 16px;
    }
    
    .plugins-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .plugin-card {
        padding: 16px;
        gap: 12px;
    }
    
    .plugin-card__header {
        gap: 8px;
    }
    
    .plugin-card__icon {
        width: 40px;
        height: 40px;
    }
    
    .plugin-card__icon svg {
        width: 20px;
        height: 20px;
    }
    
    .plugin-card__title {
        font-size: 16px;
    }
    
    .plugin-card__description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .page-tabs {
        margin-bottom: 24px;
    }
    
    .plugin-card {
        padding: 12px;
    }
    
    .plugin-card__actions {
        flex-direction: column;
    }
}

/* 新的插件管理页面样式 */
.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 0 8px;
}

.plugin-header__info h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-header__info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.plugin-header__stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

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

.plugin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 8px;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-surface);
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-tertiary);
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn:hover:not(.active) {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

.plugins-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    gap: 16px;
}

.plugin-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.plugin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 10px;
    flex-shrink: 0;
}

.plugin-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

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

.plugin-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.plugin-metadata {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.plugin-version, .plugin-size, .plugin-author {
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 2px 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.plugin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.plugin-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.plugin-status.installed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.plugin-status.available {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.plugin-status.update-available {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.action-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.action-btn.secondary {
    background: transparent;
    color: var(--text-secondary);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.action-btn.secondary:hover {
    background: var(--bg-hover);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .plugin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .plugin-header__stats {
        gap: 16px;
    }
    
    .plugin-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .search-container {
        max-width: none;
    }
    
    .plugin-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .plugin-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .plugin-item {
        padding: 16px;
    }
    
    .plugin-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-btn {
        width: 100%;
    }
}

/* 新的插件管理页面样式 */
.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 0 8px;
}

.plugin-header__info h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-header__info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.plugin-header__stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

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

.plugin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 8px;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-surface);
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-tertiary);
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn:hover:not(.active) {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

.plugins-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plugin-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    gap: 16px;
}

.plugin-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.plugin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 10px;
    flex-shrink: 0;
}

.plugin-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

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

.plugin-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.plugin-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.plugin-metadata {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.plugin-version, .plugin-size, .plugin-author {
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 2px 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.plugin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.plugin-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.plugin-status.installed {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.plugin-status.available {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.plugin-status.update-available {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.action-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.action-btn.secondary {
    background: transparent;
    color: var(--text-secondary);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.action-btn.secondary:hover {
    background: var(--bg-hover);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .plugin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .plugin-header__stats {
        gap: 16px;
    }
    
    .plugin-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .search-container {
        max-width: none;
    }
    
    .plugin-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .plugin-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .plugin-item {
        padding: 16px;
    }
    
    .plugin-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-btn {
        width: 100%;
    }
}
