﻿:root {
    --primary-gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --cta-gradient: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
    --primary-color-dark: #6a11cb;
    --text-dark: #1d2d35;
    --text-light: #5a6c7d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-dark: rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: "Noto Sans JP", sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container .japanese-cta-btn {
    width: 100%;
}

/* Header */
.japanese-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.japanese-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.japanese-nav .japanese-cta-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    flex-shrink: 0; /* Prevent button from shrinking */
    animation: none; /* Disable pulse in nav */
    box-shadow: 0 5px 15px rgba(252, 74, 26, 0.3);
}

.japanese-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color-dark);
}

.logo-icon {
    display: none; /* Hide for a cleaner look */
}

/* CTA Button */
.japanese-cta-btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--cta-gradient);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 900; /* Bolder text */
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(252, 74, 26, 0.4);
    cursor: pointer;
    text-align: center;
    font-size: 1.1rem;
    animation: pulse-animation 2s infinite;
    border: none;
}

.japanese-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(252, 74, 26, 0.5);
}

.japanese-cta-btn.secondary {
    background: var(--bg-white);
    color: var(--primary-color-dark);
    box-shadow: 0 10px 25px var(--shadow-light);
    border: 2px solid var(--primary-color-dark);
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Hero Section - Mobile First */
.japanese-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5rem 20px;
    background: var(--primary-gradient);
    color: white;
    min-height: 90vh;
}

.japanese-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.japanese-hero-visual {
    margin-top: 3rem; /* Add space between text and image on mobile */
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.japanese-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.highlight-text {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #f39c12;
    text-decoration-thickness: 4px;
}
.highlight-text::after {
    display: none;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* General Section Styling */
.japanese-features,
.learning-journey,
.community,
.testimonials,
.faq,
.join-section,
.disclaimer {
    padding: 5rem 0;
}

.learning-journey,
.testimonials {
    background: var(--bg-white);
}

.disclaimer {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.japanese-section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.japanese-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.japanese-feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 30px var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
}

.japanese-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-dark);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(37, 117, 252, 0.3);
}

.feature-icon {
    font-size: 2rem;
    color: white;
}

.japanese-feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Learning Journey */
.journey-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.journey-image {
    margin-top: 2rem; /* Add space on mobile */
}

.journey-steps {
    list-style: none;
}

.journey-steps li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-number {
    width: 35px;
    height: 35px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Community Stats */
.community-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px var(--shadow-light);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color-dark);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
}

.stat-card p {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.stat-card small {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px var(--shadow-light);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color-dark);
    opacity: 0.5;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin: 0.5rem 0 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.author-avatar {
    font-size: 2rem;
}

.author-info h4 {
    font-weight: 700;
    margin: 0;
}

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

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px var(--shadow-light);
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-color-dark);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Join Section */
.join-section {
    background: var(--primary-gradient);
    color: white;
    text-align: center;
}
.join-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Disclaimer */
.disclaimer .container {
    max-width: 800px;
    text-align: center;
}

.disclaimer h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.disclaimer ul {
    list-style: none;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: var(--bg-white);
    text-align: left;
}

.disclaimer li {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
}

.disclaimer li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 2px;
}

/* Footer */
.japanese-footer {
    background: var(--text-dark);
    color: #aab8c2;
    padding: 3rem 0;
    text-align: center;
}

.japanese-footer p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-note {
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
    padding: 1rem;
    border-radius: 50px;
    font-size: 1.2rem;
    /* Apply same CTA style */
    background: var(--cta-gradient);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 900;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(252, 74, 26, 0.4);
    text-align: center;
    border: none;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .japanese-nav .japanese-cta-btn {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }

    .japanese-logo {
        font-size: 1.5rem;
    }
    .logo-icon {
        display: inline-block;
    }

    .japanese-hero {
        text-align: left;
    }

    .japanese-hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        text-align: left;
    }

    .japanese-hero-visual {
        display: block;
    }
    .hero-features {
        justify-content: flex-start;
    }
    .japanese-hero-text h1 {
        font-size: 3.5rem;
    }

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

    .journey-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
    .journey-image {
        display: block;
    }

    .community-stats {
        grid-template-columns: repeat(5, 1fr);
    }

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

    .floating-btn {
        left: auto;
        right: 2rem;
        bottom: 2rem;
        width: auto;
    }
}

.overlay-content {
    display: flex;
    justify-content: center;
}
