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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #0f0f1a;
    min-height: 100vh;
    padding: 40px 20px;
    color: #e0e0e0;
}

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

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

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.header-logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

.header-logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.3);
}

.header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
}

.header p {
    font-size: 1.1em;
    color: #bbb;
    font-weight: 300;
}

.visit-count {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    font-size: 1.1em;
    color: #fff;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
}

.visit-count::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.5s ease;
}

.visit-count:hover::before {
    left: 100%;
}

.visit-count:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.3);
}

.visit-count span {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.3em;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.visit-count::after {
    content: '📊';
    font-size: 1.2em;
    margin-left: 5px;
    animation: countIconBounce 2s ease-in-out infinite;
}

@keyframes countIconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.1);
    }
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    padding: 25px 0;
    flex-wrap: wrap;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #bbb;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #7c3aed);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-icon {
    font-size: 1.3em;
    transition: transform 0.3s ease;
}

.nav-text {
    transition: all 0.3s ease;
}

.nav-item:hover::before {
    width: 70%;
}

.nav-item:hover {
    color: #00d4ff;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.25), 0 0 20px rgba(124, 58, 237, 0.15);
}

.nav-item:hover .nav-icon {
    transform: scale(1.2) rotate(5deg);
}

.nav-item:hover .nav-text {
    font-weight: 600;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.menu-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #7c3aed, #f472b6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.menu-card:hover::before {
    transform: scaleX(1);
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.menu-card h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.6em;
    font-weight: 700;
}

.menu-card p {
    color: #bbb;
    line-height: 1.7;
    font-size: 0.95em;
}

.usage-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.2);
    transition: all 0.3s ease;
    margin-top: auto;
}

.count-icon {
    font-size: 1.1em;
    filter: grayscale(0.5);
    transition: all 0.3s ease;
}

.count-text {
    color: #777;
    font-size: 0.88em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.count-number {
    color: #fbbf24;
    font-weight: 700;
    font-size: 1.15em;
    margin-left: 4px;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-card:hover .usage-count {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.15);
}

.menu-card:hover .count-icon {
    filter: grayscale(0);
    transform: scale(1.15);
}

.menu-card:hover .count-text {
    color: #999;
}

.menu-card:hover .count-number {
    color: #f59e0b;
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.menu-card .icon {
    font-size: 4.5em;
    margin-bottom: 25px;
    display: inline-block;
    filter: drop-shadow(0 10px 20px rgba(0, 212, 255, 0.3));
}

.content-section {
    display: none;
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.content-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header h2 {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2em;
    font-weight: 700;
}

.back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95em;
    transition: all 0.3s ease;
    color: #fff;
    font-weight: 500;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

.step {
    margin-bottom: 35px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #00d4ff, #7c3aed);
}

.step h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: 600;
}

.step p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 15px;
}

.btn {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
}

.btn::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:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.4);
}

.btn:disabled {
    background: #333;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-danger {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
}

.btn-danger:hover {
    box-shadow: 0 15px 30px rgba(255, 71, 87, 0.4);
}

