:root {
    --primary-color: #E6007E;
    --secondary-color: #FF4081;
    --accent-color: #9C27B0;
    --background-color: #1A0A2E;
    --surface-color: #2D1B4E;
    --text-color: #ffffff;
    --text-secondary: #e0e0e0;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 16px;
    --container-width: 1200px;
    --glass-bg: rgba(45, 27, 78, 0.6);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --heading-gradient: linear-gradient(135deg, #fff 0%, #FF80AB 100%);

    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #E6007E 0%, #9C27B0 100%);
    --gradient-secondary: linear-gradient(135deg, #FF4081 0%, #E6007E 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 10, 46, 0.9) 0%, rgba(45, 27, 78, 0.7) 50%, rgba(230, 0, 126, 0.3) 100%);
    --gradient-purple: linear-gradient(135deg, #9C27B0 0%, #E6007E 100%);

    /* Enhanced Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(230, 0, 126, 0.6);
    --shadow-glow-purple: 0 0 40px rgba(156, 39, 176, 0.5);
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

body {
    font-family: var(--font-main);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.005em;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}


/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    padding: 10px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.nav-links .btn {
    color: white !important;
    padding: 10px 24px;
}

.header-utilities {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.lang-switch {
    display: flex;
    gap: 10px;
    padding-right: 20px;
    align-items: center;
}


.lang-switch a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.lang-switch a.active {
    color: var(--text-color);
}

.lang-switch .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    margin: 0 5px;
}


/* Legal Pages (Terms / Privacy) */
.legal-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-md);
}


/* Legal pages must never "disappear" due to scroll-fade-in (e.g. bfcache / observer quirks) */
.legal-content.scroll-fade-in,
.legal-content .scroll-fade-in {
    opacity: 1 !important;
    transform: none !important;
}

.legal-content h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.legal-content h3 {
    margin-top: 2.25rem;
    margin-bottom: 0.9rem;
}

.legal-content h4 {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.85;
}

.legal-meta {
    font-weight: 600;
    color: var(--text-secondary);
}

.legal-list {
    list-style: disc;
    padding-left: 22px;
    margin: 0 0 1.5rem;
    color: var(--text-secondary);
}

.legal-list li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}


.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
@keyframes heroGradientShift {
    0% {
        background-position: 0% 0%;
        background-size: 140% 140%;
    }

    50% {
        background-position: 100% 50%;
        background-size: 170% 170%;
    }

    100% {
        background-position: 0% 100%;
        background-size: 140% 140%;
    }
}

@keyframes heroBlobDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-20px, 10px, 0) scale(1.06);
    }

    100% {
        transform: translate3d(15px, -10px, 0) scale(1.03);
    }
}

@keyframes heroImagePan {
    0% {
        background-position: 50% 0%;
        transform: scale(1.05);
    }

    50% {
        background-position: 50% 100%;
        transform: scale(1.08);
    }

    100% {
        background-position: 50% 40%;
        transform: scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero,
    .hero::before,
    .hero-bg {
        animation: none !important;
    }
}

/* ========================= */
/* Home (index) – Gen-AX vibe */
/* ========================= */
.home-index .home-hero .container {
    padding-left: 20px;
    padding-right: 20px;
}

.home-index .home-hero .hero-content {
    max-width: 720px;
    text-align: left;
    margin-left: 0;
    padding-left: 0;
}

.home-index .home-hero .hero-kicker {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
}

.home-index .home-hero .hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 18px;
}

/* JP only: keep the hero title strictly 2 lines (prevent mid-line wrap) */
html[lang="ja"] .home-index .home-hero .hero-title span {
    white-space: nowrap;
}

/* EN: allow wrapping to avoid overflow */
html[lang="en"] .home-index .home-hero .hero-title span {
    white-space: normal;
}

/* English hero section optimizations */
html[lang="en"] .home-index .home-hero .hero-title {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.15;
}

html[lang="en"] .home-index .home-hero .hero-lede {
    font-size: 1rem;
    line-height: 1.75;
    max-width: 58ch;
}

