:root {
    /* Brand Colors */
    --navy-deep: #001F3F;
    --navy-light: #0d3666;
    --orange-vibrant: #FF8C00;
    --orange-light: #ffaa42;

    /* Neutral Colors */
    --bg-main: #FFFFFF;
    --bg-soft: #F4F7F9;
    /* slightly blueish gray for softness */
    --surface-white: #FFFFFF;
    --text-main: #2A313C;
    /* Dark, readable text, softer than pure black */
    --text-muted: #6B7280;
    --border-color: #E2E8F0;

    /* Gradients */
    --gradient-orange: linear-gradient(135deg, #FF8C00 0%, #FF6B00 100%);
    --gradient-navy: linear-gradient(135deg, #001F3F 0%, #0d3666 100%);

    /* Typography */
    --font-heading: 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

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

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--navy-deep);
}

.highlight-orange {
    color: var(--orange-vibrant);
}

/* Glass & Soft Shadows */
.card-soft {
    background: var(--surface-white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.05);
    /* very soft navy shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-soft:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    /* softer, rounded buttons */
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-orange);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

.btn-navy {
    background: var(--gradient-navy);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.2);
}

.btn-navy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 31, 63, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--navy-deep);
    border: 2px solid var(--navy-deep);
}

.btn-outline:hover {
    background: var(--navy-deep);
    color: #fff;
}

.btn-text {
    background: transparent;
    color: var(--text-muted);
    padding: 12px 16px;
}

.btn-text:hover {
    color: var(--navy-deep);
}

.btn-app-store {
    background: #000;
    color: #fff;
    border-radius: 12px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 180px;
}

.btn-app-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.btn-app-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-app-text .small-text {
    font-size: 0.65rem;
    line-height: 1.2;
    margin-bottom: 2px;
    opacity: 0.9;
}

.btn-app-text .large-text {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo span {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy-deep);
    letter-spacing: 0.5px;
}

nav a {
    color: var(--navy-deep);
    text-decoration: none;
    margin-left: 32px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}

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

.cta-nav {
    background: rgba(255, 140, 0, 0.1);
    color: var(--orange-vibrant);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.cta-nav:hover {
    background: rgba(255, 140, 0, 0.2);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 140px 5% 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
}

/* Soft ambient glow */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 31, 63, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 31, 63, 0.05);
    color: var(--navy-deep);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.side-by-side-mockup {
    position: relative;
    width: 100%;
}

.mockup {
    position: absolute;
    width: 250px;
    border-radius: 36px;
    box-shadow: 0 25px 60px rgba(0, 31, 63, 0.2);
    border: 8px solid var(--bg-main);
    transition: transform 0.4s ease, z-index 0s;
}

.mockup-left {
    left: 10%;
    top: 5%;
    transform: rotate(-5deg) translateY(0);
    z-index: 2;
    animation: floatImageLeft 7s ease-in-out infinite;
}

.mockup-left:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 4;
}

.mockup-right {
    right: 5%;
    bottom: 5%;
    transform: rotate(5deg) translateY(0);
    z-index: 3;
    animation: floatImageRight 8s ease-in-out infinite 1s;
}

.mockup-right:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 4;
}

@keyframes floatImageLeft {
    0% {
        transform: rotate(-5deg) translateY(0px);
    }

    50% {
        transform: rotate(-5deg) translateY(-15px);
    }

    100% {
        transform: rotate(-5deg) translateY(0px);
    }
}

@keyframes floatImageRight {
    0% {
        transform: rotate(5deg) translateY(0px);
    }

    50% {
        transform: rotate(5deg) translateY(-20px);
    }

    100% {
        transform: rotate(5deg) translateY(0px);
    }
}

/* App Features Section (What it can do) */
.features {
    padding: 100px 5%;
    text-align: center;
    background: var(--bg-main);
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
}

.feature-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card .icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(0, 31, 63, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--navy-deep);
    margin-bottom: 24px;
}

.feature-card.orange .icon-wrapper {
    background: rgba(255, 140, 0, 0.1);
    color: var(--orange-vibrant);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.6;
}

