/* ===========================================
   Products Overview Page Styles
   =========================================== */

/* Common */
.products-page {
    padding-top: 70px;
}

.prod-section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--ts-text);
    position: relative;
}

.prod-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ts-primary), var(--ts-secondary));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.prod-section-description {
    text-align: center;
    color: var(--ts-text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================================
   Hero Section (Renewed)
   =========================================== */
.prod-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;   /* 上下余白を適度に調整 */
    padding-top: calc(70px + 2.5rem); /* ヘッダー(70px)分を加算してコンテンツが隠れないように */
    background: #03080f;
    overflow: hidden;
}

.prod-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.prod-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(91, 191, 222, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 191, 222, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.prod-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.prod-hero__glow--1 {
    width: 500px; height: 500px;
    background: rgba(91, 191, 222, 0.18);
    top: -100px; left: -100px;
}

.prod-hero__glow--2 {
    width: 400px; height: 400px;
    background: rgba(141, 198, 63, 0.12);
    bottom: -80px; right: 10%;
}

.prod-hero__glow--3 {
    width: 300px; height: 300px;
    background: rgba(247, 148, 29, 0.1);
    top: 30%; right: -50px;
}

.prod-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;   /* 横方向センタリング */
    width: 100%;
}

.prod-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.25rem;
    background: rgba(91, 191, 222, 0.12);
    border: 1px solid rgba(91, 191, 222, 0.35);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(91, 191, 222, 0.9);
    margin-bottom: 1.75rem;
}

.prod-hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5BBFDE;
    animation: prod-pulse 2s infinite;
}

@keyframes prod-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

.prod-hero__title {
    font-size: 4.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(91, 191, 222, 0.9) 50%, #8DC63F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.prod-hero__description {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.prod-hero__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.prod-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.prod-hero__badge i {
    color: var(--ts-primary);
}

.prod-hero__badge--new {
    background: rgba(91, 191, 222, 0.15);
    border-color: rgba(91, 191, 222, 0.4);
    color: #7DD1EC;
    animation: prod-badge-glow 3s ease infinite;
}

@keyframes prod-badge-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(91, 191, 222, 0); }
    50% { box-shadow: 0 0 20px rgba(91, 191, 222, 0.3); }
}

.prod-hero__scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: color 0.3s;
}

.prod-hero__scroll:hover {
    color: rgba(255, 255, 255, 0.7);
}

.prod-hero__scroll i {
    animation: prod-scroll-bounce 2s ease infinite;
}

@keyframes prod-scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ===========================================
   Product Navigation
   =========================================== */
.prod-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8ed;
    padding: 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    transition: box-shadow 0.3s;
}

.prod-nav--sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.prod-nav__inner {
    display: flex;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.prod-nav__inner::-webkit-scrollbar { display: none; }

.prod-nav__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ts-text-light);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.prod-nav__item:hover {
    color: var(--ts-primary);
    border-bottom-color: var(--ts-primary);
}

.prod-nav__item--new {
    color: #3AA8CC;
    position: relative;
}

.prod-nav__item--new:hover {
    color: var(--ts-primary);
}

.prod-nav__new-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: linear-gradient(135deg, #5BBFDE, #3AA8CC);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 50px;
    letter-spacing: 0.05em;
}

/* ===========================================
   Product List Section
   =========================================== */
.prod-list {
    padding: 80px 0;
    background: var(--ts-bg-white);
}

.prod-item {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 100px;
    padding: 40px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.prod-item:last-child {
    margin-bottom: 0;
}

.prod-item__image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-item__image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.prod-item__content {
    flex: 1;
}

.prod-item__label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ts-primary);
    margin-bottom: 0.5rem;
}

.prod-item__title {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
    color: var(--ts-text);
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prod-item__subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--ts-text-light);
    margin-bottom: 1.5rem;
}

.prod-item__description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--ts-text);
    margin-bottom: 2rem;
}

.prod-item__features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.prod-item__feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--ts-bg-light);
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ts-text);
}

.prod-item__feature i {
    color: var(--ts-primary);
    font-size: 1.125rem;
}

.prod-item__usecases {
    margin-bottom: 2.5rem;
}

.prod-item__usecases h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ts-text);
    margin-bottom: 1rem;
}