/* Gooey hero heading (index) */
@keyframes heroGooeyReveal {
    0% {
        opacity: 0;
        filter: blur(18px);
        transform: translateY(14px) scale(1.02);
    }

    55% {
        opacity: 1;
        filter: blur(5px);
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

.home-index .home-hero .hero-title-gooey span {
    display: block;
    will-change: filter, transform, opacity;
}

.home-index .home-hero .hero-title-gooey.gooey-animate span {
    animation: heroGooeyReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-index .home-hero .hero-title-gooey.gooey-animate span:first-of-type {
    animation-delay: 0.06s;
}

.home-index .home-hero .hero-title-gooey.gooey-animate span:last-of-type {
    animation-delay: 0.18s;
}

@media (prefers-reduced-motion: reduce) {
    .home-index .home-hero .hero-title-gooey.gooey-animate span {
        animation: none !important;
        filter: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}


.home-index .home-hero .hero-lede {
    font-size: 1.1rem;
    line-height: 1.9;
    max-width: 62ch;
}

.home-index .scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 5;
    opacity: 0.9;
}

.home-index .scroll-cue-label {
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
}

.home-index .scroll-cue-line {
    width: 2px;
    height: 34px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.45);
    position: relative;
    overflow: hidden;
}

.home-index .scroll-cue-line::after {
    content: '';
    position: absolute;
    inset: -12px 0 auto 0;
    height: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    animation: scrollCuePulse 1.4s ease-in-out infinite;
}

@keyframes scrollCuePulse {
    0% {
        transform: translateY(0);
        opacity: 0.0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translateY(42px);
        opacity: 0.0;
    }
}

.home-index .hero-orbs {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.home-index .hero-orb {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(22px);
    opacity: 0.35;
    background: radial-gradient(circle at 30% 30%, rgba(230, 0, 126, 0.8), rgba(156, 39, 176, 0.15) 60%, transparent 75%);
    animation: orbDrift 14s ease-in-out infinite alternate;
}

.home-index .hero-orb.orb-1 {
    left: -120px;
    top: -80px;
}

.home-index .hero-orb.orb-2 {
    right: -140px;
    top: 8%;
    width: 520px;
    height: 520px;
    opacity: 0.28;
    animation-duration: 18s;
}

.home-index .hero-orb.orb-3 {
    right: 12%;
    bottom: -180px;
    width: 560px;
    height: 560px;
    opacity: 0.18;
    animation-duration: 22s;
}

@keyframes orbDrift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(18px, -14px, 0) scale(1.05);
    }
}

.home-index .home-band {
    padding: 120px 0;
}

.home-index .home-band-alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.home-index .home-band-cta {
    background: linear-gradient(135deg, rgba(230, 0, 126, 0.14), rgba(156, 39, 176, 0.16), rgba(12, 12, 30, 0.7));
}

.home-index .section-header {
    max-width: 100%;
    margin: 0 auto 44px;
    text-align: left;
}

.home-index .band-kicker {
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.home-index .band-lede {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.85;
    margin: 0;
    max-width: 72ch;
}

.home-index .about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-index .about-card {
    padding: 26px;
}

.home-index .about-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.home-index .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-index .product-grid,
.home-index .how-grid,
.home-index .members-grid {
    align-items: stretch;
}

.home-index .product-card {
    text-decoration: none;
    display: block;
    padding: 28px;
    transform-style: preserve-3d;
    height: 100%;
}

.home-index .product-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
}

.home-index .product-card-kicker {
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.home-index .product-bullets {
    list-style: disc;
    padding-left: 18px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.home-index .product-bullets li {
    margin-bottom: 6px;
}

.home-index .product-card-cta {
    display: inline-flex;
    margin-top: 16px;
    font-weight: 800;
    color: #ffd1f0;
}

.home-index .how-it-works {
    margin-top: 60px;
}

.home-index .how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-index .how-card {
    padding: 26px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.home-index .how-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(120% 120% at 0% 0%, rgba(230, 0, 126, 0.16), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

.home-index .how-step {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 14px;
}

.home-index .how-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.home-index .compare-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-index .compare-card {
    padding: 26px;
    height: 100%;
}

.home-index .compare-card h3 {
    margin-top: 0;
}

.home-index .compare-rows {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.home-index .compare-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-index .compare-row:first-child {
    border-top: none;
    padding-top: 0;
}

.home-index .compare-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-index .compare-pill.is-before {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
}

.home-index .compare-pill.is-after {
    background: rgba(230, 0, 126, 0.16);
    border: 1px solid rgba(230, 0, 126, 0.28);
    color: #ffd1f0;
}

.home-index .compare-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.home-index .members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-index .member-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px;
    text-decoration: none;
    height: 100%;
}

.home-index .member-card img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-index .member-card img[src*="Chatani-Photoroom.png"] {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.12);
}

.home-index .member-meta h3 {
    margin: 0 0 6px;
    font-size: 1.25rem;
}

.home-index .member-meta .role {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.35;
}

.home-index .band-actions {
    margin-top: 30px;
}

.home-index .cta-band {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.home-index .cta-band-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {

    .home-index .about-grid,
    .home-index .product-grid,
    .home-index .members-grid,
    .home-index .how-grid {
        grid-template-columns: 1fr;
    }

    .home-index .compare-grid {
        grid-template-columns: 1fr;
    }

    .home-index .member-card {
        grid-template-columns: 80px 1fr;
    }

    .home-index .member-card img {
        width: 80px;
        height: 80px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-index .hero-orb,
    .home-index .scroll-cue-line::after {
        animation: none !important;
    }

    .home-index .product-card:hover {
        transform: translateY(-6px);
    }
}


.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: url('images/hero-bg.png') center/cover no-repeat;
    transform-origin: center center;
    animation: heroImagePan 60s ease-in-out infinite alternate;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    background-size: 150% 150%;
    animation: heroGradientShift 40s ease-in-out infinite alternate;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 90%;
    height: 80%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(-3deg);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    z-index: 3;
    position: relative;
}

.hero-content h1 span {
    display: inline-block;
    color: inherit;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(230, 0, 126, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(156, 39, 176, 0.2) 0%, transparent 50%);
    animation: heroBlobDrift 50s ease-in-out infinite alternate;
    z-index: 2;
}

/* Cards */
.card {
    background: rgba(45, 27, 78, 0.5);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 0, 126, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 0, 126, 0.5);
    box-shadow: var(--shadow-glow);
}

.card:hover::before {
    opacity: 1;
}

/* Footer */
footer {
    background: var(--surface-color);
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 30px;
    font-weight: 700;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.footer-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Menu Active State */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
    /* h1 font-size moved to Responsive Adjustments section */

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 12px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.7s;
    }

    .nav-links.active li:nth-child(8) {
        transition-delay: 0.8s;
    }

    .header-utilities {
        display: none;
        /* Temporarily hide on mobile to fix layout breakage */
    }

    .lang-switch {
        display: none;
    }

    .lang-switch-mobile {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .lang-switch-mobile .lang-switch {
        display: flex;
        justify-content: center;
        padding-right: 0;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.3;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: url('images/hero-bg.png') center/cover no-repeat;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.95) 0%, rgba(45, 27, 78, 0.85) 50%, rgba(156, 39, 176, 0.7) 100%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Company Page */
.company-profile-list {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
}

.company-profile-list .row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.company-profile-list dt {
    width: 200px;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.company-profile-list dd {
    flex: 1;
    color: var(--text-secondary);
}

.business-list {
    list-style: disc;
    padding-left: 20px;
}

.business-list li {
    margin-bottom: 0.5rem;
}


@media (max-width: 768px) {
    .company-profile-list .row {
        flex-direction: column;
        gap: 10px;
    }

    .company-profile-list dt {
        width: 100%;
    }
}

/* Product Page */
.product-section {
    margin-bottom: 60px;
}

.product-section ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-secondary);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Team Page */
.team-grid .grid-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-card {
    flex: 1 1 280px;
    max-width: 340px;
    text-align: center;
}

.team-card img[src*="Chatani-Photoroom.png"] {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}


.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    font-size: 0.9rem;
    text-align: left;
}

/* Vision Page */
.vision-hero {
    position: relative;
    overflow: hidden;
    padding: 140px 0 120px;
    background: radial-gradient(circle at 20% 20%, rgba(156, 39, 176, 0.2), transparent 40%),
        radial-gradient(circle at 80% 10%, rgba(230, 0, 126, 0.25), transparent 40%),
        linear-gradient(135deg, #0b0a1a 0%, #120c28 100%);
    color: #fff;
}

.vision-hero-bg,
.vision-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.vision-hero-bg {
    background: radial-gradient(70% 70% at 50% 50%, rgba(255, 255, 255, 0.04), transparent 60%),
        linear-gradient(120deg, rgba(230, 0, 126, 0.15), transparent 50%);
    filter: blur(2px);
}

.vision-hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(5, 5, 15, 0.5) 100%);
}

.vision-hero-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: center;
}

.vision-hero-copy h1 {
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    line-height: 1.2;
    margin: 12px 0;
    background: linear-gradient(135deg, #ff6bb3 0%, #ff4da6 50%, #e6007e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.vision-hero-copy .lede {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.vision-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
}

.vision-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
    color: var(--primary-color);
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    line-height: 1.6;
}

.vision-panels {
    padding: 100px 0 60px;
}

.vision-panels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 10%, rgba(230, 0, 126, 0.08), transparent 45%);
    pointer-events: none;
}

