/* ===========================================
   TechnoAlive Product Page Styles
   =========================================== */

.technoalive-page {
    padding-top: 70px;
}

/* アニメーション */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* セクション共通 */
.ta-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ts-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

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

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

.ta-section-description {
    text-align: center;
    color: var(--ts-text-light);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    line-height: 1.8;
}

/* ===========================================
   Hero Section
   =========================================== */
.ta-hero {
    position: relative;
    display: flex;
    align-items: center;
    background: #050e1f;
    overflow: hidden;
    padding: 2rem 0 2rem;
}

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

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

.ta-hero__particles {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(91, 191, 222, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(141, 198, 63, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(247, 148, 29, 0.08) 0%, transparent 35%);
}

.ta-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.ta-hero__content {
    flex: 1;
    color: white;
    z-index: 2;
}

.ta-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(91, 191, 222, 0.15);
    border: 1px solid rgba(91, 191, 222, 0.4);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #7DD1EC;
    margin-bottom: 0.75rem;
}

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

@keyframes ta-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.ta-hero__label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.ta-hero__title {
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #5BBFDE 0%, #7DD1EC 40%, #8DC63F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ta-hero__subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.ta-hero__description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.ta-hero__stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ta-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ta-hero__stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #5BBFDE;
    line-height: 1;
}

.ta-hero__stat-num small {
    font-size: 1.25rem;
}

.ta-hero__stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.25rem;
}

.ta-hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.ta-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ta-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ta-hero__btn--primary {
    background: linear-gradient(135deg, #5BBFDE, #3AA8CC);
    color: white;
    box-shadow: 0 4px 20px rgba(91, 191, 222, 0.4);
}

.ta-hero__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(91, 191, 222, 0.5);
}

.ta-hero__btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ta-hero__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.ta-hero__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 2;
    width: 100%;
}

.ta-hero__screen {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(91, 191, 222, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(91, 191, 222, 0.15);
    max-width: 600px;
    width: 100%;
}

.ta-hero__screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===========================================
   Problem Section
   =========================================== */
.ta-problem {
    padding: 60px 0;
    background: #f8fafb;
}

.ta-problem__inner {
    text-align: center;
}

.ta-problem__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ts-text);
    margin-bottom: 2.5rem;
}

.ta-problem__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.ta-problem__item {
    background: white;
    border: 2px solid #e8ecf0;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.ta-problem__item:hover {
    border-color: var(--ts-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(91, 191, 222, 0.15);
}

.ta-problem__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F7941D;
    font-size: 1.5rem;
}

.ta-problem__item p {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ts-text);
    line-height: 1.6;
    margin: 0;
}

.ta-problem__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--ts-primary);
    font-weight: 700;
    font-size: 1rem;
}

.ta-problem__arrow i {
    animation: ta-bounce 1.5s ease infinite;
}

.ta-problem__arrow i:last-child {
    animation-delay: 0.3s;
}

@keyframes ta-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ===========================================
   Features Section
   =========================================== */
.ta-features {
    padding: 90px 0;
    background: white;
}

.ta-features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.ta-feature-card {
    background: #f8fafb;
    border: 1.5px solid #e2e8ed;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.ta-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--ts-primary), var(--ts-secondary));
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ta-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--ts-primary);
}

.ta-feature-card:hover::before {
    opacity: 1;
}

.ta-feature-card--primary {
    background: linear-gradient(135deg, #eaf6fb 0%, #f0f9e8 100%);
    border-color: rgba(91, 191, 222, 0.35);
}

.ta-feature-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--ts-primary), var(--ts-primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(91, 191, 222, 0.3);
}

.ta-feature-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ts-text);
    margin-bottom: 0.75rem;
}

.ta-feature-card__desc {
    font-size: 0.9375rem;
    color: var(--ts-text-light);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.ta-feature-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ta-feature-card__list li {
    font-size: 0.9rem;
    color: var(--ts-text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ta-feature-card__list li i {
    color: var(--ts-secondary);
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* ===========================================
   Dashboard Section
   =========================================== */
.ta-dashboard {
    padding: 90px 0;
    background: #050e1f;
}

.ta-dashboard .ta-section-label {
    color: #7DD1EC;
}

.ta-dashboard__inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.ta-dashboard__content {
    flex: 1;
    color: white;
}

.ta-dashboard__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    margin-top: 0.5rem;
}

.ta-dashboard__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ta-dashboard__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ta-dashboard__tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ta-dashboard__tab:hover,
.ta-dashboard__tab--active {
    background: rgba(91, 191, 222, 0.15);
    border-color: rgba(91, 191, 222, 0.5);
    color: #7DD1EC;
}

.ta-dashboard__image {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.ta-dashboard__screen-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(91, 191, 222, 0.25),
        0 25px 70px rgba(0, 0, 0, 0.6);
    max-width: 600px;
    width: 100%;
}

.ta-dashboard__screen-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s ease;
}

/* タブ切り替え中フェードアウト */
.ta-dashboard__screen-wrap.ta-img-switching img {
    opacity: 0;
}

/* タブボタン：クリック可能感を強調 */
.ta-dashboard__tab {
    user-select: none;
}
.ta-dashboard__tab--active {
    background: rgba(91, 191, 222, 0.25) !important;
    border-color: #5BBFDE !important;
    color: #fff !important;
    box-shadow: 0 0 12px rgba(91, 191, 222, 0.3);
}

/* ===========================================
   Use Cases Section
   =========================================== */
.ta-usecases {
    padding: 90px 0;
    background: var(--ts-bg-light);
}

.ta-usecases__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.ta-usecase {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ta-usecase:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ta-usecase__num {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(91, 191, 222, 0.12);
    line-height: 1;
}

.ta-usecase__icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--ts-primary), var(--ts-primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.375rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(91, 191, 222, 0.25);
}

.ta-usecase h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ts-text);
    margin-bottom: 0.75rem;
}

