/* CSS Variables */
:root {
    /* Palette: Soft Elegant (Reverted) */
    --primary-color: #B39BC8;
    /* Soft Lavender */
    --primary-light: #F0E6EF;
    --accent-color: #D8A7B1;
    /* Dusty Rose */
    --text-main: #4A4A4A;
    /* Dark Gray */
    --text-light: #777777;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gold-muted: #C5A059;
    --danger-soft: #E57373;

    /* Spacing & Radius */
    --border-radius: 20px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 15px 40px rgba(179, 155, 200, 0.2);
}

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

/* Base */
body {
    font-family: 'Noto Sans JP', sans-serif;
    /* User requested Noto Sans */
    background-color: var(--off-white);
    color: var(--text-main);
    line-height: 1.8;
    /* Increased for readability */
    overflow-x: hidden;
}

section {
    padding: 100px 5%;
    text-align: center;
}

h1,
h2,
h3,
h4 {
    font-family: 'Noto Sans JP', sans-serif;
    /* Consistent font */
    font-weight: 500;
    /* Increased weight */
    line-height: 1.5;
    color: var(--text-main);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    /* Thicker underline */
    background-color: var(--accent-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

p {
    color: var(--text-light);
    margin-bottom: 1.5em;
}

/* Text Highlights */
.highlight-gold {
    color: var(--gold-muted);
    font-weight: 600;
}

.highlight-accent {
    color: var(--accent-color);
    font-weight: 600;
}

.highlight-danger {
    color: var(--danger-soft);
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    font-size: 1.1rem;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 5px 15px rgba(179, 155, 200, 0.4);
    border: none;
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(179, 155, 200, 0.6);
}

.btn--gold {
    background: linear-gradient(135deg, #E6DADA, #FFFFFF);
    color: var(--text-main);
    border: 1px solid #E6DADA;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 0.1em;
}

.logo span {
    color: var(--accent-color);
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align left for cleaner look without box */
    /* Subtle gradient to ensure text readability without a box */
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3)), url('images/hero_bg.png') no-repeat center center/cover;
    padding: 120px 5% 80px;
    position: relative;
    text-align: left;
    /* Left align text */
}

.hero__content {
    text-align: left;
    max-width: 600px;
    padding: 0;
    /* Remove padding */
    background: none;
    /* Remove background */
    backdrop-filter: none;
    /* Remove blur */
    border: none;
    /* Remove border */
    box-shadow: none;
    /* Remove shadow */
}

.hero__title {
    font-size: 3rem;
    /* Larger title */
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--text-main);
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.8);
    /* White glow for readability */
}

.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-main);
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.8);
}

/* Commitment Check -> "Is this you?" Section */
#commitment-check {
    background-color: var(--white);
}

.commitment__questions {
    max-width: 800px;
    margin: 0 auto;
}

.question {
    margin-bottom: 20px;
    text-align: left;
    padding: 25px 30px;
    background: var(--off-white);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.question:hover {
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: var(--card-shadow);
}

.question label {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-main);
}

.commitment-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.commitment__message {
    margin-top: 50px;
    padding: 40px;
    background: var(--primary-light);
    border-radius: var(--border-radius);
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Solution Section */
#solution {
    background-color: var(--off-white);
}