.glass-card.emphasis {
    border-color: rgba(230, 0, 126, 0.25);
    box-shadow: 0 25px 80px rgba(230, 0, 126, 0.25);
}

.glass-card.highlight {
    border-color: rgba(156, 39, 176, 0.25);
    box-shadow: 0 25px 80px rgba(156, 39, 176, 0.25);
}

.glass-card h2 {
    margin: 4px 0 8px;
    font-size: 1.8rem;
}

.glass-card h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.glass-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}

.signature {
    text-align: right;
    font-style: italic;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.vision-roadmap {
    padding: 40px 0 120px;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(230, 0, 126, 0.7), rgba(156, 39, 176, 0.7));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    box-shadow: 0 8px 20px rgba(230, 0, 126, 0.35);
}

.step-card h3 {
    margin: 6px 0 10px;
}

.step-card .bullet {
    margin: 12px 0 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.82);
}

.step-card .bullet li {
    margin-bottom: 6px;
}

.quote {
    margin-top: 10px;
    font-weight: 600;
    color: #f3e8ff;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    color: #ffbce2;
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .vision-hero-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .vision-hero {
        padding: 110px 0 90px;
    }

    .vision-hero-copy h1 {
        font-size: 2.1rem;
    }

    .vision-hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* Light mode overrides */



/* Light mode: Vision hero main title color (JP/EN) */


/* Light mode: Vision hero eyebrow color (JP/EN) */







/* Recruit Page */
.job-card {
    margin-bottom: 30px;
}

.job-type {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.job-description h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.job-description ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Contact Page */
.contact-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method a {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Enhanced Section Decorations */
section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(230, 0, 126, 0.5) 50%, transparent 100%);
}

/* Scroll Animations */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Footer Enhancement */
footer {
    background: linear-gradient(180deg, var(--surface-color) 0%, rgba(26, 10, 46, 1) 100%);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 1.5fr;
    gap: 40px;
    align-items: flex-start;
}

.footer-brand h4 img {
    height: 32px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 14px 0;
    line-height: 1.6;
}

.footer-mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 6px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.footer-group h4 {
    margin-bottom: 12px;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.footer-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-group a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-group a:hover {
    color: var(--primary-color);
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-color);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(230, 0, 126, 0.5);
    box-shadow: var(--shadow-glow);
}

.social-btn.linkedin {
    border-color: rgba(0, 119, 181, 0.35);
}

.footer-bottom {
    margin-top: 36px;
}






@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Text Glow Effect */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(230, 0, 126, 0.3);
}

