/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-size: 16px;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Row System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    padding: 0 15px;
    flex: 0 0 auto;
}

.col-lg-1 { width: 8.33333%; }
.col-lg-2 { width: 16.66667%; }
.col-lg-3 { width: 25%; }
.col-lg-4 { width: 33.33333%; }
.col-lg-5 { width: 41.66667%; }
.col-lg-6 { width: 50%; }
.col-lg-7 { width: 58.33333%; }
.col-lg-8 { width: 66.66667%; }
.col-lg-9 { width: 75%; }
.col-lg-10 { width: 83.33333%; }
.col-lg-11 { width: 91.66667%; }
.col-lg-12 { width: 100%; }

.col-md-1 { width: 8.33333%; }
.col-md-2 { width: 16.66667%; }
.col-md-3 { width: 25%; }
.col-md-4 { width: 33.33333%; }
.col-md-5 { width: 41.66667%; }
.col-md-6 { width: 50%; }
.col-md-7 { width: 58.33333%; }
.col-md-8 { width: 66.66667%; }
.col-md-9 { width: 75%; }
.col-md-10 { width: 83.33333%; }
.col-md-11 { width: 91.66667%; }
.col-md-12 { width: 100%; }

.col-12 { width: 100%; }

.order-lg-1 { order: 1; }
.order-lg-2 { order: 2; }

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.brand-icon {
    font-size: 1.8rem;
    margin-right: 10px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.carousel {
    position: relative;
    width: 100%;
}

.carousel-item {
    display: none;
    padding: 40px 0;
    animation: fadeIn 0.5s ease;
}

.carousel-item.active {
    display: block;
}

.carousel-inner {
    position: relative;
    overflow: hidden;
}

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

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control:hover {
    background: rgba(255,255,255,0.4);
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

.product-image {
    text-align: center;
}

.product-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.product-screenshot:hover {
    transform: translateY(-5px);
}

.screenshot-placeholder {
    background: white;
    border-radius: 10px;
    padding: 60px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.screenshot-placeholder:hover {
    transform: translateY(-5px);
}

.large-icon {
    font-size: 5rem;
    display: block;
}

.product-content {
    color: white;
    padding: 20px;
}

.product-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    font-style: italic;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.product-features li {
    margin-bottom: 12px;
    font-size: 1rem;
    padding-left: 25px;
    position: relative;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.btn-success {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.btn-success:hover {
    background-color: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 25px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.875rem;
}

.btn-outline-primary {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
}

.btn-outline-danger {
    background: transparent;
    color: #e74c3c;
    border-color: #e74c3c;
}

.btn-outline-danger:hover {
    background: #e74c3c;
    color: white;
}

.btn-outline-success {
    background: transparent;
    color: #4CAF50;
    border-color: #4CAF50;
}

.btn-outline-success:hover {
    background: #4CAF50;
    color: white;
}

.btn-icon {
    margin-right: 5px;
}

/* Features Section */
.features-section {
    background: white;
    padding: 60px 0;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.feature-icon {
    text-align: center;
    margin-bottom: 20px;
}

.feature-icon-symbol {
    font-size: 3rem;
    display: block;
}

.feature-title {
    text-align: center;
    color: #667eea;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.feature-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* User Info Section */
.user-info-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 0;
}

.info-box {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-icon {
    margin-right: 5px;
}

.small {
    font-size: 0.875rem;
}

/* Community Section */
.community-section {
    background: white;
    padding: 60px 0;
}

.community-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

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

.community-qr {
    margin-bottom: 20px;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #667eea;
}

.qr-icon {
    font-size: 4rem;
}

.community-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.community-number {
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.community-desc {
    color: #666;
    margin-bottom: 10px;
}

.community-highlight {
    color: #e74c3c;
    font-weight: 500;
}

.community-highlight a {
    color: #e74c3c;
    text-decoration: none;
}

.community-highlight a:hover {
    text-decoration: underline;
}

/* Blog Section */
.blog-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.section-title {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.section-icon {
    margin-right: 10px;
}

.blog-list {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

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

.blog-item {
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
}

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

.blog-item a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.blog-item a:hover {
    color: #667eea;
    transform: translateX(5px);
}

.blog-icon {
    margin-right: 8px;
}

/* Share Section */
.share-section {
    background: white;
    padding: 30px 0;
}

.share-buttons {
    padding: 20px;
}

.share-label {
    font-weight: bold;
    margin-right: 15px;
}

.me-2 {
    margin-right: 10px;
}

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

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #3498db;
}

.text-muted {
    color: #95a5a6;
}

/* Partner Section */
.partner-section {
    background: #34495e;
    color: #bdc3c7;
    border-top: 1px solid #2c3e50;
    padding: 20px 0;
}

/* Utility Classes */
.mb-1 { margin-bottom: 5px; }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 30px; }
.mb-md-0 { margin-bottom: 0; }

.mt-3 { margin-top: 20px; }

.py-5 { padding-top: 60px; padding-bottom: 60px; }
.py-4 { padding-top: 40px; padding-bottom: 40px; }
.py-3 { padding-top: 30px; padding-bottom: 30px; }

.align-items-center {
    align-items: center;
}

.text-center { text-align: center; }
.text-md-start { text-align: left; }
.text-md-end { text-align: right; }

.text-primary { color: #667eea; }
.text-success { color: #4CAF50; }
.text-danger { color: #e74c3c; }

.text-muted { color: #95a5a6; }

.fw-bold { font-weight: bold; }

strong { font-weight: bold; }

p { margin: 0 0 15px 0; }

ul { margin: 0; }

h2, h3, h4, h5 {
    margin: 0 0 15px 0;
    font-weight: bold;
}

a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
    .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        width: 100%;
    }

    .hero-section {
        padding-top: 80px;
        min-height: auto;
    }

    .product-title {
        font-size: 1.8rem;
    }

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

    .product-features li {
        font-size: 0.9rem;
    }

    .screenshot-placeholder {
        padding: 40px 20px;
    }
}

@media (max-width: 767px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .navbar-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 10px 15px;
    }

    .hero-section {
        padding-top: 70px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-subtitle {
        font-size: 0.9rem;
    }

    .product-features li {
        font-size: 0.85rem;
    }

    .feature-card,
    .community-card,
    .blog-list {
        margin-bottom: 20px;
    }

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

    .download-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .order-lg-1, .order-lg-2 {
        order: initial;
    }

    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
    .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        width: 100%;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5568d3;
}

/* Mobile Menu Active State */
.navbar-menu.active .nav-link {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}