/* 溪栈创业工作室 - 主样式文件 */

/* ===== 基础变量 ===== */
:root {
    --primary-color: #00CC8D;
    --primary-dark: #00B380;
    --secondary-color: #00CC8D;
    --dark-bg: #0A0A0A;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --black: #000000;
    --green-accent: #00FF00;
    --border-radius: 0.75rem;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.77);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    max-width: 1376px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 69px;
}

.navbar-logo img {
    height: 45px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.navbar-menu a {
    color: var(--white);
    font-size: 14px;
    position: relative;
    padding: 0.75rem 0;
    white-space: nowrap;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 11px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: all 0.3s ease;
}

.navbar-menu a:hover::after {
    width: 100%;
    left: 0;
}

.navbar-menu a.active {
    font-weight: 600;
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.navbar-cta:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.navbar-cta:hover svg {
    transform: translateX(4px);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.lang-switch .divider {
    color: rgba(255, 255, 255, 0.5);
}

.lang-btn {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    border-radius: 9999px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    opacity: 1;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.18);
    opacity: 1;
}

/* 移动端菜单 */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero 区域 ===== */
.hero {
    position: relative;
    padding: 8rem 1.5rem 4rem;
    background: var(--light-bg);
    border-bottom-left-radius: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 3.75rem;
    color: var(--text-dark);
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.btn-secondary svg {
    transition: transform 0.3s ease;
}

.btn-secondary:hover svg {
    transform: translateX(4px);
}

.hero-image {
    border-radius: 2rem;
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

/* ===== 特色区域 ===== */
.features {
    padding: 6rem 1.5rem;
    background: var(--white);
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    padding-left: 2.5rem;
    position: relative;
}

.feature-item .icon {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: inline;
}

.feature-item p {
    color: var(--text-light);
    display: inline;
}

/* ===== 推荐语 ===== */
.testimonial {
    padding: 4rem 1.5rem;
    background: var(--white);
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

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

.testimonial-info h4 {
    font-size: 1rem;
    color: var(--text-dark);
}

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

/* ===== CTA 区域 ===== */
.cta-section {
    padding: 2rem 1.5rem;
    background: var(--light-bg);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--light-bg);
}

/* ===== 服务区域 ===== */
.services {
    padding: 6rem 1.5rem;
    background: var(--white);
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: scale(1.05);
}

.service-card img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== 联系我们 ===== */
.contact-section {
    padding: 5rem 1.5rem;
    background: #0d6f63;
    color: #e0f2ef;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.contact-subtitle {
    font-size: 1.05rem;
    margin: 0 0 2.5rem;
    color: #d0ebe5;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    align-items: center;
}

.contact-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    align-items: center;
    color: #e0f2ef;
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: #e0f2ef;
}

.contact-card h4 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
}

.contact-card p {
    margin: 0;
    color: #d0ebe5;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .services {
        padding: 4.5rem 1.25rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 3rem;
    }
    .service-card img {
        width: 140px;
        height: 140px;
    }
    .contact-title {
        font-size: 2rem;
    }
    .contact-grid {
        gap: 1.5rem;
    }

    .btn-primary,
    .btn-outline,
    .btn-secondary {
        white-space: normal;
        text-align: center;
        width: auto;
        max-width: 100%;
        padding: 0.7rem 1.1rem;
    }

    .hot-text {
        white-space: normal;
        animation: none;
        padding-left: 0;
    }

    .hot-text-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .services {
        padding: 3.5rem 1rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 1.5rem;
    }
    .service-card img {
        width: 120px;
        height: 120px;
    }
    .contact-section {
        padding: 4rem 1.25rem;
    }
    .contact-title {
        font-size: 1.75rem;
    }
    .contact-subtitle {
        font-size: 0.98rem;
        margin-bottom: 2rem;
    }
    .contact-card {
        grid-template-columns: 52px 1fr;
    }
    .contact-icon {
        width: 52px;
        height: 52px;
    }
    .contact-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* ===== 项目招募 - 黑客风格 ===== */
.hacker-section {
    position: relative;
    padding: 6rem 1.5rem;
    background: var(--dark-bg);
    overflow: hidden;
}

.hacker-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 204, 141, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 204, 141, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(0, 179, 128, 0.12) 0%, transparent 45%);
    opacity: 1;
}

.hacker-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.hacker-header {
    text-align: center;
    margin-bottom: 5rem;
}

.hacker-header h2 {
    font-size: 3rem;
    color: var(--green-accent);
    margin-bottom: 2rem;
}

.hacker-header p {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: #d1d5db;
    line-height: 1.8;
}

.hacker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.hacker-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 0, 0.2);
    transition: all 0.5s ease;
}

.hacker-card:hover {
    border-color: var(--green-accent);
    transform: translateY(-8px);
}

.hacker-card .number {
    color: var(--green-accent);
    font-family: monospace;
    font-size: 1.125rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.hacker-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.hacker-card ul {
    list-style: none;
}

.hacker-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #d1d5db;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.hacker-card li:hover {
    color: var(--green-accent);
}

