/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --accent-blue: #1d4ed8;
    --dark-blue: #1e293b;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient-1: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-2: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', 'Noto Sans JP', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }

strong {
    font-weight: 700;
    color: var(--primary-blue);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--light-blue);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.nav-logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-1);
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-chart {
    position: relative;
    width: 100%;
    height: 100%;
}

.chart-line {
    position: absolute;
    top: 30%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, white, transparent);
    animation: chartMove 3s ease-in-out infinite;
}

.chart-candles {
    position: absolute;
    top: 20%;
    left: 20%;
    right: 20%;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.candle {
    width: 4px;
    background: white;
    animation: candleGrow 2s ease-in-out infinite;
}

.candle.green {
    height: 60px;
    animation-delay: 0s;
}

.candle.red {
    height: 40px;
    animation-delay: 0.5s;
}

@keyframes chartMove {
    0%, 100% { transform: translateX(-20px); }
    50% { transform: translateX(20px); }
}

@keyframes candleGrow {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ffffff, #dbeafe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Master Card */
.master-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.master-info h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.master-info p {
    opacity: 0.8;
    font-weight: 600;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.achievement i {
    color: #fbbf24;
    font-size: 1.25rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-blue);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.about-card h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-card p {
    color: var(--gray);
    font-weight: 500;
    line-height: 1.7;
}

/* Community Section */
.community-section {
    padding: 6rem 0;
    background: white;
}

.community-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-content h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.intro-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.purpose-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.purpose-item:hover {
    transform: translateY(-2px);
}

.purpose-item i {
    color: var(--secondary-blue);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.purpose-item h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.purpose-item p {
    color: var(--gray);
    font-size: 0.875rem;
}

.community-showcase {
    background: var(--gradient-1);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.showcase-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.125rem;
}

.showcase-messages {
    space-y: 1rem;
}

.message {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.message .user {
    font-weight: 700;
    color: #fbbf24;
}

.message .text {
    margin-left: 0.5rem;
    opacity: 0.9;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-blue);
}

.benefit-card.premium {
    border: 2px solid var(--secondary-blue);
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--gradient-2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.benefit-card h3 {
    margin: 1.5rem 0 1rem 0;
    font-weight: 700;
}

.benefit-card ul {
    list-style: none;
}

.benefit-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.benefit-card li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    font-size: 1.125rem;
}

/* Rules Section */
.rules-section {
    padding: 6rem 0;
    background: white;
}

.rules-container {
    max-width: 1000px;
    margin: 0 auto;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.rule-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    border-left: 4px solid var(--secondary-blue);
}

.rule-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: var(--gradient-2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
}

.rule-card h3 {
    margin: 1rem 0;
    color: var(--primary-blue);
}

.rule-card ul {
    list-style: none;
}

.rule-card li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Timeline */
.timeline {
    background: var(--gradient-1);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.timeline h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 2rem;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-items::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.timeline-item {
    text-align: center;
    max-width: 200px;
    position: relative;
}

.timeline-dot {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    margin: 0 auto 1rem auto;
    box-shadow: var(--shadow-md);
}

.timeline-content h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-content p {
    opacity: 0.9;
    font-size: 0.875rem;
}

/* Join Section */
.join-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.join-text h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.join-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

.urgency-box {
    background: var(--gradient-1);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: center;
}

.urgency-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-weight: 700;
}

.count {
    background: white;
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 900;
}

.join-benefits {
    margin-bottom: 2rem;
}

.benefit-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-point i {
    color: var(--success);
    font-size: 1.25rem;
}

/* Form Styles */
.form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--light-blue);
}

.form-container h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-blue);
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-blue);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-btn {
    width: 100%;
    background: var(--gradient-2);
    color: white;
    padding: 1.25rem;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--light-blue);
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--gray);
    font-weight: 600;
}

.contact-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--light-blue);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contact-method:hover {
    background: var(--secondary-blue);
    color: white;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .title-main {
        font-size: 3rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .community-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .join-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .purpose-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-items {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline-items::before {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .benefits-grid,
    .about-grid,
    .rules-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-card,
.benefit-card,
.rule-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation for dynamic content */
.loading {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
} 
.floating-button-container {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
    pointer-events: none;
    }
    @keyframes bounce {
    0%, 100% {
    transform: translateY(0);
    }
    50% {
    transform: translateY(-10px);
    }
    }
    .floating-button {
    position: relative;
    background: #05C705;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: auto;
    }
    
    .floating-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
    
    .floating-button .icon {
    font-size: 24px;
    }
    
    @media (max-width: 768px) {
    .floating-button-container {
    bottom: 20px;
    }
    .navbar{
        display: none;
    }
    
    .floating-button {
    font-size: 16px;
    padding: 12px 24px;
    }
    }
    
    @media (max-width: 480px) {
    .floating-button {
    font-size: 14px;
    padding: 10px 20px;
    }
    
    .floating-button .icon {
    font-size: 18px;
    }
    }