/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 900;
    letter-spacing: -0.5px;
}

strong {
    font-weight: 700;
    color: #1e40af;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.stock-ticker {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    background: rgba(34, 197, 94, 0.2);
    padding: 10px 0;
    white-space: nowrap;
    overflow: hidden;
}

.ticker-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
    font-weight: 700;
    font-size: 14px;
}

.ticker-content span {
    margin-right: 80px;
    color: #22c55e;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.title-highlight {
    color: #fbbf24;
    font-weight: 900;
    display: inline-block;
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 4px;
    background: #fbbf24;
    border-radius: 2px;
}

.title-emphasis {
    color: #22c55e;
    font-weight: 900;
}

.title-community {
    color: #60a5fa;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
    font-weight: 400;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 12px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 700;
    font-size: 0.9rem;
}

.feature-item i {
    color: #fbbf24;
    font-size: 1.1rem;
}

/* Profile Card */
.profile-card {
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #1f2937;
    position: relative;
    transform: translateY(20px);
    animation: floatUp 0.8s ease-out forwards;
}

@keyframes floatUp {
    to {
        transform: translateY(0);
    }
}

.profile-image {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fbbf24;
}

.profile-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef4444;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 900;
    color: #1e40af;
}

.profile-info p {
    color: #6b7280;
    margin-bottom: 20px;
    font-weight: 500;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    color: #1e40af;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
}

/* CTA Buttons */
.cta-button {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.6);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.25rem;
}

.hero-cta {
    font-size: 1.2rem;
    padding: 18px 36px;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1f2937;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.title-icon {
    font-size: 2rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: #1e40af;
    font-weight: 900;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-left: 4px solid #fbbf24;
}

.credential-item i {
    color: #1e40af;
    font-size: 1.2rem;
}

.credential-item span {
    font-weight: 700;
    color: #1f2937;
}

.about-achievements {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.achievement-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: #22c55e;
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.achievement-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #1e40af;
    font-weight: 900;
}

.achievement-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Feature Modules */
.features {
    padding: 100px 0;
    background: white;
}

.feature-module {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-module.reverse {
    direction: rtl;
}

.feature-module.reverse > * {
    direction: ltr;
}

.feature-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: #1e40af;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 16px;
    line-height: 1.3;
}

.feature-icon {
    font-size: 1.5rem;
    color: #fbbf24;
}

.feature-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    color: #4b5563;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    padding: 12px 0;
    font-size: 1rem;
    color: #374151;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Community Details */
.community-details {
    padding: 100px 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.detail-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.detail-card:hover {
    transform: translateY(-8px);
    border-color: #22c55e;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.detail-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: block;
}

.detail-card h4 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #1e40af;
    font-weight: 900;
}

.detail-card p {
    color: #6b7280;
    line-height: 1.6;
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #1e293b 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 900;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}

.benefit-item i {
    color: #22c55e;
    font-size: 1.3rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-info h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 900;
    color: #fbbf24;
}

.footer-info p {
    color: #94a3b8;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #22c55e;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #6b7280;
}

/* Floating CTA - 修复居中问题 */
.floating-cta {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1000 !important;
    width: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.floating-button {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    animation: pulse 2s infinite;
    position: relative;
    width: max-content;
}

.floating-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(34, 197, 94, 0.7);
}

/* 确保在任何情况下都居中 */
.floating-cta:hover {
    transform: translateX(-50%) !important;
}

/* 备用居中方案 - 如果transform被覆盖 */
.floating-cta {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 最强力的居中保证 */
@supports (position: fixed) {
    .floating-cta {
        position: fixed !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 12px 30px rgba(34, 197, 94, 0.5);
    }
    50% {
        box-shadow: 0 12px 30px rgba(34, 197, 94, 0.8);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-module {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        min-height: 80vh;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
        flex-direction: column;
        gap: 8px;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .floating-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* 移动端也强制居中 */
    .floating-cta {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .feature-image img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .profile-card {
        padding: 20px;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .floating-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* 小屏幕也强制居中 */
    .floating-cta {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* Dark theme elements */
.dark-accent {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

/* Stock market themed animations */
@keyframes chartUp {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.02); }
    100% { transform: translateY(0) scale(1); }
}

.achievement-card:hover {
    animation: chartUp 0.6s ease-in-out;
}

/* Loading animation for images */
.feature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