/* Vision Block Enhancement */
.vision-block {
    background: rgba(45, 27, 78, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.vision-block::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(230, 0, 126, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Job Card Enhancement */
/* Job Card Enhancement - consolidated above */

/* Team Card Enhancement */
.team-card {
    background: rgba(45, 27, 78, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: rgba(230, 0, 126, 0.5);
    box-shadow: 0 0 20px rgba(230, 0, 126, 0.3);
}

/* ========================= */
/* Product Page (distinct)   */
/* ========================= */
.product-hero {
    position: relative;
    overflow: hidden;
    padding: 140px 0 110px;
    background: linear-gradient(120deg, #0b0a1a 0%, #16102f 60%, #0c0c1e 100%);
    color: #fff;
}

.product-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230, 0, 126, 0.18), transparent 55%),
        linear-gradient(220deg, rgba(156, 39, 176, 0.16), transparent 50%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.product-hero-body {
    position: relative;
    z-index: 1;
    display: block;
}

.product-hero-copy {
    text-align: left;
}

.product-hero-copy h1 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.15;
    margin: 10px 0 12px;
    text-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.product-lede {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.product-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.product-hero-bullets {
    margin: 14px 0 18px;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.88);
}

.product-hero-bullets li {
    margin-bottom: 6px;
}

.product-hero-visual {
    display: grid;
    gap: 12px;
}

.product-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
}

.product-stat-card .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-weight: 500;
}

.product-stat-card .stat-value {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 8px 0;
    color: var(--primary-color);
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-stat-card .stat-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0;
}

.product-title-ja,
.product-title-en {
    display: inline-block;
    background: none;
    color: #e6007e;
    -webkit-text-fill-color: #e6007e;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.product-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-feature-grid {
    padding: 90px 0 60px;
    background: linear-gradient(180deg, #181c2d 0%, #1f253d 55%, #111424 100%);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 10%, rgba(230, 0, 126, 0.08), transparent 45%);
    pointer-events: none;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #e6007e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    box-shadow: 0 6px 14px rgba(230, 0, 126, 0.18);
}


.feature-card h3 {
    margin: 6px 0 10px;
}

.feature-bullets {
    margin: 12px 0 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.82);
}

.feature-bullets li {
    margin-bottom: 6px;
}

.product-compare {
    padding: 40px 0 90px;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.compare-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.compare-card.highlight {
    border-color: rgba(230, 0, 126, 0.25);
    box-shadow: 0 18px 60px rgba(230, 0, 126, 0.2);
}

.product-proof {
    padding: 90px 0 70px;
    background: linear-gradient(180deg, #181c2d 0%, #1f253d 55%, #111424 100%);
}

.product-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.product-problem {
    padding: 80px 0;
}

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

.product-diff {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.diff-card {
    display: block;
    text-decoration: none;
}

.diff-card h3 {
    white-space: nowrap;
}

/* Allow wrapping on tablet and mobile */
@media (max-width: 1024px) {
    .diff-card h3 {
        white-space: normal;
    }
}

.diff-card p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.product-adv {
    padding: 90px 0;
}

.product-adv .eyebrow,
.product-diff .eyebrow {
    white-space: nowrap;
}

/* Allow wrapping on tablet and mobile */
@media (max-width: 1024px) {
    .product-adv .eyebrow,
    .product-diff .eyebrow {
        white-space: normal;
    }
}

.product-adv-alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

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

/* 特定のセクションのみ2カラムレイアウト */
#adv-evaluation .adv-grid,
#adv-agent .adv-grid {
    grid-template-columns: 1fr 0.6fr;
    gap: 40px;
}

#adv-screener .adv-grid {
    grid-template-columns: 1fr 1.0fr;
    gap: 40px;
}

#adv-agent-selection .adv-grid,
#adv-transcription .adv-grid,
#adv-scoring .adv-grid,
#adv-dashboard .adv-grid {
    grid-template-columns: 1fr 0.6fr;
    gap: 40px;
}

.adv-copy h2 {
    margin-top: 10px;
}

/* Product advantage titles */
.product-adv .adv-copy h2 {
    letter-spacing: -0.01em;
}

/* JP: keep advantage titles on one line */
html[lang="ja"] .product-adv .adv-copy h2 {
    white-space: nowrap;
}

/* EN: allow wrapping */
html[lang="en"] .product-adv .adv-copy h2 {
    white-space: normal;
}

/* Allow wrapping on tablet and mobile for Japanese titles */
@media (max-width: 1024px) {
    html[lang="ja"] .product-adv .adv-copy h2 {
        white-space: normal;
    }
}

/* Under-title layout: cards/visuals should sit below the copy */
.adv-visual {
    margin-top: 8px;
}

/* 特定のセクションのみ横並びレイアウトに合わせる */
#adv-evaluation .adv-visual,
#adv-agent .adv-visual,
#adv-screener .adv-visual,
#adv-agent-selection .adv-visual,
#adv-transcription .adv-visual,
#adv-scoring .adv-visual,
#adv-dashboard .adv-visual {
    margin-top: 0;
}

.adv-visual .gallery-card {
    margin-bottom: 18px;
}

.adv-placeholder {
    padding: 22px;
}

.adv-placeholder h3 {
    margin: 6px 0 10px;
}

.adv-placeholder p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

/* Mobile: revert 2-column sections to single column layout */
@media (max-width: 768px) {
    #adv-evaluation .adv-grid,
    #adv-agent .adv-grid,
    #adv-screener .adv-grid,
    #adv-agent-selection .adv-grid,
    #adv-transcription .adv-grid,
    #adv-scoring .adv-grid,
    #adv-dashboard .adv-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    
    #adv-evaluation .adv-visual,
    #adv-agent .adv-visual,
    #adv-screener .adv-visual,
    #adv-agent-selection .adv-visual,
    #adv-transcription .adv-visual,
    #adv-scoring .adv-visual,
    #adv-dashboard .adv-visual {
        margin-top: 8px;
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.timeline-item.highlight {
    border-color: rgba(230, 0, 126, 0.25);
    box-shadow: 0 18px 60px rgba(230, 0, 126, 0.2);
}

.product-competition {
    padding: 90px 0;
}

.table-wrap {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.comparison-table th,
.comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    vertical-align: top;
}

.comparison-table th {
    text-align: left;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.06);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.product-faq {
    padding: 70px 0 120px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.product-cta {
    padding: 80px 0 120px;
    background: linear-gradient(135deg, rgba(230, 0, 126, 0.12), rgba(156, 39, 176, 0.18), rgba(12, 12, 30, 0.7));
}

.product-cta-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    align-items: center;
}

.product-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.product-gallery {
    padding: 40px 0 100px;
}

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

.gallery-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 260px;
}


.product-sample-video {
    padding: 40px 0 40px;
}

/* Light mode overrides for product */













@media (max-width: 900px) {
    .product-hero-body {
        grid-template-columns: 1fr;
    }

    .product-title-ja,
    .product-title-en {
        font-size: 2.2rem;
    }

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

    .product-cta-actions {
        justify-content: flex-start;
    }

    html[lang="ja"] .product-adv .adv-copy h2 {
        white-space: normal;
    }

    .steps-grid,
    .agent-grid,
    .timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .diff-grid {
        grid-template-columns: 1fr;
    }

    .diff-card h3 {
        white-space: normal;
    }
}

@media print {

    /* Global Resets */
    *,
    *::before,
    *::after {
        background-color: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        font-family: serif;
        /* Better reading for print */
        font-size: 12pt;
    }

    /* Hide Navigation and Footer */
    header,
    footer,
    .menu-toggle,
    .header-utilities,
    .page-header {
        display: none !important;
    }

    /* Hide Videos and Decorative Elements */
    .video-container,
    iframe,
    .hero-bg,
    .product-hero-bg,
    section::before,
    section::after {
        display: none !important;
    }

    /* Layout Adjustments */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    section {
        padding: 20px 0 !important;
        page-break-inside: avoid;
    }

    /* Card Styling for Print */
    .card,
    .feature-card,
    .job-card,
    .team-card,
    .compare-card,
    .product-stat-card {
        background: transparent !important;
        border: 1px solid #ccc !important;
        border-radius: 4px !important;
        color: #000 !important;
        padding: 15px !important;
        margin-bottom: 20px !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* Text Coloring */
    h1,
    h2,
    h3,
    h4,
    p,
    li,
    dt,
    dd {
        color: #000 !important;
    }

    .eyebrow,
    .stat-label,
    .role {
        color: #333 !important;
        font-weight: bold;
    }

    /* Link Handling */
    a {
        text-decoration: underline;
        color: #000 !important;
    }

    a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        font-weight: normal;
    }

    /* Don't show links for internal anchors or javascript */
    a[href^="#"]::after,
    a[href^="javascript"]::after {
        content: "";
    }

    /* specific button hiding or styling */
    .btn {
        border: 1px solid #000;
        background: transparent !important;
    }

    /* Definition List for Company Page */
    .company-profile-list .row {
        border-bottom: 1px solid #ddd;
        page-break-inside: avoid;
    }

    /* Grid Fallbacks */
    .grid-3,
    .feature-grid,
    .info-grid {
        display: block !important;
    }

    .grid-3>*,
    .feature-grid>* {
        margin-bottom: 20px;
    }
}

/* Revert app-screen to full width */
/* AI面接官セクションのチャットバブル */
.adv-img-container {
    position: relative;
}

#adv-agent-selection .adv-img-container img {
    display: block;
    width: 100%;
    margin-bottom: 0;
}

