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

:root {
    /* Color Palette - SOBO Green Theme */
    --primary: #00796B;
    --primary-light: #5bb1a1;
    --primary-dark: #004D40;
    --primary-gradient: linear-gradient(135deg, #004D40 0%, #00796B 100%);
    --accent-orange: #FF6B6B;
    --accent-pink: #FFB6C1;
    --human-gradient: linear-gradient(135deg, #FF6B6B 0%, #FFB6C1 100%);
    --ai-gradient: linear-gradient(135deg, #00796B 0%, #5bb1a1 100%);
    
    /* Dark backgrounds */
    --dark-1: #1A1A2E;
    --dark-2: #16213E;
    --dark-3: #0F3460;
    
    /* Neutral */
    --white: #FFFFFF;
    --text: #1A1A1A;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    
    /* Typography */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-jp);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
    line-height: 1.3;
    color: var(--text);
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: var(--white);
    border-bottom: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    background: rgba(91, 177, 161, 0.1);
    color: var(--primary);
}

.nav-cta {
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-jp);
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ===================================
   Hero Section - THE STAR OF THE SHOW!
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #E8F5F1 0%, #F0F8FF 50%, #E8F5F1 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 32px;
    color: var(--text);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-family: var(--font-en);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 48px;
    opacity: 0.9;
    color: var(--text-light);
}

.hero-cta {
    padding: 18px 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-jp);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.hero-cta::before {
    display: none;
}

.hero-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% {
        top: 10px;
        opacity: 1;
    }
    50% {
        top: 30px;
        opacity: 0.3;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Problem Section
   =================================== */
.problem-section {
    background: var(--white);
}

.problem-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 95, 135, 0.1);
    flex: 1;
    min-width: 350px;
    max-width: 450px;
    box-shadow: 0 4px 20px rgba(0, 95, 135, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 95, 135, 0.15);
}

.stat-header {
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
    color: var(--primary);
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 95, 135, 0.15);
    letter-spacing: 0.5px;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 900;
    display: inline-block;
    line-height: 1.2;
}

.stat-value.primary {
    color: var(--primary);
}

.stat-value.danger {
    color: #FF6B35;
    font-weight: 700;
    position: relative;
}

.stat-value.danger::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF6B35 0%, #FFA500 100%);
    opacity: 0.5;
}

.stat-value-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.stat-vs {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.stat-separator {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-light);
    opacity: 0.6;
}

.problem-conclusion {
    text-align: center;
    margin-top: 80px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.problem-insight {
    font-size: 1.25rem;
    line-height: 2;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 400;
}

.problem-insight:last-child {
    margin-bottom: 0;
    font-weight: 600;
}

/* ===================================
   Solution Section
   =================================== */
.solution-section {
    background: var(--bg-light);
}

.mission-vision {
    margin-bottom: 80px;
    text-align: center;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: none;
    position: relative;
}

.mission-text,
.vision-text {
    font-size: 1.2rem;
    line-height: 2.2;
    color: var(--text);
    margin-bottom: 40px;
    font-weight: 400;
    position: relative;
    padding: 0 20px;
}

.mission-text:last-child,
.vision-text:last-child {
    margin-bottom: 0;
}

.mission-text strong,
.vision-text strong {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-block;
    position: relative;
}

.mission-text strong::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0.3;
}

/* ===================================
   Services Section
   =================================== */
.services-section {
    background: var(--bg-light);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text);
    margin: -60px auto 50px;
    max-width: 800px;
}

.why-sobo-header {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary);
    padding: 20px 40px;
    border-radius: 4px;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.platform-preview {
    margin: 80px 0 0;
    padding: 0;
    background: transparent;
    border-radius: 16px;
    border: none;
    overflow: hidden;
}

.platform-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 95, 135, 0.15);
    transition: all 0.3s ease;
}

.platform-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 95, 135, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 50px 40px;
    border: 1px solid rgba(0, 95, 135, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 95, 135, 0.06);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: 0 12px 32px rgba(0, 95, 135, 0.15);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.6;
}

.service-title .highlight {
    color: var(--primary);
    display: inline;
    font-size: inherit;
    font-weight: 700;
}

.service-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px dashed rgba(0, 95, 135, 0.2);
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-details p {
    font-size: 0.95rem;
    color: var(--text);
    padding-left: 20px;
    position: relative;
    line-height: 1.7;
}

.service-details p::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
}

/* ===================================
   Team Section
   =================================== */
.team-section {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.team-card {
    text-align: center;
    padding: 50px 30px;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-card:hover .team-photo {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 95, 135, 0.2);
}

.team-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 4px solid var(--white);
    box-shadow: 0 4px 16px rgba(0, 95, 135, 0.15);
    transition: all 0.3s ease;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-photo-placeholder {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
}

.team-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.team-name-en {
    font-size: 0.9rem;
    font-family: var(--font-en);
    color: var(--text-light);
    margin-bottom: 20px;
}

.team-bio {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    max-width: 280px;
    margin: 0 auto;
}

.team-bio p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    text-align: center;
}

.team-specialty {
    margin-top: 8px;
    font-weight: 600;
    color: var(--primary) !important;
}

/* ===================================
   Company Section
   =================================== */
.company-section {
    background: var(--bg-light);
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.company-mission {
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.company-logo {
    font-size: 3rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.company-mission-content,
.company-vision-content {
    margin-bottom: 50px;
}

.company-mission-content h3,
.company-vision-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.company-mission-content h3::after,
.company-vision-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
}

.company-mission-content p,
.company-vision-content p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 2;
    color: var(--text);
}

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

.company-info-content {
    background: transparent;
    padding: 20px 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    position: relative;
}

.company-info-content::before {
    display: none;
}

.company-info-content p {
    font-size: 1.1rem;
    line-height: 2.5;
    color: var(--text);
    margin-bottom: 20px;
}

.company-info-content p:last-child {
    margin-bottom: 0;
}

.company-info-content strong {
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    min-width: 160px;
    font-size: 1.05rem;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--dark-1) 0%, var(--dark-2) 50%, var(--dark-3) 100%);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ctaCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 32px;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.8;
    margin-bottom: 50px;
    opacity: 0.9;
}

.cta-button {
    padding: 20px 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    font-family: var(--font-jp);
}

.cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-1);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===================================
   Contact Modal
   =================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 8px;
    padding: 50px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-light);
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text);
}

.required {
    color: #FF6B6B;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-jp);
    transition: all 0.3s ease;
    width: 100%;
}

.form-group select {
    cursor: pointer;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(91, 177, 161, 0.05);
}

.form-submit {
    padding: 16px 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-jp);
    margin-top: 16px;
}

.form-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .section-title {
        margin-bottom: 50px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(0, 95, 135, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 16px 24px;
        border-radius: 0;
        font-size: 1rem;
    }
    
    .nav-cta {
        margin-left: auto;
    }
    
    .problem-stats {
        flex-direction: column;
    }
    
    .stat-card {
        min-width: 100%;
    }
    
    .stat-separator {
        transform: rotate(90deg);
    }
    
    .solution-points,
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .modal-content {
        padding: 40px 30px;
    }
    
    .nav-logo-img {
        height: 40px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .why-sobo-header {
        font-size: 1.2rem;
        padding: 15px 20px;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-cta {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .hero-cta,
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}