.hacker-card li svg {
    color: var(--green-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 1.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 40px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-qrcodes {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 1.5rem;
}

.qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qrcode-item img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    background: var(--white);
    padding: 4px;
    margin-bottom: 0.5rem;
}

.qrcode-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    max-width: 120px;
}

.footer-icp {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

.footer-icp a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-icp a:hover {
    color: var(--primary-color);
}

.footer-gongan {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

.footer-gongan a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-gongan a:hover {
    color: var(--primary-color);
}

.footer-gongan img {
    width: 16px;
    height: 16px;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===== 页面头部 (非首页) ===== */
.page-header {
    padding: 10rem 1.5rem 4rem;
    background: var(--white);
}

.page-header-container {
    max-width: 1280px;
    margin: 0 auto;
}

.page-header .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.8;
}

.page-header .header-cta {
    display: inline-flex;
    margin-top: 1.75rem;
}

/* ===== EIR 团队区域 ===== */
.eir-section {
    padding: 6rem 1.5rem;
    background: linear-gradient(to bottom, var(--light-bg), #f1f5f9);
}

.eir-container {
    max-width: 1280px;
    margin: 0 auto;
}

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

.eir-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.eir-header > p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

.eir-header h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.eir-values {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding-left: 2rem;
}

.eir-values li {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.eir-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.eir-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.eir-card:hover {
    transform: scale(1.05);
}

.eir-card img {
    width: 192px;
    height: 192px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

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

.eir-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.eir-card .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.eir-card .social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.eir-card .social-links a:hover {
    color: var(--primary-dark);
}

/* ===== 运营中台 ===== */
.platform-section {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.platform-container {
    max-width: 1280px;
    margin: 0 auto;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.platform-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
    position: relative;
}

.platform-content h3 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.platform-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.platform-content > p {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.platform-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.platform-feature .icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(0, 204, 141, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-feature .icon-wrapper svg {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.platform-feature h4 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.platform-feature p {
    color: var(--text-light);
    line-height: 1.6;
}

.platform-visual {
    background: linear-gradient(135deg, #e3f7ef, #c8f0e1);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.platform-visual img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.platform-benefits {
    margin-top: 40px;
    display: grid;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    align-self: flex-end;
}

.platform-benefits h3 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.25rem;
}

.platform-benefit-list {
    display: grid;
    gap: 1rem;
}

.platform-benefit {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1rem;
    align-items: center;
    background: #e9fbf4;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
}

.platform-benefit .icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 204, 141, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.platform-benefit h4 {
    margin: 0;
    color: var(--text-dark);
}

.platform-benefit p {
    margin: 0;
    color: var(--text-light);
    grid-column: 2 / -1;
    line-height: 1.6;
}

.hh-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: -60px;
    width: 88%;
    max-width: 840px;
    background: var(--white);
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
}

.hh-overlay-hacker {
    bottom: -40px;
    width: 90%;
    max-width: 900px;
}

.hh-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hh-overlay li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hh-overlay li:last-child {
    border-bottom: none;
}

.hh-overlay h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.hh-overlay p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.hh-bullet {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 204, 141, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.developer-section {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.developer-container,
.domain-container,
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    max-width: 760px;
    margin: 0 0 2.5rem 0;
}

.section-heading.center {
    text-align: center;
    margin: 0 auto 2.5rem;
}

.section-heading .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-heading p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.developer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.persona-card {
    background: var(--white);
    border: 1px solid #e5f4ec;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 15px 35px -20px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.persona-card h3 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--text-dark);
}

.persona-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text-light);
    line-height: 1.7;
}

.icon-bullet {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 204, 141, 0.12);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.icon-bullet svg {
    width: 14px;
    height: 14px;
}

.domain-section {
    padding: 5rem 1.5rem;
    background: #f5faf7;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.domain-card {
    background: var(--white);
    border: 1px solid #e5f4ec;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.domain-card h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.domain-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 204, 141, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #d8f2e7;
    box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.15);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-section {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.faq-item {
    background: #f8fbf9;
    border: 1px solid #e5f4ec;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 12px 28px -20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    margin: 0 0 0.5rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.faq-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 204, 141, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.faq-icon svg {
    width: 18px;
    height: 18px;
}

.faq-cta {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.faq-cta .link {
    color: var(--primary-color);
}

.hiring-hero {
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(140deg, #f7fff9, #ffffff);
}

.hiring-hero-container {
    max-width: 1080px;
    margin: 0 auto;
}

.hiring-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hiring-hero h1 {
    font-size: 2.75rem;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

.hiring-hero h1 .accent {
    color: var(--primary-color);
}

.hiring-hero p {
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 760px;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    background: rgba(0, 204, 141, 0.12);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
}

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

.pill.light {
    background: #f2f6f4;
    color: var(--text-light);
    font-weight: 600;
}

.jobs-section {
    padding: 4rem 1.5rem 5rem;
    background: var(--white);
}

.jobs-container {
    max-width: 1180px;
    margin: 0 auto;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.job-card {
    background: var(--white);
    border: 1px solid #e6f2ea;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-meta.tail {
    margin-top: auto;
}

.job-title {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.job-summary {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

.job-block h4 {
    margin: 0 0 0.35rem 0;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.job-block ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-light);
    line-height: 1.65;
    display: grid;
    gap: 0.35rem;
}

.job-actions {
    margin-top: auto;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.capital-section {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.capital-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: start;
}

.capital-left .section-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.capital-left .section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 640px;
}

.capital-photo {
    margin-top: 2.5rem;
}

.capital-photo img {
    width: 100%;
    max-width: 640px;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.capital-right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.capital-group h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0 0 0.75rem;
}

.capital-divider {
    height: 1px;
    background: #b7e5ce;
    margin-bottom: 1.5rem;
}

.capital-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: flex-start;
}

.capital-logos-single {
    justify-content: flex-start;
}

.capital-logo-card {
    background: #f9fbf9;
    border: 1px solid #e4f4ec;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    min-width: 170px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px -20px rgba(0, 0, 0, 0.15);
}

.capital-logo-card img {
    height: 44px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        gap: 1.25rem;
    }
    
    .btn-primary {
        font-size: 0.9375rem;
        padding: 0.75rem 1.375rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hacker-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .eir-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .platform-right {
        align-items: flex-start;
    }

    .platform-benefits {
        margin-top: 1.5rem;
        width: 100%;
    }

    .developer-grid,
    .domain-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capital-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .capital-left .section-title {
        font-size: 2.25rem;
    }

    .capital-left .section-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 1rem;
        left: 1rem;
        right: 1rem;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 1rem;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-actions {
        gap: 0.5rem;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-cta {
        display: none;
    }

    .lang-switch {
        display: inline-flex;
    }

    .hero {
        padding: 7rem 1rem 3rem;
        min-height: auto;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn-primary {
        font-size: 0.9375rem;
        padding: 0.7rem 1.1rem;
        width: auto;
        text-align: center;
        white-space: normal;
        display: inline-flex;
        align-items: center;
        max-width: 100%;
    }
    
    .btn-hot-event {
        width: auto;
        max-width: 100%;
        white-space: normal;
        padding: 0.7rem 1.1rem;
        display: inline-flex;
        align-items: center;
    }

    .hero-image {
        max-width: 100%;
    }

    .hero-image img {
        aspect-ratio: auto;
        height: auto;
        max-height: 360px;
        object-fit: cover;
    }

    .hot-text {
        white-space: normal;
        animation: none;
        padding-left: 0;
    }

    .hot-text-wrapper {
        max-width: 100%;
    }

    .btn-outline,
    .btn-secondary {
        white-space: normal;
        text-align: center;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hacker-grid {
        grid-template-columns: 1fr;
    }

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

    .eir-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-header {
        padding: 8rem 1rem 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    .platform-visual {
        padding: 2rem 1rem;
        min-height: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .eir-header h2 {
        font-size: 2rem;
    }
    
    .eir-header > p {
        font-size: 1rem;
    }
    
    .platform-content h2 {
        font-size: 2rem;
    }
    
    .platform-content > p {
        font-size: 1.125rem;
    }

    .developer-grid,
    .domain-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

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

    .hiring-hero h1 {
        font-size: 2.25rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 动画效果 ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== 火热活动按钮 ===== */
.btn-hot-event {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark), var(--primary-color));
    background-size: 200% 100%;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 204, 141, 0.4);
    position: relative;
    overflow: hidden;
    animation: hotShine 3s ease-in-out infinite, hotPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
    max-width: 100%;
}

.btn-hot-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: hotShimmer 3s infinite;
}

.btn-hot-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 204, 141, 0.6);
}

.btn-hot-event:hover svg {
    transform: translateX(4px);
}

.btn-hot-event svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.hot-text-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-width: 0;
    max-width: min(320px, calc(100% - 2rem));
}

.hot-text {
    white-space: nowrap;
    position: relative;
    z-index: 1;
    display: inline-block;
    animation: scrollText 20s linear infinite;
    padding-left: 100%;
}

/* 文字滚动容器 */
.btn-hot-event {
    overflow: hidden;
    position: relative;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes hotShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes hotPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 204, 141, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 204, 141, 0.7);
    }
}

@keyframes hotShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .btn-hot-event {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
        max-width: 100%;
    }
    
    .hot-text {
        animation-duration: 12s;
        padding-right: 1.5rem;
    }
}
.platform-section {
    padding-bottom: 5rem;
}

.hackerhouse-section {
    margin-top: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hh-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
}

.hh-copy .section-subtitle {
    color: #00b07a;
    font-weight: 700;
}

.hh-feature-grid {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem 1.5rem;
}

.hh-feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1rem;
    align-items: start;
}

.hh-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 204, 141, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.hh-feature h4 {
    margin: 0;
    color: var(--text-dark);
}

.hh-feature p {
    margin: 0;
    color: var(--text-light);
    grid-column: 2 / -1;
    line-height: 1.6;
}

.hh-media {
    position: relative;
}

.hh-media img {
    width: 100%;
    border-radius: 1.75rem;
    box-shadow: var(--shadow-lg);
}