.solution__cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.card {
    background: var(--white);
    padding: 50px 30px;
    width: calc(25% - 23px);
    min-width: 250px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.card__icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    background: var(--primary-light);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.card__title {
    color: var(--text-main);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Testimonials Section */
#testimonials {
    background-color: var(--white);
}

.testimonial__card {
    display: flex;
    background: var(--off-white);
    padding: 50px;
    margin-bottom: 50px;
    text-align: left;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.testimonial__images {
    width: 35%;
    text-align: center;
    padding-right: 40px;
}

.testimonial__images img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.testimonial__content {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial__content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.testimonial__highlight {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 600;
    margin: 15px 0;
}

.testimonial__quote {
    font-size: 1.05rem;
    line-height: 1.8;
    background: var(--white);
    padding: 30px;
    border-radius: 0 20px 20px 20px;
    position: relative;
}

.testimonial__quote::before {
    content: '"';
    font-family: serif;
    font-size: 4rem;
    color: var(--primary-light);
    position: absolute;
    top: -20px;
    left: 10px;
}

/* Authority & Scarcity Section */
#authority-scarcity {
    background-color: var(--off-white);
}

.authority__profiles {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

/* Removed img styles as we switched to icons */

.authority__profile strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.scarcity {
    margin-top: 80px;
    padding: 50px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.scarcity h2 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.scarcity h2::after {
    display: none;
}

.scarcity__counter {
    font-size: 2rem;
    font-weight: 500;
    margin: 30px 0;
    color: var(--text-main);
}

#spot-counter {
    color: var(--accent-color);
    font-size: 3.5rem;
    font-weight: 700;
}

/* Closing Section */
#closing {
    background: linear-gradient(135deg, #FDFBFB, #F4EBF2);
    position: relative;
}

.closing__text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.form-wrapper {
    max-width: 600px;
    margin: 40px auto 0;
}

.form-disclaimer {
    font-size: 0.85rem;
    margin-top: 20px;
    color: var(--text-light);
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 5% 40px;
    background-color: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-links a {
    color: var(--text-light);
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Social Proof Popup */
#social-proof-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    color: var(--text-main);
    padding: 20px 25px;
    border-radius: 15px;
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: none;
    animation: slideIn 0.5s ease-out;
    border-left: 5px solid var(--primary-color);
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Fixed CTA Button */
.fixed-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

/* Flow Section */
#flow {
    background-color: var(--white);
}

.flow__steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
    position: relative;
}

.flow__step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    position: relative;
}

.flow__step:not(:last-child)::after {
    content: '\f054';
    /* FontAwesome arrow right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 40px;
    right: -25px;
    font-size: 1.5rem;
    color: var(--primary-light);
}

.flow__icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.flow__number {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.flow__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.flow__text {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* FAQ Section */
#faq {
    background-color: var(--off-white);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq__item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.faq__question {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.faq__question::before {
    content: 'Q';
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    font-family: serif;
}

.faq__answer {
    font-size: 1rem;
    color: var(--text-light);
    padding-left: 30px;
    line-height: 1.8;
}

/* Company Section */
#company {
    background-color: var(--white);
    padding: 80px 5%;
}

.company__table {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
}

.company__table th,
.company__table td {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
}

.company__table th {
    width: 30%;
    color: var(--text-main);
    font-weight: bold;
    background: var(--off-white);
}

.company__table td {
    color: var(--text-light);
}

/* Responsive adjustments for Flow */
@media (max-width: 768px) {
    .flow__step:not(:last-child)::after {
        content: '\f078';
        /* Arrow down */
        top: auto;
        bottom: -30px;
        right: 50%;
        transform: translateX(50%);
    }

    .flow__steps {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .solution__cards {
        justify-content: center;
    }

    .card {
        width: calc(50% - 15px);
        max-width: 350px;
        margin-bottom: 20px;
    }

    .testimonial__card {
        flex-direction: column;
    }

    .testimonial__images,
    .testimonial__content {
        width: 100%;
        padding: 0;
    }

    .testimonial__images {
        margin-bottom: 30px;
    }

    .authority__profiles {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    header {
        display: none;
        /* Hide header completely on mobile as requested */
    }

    /* Reset padding since header is gone */
    #hero {
        padding-top: 60px;
        min-height: 100vh;
        /* Ensure full height */
        align-items: center;
        /* Center content vertically */
    }

    .logo {
        margin-bottom: 10px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 5px 10px;
        font-size: 0.9rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__content {
        padding: 20px;
    }

    h2 {
        font-size: 1.6rem;
    }

    .card {
        width: 100%;
        max-width: 400px;
    }

    /* Resize buttons for mobile */
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        /* Make buttons full width on mobile for easier tapping */
        max-width: 300px;
        /* But limit max width */
    }

    /* Adjust fixed CTA button size specifically if needed, or let it inherit */
    .fixed-cta .btn {
        padding: 12px;
        font-size: 0.95rem;
        width: 100%;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}