.status-box {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.status-box h4 {
    color: #00d4ff;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.status-box p {
    color: #bbb;
    margin: 8px 0;
}

.file-list {
    max-height: 350px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
}

.file-list::-webkit-scrollbar {
    width: 8px;
}

.file-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.file-list::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

.file-item {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.file-item:last-child {
    border-bottom: none;
}

.file-item .name {
    flex: 1;
    color: #e0e0e0;
    font-weight: 500;
}

.file-item .status {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
}

.file-item .status.keep {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.file-item .status.delete {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.warning-box {
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.warning-box h4 {
    color: #fbbf24;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.warning-box p {
    color: #fbbf24;
    line-height: 1.7;
    opacity: 1;
}

.progress-bar {
    width: 100%;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff 0%, #7c3aed 100%);
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9em;
}

.download-link {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    margin: 12px 12px 12px 0;
    transition: all 0.3s ease;
    font-weight: 600;
}

.download-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.4);
}

.info-box {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.info-box h4 {
    color: #06b6d4;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.info-box p {
    color: #bbb;
    line-height: 1.7;
    opacity: 1;
}

.success-message {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    color: #22c55e;
}

.error-message {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    color: #ef4444;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.upgrade-modal {
    max-width: 800px;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.upgrade-modal::-webkit-scrollbar {
    width: 8px;
}

.modal.upgrade-modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal.upgrade-modal::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal h3 {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-size: 1.6em;
    font-weight: 700;
}

.modal.warning {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 30px 60px rgba(251, 191, 36, 0.2);
}

.modal.warning h3 {
    color: #fbbf24 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    padding-left: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal.warning h3::before {
    content: '⚠️';
    font-size: 1.2em;
}

.modal.success {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 30px 60px rgba(34, 197, 94, 0.2);
}

.modal.success h3 {
    color: #22c55e !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

.modal h3 {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-size: 1.6em;
    font-weight: 700;
}

.modal p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05em;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
}

.modal.upgrade-modal .modal-buttons {
    justify-content: center;
    gap: 20px;
}

.modal .btn {
    margin-right: 0;
}

.file-check-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.file-check-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.file-check-item:last-child {
    border-bottom: none;
}

.file-check-item .check-icon {
    font-size: 1.2em;
    margin-right: 15px;
}

.file-check-item .check-name {
    flex: 1;
    font-weight: 600;
    color: #e0e0e0;
}

.file-check-item .check-desc {
    flex: 1;
    color: #bbb;
    font-size: 0.9em;
}

.file-check-item .check-status {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
}

.file-check-item.present .check-status {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.file-check-item.missing .check-status {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.check-summary {
    margin-top: 20px;
}

#fileCheckList {
    max-height: 400px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
}

#fileCheckList::-webkit-scrollbar {
    width: 8px;
}

#fileCheckList::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

#fileCheckList::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

#upgradeImage {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#upgradeImage:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

#upgradeImageContainer {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#stepTitle {
    color: #00d4ff;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

#stepDescription {
    color: #bbb;
    line-height: 1.8;
    font-size: 1.05em;
}

#stepNote {
    color: #fbbf24;
    font-size: 0.95em;
    margin-top: 15px;
    padding: 12px 15px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    display: inline-block;
}

#stepProgress {
    font-size: 1.1em;
    color: #888;
    margin: 20px 0;
    font-weight: 500;
}

#stepProgress span {
    color: #00d4ff;
    font-weight: 700;
    font-size: 1.3em;
}

.important-tips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 25px 0;
}

.tip-column {
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.tip-column:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.15);
    transform: translateY(-5px);
}

.tip-column h4 {
    color: #00d4ff;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.tip-column p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1em;
}

.tip-column .btn {
    width: 100%;
    margin-top: 10px;
}

.upgrade-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 25px 0;
}

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

.upgrade-column .info-box,
.upgrade-column .warning-box {
    margin: 0;
}

.upgrade-column .important-tips {
    margin: 0;
}

.install-intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.intro-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: default;
}

.intro-card.featured {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    transform: scale(1.05);
    position: relative;
}

.recommend-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    z-index: 10;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(251, 191, 36, 0.6);
    }
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.intro-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.25);
    border-color: rgba(0, 212, 255, 0.5);
}

.intro-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: inline-block;
    filter: drop-shadow(0 5px 15px rgba(0, 212, 255, 0.3));
}

.intro-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: 600;
}

.intro-card p {
    color: #bbb;
    line-height: 1.6;
    font-size: 0.95em;
    margin-bottom: 15px;
}

.intro-card.featured .btn {
    width: 100%;
}

.dbi-tutorial {
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    animation: fadeIn 0.5s ease;
}

.tutorial-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tutorial-header h3 {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2em;
    margin-bottom: 15px;
    font-weight: 700;
}