#adv-agent-selection .adv-img-container img:not(:first-child) {
    margin-top: 24px;
}

.img-container-agent {
    position: relative;
    margin-bottom: 0;
}

.chat-bubble {
    position: absolute;
    background: rgba(230, 0, 126, 0.15);
    border: 1px solid rgba(230, 0, 126, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    max-width: 280px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.chat-bubble.bubble-1 {
    top: 20px;
    right: -140px;
    animation: fadeInUp 0.6s ease-out;
}

.chat-bubble.bubble-2 {
    bottom: 20px;
    right: -140px;
    animation: fadeInUp 0.8s ease-out;
}

.chat-bubble::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.chat-bubble.bubble-1::before {
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    border-width: 8px 8px 8px 0;
    border-color: transparent rgba(230, 0, 126, 0.3) transparent transparent;
}

.chat-bubble.bubble-2::before {
    bottom: 50%;
    left: -8px;
    transform: translateY(50%);
    border-width: 8px 8px 8px 0;
    border-color: transparent rgba(230, 0, 126, 0.3) transparent transparent;
}

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

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .chat-bubble.bubble-1,
    .chat-bubble.bubble-2 {
        right: -100px;
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .chat-bubble {
        max-width: 200px;
        font-size: 0.85rem;
        padding: 10px 14px;
        position: relative;
        right: auto !important;
        margin-top: 12px;
    }
    
    .chat-bubble.bubble-1 {
        top: auto;
    }
    
    .chat-bubble.bubble-2 {
        bottom: auto;
    }
    
    .chat-bubble::before {
        display: none;
    }
}

.app-screen {
    width: 100%;
    max-width: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: block;
}

/* ========================= */
/* New Visual Enhancements   */
/* ========================= */

/* Float Animation */
@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.float-image {
    animation: floatUpDown 6s ease-in-out infinite;
}

/* Glass Morphism Image Container */
.glass-image-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.glass-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}


/* Hover Zoom Effect */
.hover-zoom {
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.4s ease;
}

.hover-zoom:hover img {
    transform: scale(1.08);
}

/* Parallax Background */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* ========================= */
/* Index Hero Grid Pattern   */
/* ========================= */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(230, 0, 126, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230, 0, 126, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.6;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}


/* Enhanced Orbs */
.hero-orbs-enhanced .orb-4 {
    left: 40%;
    bottom: 10%;
    width: 380px;
    height: 380px;
    opacity: 0.22;
    animation-duration: 16s;
    background: radial-gradient(circle at 50% 50%, rgba(156, 39, 176, 0.6), rgba(230, 0, 126, 0.2) 50%, transparent 70%);
}

.hero-orbs-enhanced .hero-orb {
    filter: blur(28px);
}

/* ========================= */
/* About Card Icons          */
/* ========================= */
.about-card-icon {
    width: 100%;
    height: 80px;
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-card-icon svg {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}


/* ========================= */
/* Product Card Background   */
/* ========================= */
.product-card-with-bg {
    position: relative;
    overflow: hidden;
}

.product-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 0;
}

.product-card-with-bg:hover .product-card-bg {
    opacity: 0.22;
    transform: scale(1.05);
}

.product-card-content {
    position: relative;
    z-index: 1;
}



/* ========================= */
/* Product Hero Dashboard    */
/* ========================= */
.product-hero-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-hero-dashboard {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.product-hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* product-hero-stats-row responsive moved to Responsive Adjustments section */

/* ========================= */
/* Vision Hero Image         */
/* ========================= */
.vision-hero-with-image {
    position: relative;
}

.vision-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.25;
    background-size: cover;
    background-position: center right;
    pointer-events: none;
}

.vision-hero-with-image .vision-hero-bg {
    z-index: 1;
}

.vision-hero-with-image .vision-hero-overlay {
    z-index: 2;
}

.vision-hero-with-image .vision-hero-body {
    z-index: 3;
}


/* ========================= */
/* Vision Roadmap Background */
/* ========================= */
.vision-roadmap-with-image {
    position: relative;
    overflow: hidden;
}

.vision-roadmap-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
}