/* Service Highlights (Mock Data Showcase) */
.showcase-section {
    padding: 80px 5%;
    background: var(--navy-deep);
    color: #fff;
}

.showcase-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.showcase-text {
    flex: 1;
}

.showcase-text h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.showcase-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.showcase-stats {
    display: flex;
    gap: 40px;
}

.stat-item h4 {
    color: var(--orange-vibrant);
    font-size: 2.5rem;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.mock-app-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

.mock-app-card h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mock-list {
    list-style: none;
}

.mock-list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-list .label {
    font-weight: 500;
}

.mock-list .value {
    color: var(--orange-vibrant);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Career Diagnosis Section */
.diagnosis-section {
    padding: 100px 5%;
    background: var(--bg-soft);
}

.diagnosis-header {
    text-align: center;
    margin-bottom: 50px;
}

.diagnosis-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.diagnosis-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.progress-bar-container {
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 25%;
    background: var(--gradient-orange);
    transition: width 0.4s ease;
    border-radius: 3px;
}

.step-card {
    display: none;
    animation: slideUpFade 0.4s ease forwards;
}

.step-card.active {
    display: block;
}

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

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

.step-label {
    font-size: 0.85rem;
    color: var(--orange-vibrant);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.step-title {
    font-size: 1.6rem;
    margin-bottom: 32px;
    color: var(--navy-deep);
}

.step-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy-deep);
}

input[type="text"],
input[type="number"],
input[type="tel"],
select {
    width: 100%;
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    color: var(--text-main);
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 1.05rem;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

input:focus,
select:focus {
    border-color: var(--navy-deep);
    box-shadow: 0 0 0 4px rgba(0, 31, 63, 0.1);
}

input::placeholder {
    color: #9CA3AF;
}

.input-with-suffix,
.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-suffix input {
    padding-right: 70px;
}

.input-with-suffix .suffix {
    position: absolute;
    right: 20px;
    color: var(--text-muted);
    font-weight: 600;
    pointer-events: none;
}

.input-with-prefix input {
    padding-left: 54px;
}

.input-with-prefix .prefix {
    position: absolute;
    left: 20px;
    color: var(--navy-deep);
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.chip:hover {
    border-color: var(--navy-light);
    color: var(--navy-deep);
    background: rgba(0, 31, 63, 0.02);
}

.chip.selected {
    background: var(--navy-deep);
    border-color: var(--navy-deep);
    color: #fff;
}

.hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

/* Result Screen */
.result-screen {
    text-align: center;
    padding: 20px 0;
}

.result-icon {
    font-size: 90px;
    color: var(--orange-vibrant);
    margin-bottom: 24px;
}

.result-screen h3 {
    font-size: 1.8rem;
    color: var(--navy-deep);
}

.result-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--orange-vibrant);
    margin: 20px 0;
    line-height: 1.1;
}

.result-number .range {
    color: var(--text-muted);
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0 8px;
    vertical-align: middle;
}

.result-message {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: var(--text-main);
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
    padding: 60px 5% 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 32px;
    border-radius: 8px;
}

.footer-logo span {
    font-weight: 800;
    color: var(--navy-deep);
    font-size: 1.2rem;
}

.footer-company {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
    margin-top: 8px;
}

.footer-links {
    margin-top: 12px;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-links .divider {
    color: var(--border-color);
    margin: 0 12px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        padding-top: 120px;
        padding-bottom: 40px;
        min-height: auto;
        overflow-y: visible;
        overflow-x: hidden;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-image {
        margin-top: 40px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
        padding-bottom: 20px;
    }

    .side-by-side-mockup {
        position: static;
    }

    .mockup {
        position: static;
        width: 65%;
        max-width: 250px;
        height: auto;
        border-width: 6px;
        border-radius: 30px;
        animation: none !important;
        transition: none !important;
    }

    .mockup-left {
        transform: none;
    }

    .mockup-right {
        display: none !important;
        /* This completely hides the second image on mobile */
    }

    .showcase-content {
        flex-direction: column;
    }

    nav {
        display: none;
    }

    .diagnosis-container {
        padding: 32px 24px;
    }

    .result-number {
        font-size: 2.5rem;
    }
}