.ta-usecase p {
    font-size: 0.9375rem;
    color: var(--ts-text-light);
    line-height: 1.75;
    margin: 0;
}

/* ===========================================
   Technology Section
   =========================================== */
.ta-tech {
    padding: 80px 0;
    background: white;
}

.ta-tech__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: 2.5rem auto 0;
}

.ta-tech__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: #f8fafb;
    border: 1.5px solid #e2e8ed;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.ta-tech__item:hover {
    border-color: var(--ts-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(91, 191, 222, 0.15);
}

.ta-tech__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ts-primary), var(--ts-primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.ta-tech__icon--redis  { background: linear-gradient(135deg, #d82c20, #a31e14); }
.ta-tech__icon--docker { background: linear-gradient(135deg, #0db7ed, #0a8ab5); }
.ta-tech__icon--cloud  { background: linear-gradient(135deg, #8DC63F, #5BA246); }
.ta-tech__icon--api    { background: linear-gradient(135deg, #F7941D, #E07D0A); }

.ta-tech__item span {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ts-text);
    text-align: center;
}

/* ===========================================
   CTA Section
   =========================================== */
.ta-cta {
    position: relative;
    padding: 90px 20px;
    background: linear-gradient(135deg, #050e1f 0%, #0a2040 50%, #081a35 100%);
    overflow: hidden;
    text-align: center;
}

.ta-cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(91, 191, 222, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(141, 198, 63, 0.08) 0%, transparent 50%);
}

.ta-cta__inner {
    position: relative;
    z-index: 2;
}

.ta-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(91, 191, 222, 0.15);
    border: 1px solid rgba(91, 191, 222, 0.35);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #7DD1EC;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.ta-cta__title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.ta-cta__text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

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

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

.ta-cta__btn--primary {
    background: linear-gradient(135deg, #5BBFDE, #3AA8CC);
    color: white;
    box-shadow: 0 4px 20px rgba(91, 191, 222, 0.35);
}

.ta-cta__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(91, 191, 222, 0.5);
}

.ta-cta__btn--outline {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.ta-cta__btn--outline:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-3px);
}

/* pc-only / sp-only */
.pc-only { display: none; }
.sp-only { display: inline; }

/* ===========================================
   Responsive
   =========================================== */
@media screen and (min-width: 768px) {
    .ta-hero__title { font-size: 5.5rem; }
    .ta-hero__inner { flex-direction: row; gap: 4rem; }
    .ta-hero__content { flex: 1; }
    .ta-hero__visual { flex: 1; }
    .ta-problem__grid { grid-template-columns: repeat(4, 1fr); }
    .ta-features__grid { grid-template-columns: repeat(2, 1fr); }
    .ta-dashboard__inner { flex-direction: row; gap: 4rem; }
    .ta-dashboard__content { flex: 0 0 400px; }
    .ta-dashboard__image { flex: 1; }
    .ta-dashboard__title { font-size: 2.75rem; }
    .ta-usecases__grid { grid-template-columns: repeat(2, 1fr); }
    .ta-cta__buttons { flex-direction: row; justify-content: center; }
    .pc-only { display: inline; }
    .sp-only { display: none; }
}

@media screen and (min-width: 1024px) {
    .ta-features__grid { grid-template-columns: repeat(3, 1fr); }
    .ta-usecases__grid { grid-template-columns: repeat(4, 1fr); }
    .ta-tech__grid { grid-template-columns: repeat(6, 1fr); max-width: 900px; }
}

@media screen and (max-width: 767px) {
    .ta-hero {
        min-height: auto;
        padding: 2.5rem 0 2.5rem;
    }
    .ta-hero__title { font-size: 3rem; }
    .ta-hero__stats { gap: 1rem; }
    .ta-hero__stat-num { font-size: 2rem; }
    .ta-section-title { font-size: 1.75rem; }
    .ta-dashboard__title { font-size: 1.75rem; }
    .ta-cta__title { font-size: 1.5rem; }
    .ta-tech__grid { grid-template-columns: repeat(3, 1fr); }
}