.vision-roadmap-with-image .container {
    position: relative;
    z-index: 1;
}

.vision-roadmap-with-image .step-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ========================= */
/* Product Page New Sections */
/* ========================= */

/* Solution Grid */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.solution-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    align-items: stretch;
    padding: 0;
    border-radius: 16px;
    background: transparent;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 320px;
    height: 100%;
}

.solution-card::before {
    display: none;
}

.solution-card::after {
    content: "↓";
    position: absolute;
    left: 50%;
    top: calc(50% - 12px);
    transform: translateX(-50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    z-index: 3;
    pointer-events: none;
    line-height: 1;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(230, 0, 126, 0.3);
}

.problem-section {
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    margin: 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    align-self: stretch;
    grid-row: 1;
    min-height: 140px;
    flex: 1;
}

.problem-section h3 {
    margin: 0 0 8px 0;
    color: rgba(255, 87, 87, 0.6);
    font-size: 1.15rem;
    font-weight: 600;
}

.problem-section p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
}

.solution-answer {
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(230, 0, 126, 0.3);
    border-radius: 12px;
    margin: 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    align-self: stretch;
    grid-row: 2;
    min-height: 140px;
    flex: 1;
}

.solution-answer h4 {
    margin: 0 0 8px 0;
    color: rgba(230, 0, 126, 0.95);
    font-size: 1.15rem;
    font-weight: 600;
}

.solution-answer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Interview Process */
.interview-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 300;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 0, 126, 0.4) 0%, rgba(79, 111, 214, 0.4) 100%);
    border: 2px solid rgba(230, 0, 126, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.95);
}

.process-step h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.process-step p {
    margin: 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* Evaluation Details */
.evaluation-details {
    margin-top: 32px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.evaluation-details h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

/* Dashboard Features */
.dashboard-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.dashboard-features .feature-card {
    padding: 8px;
}

.dashboard-features .feature-card h3 {
    font-size: 1.1rem;
    margin: 4px 0 6px;
    line-height: 1.3;
}

.dashboard-features .feature-card p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* ========================= */
/* Index Page New Sections   */
/* ========================= */

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    margin-bottom: 8px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Challenge Grid */
.challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.challenge-card {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.challenge-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.challenge-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.challenge-card p {
    margin: 0;
    line-height: 1.7;
}

/* Strengths Grid */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.strengths-grid-centered {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.strengths-grid .about-card {
    padding: 28px;
}

.strengths-grid .about-card h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.strengths-grid .about-card p {
    margin: 0;
    line-height: 1.7;
}

/* Case Studies Grid */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.case-study-card {
    padding: 36px;
}

.case-study-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.case-study-card .feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-study-card .feature-bullets li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    line-height: 1.7;
}

.case-study-card .feature-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.case-study-card .feature-bullets li strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ========================= */
/* Responsive Adjustments    */
/* ========================= */

/* Tablet breakpoint (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Hero title adjustments for tablet */
    .home-index .home-hero .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.8rem);
    }

    /* English hero title adjustment for tablet */
    html[lang="en"] .home-index .home-hero .hero-title {
        font-size: clamp(2rem, 4.5vw, 3.5rem);
    }

    /* Hero container responsive */
    .home-index .home-hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Hero content responsive */
    .home-index .home-hero .hero-content {
        max-width: 100%;
        padding-left: 0;
    }

    /* Hero title span - allow wrapping on tablet */
    html[lang="ja"] .home-index .home-hero .hero-title span {
        white-space: normal;
    }

    /* Hero section padding adjustment */
    .hero {
        padding-top: 70px;
        padding-bottom: 40px;
    }

    /* Hero kicker spacing */
    .home-index .home-hero .hero-kicker {
        margin-bottom: 12px;
    }

    /* Hero title spacing */
    .home-index .home-hero .hero-title {
        margin-bottom: 16px;
    }

    /* Hero lede responsive */
    .home-index .home-hero .hero-lede {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 24px;
    }

    /* Hero stats responsive */
    .hero-stats {
        gap: 28px;
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .hero-stats .stat-value {
        font-size: 2.4rem;
    }

    /* CTA group spacing */
    .cta-group {
        margin-top: 24px;
    }

    /* Challenge grid responsive */
    .challenge-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Case studies grid responsive */
    .case-studies-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    /* Strengths grid responsive */
    .strengths-grid {
        gap: 20px;
    }

    /* Strengths grid centered responsive */
    .strengths-grid-centered {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Product grid responsive */
    .home-index .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Solution grid responsive */
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Solution card responsive - 1 column layout */
    .solution-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
        min-height: auto;
    }

    .solution-card::before {
        display: none;
    }

    .solution-card::after {
        display: block;
        top: calc(50% - 10px);
    }

    .problem-section {
        min-height: auto;
    }

    .solution-answer {
        min-height: auto;
    }

    .problem-section {
        border-radius: 12px;
        margin-bottom: 0;
        padding: 24px 20px;
        grid-row: 1;
    }

    .solution-answer {
        grid-row: 2;
    }

    .problem-section h3 {
        font-size: 1.1rem;
    }

    .problem-section p {
        font-size: 0.9rem;
    }

    .solution-answer {
        border-radius: 12px;
        padding: 24px 20px;
    }

    .solution-answer h4 {
        font-size: 1.1rem;
    }

    .solution-answer p {
        font-size: 0.9rem;
    }

    /* Adv grid responsive - 2 column sections to 1 column */
    #adv-evaluation .adv-grid,
    #adv-agent .adv-grid,
    #adv-screener .adv-grid,
    #adv-agent-selection .adv-grid,
    #adv-transcription .adv-grid,
    #adv-scoring .adv-grid,
    #adv-dashboard .adv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Grid gap adjustments for tablet */
    .steps-grid,
    .agent-grid,
    .timeline {
        gap: 16px;
    }

    .home-index .about-grid,
    .home-index .how-grid,
    .home-index .compare-grid,
    .home-index .members-grid {
        gap: 16px;
    }

    /* Section padding adjustments for tablet */
    section {
        padding: 50px 0;
    }

    .home-index .home-band {
        padding: 70px 0;
    }

    .page-header {
        padding: 70px 0 35px;
    }

    .product-feature-grid,
    .product-proof,
    .product-adv,
    .product-competition {
        padding: 50px 0;
    }

    .product-problem,
    .product-diff {
        padding: 50px 0;
    }

    .product-cta {
        padding: 50px 0 70px;
    }

    /* Grid layouts: 3 columns -> 2 columns */
    .steps-grid,
    .agent-grid,
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Home index grids: 3 columns -> 2 columns */
    .home-index .about-grid,
    .home-index .how-grid,
    .home-index .compare-grid,
    .home-index .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Typography adjustments for tablet */
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }
}

