/* MLEOE宝塔系统官网样式 */

:root {
    --primary-color: #188038;
    --primary-dark: #137030;
    --secondary-color: #1a73e8;
    --accent-color: #fbbc04;
    --dark-bg: #1a1d29;
    --light-bg: #f8f9fa;
    --text-dark: #202124;
    --text-muted: #5f6368;
    --border-color: #dadce0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 导航栏 */
.navbar {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-dark) !important;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
    border-radius: 6px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(24, 128, 56, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-dark);
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.hero-buttons .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(24, 128, 56, 0.3);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-stats {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-stats .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 仪表盘预览 */
.dashboard-preview {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.preview-header {
    background: #f1f3f4;
    padding: 12px 16px;
    display: flex;
    align-items: center;
}

.preview-dots {
    display: flex;
    gap: 8px;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
}

.preview-dots span:nth-child(2) {
    background: #ffbd2e;
}

.preview-dots span:nth-child(3) {
    background: #28ca41;
}

.preview-content {
    display: flex;
    height: 350px;
}

.preview-sidebar {
    width: 180px;
    background: var(--dark-bg);
    padding: 20px 0;
}

.preview-menu-item {
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-menu-item.active {
    background: rgba(24, 128, 56, 0.2);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.preview-main {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
}

.preview-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.card-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-value {
    font-weight: 600;
    color: var(--text-dark);
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Highlights */
.highlight-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.highlight-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(24, 128, 56, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-right: 1rem;
}

.highlight-content h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Programs */
.program-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

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

.program-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #1557b0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.program-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.program-type {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* App Section */
.app-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d3142 100%) !important;
}

.app-section h2 {
    font-weight: 700;
}

/* Phone Mockup */
.phone-frame {
    width: 280px;
    height: 500px;
    background: #000;
    border-radius: 40px;
    padding: 15px;
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.app-content {
    padding: 15px;
    flex: 1;
}

.app-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.app-card-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.app-status {
    font-weight: 600;
    font-size: 1.1rem;
}

.app-status.normal {
    color: var(--primary-color);
}

.app-info {
    font-weight: 600;
    color: var(--text-dark);
}

.app-progress {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    margin: 8px 0;
    overflow: hidden;
}

.app-progress .progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: #fff;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d3142 100%);
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Feature Detail Cards */
.feature-detail-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-detail-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-detail-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-detail-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-detail-card ul {
    list-style: none;
    padding: 0;
}

.feature-detail-card ul li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.feature-detail-card ul li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Tutorial Cards */
.tutorial-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.tutorial-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tutorial-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.tutorial-card .card-body {
    padding: 1.5rem;
}

.tutorial-step {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.tutorial-step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
}

.step-content h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Pricing Cards */
.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-card ul li {
    padding: 0.75rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* App Download Page */
.app-download-section {
    padding: 100px 0;
}

.app-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.app-info-card h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.app-info-card .lead {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.app-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.app-features-list li {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.app-features-list li:last-child {
    border-bottom: none;
}

.app-features-list li i {
    width: 40px;
    height: 40px;
    background: rgba(24, 128, 56, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 1rem;
}

.qr-code {
    width: 180px;
    height: 180px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid var(--border-color);
}

.qr-code i {
    font-size: 5rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-section {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .hero-buttons .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .dashboard-preview {
        margin-top: 2rem;
        transform: none;
    }

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

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .app-download-section {
        padding: 80px 0 50px;
    }

    .app-info-card {
        padding: 2rem;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-toggler {
        border-color: rgba(0,0,0,0.1);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-section {
        padding: 90px 0 40px;
    }

    .hero-buttons {
        text-align: center;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 0.75rem;
    }

    .hero-buttons .btn-lg {
        padding: 12px 20px;
    }

    .hero-stats {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .hero-stats .stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .preview-content {
        height: 250px;
    }

    .preview-sidebar {
        width: 120px;
        font-size: 0.8rem;
    }

    .preview-menu-item {
        padding: 10px 15px;
    }

    .phone-frame {
        width: 220px;
        height: 400px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .highlight-item {
        padding: 1rem;
    }

    .highlight-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card .price {
        font-size: 2.5rem;
    }

    .app-download-section {
        padding: 80px 0 40px;
    }

    .app-info-card {
        padding: 1.5rem;
    }

    .app-info-card h2 {
        font-size: 1.5rem;
    }

    .app-features-list li {
        padding: 0.75rem 0;
    }

    .app-features-list li i {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .page-header {
        padding: 90px 0 30px;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .tutorial-card .card-header {
        padding: 1rem;
        font-size: 1rem;
    }

    .tutorial-card .card-body {
        padding: 1rem;
    }

    .tutorial-step {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .feature-detail-card {
        padding: 1.5rem;
    }

    .feature-detail-card .icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .footer {
        text-align: center;
    }

    .footer h5 {
        margin-bottom: 1rem;
        margin-top: 1.5rem;
    }

    .program-item {
        padding: 1rem 0.5rem;
    }

    .program-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .program-name {
        font-size: 0.9rem;
    }

    .program-type {
        font-size: 0.75rem;
    }

    .qr-code {
        width: 140px;
        height: 140px;
    }

    .alert .d-flex {
        flex-direction: column;
    }

    .alert .fa-2x {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }

    .alert h5 {
        font-size: 1rem;
    }

    .alert p {
        font-size: 0.9rem;
    }

    .navbar-nav .nav-item {
        text-align: center;
    }

    .navbar-nav .btn {
        margin: 0.5rem 0;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats .col-4 {
        padding: 0 5px;
    }

    .hero-stats .stat-number {
        font-size: 1.3rem;
    }

    .hero-stats .stat-label {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .preview-content {
        height: 220px;
    }

    .preview-sidebar {
        width: 100px;
        font-size: 0.75rem;
    }

    .preview-menu-item {
        padding: 8px 10px;
    }

    .preview-menu-item i {
        font-size: 0.8rem;
    }

    .preview-card {
        padding: 10px;
    }

    .card-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .card-label {
        font-size: 0.7rem;
    }

    .card-value {
        font-size: 0.85rem;
    }

    .pricing-card .price {
        font-size: 2rem;
    }

    .pricing-card ul li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .accordion-button {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .accordion-body {
        font-size: 0.9rem;
        padding: 1rem;
    }

    .app-info-card .lead {
        font-size: 1rem;
    }

    .app-mockup img {
        max-height: 350px !important;
    }
}

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

.feature-card,
.highlight-item,
.program-item {
    animation: fadeInUp 0.6s ease forwards;
}
