@charset "UTF-8";

/* =========================================
   Variables & Theme
   ========================================= */
:root {
    --font-main: 'Inter', 'Noto Sans JP', sans-serif;
    --color-bg: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-primary: #0a192f;
    /* Deep Navy */
    --color-accent: #007c91;
    /* Teal/Cyan */
    --color-gray-bg: #f8f9fa;
    --color-border: #e2e4e8;
    --width-container: 1000px;
}

/* =========================================
   Base Styles
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

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

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

a:hover {
    opacity: 0.7;
}

/* =========================================
   Header & Navigation (Copied from style.css)
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    z-index: 1001;
    transition: color 0.3s ease;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header.scrolled .logo {
    color: var(--color-primary);
    text-shadow: none;
}

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

.nav-menu ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

header.scrolled .nav-menu a {
    color: var(--color-primary);
    text-shadow: none;
}

/* Contact Button */
.nav-contact {
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 10px 24px !important;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-contact:hover {
    background-color: #fff;
    color: var(--color-primary) !important;
}

header.scrolled .nav-contact {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

header.scrolled .nav-contact:hover {
    background-color: var(--color-primary);
    color: #fff !important;

}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 2001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 2000;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    text-align: center;
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    margin: 20px 0;
    list-style: none;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/* =========================================
   Page Hero
   ========================================= */
.page-hero {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: -60px;
    z-index: 1;
    /* Use the climbing image as requested */
    background-image: url('https://images.unsplash.com/photo-1522163182402-834f871fd851?q=80&w=2006&auto=format&fit=crop');
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 40%);
    pointer-events: none;
}

.container {
    width: 90%;
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 8px;
    margin-top: -60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* =========================================
   Content Styles
   ========================================= */
.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.4;
    margin-bottom: 24px;
}

.intro-lead {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.intro-text {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    text-align-last: center;
}

.section-heading {
    font-size: 1.5rem;
    color: var(--color-primary);
    border-left: 5px solid var(--color-accent);
    padding-left: 16px;
    margin-bottom: 30px;
    font-weight: 700;
    margin-top: 30px;
}

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

/* =========================================
   Diagram & Process
   ========================================= */
/* Problem list */
.problem-list {
    list-style: none;
    background: var(--color-gray-bg);
    padding: 24px;
    border-radius: 8px;
}

.problem-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.problem-list li::before {
    content: "•";
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Synergy Diagram */
.synergy-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 0;
    margin: 30px 0;
    background: #f0f8ff;
    border-radius: 10px;
}

.diagram-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.diagram-plus {
    font-size: 2rem;
    color: var(--color-accent);
    font-weight: bold;
}

.diagram-arrow {
    font-size: 2rem;
    color: var(--color-text-light);
}

.diagram-result {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    /* Square/Monitor shape */
    background: var(--color-primary);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.diagram-result span {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step-card {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.step-num {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.step-title {
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Spovigo Role */
.spovigo-role {
    background: var(--color-primary);
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    margin-top: 60px;
}

.spovigo-role h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.role-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.role-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
}

.role-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Reference */
.page-footer-note {
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-align: right;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

.back-link-container {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
}

.back-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.back-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .synergy-diagram {
        flex-direction: column;
    }

    .diagram-arrow {
        transform: rotate(90deg);
    }

    .role-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Demo Invitation Banner (Copied from style.css)
   ========================================= */
.demo-invite-banner {
    display: block;
    width: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    height: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    margin-top: 30px;
}

.demo-invite-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.demo-invite-banner:hover .banner-bg {
    transform: scale(1.03);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.6) 100%);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    padding: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.banner-title {
    font-family: serif;
    /* Fallback */
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-sub {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.banner-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.cta-label {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 14px;
    /* Reduced from 8px 16px */
    border-radius: 50px;
    font-size: 0.72rem;
    /* Reduced from 0.8rem */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-text {
    font-weight: 700;
    font-size: 1rem;
    /* Reduced from 1.1rem */
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .demo-invite-banner {
        height: auto;
        min-height: 300px;
    }

    .banner-content {
        padding: 30px;
    }

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

    .banner-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}