/* --- Root Variables (Premium Financial Palette) --- */
:root {
    --primary-color: #0d3b66; /* Deep Navy Blue */
    --primary-light: #1d5289;
    --accent-color: #f4d03f; /* Professional Gold/Yellow accent */
    --accent-blue: #0096c7; /* Lighter bright blue for steps/highlights */
    --secondary-color: #2b333e;
    --bg-light: #f0f4f8; /* Soft grayish-blue for backgrounds */
    --bg-white: #ffffff;
    --text-dark: #1a202c;
    --text-muted: #4a5568;
    --border-color: #e2e8f0;
    --danger-color: #e53e3e; /* For failure cross marks */
    --success-color: #38a169; /* For success check marks */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

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

body {
    font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    scroll-behavior: smooth;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-blue);
    border-radius: 2px;
}

/* --- Navigation & Buttons --- */
.navbar {
    background: #000000;
    border-bottom: 1px solid #222222;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bg-white);
    letter-spacing: -0.5px;
    text-decoration: none;
    white-space: nowrap;
}

.logo img {
    height: 4.5rem;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.25rem;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--bg-white);
}

.nav-links li a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.lang-selector {
    color: #e2e8f0;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
}

.lang-selector span.active {
    color: var(--accent-color);
    font-weight: 700;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.1s;
    display: inline-block;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    white-space: nowrap;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-white) !important;
}

/* Navbar specific button styling */
.navbar .btn-outline {
    border-color: #e2e8f0;
    color: #e2e8f0 !important;
}
.navbar .btn-outline:hover {
    background: #e2e8f0;
    color: #000000 !important;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    padding: 7rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-white);
    transform: skewY(-2deg);
}

.hero-logo {
    height: 7.5rem;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    border-radius: 12px;
}

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

.hero .highlight {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

/* --- Data & Metrics Section (The 443 Hours) --- */
.metrics-section {
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.metric-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    text-align: center;
    border-top: 6px solid var(--accent-blue);
}

.metric-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.metric-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
}

.metric-number span {
    font-size: 2rem;
    color: var(--text-muted);
}

.metric-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

.metric-subtext strong {
    background: linear-gradient(transparent 60%, rgba(244, 208, 63, 0.4) 40%);
    color: var(--text-dark);
}

/* --- Success vs Failure Section --- */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border-left: 5px solid transparent;
}

.comparison-card.success {
    border-left-color: var(--success-color);
    background-color: #f0fff4;
}

.comparison-card.failure {
    border-left-color: var(--danger-color);
    background-color: #fff5f5;
}

.comparison-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success h4 { color: var(--success-color); }
.failure h4 { color: var(--danger-color); }

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.comparison-card li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
}

.success li::before {
    content: "\f00c"; /* Check mark */
    color: var(--success-color);
}

.failure li::before {
    content: "\f00d"; /* Cross mark */
    color: var(--danger-color);
}

/* --- 5-Step Roadmap --- */
.roadmap-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 45px;
    width: 4px;
    background: var(--border-color);
    z-index: 0;
}

.roadmap-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.roadmap-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 90px;
    height: 90px;
    background: var(--bg-white);
    border: 4px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.step-number span {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--accent-blue);
    text-transform: uppercase;
}

.step-number strong {
    font-size: 1.8rem;
    color: var(--primary-color);
    line-height: 1;
}

.step-content {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-left: 2rem;
    box-shadow: var(--shadow-sm);
    flex-grow: 1;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.step-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-blue);
}

.step-content.highlight-step {
    background-color: #fffbeb;
    border-color: var(--accent-color);
}

.step-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* --- Suite Products --- */
.suite-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.suite-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.suite-card:hover {
    transform: translateY(-10px);
}

/* Card Hover Colors and Glows */
.card-vouch:hover {
    border-color: #0078d4;
    box-shadow: 0 10px 25px rgba(0, 120, 212, 0.2);
}
.card-vouch:hover .suite-icon {
    color: #0078d4;
    background: rgba(0, 120, 212, 0.1);
}

.card-journal:hover {
    border-color: #f4d03f;
    box-shadow: 0 10px 25px rgba(244, 208, 63, 0.25);
}
.card-journal:hover .suite-icon {
    color: #f4d03f;
    background: rgba(244, 208, 63, 0.15);
}

.card-invoice:hover {
    border-color: #38a169;
    box-shadow: 0 10px 25px rgba(56, 161, 105, 0.2);
}
.card-invoice:hover .suite-icon {
    color: #38a169;
    background: rgba(56, 161, 105, 0.1);
}

.suite-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.suite-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.suite-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.suite-features {
    text-align: left;
    list-style: none;
    margin-bottom: 2rem;
}

.suite-features li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.suite-features li::before {
    content: "\f054"; /* chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 0.8rem;
    top: 4px;
}

/* --- Pricing Section --- */
.pricing-card {
    max-width: 450px;
    margin: 0 auto;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    padding: 3.5rem 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
}

.pricing-card ul li {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    color: var(--text-dark);
}

.pricing-card ul li i {
    color: var(--accent-blue);
    margin-right: 0.5rem;
}

/* --- Contact & Footer --- */
.contact-section {
    background: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
}

.contact-section .section-title {
    color: var(--bg-white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-form input, .contact-form textarea {
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-light);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background-color: var(--bg-white);
}

.footer {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-links {
    margin-top: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* --- Language Visibility Logic --- */
[lang="jp"] { display: none; }
body.lang-jp [lang="jp"] { display: initial; }
body.lang-jp [lang="en"] { display: none; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000000;
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        gap: 1rem;
        border-top: 1px solid #222222;
    }
    .nav-links.nav-active {
        display: flex !important;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .hamburger { display: block; }
}

@media (max-width: 992px) {
    .suite-grid, .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .suite-grid, .comparison-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 2.2rem; }
    
    .roadmap-container::before { left: 30px; }
    .step-number { width: 60px; height: 60px; }
    .step-number span { display: none; }
    .step-number strong { font-size: 1.2rem; }
    .step-content { margin-left: 1rem; padding: 1rem; }
}