/* Mobile breakpoint (max-width: 768px) */
@media (max-width: 768px) {
    /* Hero section height adjustment */
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 60px;
        padding-bottom: 40px;
        align-items: flex-start;
    }

    /* Hero container responsive */
    .home-index .home-hero .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Hero content responsive */
    .home-index .home-hero .hero-content {
        max-width: 100%;
        padding-left: 0;
        margin-top: 20px;
    }

    /* Hero title adjustments for mobile */
    .home-index .home-hero .hero-title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
        line-height: 1.15;
    }

    /* Hero title span - allow wrapping on mobile */
    html[lang="ja"] .home-index .home-hero .hero-title span {
        white-space: normal;
    }

    /* English hero section adjustments for mobile */
    html[lang="en"] .home-index .home-hero .hero-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        line-height: 1.2;
    }
    
    html[lang="en"] .home-index .home-hero .hero-lede {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Hero kicker spacing */
    .home-index .home-hero .hero-kicker {
        margin-bottom: 10px;
    }

    /* Hero title spacing */
    .home-index .home-hero .hero-title {
        margin-bottom: 14px;
    }

    /* Hero lede responsive */
    .home-index .home-hero .hero-lede {
        font-size: 0.9rem;
        line-height: 1.6;
        max-width: 100%;
        margin-bottom: 20px;
    }

    /* Hero stats responsive */
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .hero-stats .stat-value {
        font-size: 2.2rem;
    }

    .hero-stats .stat-label {
        font-size: 0.9rem;
    }

    /* CTA group spacing */
    .cta-group {
        margin-top: 20px;
    }

    /* Challenge grid responsive */
    .challenge-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Strengths grid responsive */
    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .strengths-grid-centered {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 18px;
    }

    /* Case studies grid responsive */
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Container padding adjustment */
    .container {
        padding: 0 16px;
    }

    /* Section padding adjustments for mobile */
    section {
        padding: 40px 0;
    }

    .home-index .home-band {
        padding: 60px 0;
    }

    .page-header {
        padding: 60px 0 30px;
    }

    .product-feature-grid,
    .product-proof,
    .product-adv,
    .product-competition {
        padding: 40px 0;
    }

    .product-problem,
    .product-diff {
        padding: 40px 0;
    }

    .product-cta {
        padding: 40px 0 60px;
    }

    /* Grid layouts: all to 1 column */
    .steps-grid,
    .agent-grid,
    .timeline,
    .diff-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-hero-stats-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Home index grids: all to 1 column */
    .home-index .about-grid,
    .home-index .product-grid,
    .home-index .how-grid,
    .home-index .compare-grid,
    .home-index .members-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Challenge grid gap adjustment */
    .challenge-grid {
        gap: 18px;
    }

    /* Solution grid gap adjustment */
    .solution-grid {
        gap: 18px;
    }

    /* Product hero responsive */
    .product-hero {
        padding: 80px 0 60px;
    }

    .product-hero-copy h1 {
        font-size: clamp(2rem, 5vw, 2.8rem);
        margin: 8px 0 16px;
    }

    .product-lede {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    .product-cta-row {
        gap: 10px;
        margin-top: 0;
    }

    /* Typography adjustments for mobile */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    /* Table responsive adjustments */
    .comparison-table {
        min-width: 100%;
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }

    .about-card-icon {
        height: 70px;
        margin-bottom: 10px;
    }

    .about-card-icon svg {
        width: 56px;
        height: 56px;
    }

    .float-image {
        animation-duration: 8s;
    }

    .glass-image-container {
        padding: 12px;
        border-radius: 16px;
    }
}

/* Small mobile breakpoint (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    section {
        padding: 30px 0;
    }

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .float-image {
        animation: none;
    }

    .hover-zoom:hover img {
        transform: none;
    }

    .product-card-with-bg:hover .product-card-bg {
        transform: none;
    }
}

/* Product Page Visual Enhancements */

/* Feature Icons (Images) */
.product-pillars .feature-card .feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

.product-pillars .feature-card .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.product-pillars .feature-card:hover .feature-icon img {
    transform: scale(1.1);
}

/* Steps Flow (TM Linkage) */
.steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 40px;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 15%;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0%,
            var(--primary-color) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    z-index: 0;
    transform: translateY(-50%);
}

