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

:root {
    --primary-color: #4361ee;
    /* Vibrant Blue */
    --secondary-color: #3f37c9;
    /* Deep Blue */
    --accent-color: #4cc9f0;
    /* Bright Cyan */
    --text-dark: #2b2d42;
    --text-light: #8d99ae;
    --background-light: #f8f9fa;
    --white: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

.de_iv_adv {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    /* background-color: #F8F8F8; */
    margin: 100px 0 0px;
}


/* 底部广告位 */

.postionFixed {
    width: 100%;
    min-height: 60px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F8F8F8;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h1 a {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.nav-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nav-link:hover .nav-icon {
    transform: scale(1.2);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Banner Section */
.hero-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.8) 0%, rgba(63, 55, 201, 0.6) 100%);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 5rem 0;
}

.banner-text {
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
}

.banner-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-main {
    display: block;
    font-size: 3rem;
    opacity: 0.9;
}

.title-highlight {
    display: block;
    font-size: 5rem;
    background: linear-gradient(45deg, #4cc9f0, #4895ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(76, 201, 240, 0.5);
}

.banner-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.95;
    line-height: 1.6;
}

.banner-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.banner-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.5;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Quick Access Section */
.quick-access {
    padding: 5rem 0;
    background: var(--background-light);
}

.quick-access h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-dark);
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.access-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.access-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.access-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.3);
}

.btn-secondary {
    background: var(--text-light);
    color: var(--white);
}

.btn-secondary:hover {
    background: #7a869a;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background: #38b6e0;
    transform: translateY(-2px);
}

/* Featured Articles Home Section */
.featured-articles-home {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

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

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.view-all-btn:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Hero Article */
.hero-article {
    margin-bottom: 4rem;
}

.hero-article-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

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

.hero-article-image {
    position: relative;
    overflow: hidden;
}

.hero-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-article-card:hover .hero-article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-article-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-article-content h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.hero-article-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Articles Showcase */
.articles-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.articles-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.small-articles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.showcase-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.showcase-card.large {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.showcase-card.small .showcase-image {
    height: 200px;
}

.showcase-card.large .showcase-image {
    height: 100%;
}

.showcase-image {
    position: relative;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.05);
}

.showcase-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.showcase-category {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.showcase-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.showcase-card.large h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.showcase-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-time {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.showcase-card.large .read-time {
    margin-top: auto;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 5rem 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.3);
}

.newsletter-note {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: #BDC3C7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #BDC3C7;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid #34495E;
    padding-top: 1rem;
    text-align: center;
    color: #BDC3C7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-article-card {
        grid-template-columns: 1fr;
    }

    .hero-article-content {
        padding: 2rem;
    }

    .articles-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .title-highlight {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        height: 100vh;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .banner-title {
        font-size: 3rem;
    }

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

    .title-highlight {
        font-size: 2.5rem;
    }

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

    .banner-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .quick-access,
    .featured-articles-home,
    .testimonials {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-article-content h3 {
        font-size: 1.8rem;
    }

    .showcase-card.large {
        grid-template-columns: 1fr;
    }

    .showcase-card.large .showcase-image {
        height: 250px;
    }

    /* Footer content centered on mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .footer-section ul li a {
        display: block;
        padding: 0.5rem 0;
    }

    .footer-section ul li a:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 1rem;
    }

    .nav-brand h1 a {
        font-size: 1.5rem;
    }

    .banner-title {
        font-size: 2.5rem;
    }

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

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

    .banner-content {
        padding: 6rem 0;
    }

    .nav-link {
        justify-content: center;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .access-card {
        padding: 2rem 1.5rem;
    }

    .hero-article-content {
        padding: 1.5rem;
    }

    .showcase-content {
        padding: 1.5rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 0.8rem 1.2rem;
    }

    /* Ensure footer content remains centered on smaller screens */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}