/* Categories Section Styles */
.categories {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.category-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.category-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.category-card p {
    color: #666;
}

/* Subscription Section Styles */
.subscription {
    padding: var(--section-padding);
}

.plans-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.plan-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    padding: 30px;
    border: 1px solid #eee;
}

.plan-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    z-index: 1;
}

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

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

.plan-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    font-size: 0.8rem;
    border-bottom-left-radius: var(--border-radius);
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.plan-features ul {
    margin-bottom: 30px;
}

.plan-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    font-size: 1rem;
}

.plan-features li i.fa-check {
    color: var(--success-color);
}

.plan-features li i.fa-times {
    color: var(--danger-color);
}

.plan-card .btn {
    width: 100%;
}

/* Testimonials Section Styles */
.testimonials {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-content p {
    position: relative;
    padding: 0 15px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-color);
    position: absolute;
}

.testimonial-content p::before {
    left: 0;
    top: -5px;
}

.testimonial-content p::after {
    right: 0;
    bottom: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: #666;
}

/* App Download Section Styles */
.app-download {
    padding: var(--section-padding);
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: #fff;
}

.app-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.app-text {
    flex: 1;
}

.app-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.app-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.app-button:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.app-button i {
    font-size: 1.5rem;
}

.app-image {
    flex: 1;
    text-align: center;
}

.app-image img {
    max-width: 80%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive styles for new sections */
@media screen and (max-width: 768px) {
    .app-content {
        flex-direction: column;
    }
    
    .app-image {
        order: -1;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
    
    .plan-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media screen and (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-container {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card {
        width: 100%;
    }
    
    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }
}

/* 发行方展示部分样式 */
.publisher-showcase {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.publisher-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.publisher-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.publisher-info {
    flex: 1;
    max-width: 600px;
}

.publisher-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.publisher-description {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.publisher-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.publisher-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.publisher-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.publisher-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.publisher-buttons .btn-primary {
    background: #ffd700;
    color: #333;
    border: 2px solid #ffd700;
}

.publisher-buttons .btn-primary:hover {
    background: transparent;
    color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.publisher-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.publisher-buttons .btn-outline:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.publisher-badge {
    flex-shrink: 0;
    margin-left: 40px;
}

.badge-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    min-width: 200px;
}

.badge-content i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 15px;
    display: block;
}

.badge-content span {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
}

/* 导航栏外部链接样式 */
.external-link {
    position: relative;
}

.external-link::after {
    content: '\f08e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .publisher-content {
        flex-direction: column;
        text-align: center;
    }
    
    .publisher-info h2 {
        font-size: 2rem;
    }
    
    .publisher-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .publisher-buttons {
        justify-content: center;
    }
    
    .publisher-badge {
        margin-left: 0;
        margin-top: 40px;
    }
    
    .badge-content {
        min-width: auto;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .publisher-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .publisher-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .publisher-buttons .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* 页脚发行方信息样式 */
.publisher-info-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.publisher-info-footer h4 {
    color: #ffd700;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.publisher-info-footer p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
}

.publisher-info-footer p i {
    margin-right: 8px;
    color: #ffd700;
    width: 16px;
}

.footer-publisher-links {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-publisher-links a {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
    background: rgba(255, 215, 0, 0.1);
}

.footer-publisher-links a:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-1px);
}

.footer-publisher-links a i {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-publisher-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-publisher-links a {
        justify-content: center;
    }
}

/* About部分publisher链接样式 */
.about-publisher-info {
    margin-top: 25px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.about-publisher-info p {
    margin-bottom: 15px;
    color: #333;
}

.publisher-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.publisher-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.about-publisher-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-publisher-links .btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.about-publisher-links .btn-small:hover {
    background: #5a67d8;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Logo图标样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* 占位符元素样式 */
.about-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    text-align: center;
    padding: 30px;
}

.about-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.about-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-placeholder p {
    font-size: 1rem;
    opacity: 0.9;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.app-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    text-align: center;
    padding: 40px;
}

.app-placeholder i {
    font-size: 5rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.app-placeholder h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.app-placeholder p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-publisher-links {
        flex-direction: column;
        align-items: center;
    }
    
    .about-publisher-links .btn-small {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .about-placeholder {
        height: 250px;
        padding: 20px;
    }
    
    .about-placeholder i {
        font-size: 3rem;
    }
    
    .app-placeholder {
        height: 300px;
        padding: 30px;
    }
    
    .app-placeholder i {
        font-size: 4rem;
    }
}

/* Powered by https://www.firstshelby.com/ Section 样式 */
.powered-by-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.powered-by-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.powered-by-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.powered-by-info {
    flex: 1;
    max-width: 600px;
}

.powered-by-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.powered-by-info p:first-of-type {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.powered-by-info p:last-of-type {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.powered-by-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.powered-by-stats .stat-item {
    text-align: center;
}

.powered-by-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 5px;
}

.powered-by-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.powered-by-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.powered-by-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.powered-by-buttons .btn-primary {
    background: #3498db;
    color: white;
    border: 2px solid #3498db;
}

.powered-by-buttons .btn-primary:hover {
    background: transparent;
    color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.powered-by-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.powered-by-buttons .btn-outline:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.powered-by-badge {
    flex-shrink: 0;
    margin-left: 40px;
}

.powered-by-badge .badge-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    min-width: 200px;
}

.powered-by-badge .badge-content i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 15px;
    display: block;
}

.powered-by-badge .badge-content span {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .powered-by-content {
        flex-direction: column;
        text-align: center;
    }
    
    .powered-by-info h2 {
        font-size: 2rem;
    }
    
    .powered-by-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .powered-by-buttons {
        justify-content: center;
    }
    
    .powered-by-badge {
        margin-left: 0;
        margin-top: 40px;
    }
    
    .powered-by-badge .badge-content {
        min-width: auto;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .powered-by-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .powered-by-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .powered-by-buttons .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* 精简后的Contact部分样式 */
.contact {
    background: #f8f9fa;
    padding: 40px 0;
}

.contact-content {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    width: 100%;
}

.info-item {
    text-align: center;
    padding: 20px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.info-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 10px;
    display: block;
}

.info-item h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

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

.info-item a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact {
        padding: 30px 0;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .info-item {
        padding: 15px 10px;
    }
    
    .info-item i {
        font-size: 1.3rem;
    }
    
    .info-item h3 {
        font-size: 0.8rem;
    }
    
    .info-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* 精简后的Categories部分样式 */
.categories {
    background: #f8f9fa;
    padding: 40px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-card {
    background: white;
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.category-icon i {
    font-size: 1.5rem;
    color: white;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.category-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .categories {
        padding: 30px 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 600px;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .category-icon i {
        font-size: 1.3rem;
    }
    
    .category-card h3 {
        font-size: 1rem;
    }
    
    .category-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
