/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E85D75;
    --primary-dark: #D14961;
    --secondary-color: #6B7FD7;
    --accent-color: #FFB84D;
    --text-dark: #2C3E50;
    --text-light: #5A6C7D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-light: #E8ECEF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #a56bd4 50%, #f093fb 75%, #764ba2 100%);
    background-size: 400% 400%;
    animation: gradientFlow 28s ease-in-out infinite, hueShift 40s linear infinite;
    overflow: hidden;
}

@keyframes gradientFlow {
    0%   { background-position: 0% 50%; }
    14%  { background-position: 60% 20%; }
    28%  { background-position: 100% 60%; }
    42%  { background-position: 40% 100%; }
    56%  { background-position: 80% 30%; }
    70%  { background-position: 20% 70%; }
    84%  { background-position: 70% 90%; }
    100% { background-position: 0% 50%; }
}

@keyframes hueShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50%      { filter: hue-rotate(12deg); }
}

.hero::before {
    content: '';
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.13) 0%, transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(255, 200, 255, 0.11) 0%, transparent 70%);
    filter: blur(50px);
    animation: floatGlow 15s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(0, 0);
    }
    33% {
        opacity: 1;
        transform: translate(2%, -1.5%);
    }
    66% {
        opacity: 0.8;
        transform: translate(-1.5%, 2%);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: floatOrb 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40%, 30%); }
}

/* Navigation */
.nav-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 120px 24px;
    color: white;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease backwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 300;
    margin-bottom: 48px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section {
    padding: 96px 0;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-lead {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* 价值观图标 - SVG线条图标 */
.value-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: white;
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.icon-support-heart {
    background: linear-gradient(135deg, #E85D75 0%, #D14961 100%);
}

.icon-place {
    background: linear-gradient(135deg, #FFB84D 0%, #FF9A3D 100%);
}

.icon-community {
    background: linear-gradient(135deg, #6B7FD7 0%, #5A6BC7 100%);
}

.value-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Activities Section */
.activities-section {
    background: white;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.activity-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.activity-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: white;
}

.activity-icon svg {
    width: 26px;
    height: 26px;
}

/* 活动图标配色 */
.icon-event {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-support {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.icon-art {
    background: linear-gradient(135deg, #4facfe 0%, #00c6fb 100%);
}

.icon-cafe {
    background: linear-gradient(135deg, #fa709a 0%, #f5934d 100%);
}

.icon-learn {
    background: linear-gradient(135deg, #30cfd0 0%, #5a6bc7 100%);
}

.icon-garden {
    background: linear-gradient(135deg, #43cea2 0%, #7ed492 100%);
}

.activity-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.activity-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Stories Section */
.stories-section {
    background: var(--bg-light);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.story-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.story-image {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card:hover .story-image {
    transform: scale(1.05);
}

.story-content {
    padding: 32px;
}

.story-date {
    display: inline-block;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.story-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.story-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    background: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 64px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
    max-width: 640px;
    margin: 0 auto;
    transform: translateX(22px);
}

/* Contact Form */
.contact-form {
    max-width: 640px;
    margin: 48px auto 0;
    padding-top: 48px;
    transform: translateX(22px);
    border-top: 1px solid var(--border-light);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group label .required,
.form-group label .optional {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
}

.form-group label .required {
    background: rgba(232, 93, 117, 0.12);
    color: var(--primary-color);
}

.form-group label .optional {
    background: var(--border-light);
    color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    transition: var(--transition);
    resize: vertical;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6C7D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0AAB4;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(232, 93, 117, 0.12);
}

.form-submit {
    display: inline-block;
    padding: 15px 48px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 18px rgba(232, 93, 117, 0.28);
}

.form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(232, 93, 117, 0.35);
}

.form-message {
    margin-top: 20px;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
    color: #2E9E6B;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease, padding 0.4s ease;
}

.form-message.show {
    opacity: 1;
    max-height: 100px;
    padding: 16px 20px;
    background: rgba(46, 158, 107, 0.1);
    border-radius: 10px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #E85D75 0%, #D14961 100%);
    color: white;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 30px;
    height: 30px;
}

.footer-text {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 24px;
}

.footer-contact {
    font-size: 15px;
    opacity: 0.75;
    line-height: 1.9;
}

.footer-contact a,
.footer-contact a:visited {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 1px;
    transition: var(--transition);
}

.footer-contact a:hover {
    opacity: 0.7;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.6;
    margin-top: 32px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(44, 62, 80, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 80px 32px;
        transition: right 0.4s ease;
        z-index: 99;
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 100;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .section {
        padding: 64px 0;
    }

    .activities-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 80px 24px;
    }

    .activity-card,
    .story-content {
        padding: 24px;
    }
}