.prod-item__usecases ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prod-item__usecases li {
    padding: 0.5rem 0;
    color: var(--ts-text);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.prod-item__usecases li i {
    color: var(--ts-secondary);
    font-size: 1rem;
    flex-shrink: 0;
}

.prod-item__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--ts-primary);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(91, 191, 222, 0.3);
}

.prod-item__btn:hover {
    background: var(--ts-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(91, 191, 222, 0.4);
}

.prod-item__btn i {
    transition: transform 0.3s ease;
}

.prod-item__btn:hover i {
    transform: translateX(5px);
}

/* ===========================================
   Deployment Section
   =========================================== */
.prod-deployment {
    padding: 80px 0;
    background: var(--ts-bg-light);
}

.prod-deployment__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.prod-deployment__item {
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.prod-deployment__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-secondary) 100%);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
}

.prod-deployment__item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ts-text);
    margin-bottom: 0.5rem;
}

.prod-deployment__desc {
    color: var(--ts-text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.prod-deployment__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prod-deployment__features li {
    padding: 0.5rem 0;
    color: var(--ts-text);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.prod-deployment__features li i {
    color: var(--ts-secondary);
}

/* ===========================================
   CTA Section
   =========================================== */
.prod-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-secondary) 100%);
    text-align: center;
}

.prod-cta__title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.prod-cta__text {
    font-size: 1.125rem;
    color: white;
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.prod-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.prod-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 280px;
    justify-content: center;
}

.prod-cta__btn--primary {
    background: white;
    color: var(--ts-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.prod-cta__btn--primary:hover {
    background: var(--ts-bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.prod-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
}

.prod-cta__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ===========================================
   TechnoAlive NEW Product Enhancements
   =========================================== */
.prod-item--new {
    position: relative;
    background: linear-gradient(135deg, #f0fbff 0%, #f5fff0 100%);
    border: 2px solid rgba(91, 191, 222, 0.3);
    box-shadow: 0 4px 20px rgba(91, 191, 222, 0.12), 0 0 0 0 rgba(91, 191, 222, 0);
    animation: prod-item-glow 4s ease infinite;
}

@keyframes prod-item-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(91, 191, 222, 0.1); }
    50% { box-shadow: 0 8px 35px rgba(91, 191, 222, 0.25); }
}

.prod-item__new-badge {
    position: absolute;
    top: -1px;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1.25rem;
    background: linear-gradient(135deg, #5BBFDE, #3AA8CC);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 0 0 12px 12px;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 12px rgba(91, 191, 222, 0.4);
}

.prod-item__image--dark {
    background: #0a1929;
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-item__image--dark img {
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.prod-item__title--alive {
    background: linear-gradient(135deg, #5BBFDE 0%, #3AA8CC 50%, #8DC63F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prod-item__btn--alive {
    background: linear-gradient(135deg, #5BBFDE, #3AA8CC);
    box-shadow: 0 4px 15px rgba(91, 191, 222, 0.35);
}

.prod-item__btn--alive:hover {
    background: linear-gradient(135deg, #3AA8CC, #2890b8);
    box-shadow: 0 6px 25px rgba(91, 191, 222, 0.5);
}

/* スクロールアニメーション */
.prod-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.prod-item--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   Responsive Design
   =========================================== */
@media screen and (min-width: 768px) {
    .prod-hero__title {
        font-size: 4.5rem;
    }

    .prod-item {
        flex-direction: row;
        align-items: center;
    }

    .prod-item--reverse {
        flex-direction: row-reverse;
    }

    .prod-deployment__grid {
        grid-template-columns: 1fr 1fr;
    }

    .prod-cta__buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {
    .prod-hero {
        min-height: auto;
        padding: 2.5rem 1.5rem;
    }

    .prod-hero__title {
        font-size: 2.5rem;
    }

    .prod-hero__description {
        font-size: 1rem;
    }

    .prod-item {
        padding: 25px;
        gap: 2rem;
        margin-bottom: 60px;
    }

    .prod-item__title {
        font-size: 2rem;
    }

    .prod-item__features {
        flex-direction: column;
    }

    .prod-item__feature {
        width: 100%;
        justify-content: center;
    }

    .prod-cta__title {
        font-size: 1.5rem;
    }

    .prod-cta__text {
        font-size: 1rem;
    }
}
