/* ========================================
   土豆财富量化交易 - 首页样式
   商务风格 · 专业设计
   ======================================== */

/* ========== Hero Section ========== */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 58, 138, 0.9) 50%,
        rgba(15, 23, 42, 0.95) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 20px;
}

.hero-content {
    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}

.hero-badge svg {
    color: #60A5FA;
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-title .title-line {
    display: block;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-title .title-highlight {
    display: block;
    font-size: 52px;
    font-weight: 700;
    background: linear-gradient(135deg, #60A5FA 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature svg {
    color: #34D399;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.5);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Visual Card */
.hero-visual {
    animation: fadeInRight 1s ease 0.3s backwards;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-notice-card {
    margin-top: 16px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.hero-notice-card[hidden] {
    display: none;
}

.notice-card-top,
.notice-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.notice-card-top {
    justify-content: flex-start;
    margin-bottom: 12px;
}

.notice-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.14);
}

.hero-notice-card p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.notice-content {
    max-height: 116px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.7;
}

.notice-content h1,
.notice-content h2,
.notice-content h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 16px;
}

.notice-content p,
.notice-content ul {
    margin: 0 0 8px;
}

.notice-content ul {
    padding-left: 18px;
}

.notice-link {
    display: inline-flex;
    margin-top: 14px;
    color: #BFDBFE;
    font-size: 14px;
    font-weight: 700;
}

.notice-link:hover {
    color: #ffffff;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.card-indicator {
    width: 10px;
    height: 10px;
    background: #34D399;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.card-chart {
    margin-bottom: 20px;
}

.chart-svg {
    width: 100%;
    height: auto;
}

.card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card-stats .stat {
    text-align: center;
}

.card-stats .stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #34D399;
    margin-bottom: 4px;
}

.card-stats .stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========== Section Styles ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 20px;
    color: #2563EB;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: #64748B;
    max-width: 500px;
    margin: 0 auto;
}

/* ========== Business Section ========== */
.business-section {
    padding: 100px 0;
    background: #F8FAFC;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.business-card {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3B82F6;
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.card-icon {
    width: 100%;
    height: 100%;
}

.business-card .card-title {
    font-size: 22px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 16px;
}

.business-card .card-description {
    font-size: 15px;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 24px;
}

.business-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563EB;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.business-card .card-link:hover {
    color: #1D4ED8;
    gap: 10px;
}

/* ========== Stats Section ========== */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stats-item {
    text-align: center;
    color: white;
    position: relative;
}

.stats-item:not(:last-child) .stats-divider {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.3), transparent);
}

.stats-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #60A5FA, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-unit {
    font-size: 28px;
}

.stats-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== Features Section ========== */
.features-section {
    padding: 100px 0;
    background: white;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.features-image img {
    width: 100%;
    height: auto;
    display: block;
}

.features-image-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
}

.overlay-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.overlay-badge svg {
    color: #34D399;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #F8FAFC;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-item:hover {
    background: white;
    border-color: #3B82F6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateX(8px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
}

/* ========== Team Section ========== */
.team-section {
    padding: 100px 0;
    background: #F8FAFC;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #E2E8F0;
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    border-color: #3B82F6;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 18px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 8px;
}

.team-role {
    font-size: 14px;
    color: #3B82F6;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
}

/* ========== Partners Section ========== */
.partners-section {
    padding: 80px 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo svg {
    width: 120px;
    height: 40px;
}

/* ========== News Section ========== */
.news-section {
    padding: 100px 0;
    background: #F8FAFC;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.news-content {
    padding: 24px;
}

.news-meta {
    margin-bottom: 12px;
}

.news-date {
    font-size: 13px;
    color: #94A3B8;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-excerpt {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563EB;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.news-link:hover {
    color: #1D4ED8;
    gap: 10px;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #0F172A 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* ========== Footer ========== */
.footer {
    background: #0F172A;
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 600;
}

.footer-tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-links a:hover {
    color: #3B82F6;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    stroke: #3B82F6;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    cursor: pointer;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stats-item:nth-child(2) .stats-divider {
        display: none;
    }

    .features-content {
        grid-template-columns: 1fr;
    }

    .features-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title .title-line,
    .hero-title .title-highlight {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section-title {
        font-size: 28px;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-item .stats-divider {
        display: none;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 70px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .hero-title .title-line,
    .hero-title .title-highlight {
        font-size: 28px;
    }

    .hero-scroll {
        display: none;
    }

    .stats-number {
        font-size: 36px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }
}
