/* Website 89 - Slide-in Animation Layout */
:root {
    --primary-color: #17a2b8;
    --primary-dark: #138496;
    --secondary-color: #2c3e50;
    --accent-color: #20c997;
    --bg-color: #e8f8f9;
    --card-bg: #ffffff;
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --shadow: 0 10px 40px rgba(23, 162, 184, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 0.3rem;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    background: rgba(23, 162, 184, 0.1);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Header (legacy support) */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.header-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-decoration: none;
}

.header-logo span {
    color: var(--accent-color);
}

.header-links {
    display: flex;
    gap: 1.5rem;
}

.header-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero-slide {
    min-height: 100vh;
    padding: 8rem 5% 4rem;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, var(--bg-color) 100%);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-slide h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-slide h1 span {
    display: block;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary-dark);
    margin-top: 0.5rem;
}

.hero-slide p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 450px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(23, 162, 184, 0.3);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-graphic {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* Slide-in Cards Section */
.slide-section {
    padding: 6rem 5%;
    background: #fff;
}

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

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-light);
}

/* Slide-in Grid */
.slide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.slide-card {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.slide-card:hover {
    transform: translateX(15px);
    box-shadow: 0 20px 50px rgba(23, 162, 184, 0.2);
}

.slide-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.slide-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

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

/* Stats Section */
.stats-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
}

.stat-lbl {
    font-size: 1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 6rem 5%;
    background: var(--bg-color);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 3rem 5% 1.5rem;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 1200px) {
    .nav-links {
        gap: 0.2rem;
    }
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        padding: 0.8rem 1rem;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-slide {
        padding-top: 7rem;
    }
}

@media (max-width: 900px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-slide p {
        margin: 0 auto 2rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-graphic {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .header-links { display: none; }
    .hero-slide h1 { font-size: 2rem; }
    .stats-row { gap: 2rem; }
}

/* Animations */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-text {
    animation: slideInLeft 0.8s ease;
}

.hero-visual {
    animation: slideInRight 0.8s ease;
}

.slide-card {
    opacity: 0;
    animation: slideInRight 0.6s ease forwards;
}

.slide-card:nth-child(1) { animation-delay: 0.1s; }
.slide-card:nth-child(2) { animation-delay: 0.2s; }
.slide-card:nth-child(3) { animation-delay: 0.3s; }
.slide-card:nth-child(4) { animation-delay: 0.4s; }
