:root {
    /* Color Palette - Sophisticated Business */
    --color-primary: #004e92;
    /* Deep Royal Blue */
    --color-primary-light: #007cc3;
    /* Lighter Blue for gradients */
    --color-primary-dark: #003366;
    /* Dark Navy */
    --color-accent: #ff6b6b;
    /* Vibrant Coral/Orange for CTAs */
    --color-accent-hover: #ee5253;

    --color-text: #2d3436;
    /* Dark Gray for text */
    --color-text-light: #636e72;
    /* Light Gray for subtitles */
    --color-bg: #ffffff;
    --color-bg-alt: #f5f7fa;
    /* Very light gray/blue for alternate sections */
    --color-bg-dark: #1e272e;
    /* Dark footer background */

    --font-main: 'Noto Sans JP', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Typography Utilities */
.text-center {
    text-align: center;
}

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

.text-blue {
    color: var(--color-primary-light);
}

.mt-4 {
    margin-top: 1rem;
}

.text-sm {
    font-size: 0.85rem;
}

/* Section Styling */
.section {
    padding: 100px 0;
}

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

.bg-light-blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f7fa 100%);
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(45deg, var(--color-primary-dark), var(--color-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-accent), var(--color-accent-hover));
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-xl {
    padding: 1rem 3rem;
    font-size: 1.3rem;
    border-radius: var(--radius-full);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 107, 107, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

.pulse-anim {
    animation: pulse 2s infinite;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: -0.05em;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    color: var(--color-primary-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 0.6rem 1.8rem;
    font-size: 0.9rem;
    box-shadow: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
}

/* Hero */
.hero {
    margin-top: 80px;
    padding: 160px 0 140px;
    background-color: #f0f8ff;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.hero-container {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(0, 78, 146, 0.1);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    text-shadow: 3px 3px 0px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.5);
}

.hero-title .text-blue {
    color: var(--color-primary-light);
    display: inline-block;
    text-shadow: 2px 2px 0px #fff, 0 0 10px rgba(0, 78, 146, 0.2);
}

.hero-subtitle-top {
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 900;
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px #fff;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: #2d3436;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.6);
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
}

.hero-note {
    font-size: 1.1rem;
    color: #2d3436;
    margin-top: 20px;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle-top {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Problems */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .problems-grid {
        grid-template-columns: 1fr;
    }
}

.problem-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.problem-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.problem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.problem-card:hover .problem-img {
    transform: scale(1.1);
}

.problem-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--color-primary-dark);
}

.solution-arrow {
    text-align: center;
    margin-top: 60px;
    font-size: 1.8rem;
    color: var(--color-primary);
    position: relative;
}

.solution-arrow::after {
    content: '↓';
    display: block;
    font-size: 3rem;
    margin-top: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Features (Reasons) */
.feature-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1.4;
    min-width: 300px;
}

.feature-num {
    display: inline-block;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 78, 146, 0.1);
    line-height: 1;
    margin-bottom: -20px;
    margin-left: -5px;
}

.feature-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
    position: relative;
}

.feature-img-placeholder {
    flex: 0.9;
    max-width: 550px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.feature-img:hover {
    transform: scale(1.02);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
    height: auto;
}

.gallery-item canvas {
    width: 100% !important;
    height: auto !important;
    display: block;
}

/* How to Use */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    position: relative;
    padding: 30px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-primary);
}

.step-num {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 40px 20px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd 0%, #fff 100%);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    color: var(--color-primary);
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.review-meta h4 {
    font-size: 1rem;
    color: var(--color-primary-dark);
    margin-bottom: 2px;
}

.review-age {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.review-text {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.review-rating {
    color: #ff9800;
    font-size: 1.2rem;
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.faq-item {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--color-primary);
}

.faq-question {
    font-size: 1.1rem;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.faq-answer {
    color: var(--color-text);
    line-height: 1.6;
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Author */
.author-container {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #fff;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.author-image {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    background: #ddd;
    border: 5px solid #fff;
    box-shadow: var(--shadow-md);
}

.author-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.author-name {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
}

.author-bio {
    margin-bottom: 24px;
    font-weight: 500;
}

.author-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 24px;
}

.author-stats li {
    background: var(--color-bg-alt);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
}

.author-message {
    font-style: italic;
    color: var(--color-text-light);
    border-left: 4px solid var(--color-accent);
    padding-left: 20px;
    line-height: 1.8;
}

/* Price */
.price-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #000 100%);
    color: #fff;
    padding: 120px 0;
}

.price-box {
    background: #fff;
    color: var(--color-text);
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.price-header {
    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: #fff;
    padding: 24px;
    text-align: center;
}

.price-header h2 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.price-body {
    padding: 50px 40px;
    text-align: center;
}

.price-label {
    text-decoration: line-through;
    color: var(--color-text-light);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.price-main {
    color: #e53935;
    font-weight: 900;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    line-height: 1;
}

.currency {
    font-size: 2rem;
    margin-bottom: 8px;
}

.amount {
    font-size: 5rem;
    letter-spacing: -0.05em;
}

.tax {
    font-size: 1rem;
    margin-bottom: 8px;
    margin-left: 5px;
    color: var(--color-text);
}

.guarantee {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.guarantee::before {
    content: '🛡️';
}

/* Footer */
.footer {
    background: var(--color-bg-dark);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #aaa;
    margin: 0 15px;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .feature-item,
    .feature-item.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .feature-img-placeholder {
        width: 100%;
    }

    .steps-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .author-container {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .author-message {
        border-left: none;
        border-top: 4px solid var(--color-accent);
        padding-left: 0;
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 60px;
    }

    .nav {
        display: none;
    }

    /* Mobile menu logic needed in JS */
    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        margin-top: 60px;
        padding: 60px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
        max-width: 80%;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .price-body {
        padding: 30px 20px;
    }

    .amount {
        font-size: 4rem;
    }
}

/* Load More Button */
.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Before/After Section */
#before-after {
    background-color: #f8f9fa;
}

.before-after-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.comparison-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.comparison-header {
    background: var(--color-primary);
    color: white;
    padding: 1rem 1.5rem;
    text-align: center;
}

.comparison-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.comparison-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    gap: 1.5rem;
}

.image-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-wrapper .label {
    display: inline-block;
    align-self: flex-start;
    background: #6c757d;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.image-wrapper.after .label {
    background: var(--color-accent);
}

.arrow-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

.comparison-footer {
    padding: 1.5rem;
    text-align: center;
    background: #fff;
    border-top: 1px solid #eee;
}

.comparison-footer p {
    margin: 0;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .comparison-body {
        flex-direction: column;
    }

    .arrow-indicator {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}