/* styles.css */

:root {
    /* Typography */
    --font-sans: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    --font-serif: 'Hiragino Mincho ProN', 'Yu Mincho', serif;

    /* Colors */
    --color-primary: #00AAAD;
    --color-primary-dark: #0c8082;
    --color-dark: #171717;
    --color-white: #ffffff;
}

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

body {
    font-family: var(--font-sans), sans-serif;
    color: var(--color-dark);
    line-height: 1.5;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.challenges-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

.products-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.cta-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: transparent;
    padding: 24px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo {
    height: 24px;
    width: auto;
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav a {
    color: var(--color-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s;
    font-family: var(--font-serif), serif;
}

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

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-login-btn {
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif), serif;
    border: 1px solid var(--color-dark);
    border-radius: 4px;
    height: 32px;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-dark);
    font-size: 12px;
    letter-spacing: 0.02em;
    transition: all 0.3s;
}

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

.header-consultation-btn {
    padding: 0 12px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    font-family: var(--font-serif), serif;
}

.header-consultation-btn:hover {
    background: var(--color-primary-dark);
}

/* Hamburger Menu */
.hamburger-toggle {
    display: none;
}

.hamburger-menu {
    flex: 0 0 32px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger menu animation when checked */
.hamburger-toggle:checked + .hamburger-menu span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-toggle:checked + .hamburger-menu span:nth-child(2) {
    opacity: 0;
}

.hamburger-toggle:checked + .hamburger-menu span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 30%;
    width: 70%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    object-position: center center;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0;
    padding-left: 120px;
    padding-right: 60px;
}

.hero-content {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 80px 0;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-family: var(--font-serif), serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 16px;
    color: #333333;
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-download-btn {
    width: 280px;
    height: 48px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #B8B8B8;
    color: #171717;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    transition: background-color 0.2s;
    font-family: var(--font-serif), serif;
}

.hero-download-btn:hover {
    background: #eaeaea;
}

.hero-trial-btn {
    width: 280px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00AAAD;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-family: var(--font-serif), serif;
    transition: background-color 0.2s;
}

.hero-trial-btn:hover {
    background: #0d8070;
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-slider::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: scroll 20s linear infinite;
    width: fit-content;
}

.partner-logo {
    flex-shrink: 0;
    padding: 0 5px;
    display: flex;
    align-items: center;
}

.partner-logo img {
    width: 200px;
    height: auto;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 10px));
    }
}


/* Challenges Section */
.challenges {
    padding: 40px 0 120px;
}

.challenges-heading {
    font-family: var(--font-serif), serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.4;
}

.challenges-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.challenges-list {
    display: grid;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 40px;
    grid-template-columns: 224px 1fr;
    gap: 80px;
    align-items: flex-start;
}

.challenges-title-area {
    /* Left side for title */
}

.challenges-items-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.challenge-item {
    display: flex;
    align-items: center;
    gap: 8px;
}


.challenge-item p {
    color: var(--color-dark);
    font-size: 16px;
    font-weight: 400;
}

.solution-preview {
    text-align: center;
    padding: 24px 0 0;
}

.solution-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    padding: 24px 0 0;
    color: var(--color-dark);
    font-family: var(--font-serif), serif;
}

.solution-description {
    padding: 16px 0 24px;
    font-size: 16px;
}

.arrow-down {
    width: 180px;
    height: auto;
}

.solution-diagram-img {
    width: 100%;
    max-width: 860px;
    height: auto;
    object-fit: contain;
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background: #f9f9f9;
}