.tutorial-header p {
    color: #bbb;
    line-height: 1.8;
    font-size: 1.1em;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.tutorial-step {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tutorial-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #00d4ff, #7c3aed);
}

.tutorial-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.step-number {
    font-size: 2.5em;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    opacity: 0.8;
}

.step-content h4 {
    color: #fff;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-content li {
    color: #bbb;
    line-height: 2;
    padding-left: 20px;
    position: relative;
}

.step-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

.tutorial-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tip-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.tip-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.1);
}

.tip-box.warning {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.05);
}

.tip-box.success {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.05);
}

.tip-box h4 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.tip-box.warning h4 {
    color: #fbbf24;
}

.tip-box.success h4 {
    color: #22c55e;
}

.tip-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tip-box li {
    color: #bbb;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}

.tip-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

.tip-box.warning li::before {
    color: #fbbf24;
}

.tip-box.success li::before {
    color: #22c55e;
}

.tutorial-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
}

.other-methods {
    margin-bottom: 40px;
}

.other-methods h3 {
    color: #fff;
    font-size: 1.8em;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.method-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.method-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.2);
}

.method-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.method-icon {
    font-size: 2em;
    filter: drop-shadow(0 5px 15px rgba(0, 212, 255, 0.3));
}

.method-header h4 {
    color: #fff;
    font-size: 1.3em;
    font-weight: 600;
    margin: 0;
}

.method-card ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.method-card li {
    color: #bbb;
    line-height: 2;
    padding-left: 30px;
    position: relative;
}

.method-card li::before {
    content: attr(data-counter);
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75em;
    font-weight: 700;
}

.method-card li:nth-child(1)::before { content: '1'; }
.method-card li:nth-child(2)::before { content: '2'; }
.method-card li:nth-child(3)::before { content: '3'; }
.method-card li:nth-child(4)::before { content: '4'; }
.method-card li:nth-child(5)::before { content: '5'; }

@media (max-width: 768px) {
    .install-intro {
        grid-template-columns: 1fr;
    }

    .intro-card.featured {
        transform: none;
    }

    .intro-card.featured:hover {
        transform: translateY(-5px);
    }

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

    .tutorial-tips {
        grid-template-columns: 1fr;
    }

    .tutorial-actions {
        flex-direction: column;
    }

    .tutorial-actions .btn {
        width: 100%;
    }

    .method-card {
        padding: 20px;
    }

    .method-header {
        flex-direction: column;
        text-align: center;
    }
    
    .translate-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .translate-container {
        padding: 20px;
    }
    
    .translate-card {
        padding: 20px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .mode-switch {
        width: 100%;
        justify-content: center;
    }
    
    .input-area,
    .result-area,
    .placeholder-result {
        min-height: 300px;
    }
    
    .upload-zone {
        padding: 30px 20px;
        min-height: 300px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
}

.footer {
    margin-top: 80px;
    padding: 50px 20px;
    text-align: center;
}

.footer-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 20px 40px;
}

.footer-link:hover {
    transform: translateY(-5px);
}

.footer-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0.9);
}

.footer-link:hover .footer-logo {
    transform: scale(1.08);
    filter: brightness(1);
}

.footer-text {
    font-size: 1.3em;
    font-weight: 600;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-link:hover .footer-text {
    opacity: 1;
    background: linear-gradient(135deg, #00d4ff 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-chat-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-messages {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

.message {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    animation: messageSlideIn 0.3s ease;
}

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

.message-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #f472b6 0%, #7c3aed 100%);
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.3);
}

.message-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 80%;
}

.ai-message .message-content {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.1);
}

.user-message .message-content {
    background: rgba(244, 114, 182, 0.05);
    border-color: rgba(244, 114, 182, 0.1);
}

.message-content p {
    color: #e0e0e0;
    line-height: 1.8;
    margin: 8px 0;
}

.message-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.message-content li {
    color: #bbb;
    line-height: 1.8;
    margin: 5px 0;
}

.message-content h1,
.message-content h2,
.message-content h3,
.message-content h4,
.message-content h5,
.message-content h6 {
    color: #fff;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.message-content h1 {
    font-size: 1.8em;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 10px;
}

