/* Product Page Specific Styles */

/* Product Hero Section */
.product-hero-section {
    text-align: center;
    margin-bottom: 1rem; /* 减少底部边距 */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 1rem; /* 减少上下内边距 */
}

.product-hero-logo {
    margin-bottom: 1rem; /* 减少底部边距 */
}

.product-hero-logo img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    object-fit: contain;
    transition: all 0.3s ease;
}

.product-hero-logo img:hover {
    transform: scale(1.02);
}

/* Product Description */
.product-hero-description {
    max-width: 600px;
    margin: 0 auto 1.5rem auto; /* 减少底部边距 */
    padding: 1rem 0; /* 减少上下内边距 */
    position: relative;
}

.product-hero-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    border-radius: 2px;
}

.product-hero-description p {
    font-size: 1.35rem;
    color: #555;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Download Section */
.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 2rem; /* 减少底部边距 */
}

.download-primary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Download button container for split design */
.download-btn-container {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.download-btn {
    background: linear-gradient(135deg, #08203e 0%, #557c93 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

/* Main download button (left side) */
.main-download {
    border-radius: 6px 0 0 6px;
    min-width: 180px;
    justify-content: flex-start;
}

/* Single download button (no dropdown) */
.single-download {
    border-radius: 6px;
    min-width: 180px;
    justify-content: flex-start;
}

/* Dropdown toggle button (right side) */
.download-dropdown-toggle {
    background: linear-gradient(135deg, #06192e 0%, #4a6b7a 100%);
    color: white;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0 6px 6px 0;
}

.download-btn:hover,
.download-dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Coming Soon button styles */
.coming-soon-btn {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%) !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    border-radius: 6px !important;
    min-width: 180px;
    justify-content: flex-start;
}

.coming-soon-btn:hover {
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.7;
}

.coming-soon-btn .download-btn-icon {
    color: #d1d5db;
}

.download-btn-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn-icon {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

.download-btn-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.download-btn-version {
    font-size: 0.7rem;
    opacity: 0.85;
    font-weight: 400;
    margin-left: 0.5rem;
}

.download-dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.download-primary.active .download-dropdown-arrow {
    transform: rotate(180deg);
}

/* Download dropdown content */
.download-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    z-index: 1000;
    margin-top: 0.5rem;
    overflow: hidden;
    min-width: 280px;
}

.download-primary.active .download-dropdown-content {
    display: block;
}

.download-dropdown-content a {
    color: #333;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.download-dropdown-content a:last-child {
    border-bottom: none;
}

.download-dropdown-content a:hover {
    background-color: #f8f9fa;
}

.download-dropdown-content i {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
    color: #666;
    flex-shrink: 0;
}

.download-option-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 0.5rem;
}

.download-option-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    text-align: left;
}

.download-option-version {
    font-size: 0.7rem;
    color: #666;
    opacity: 0.8;
    white-space: nowrap;
    margin-left: 0.5rem;
    text-align: left;
}

/* Release notes link */
.release-notes-link {
    margin-top: 0.5rem;
}

.release-notes-link a {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.release-notes-link a:hover {
    color: #08203e;
    text-decoration: underline;
}

/* Features Section */
.features-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1rem;
    line-height: 1.65;
}

.features-content {
    color: #333;
}

.features-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #08203e;
    text-align: center;
}

.features-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: #08203e;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.features-content h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem 0;
    color: #557c93;
}

.features-content p {
    margin-bottom: 1rem;
    color: #555;
}

.features-content strong {
    color: #08203e;
    font-weight: 600;
}

.features-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.features-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.features-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #84fab0;
    margin: 1.5rem 0;
    padding: 0rem 1rem;
    font-style: italic;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-hero-section {
        padding: 1rem;
    }
    
    .product-hero-logo img {
        width: 100px;
        height: 100px;
    }
    
    .product-hero-description p {
        font-size: 1.1rem;
    }
    
    .download-btn {
        min-width: 160px;
        padding: 0.65rem 1.25rem;
    }
    
    .features-section {
        padding: 1rem;
    }
    
    .features-content h1 {
        font-size: 1.75rem;
    }
    
    .features-content h2 {
        font-size: 1.25rem;
    }
}