.solution-diagram {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.solution-pillar {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 50%;
    width: 220px;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.solution-pillar h3 {
    font-size: 18px;
    color: #00BFA5;
}

.solution-pillar p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.solution-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-logo {
    text-align: center;
}

.logo-circle {
    width: 140px;
    height: 140px;
    background: #00695C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.logo-label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.solution-pillar-right {
    grid-column: 3;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: radial-gradient(ellipse at top left, #00AAADD0 0%, #00AAAD80 15%, #00AAAD30 30%, transparent 50%),
    radial-gradient(circle at 80% 50%, #004EADD0 0%, #004EAD80 20%, #004EAD30 40%, transparent 60%),
    radial-gradient(circle at 20% 85%, #00AAADD0 0%, #00AAAD80 20%, #00AAAD30 40%, transparent 60%),
    #111820;
    color: white;
}

.products-header {
    width: 100%;
    padding: 0 128px 40px;
}

.products-heading-img {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.products-title {
    font-family: 'Makinas', sans-serif;
    font-weight: 400;
    font-size: 56px;
    color: var(--color-white);
}

.products-subtitle {
    font-size: 24px;
    color: var(--color-white);
    font-weight: 400;
    font-family: var(--font-serif), serif;
}

.products-description {
    font-size: 16px;
    padding: 8px 0 0;
}

.product-system {
    max-width: 1024px;
    width: 100%;
    display: grid;
    padding: 0 0 0 128px;
    grid-template-columns: 1fr 652px;
    gap: 40px;
}

.product-bpo {
    max-width: 1024px;
    width: 100%;
    display: grid;
    grid-template-columns: 652px 1fr;
    gap: 40px;
    padding: 80px 0;
}

.product-consulting {
    max-width: 1024px;
    width: 100%;
    display: grid;
    padding: 0 0 0 128px;
    grid-template-columns: 1fr 652px;
    gap: 40px;
}

.product-content {
}

.product-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--color-primary);
    line-height: 1;
    margin-right: 10px;
}

.product-heading-img {
    height: 64px;
    width: auto;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: white;
}

.product-label {
    font-size: 14px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.product-description {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.product-features {
    padding: 24px 0 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #B8B8B8;
}

.product-btn {
    margin: 24px 0 0;
    display: flex;
    width: 102px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.2s;
}

.product-btn:hover {
    background: white;
    color: #1A2332;
}

.product-images {
    max-width: 652px;
    max-height: 420px;
}

.product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* CTA Section */
.cta-section {
    padding: 64px 0;
    background: #37ced0;
    text-align: center;
}

.cta-heading {
    font-size: 24px;
    padding: 0 0 24px;
    font-weight: 700;
    font-family: var(--font-serif), serif;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-reserve-btn {
    width: 320px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif), serif;
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-reserve-btn:hover {
    background: #004D40;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #1A2332;
    color: white;
}

.footer-content {
    padding: 40px 0;
    display: flex;
    gap: 60px;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 30px;
    width: auto;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s;
}


.footer-bottom {
    display: flex;
    gap: 40px 24px;
    align-items: center;
    padding: 0 0 40px;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    color: #E5E5E5;
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Tablet responsive for products section */
@media (max-width: 1200px) {
    .products-header {
        padding: 0 16px 40px;
        max-width: 640px;
        margin: 0 auto;
    }

    .products-title {
        font-size: 40px;
    }

    .products-subtitle {

    }

    .product-heading-img {
        width: 100%;
        height: auto;
    }

    .product-system {
        grid-template-columns: 1fr;
        padding: 0 16px;
        max-width: 640px;
        margin: 0 auto;
    }

    .product-bpo {
        grid-template-columns: 1fr;
        padding: 40px 16px;
        max-width: 600px;
        margin: 0 auto;
    }

    .product-consulting {
        grid-template-columns: 1fr;
        padding: 0 16px;
        max-width: 600px;
        margin: 0 auto;
    }

    .product-bpo .product-content {
        order: 1;
    }

    .product-bpo .product-images {
        order: 2;
    }

    .product-image {
        max-width: 100%;
        height: auto;
    }
}

/* Mobile responsive for partners slider */
@media (max-width: 768px) {
    .partners {
        padding: 40px 0;
    }

    .partners-track {
        gap: 10px;
        animation: scroll 30s linear infinite;
    }

    .partner-logo {
        padding: 0;
    }

    .partner-logo img {
        width: 140px;
        object-fit: contain;
    }

    .partners-slider::before {
        width: 50px;
    }

    .partners-slider::after {
        width: 50px;
    }
}

/* Challenges responsive */
@media (max-width: 768px) {
    .challenges {
        padding: 24px 0 40px;
    }

    .challenges-heading {
        font-size: 24px;
        text-align: center;
    }

    .challenges-grid {
        gap: 60px;
    }

    .challenges-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solution-title {
        font-size: 24px;
    }

    .solution-title span {
        display: block;
    }

    .solution-description {
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1001;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 20px 20px;
        gap: 24px;
    }

    .nav a {
        font-size: 16px;
        color: var(--color-dark);
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .hamburger-toggle:checked ~ .nav {
        left: 0;
    }

    .header-actions {
        display: none;
    }

    .header-consultation-btn {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        justify-content: space-between;
        align-items: center;
    }

    .hero-video {
        left: 0;
        width: 100%;
        top: 200px;
        height: calc(100% - 200px);
    }

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

    .hero-content {
        min-height: calc(100vh - 80px);
        padding: 0;
        align-items: flex-start;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero-download-btn {
        width: 100%;
        text-align: center;
    }

    .hero-trial-btn {
        width: 100%;
        text-align: center;
    }

    .solution-diagram {
        grid-template-columns: 1fr;
    }

    .solution-pillar-right {
        grid-column: 1;
    }


    .product-images {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 40px 0;
    }

    .cta-heading span {
        display: block;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav {
    }

    .footer-bottom {
        flex-direction: column-reverse;
    }

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