.message-content h2 {
    font-size: 1.5em;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding-bottom: 8px;
}

.message-content h3 {
    font-size: 1.3em;
}

.message-content h4 {
    font-size: 1.2em;
}

.message-content h5 {
    font-size: 1.1em;
}

.message-content h6 {
    font-size: 1em;
}

.message-content strong {
    color: #00d4ff;
    font-weight: 700;
}

.message-content em {
    color: #f472b6;
    font-style: italic;
}

.message-content code {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #00d4ff;
}

.message-content pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    overflow-x: auto;
}

.message-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: #e0e0e0;
}

.message-content blockquote {
    border-left: 4px solid rgba(0, 212, 255, 0.5);
    padding-left: 15px;
    margin: 15px 0;
    color: #999;
    font-style: italic;
}

.message-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.message-content a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.message-content a:hover {
    color: #f472b6;
    text-decoration: underline;
}

.message-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.message-content th,
.message-content td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    text-align: left;
}

.message-content th {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    font-weight: 600;
}

.message-content tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.message-content ul,
.message-content ol {
    margin: 10px 0;
    padding-left: 25px;
}

.message-content ul {
    list-style-type: disc;
}

.message-content ol {
    list-style-type: decimal;
}

.message-content li {
    color: #bbb;
    line-height: 1.8;
    margin: 8px 0;
}

.loading-message .message-content p {
    color: #00d4ff;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes loadingDots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

.loading-dots {
    display: inline-block;
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        opacity: 0.2;
    }
    40% {
        opacity: 0.5;
    }
    60%, 100% {
        opacity: 1;
    }
}

.chat-input-container {
    margin-top: 20px;
}

.input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

#userInput {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px 20px;
    color: #e0e0e0;
    font-size: 1em;
    font-family: inherit;
    resize: none;
    min-height: 50px;
    max-height: 150px;
    overflow-y: auto;
    transition: all 0.3s ease;
}

#userInput:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

#userInput::placeholder {
    color: #666;
}

.send-btn {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    color: white;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

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

.send-btn svg {
    transition: transform 0.3s ease;
}

.send-btn:hover svg {
    transform: translateX(3px);
}

.quick-questions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.quick-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: #bbb;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: inherit;
}

.quick-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.15);
}

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

.translate-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 500px;
}

.translate-container {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 22, 42, 0.8) 100%);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.translate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 25px;
}

.translate-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.translate-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-header h4 {
    color: #fff;
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.mode-switch {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 4px;
}

.mode-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mode-btn:hover {
    color: #bbb;
    background: rgba(255, 255, 255, 0.05);
}

.mode-btn.active {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    color: #fff;
}

.input-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.source-textarea {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
    color: #e0e0e0;
    font-size: 1em;
    font-family: inherit;
    resize: none;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.source-textarea:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.source-textarea::placeholder {
    color: #666;
}

.upload-zone {
    border: 2px dashed rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    background: rgba(0, 212, 255, 0.03);
    cursor: pointer;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.upload-zone:hover {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.08);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.2));
}

.upload-text {
    color: #bbb;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.upload-hint {
    color: #888;
    font-size: 0.9em;
}

.file-info {
    margin-top: 12px;
    color: #00d4ff;
    font-size: 0.95em;
    padding: 10px 15px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.action-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 20px;
    color: #e0e0e0;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
}

.primary-btn {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border: none;
    color: #fff;
}

.primary-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.btn-icon {
    font-size: 1.2em;
}

.result-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.placeholder-result {
    height: 350px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    color: #888;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.placeholder-icon {
    font-size: 3em;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.2));
}

.placeholder-text {
    color: #888;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .ai-chat-container {
        padding: 15px;
    }

    .chat-messages {
        max-height: 400px;
    }

    .message {
        gap: 10px;
    }

    .message-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.3em;
    }

    .message-content {
        max-width: 90%;
        padding: 12px 15px;
    }

    .input-wrapper {
        flex-direction: column;
    }

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

    .quick-questions {
        grid-template-columns: 1fr;
    }
}