.steps-grid .compare-card {
    position: relative;
    background: rgba(45, 27, 78, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    transition: transform 0.3s ease, border 0.3s ease;
}

/* Timeline (Global Language) */
.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin-left: 10px;
}

.timeline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -39px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--surface-color);
    border: 3px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.highlight::before {
    border-color: var(--primary-color);
    background: var(--primary-color);
    box-shadow: 0 0 12px rgba(230, 0, 126, 0.6);
}

/* Comparison Indicators (Index) */
.compare-pill.is-before::before {
    content: '✕';
    margin-right: 6px;
    font-weight: 900;
    opacity: 0.7;
    color: #ff4081;
}

.compare-pill.is-after::before {
    content: '✓';
    margin-right: 6px;
    font-weight: 900;
    color: #fff;
}

/* Responsive fixes for new visuals */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .steps-grid::before {
        display: none;
    }

    /* Product Page New Sections Responsive */
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .solution-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
        min-height: auto;
    }

    .solution-card::before {
        display: none;
    }

    .solution-card::after {
        display: block;
        top: calc(50% - 8px);
        font-size: 1.5rem;
    }

    .problem-section {
        min-height: auto;
    }

    .solution-answer {
        min-height: auto;
    }

    .problem-section {
        border: 2px solid rgba(255, 87, 87, 0.6);
        border-radius: 12px;
        margin-bottom: 0;
        width: 100%;
        height: auto;
        padding: 20px 16px;
        grid-row: 1;
    }

    .solution-answer {
        grid-row: 2;
    }

    .problem-section h3 {
        font-size: 1rem;
    }

    .problem-section p {
        font-size: 0.85rem;
    }

    .solution-answer {
        border: 2px solid rgba(230, 0, 126, 0.3);
        border-radius: 12px;
        width: 100%;
        height: auto;
        padding: 20px 16px;
    }

    .solution-answer h4 {
        font-size: 1rem;
    }

    .solution-answer p {
        font-size: 0.85rem;
    }

    .interview-process {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process-step:not(:last-child)::after {
        content: "↓";
        right: auto;
        top: auto;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .dashboard-features {
        grid-template-columns: 1fr;
    }
}

/* Home 'How it Works' Flow */
.home-index .how-grid {
    position: relative;
    padding-top: 40px;
}

.home-index .how-grid::before {
    content: '';
    position: absolute;
    top: 55%;
    left: 15%;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0%,
            var(--primary-color) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    z-index: 0;
    transform: translateY(-50%);
    opacity: 0.5;
}

@media (max-width: 900px) {
    .home-index .how-grid::before {
        display: none;
    }
}

/* Vision Page Enhancements */
.vision-panels .glass-card {
    position: relative;
    overflow: hidden;
}

.vision-panels .glass-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.vision-panels .glass-card.emphasis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}/* Fix for visibility/animation issues */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Fallback for Hero Title Visibility */
.home-index .home-hero .hero-title {
    /* Ensure text is visible by disabling background-clip text if it fails */
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    text-shadow: 0 3px 15px rgba(230, 0, 126, 0.5);
    /* Enhanced shadow for premium feel */
}

/* Ensure spans are visible */
.home-index .home-hero .hero-title span {
    opacity: 1;
    /* Default to visible */
    mix-blend-mode: normal;
}/* Visual Enhancements for Challenges & Strengths */

/* Challenge Icons */
.challenge-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.challenge-icon img {
    width: 100px;
    /* Slightly larger for impact */
    height: auto;
    filter: drop-shadow(0 0 20px rgba(230, 0, 126, 0.4));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.challenge-card:hover .challenge-icon img {
    transform: scale(1.1) translateY(-5px);
}

/* Strength Icons */
.strength-icon {
    display: flex;
    justify-content: center;
    /* Center icon in card */
    margin-bottom: 1.2rem;
}

.strength-icon img {
    width: 72px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(156, 39, 176, 0.4));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-card:hover .strength-icon img {
    transform: scale(1.1) rotate(3deg);
}

/* Ensure text in these cards is centered to match icons */
.challenge-card h3,
.challenge-card p,
.strengths-grid .card h3,
.strengths-grid .card p {
    text-align: center;
}

/* Improve grid spacing for Strengths */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}/* Product Page Redesign - Simple & Stylish Hero */

/* Override Grid with Flex Column for Centered Layout */
.product-hero-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 50px !important;
    padding-top: 40px;
}

.centered-hero {
    max-width: 860px;
    margin: 0 auto;
    z-index: 10;
}

.product-hero-copy h1.product-title-ja {
    font-size: clamp(3rem, 6vw, 4.8rem) !important;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ff6bb3 0%, #ff4da6 50%, #e6007e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.product-hero-copy .product-lede {
    margin-bottom: 32px;
    margin-left: 0;
    margin-right: 0;
    max-width: 720px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
}

.centered-cta {
    justify-content: center !important;
    margin-top: 10px;
}

.product-hero-copy .product-cta-row {
    justify-content: flex-start;
}

.product-hero-visual.simple-visual {
    width: 100%;
    max-width: 600px;
    display: block !important;
    margin: 0 auto;
    perspective: 1000px;
}

.product-hero-visual.simple-visual .glass-image-container {
    max-width: 600px;
    margin: 0 auto;
}

.product-hero-dashboard {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: rotateX(2deg);
    transition: transform 0.5s ease;
}

.product-hero-visual:hover .product-hero-dashboard {
    transform: rotateX(0deg) scale(1.01);
}

/* Enhancements for Feature Sections */
.adv-img-container img.app-screen {
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.4s;
}

.delay-4 {
    animation-delay: 0.6s;
}

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