/* Website 160 - 折纸艺术风格 (Origami Art)
 * 布局：折纸几何效果，青色主题
 * 主题色：青色 (#0d9488) + 蓝绿色 (#14b8a6)
 */

:root {
    --primary-color: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #2dd4bf;
    --accent-color: #14b8a6;
    --accent-light: #5eead4;
    --bg-dark: #042f2e;
    --bg-card: #0d3834;
    --text-primary: #f0fdfa;
    --text-secondary: #99f6e4;
    --border-color: #115e59;
    --shadow-color: rgba(13, 148, 136, 0.4);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0a2927 50%, var(--bg-dark) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.origami-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(4, 47, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 98% 100%, 2% 100%, 0 85%);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 4px 4px 12px 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: var(--primary-color);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-light);
    transition: all 0.3s ease;
}

.main-content {
    padding-top: 70px;
}

.origami-hero {
    padding: 80px 40px;
    text-align: center;
    background:
        linear-gradient(135deg, transparent 0%, rgba(13, 148, 136, 0.1) 50%, transparent 100%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(13, 148, 136, 0.02) 10px, rgba(13, 148, 136, 0.02) 20px);
}

.origami-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.origami-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-light);
    position: relative;
    display: inline-block;
}

.origami-hero h1::before,
.origami-hero h1::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.origami-hero h1::before {
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
}

.origami-hero h1::after {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(5deg);
}

.origami-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.origami-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.origami-card {
    background: var(--bg-card);
    border-radius: 4px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    clip-path: polygon(
        0 0,
        100% 0,
        100% 90%,
        95% 100%,
        5% 100%,
        0 90%
    );
}

.origami-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.origami-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 4px 4px 20px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
}

.origami-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--primary-light);
}

.origami-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.origami-card .card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px 4px 12px 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.origami-section {
    padding: 80px 40px;
    background: rgba(13, 148, 136, 0.1);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-light);
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.section-title::before {
    left: calc(50% - 120px);
}

.section-title::after {
    right: calc(50% - 120px);
}

.origami-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.origami-item {
    background: var(--bg-card);
    border-radius: 4px;
    padding: 35px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 85%,
        95% 100%,
        5% 100%,
        0 85%
    );
}

.origami-item:hover {
    transform: translateY(-5px) rotate(1deg);
    border-color: var(--primary-light);
}

.origami-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 4px 4px 24px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.origami-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.origami-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.origami-contact {
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.origami-contact-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 85%,
        95% 100%,
        5% 100%,
        0 85%
    );
}

.origami-contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.origami-contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 4px 4px 20px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.origami-contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-light);
}

.origami-contact-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.origami-footer {
    background: var(--bg-dark);
    padding: 40px;
    text-align: center;
    border-top: 3px solid var(--border-color);
    clip-path: polygon(0 15%, 2% 0, 98% 0, 100% 15%, 100% 100%, 0 100%);
}

.origami-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .origami-nav {
        padding: 0 20px;
        clip-path: none;
        border-bottom-width: 3px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(4, 47, 46, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-150%);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    .origami-hero {
        padding: 60px 20px;
    }

    .origami-hero h1 {
        font-size: 2rem;
    }

    .origami-grid {
        padding: 20px;
        grid-template-columns: 1fr;
    }

    .origami-section,
    .origami-contact {
        padding: 60px 20px;
    }

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

    .section-title::before,
    .section-title::after {
        display: none;
    }
}
