/*
Theme Name: YOWAN AIO Theme
Theme URI: 
Author: YOWAN AIO
Author URI: 
Description: A custom WordPress theme for the YOWAN AIO Landing Page.
Version: 1.0.0
Text Domain: yowan-aio
*/

:root {
  --c-primary: #0052cc;
  --c-primary-dark: #0747a6;
  --c-primary-light: #e6f0ff;
  --c-accent: #ff5630;
  --c-text-main: #172b4d;
  --c-text-muted: #5e6c84;
  --c-bg-light: #f4f5f7;
  --c-bg-dark: #091e42;
  --c-white: #ffffff;
  --font-base: 'Noto Sans JP', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-base); color: var(--c-text-main); line-height: 1.6; background: var(--c-bg); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Utilities */
.l-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.l-container--narrow { max-width: 800px; }
.p-section { padding: 80px 0; }
.u-bg-gray { background-color: var(--c-bg-light); }
.u-bg-dark { background-color: var(--c-bg-dark); color: var(--c-white); }
.u-text-blue { color: var(--c-primary); }
.u-text-red { color: var(--c-accent); }
.u-text-white { color: var(--c-white); }
.u-text-muted { color: var(--c-text-muted); }
.u-text-bold { font-weight: 700; }
.u-text-center { text-align: center; }
.u-margin-bottom-sm { margin-bottom: 16px; }
.u-margin-bottom-md { margin-bottom: 32px; }
.u-margin-bottom-lg { margin-bottom: 48px; }
.u-margin-top-md { margin-top: 32px; }
.u-opacity-80 { opacity: 0.8; }
.u-font-normal { font-weight: 400; }

/* Typography */
.c-heading { line-height: 1.3; font-weight: 900; letter-spacing: -0.02em; }
.c-heading--center { text-align: center; font-size: 2.25rem; }
.c-heading--small { font-size: 1.5rem; margin-bottom: 16px; }
.c-text { font-size: 1rem; color: var(--c-text-muted); margin-bottom: 16px; }
.u-bg-dark .c-text { color: #a5adba; }

/* Buttons */
.c-button {
  display: inline-flex; align-items: flex-start; justify-content: center;
  font-weight: 700; border-radius: 6px; transition: all 0.3s;
  cursor: pointer;
}
.c-button--small { padding: 10px 20px; font-size: 0.9rem; border: 1px solid var(--c-primary); color: var(--c-primary); }
.c-button--small:hover { background: var(--c-primary); color: var(--c-white); }
.c-button--primary { background: var(--c-primary); color: var(--c-white); box-shadow: 0 4px 14px rgba(0,82,204,0.3); }
.c-button--primary:hover { background: var(--c-primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,82,204,0.4); }
.c-button--large { padding: 16px 40px; font-size: 1.1rem; }
.c-button--huge { padding: 20px 60px; font-size: 1.25rem; border-radius: 40px; }

/* Badges */
.c-badge { display: inline-block; padding: 4px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; }
.c-badge--blue { background: var(--c-primary-light); color: var(--c-primary-dark); }

/* Header */
.l-header { position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid #dfe1e6; z-index: 100; }
.l-header__inner { max-width: 1080px; margin: 0 auto; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.l-header__brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.l-header__logo { display: flex; align-items: center; text-decoration: none; }
.l-header__logo-img { height: 48px; width: auto; object-fit: contain; }
.l-header__tagline { font-size: 0.9rem; font-weight: 700; color: var(--c-text-muted); white-space: nowrap; display: flex; align-items: center; gap: 8px; }

/* Hero */
.p-hero { padding: 100px 0; background: linear-gradient(135deg, #f4f5f7 0%, #ffffff 100%); border-bottom: 1px solid #ebecf0; overflow: hidden; }
.p-hero__container { display: flex; align-items: flex-start; gap: 40px; }
.p-hero__content { flex: 1; text-align: left; }
.p-hero__image { flex: 1; position: relative; perspective: 1000px; }
.p-hero__image img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); transform: rotateY(-5deg); transition: transform 0.5s; }
.p-hero__image img:hover { transform: rotateY(0deg); }
.p-hero__label { display: inline-block; background: var(--c-accent); color: var(--c-white); padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; margin-bottom: 24px; letter-spacing: 0.05em; }
.p-hero__catch { font-size: 3.2rem; font-weight: 900; line-height: 1.3; margin-bottom: 24px; letter-spacing: -0.03em; }
.p-hero__subcopy { font-size: 1.15rem; color: var(--c-text-muted); margin-bottom: 40px; line-height: 1.7; }

/* Problem (あるある) */
.p-problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.c-problem-card { background: var(--c-bg); padding: 40px 30px; border-radius: 12px; text-align: center; border-top: 4px solid var(--c-accent); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.c-problem-card__image { width: 100px; height: 100px; margin: 0 auto 24px; border-radius: 50%; overflow: hidden; background: var(--c-bg-light); }
.c-problem-card__image img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: grayscale(100%); }
.c-problem-card__text { font-weight: 700; font-size: 1.1rem; }

/* Agitation */
.p-agitation__content { background: #f8fafc; border: 1px solid #e2e8f0; padding: 40px; border-radius: 12px; }
.p-agitation__content .c-text { color: #1a202c; }

/* Concept Triangle */
.p-concept-triangle { position: relative; max-width: 800px; height: 580px; margin: 60px auto 0; }
.c-triangle-bg { position: absolute; top: 15%; left: 20%; width: 60%; height: 60%; z-index: 1; overflow: visible; }
.c-triangle-step { display: block; position: absolute; width: 260px; background: var(--c-bg); border: 2px solid var(--c-primary-light); padding: 30px 20px; border-radius: 12px; text-align: center; box-shadow: 0 10px 30px rgba(0,82,204,0.08); z-index: 2; transition: transform 0.3s, border-color 0.3s; text-decoration: none; }
.c-triangle-step:hover { transform: translateY(-5px); border-color: var(--c-primary); }
.c-triangle-step__image { width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: var(--c-bg); box-shadow: 0 4px 10px rgba(0,82,204,0.1); display: flex; align-items: flex-start; justify-content: center; }
.c-triangle-step__image svg { width: 100%; height: 100%; object-fit: contain; }
.c-triangle-step--top { top: 0; left: 50%; transform: translateX(-50%); }
.c-triangle-step--top:hover { transform: translate(-50%, -5px); }
.c-triangle-step--left { bottom: 0; left: 0; }
.c-triangle-step--right { bottom: 0; right: 0; }
.c-triangle-step__number { font-size: 0.85rem; color: var(--c-primary); font-weight: 900; margin-bottom: 8px; letter-spacing: 0.1em; }
.c-triangle-step__title { font-size: 1.5rem; font-weight: 900; margin-bottom: 12px; color: var(--c-text-main); }
.c-triangle-step__desc { font-size: 0.95rem; color: var(--c-text-muted); font-weight: 600; }

/* Service Detail */
.c-service-detail { display: flex; align-items: flex-start; gap: 60px; padding: 60px 0; border-bottom: 1px solid #ebecf0; }
.c-service-detail:last-child { border-bottom: none; }
.c-service-detail--reverse { flex-direction: row-reverse; }
.c-service-detail__content { flex: 1; }
.c-service-detail__image { flex: 1; }
.c-service-detail__image img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* Impact Section */
.p-impact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.c-impact-card { background: var(--c-bg); padding: 40px 30px; border-radius: 12px; border: 1px solid #ebecf0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s; }
.c-impact-card:hover { transform: translateY(-5px); }
.c-impact-card__image { width: 120px; height: 120px; margin: 0 auto 24px; border-radius: 50%; overflow: hidden; background: var(--c-bg-light); }
.c-impact-card__image img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: grayscale(100%) contrast(1.2); transition: filter 0.3s; }
.c-impact-card:hover .c-impact-card__image img { filter: grayscale(0%) contrast(1.1); }
.c-impact-card__title { font-size: 1.3rem; font-weight: 900; color: var(--c-primary); margin-bottom: 8px; }
.c-impact-card__source { font-size: 0.8rem; color: var(--c-accent); font-weight: 700; margin-bottom: 16px; background: rgba(255,86,48,0.1); display: inline-block; padding: 4px 12px; border-radius: 20px; }
.c-impact-card__desc { font-size: 0.95rem; text-align: left; color: var(--c-text-muted); line-height: 1.7; }

/* Compare Grid */
.p-compare-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.p-compare-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; align-items: flex-start; }
.p-compare-row--header { margin-bottom: 8px; align-items: flex-end; }
.p-compare-cell { padding: 24px; border-radius: 12px; background: var(--c-bg); text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.03); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; border: 1px solid #ebecf0; }
.p-compare-cell--label { background: transparent; box-shadow: none; border: none; align-items: flex-start; text-align: left; flex-direction: row; gap: 16px; justify-content: flex-start; padding: 0 24px; }
.p-compare-cell--label svg { width: 32px; height: 32px; fill: var(--c-primary); flex-shrink: 0; }
.p-compare-cell--label span { font-weight: 900; font-size: 1.1rem; color: var(--c-primary-dark); }
.p-compare-cell--bad { background: #f8f9fa; border: 1px solid #e0e0e0; }
.p-compare-cell--good { background: rgba(255,86,48,0.05); border: 2px solid var(--c-accent); position: relative; }
.p-compare-header-title { font-weight: 900; font-size: 1.2rem; color: var(--c-primary-dark); margin-top: 12px; }
.p-compare-cell span { font-weight: 700; line-height: 1.5; color: var(--c-text); }
.c-icon-check { width: 28px; height: 28px; fill: var(--c-accent); margin-bottom: 12px; }
.c-icon-cross { width: 24px; height: 24px; fill: #9e9e9e; margin-bottom: 12px; }
.c-badge--gray { background: #e0e0e0; color: #555; display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }
.c-badge--orange { background: var(--c-accent); color: var(--c-white); display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }

/* Proof Grid */
.p-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.c-proof-card { background: var(--c-bg); padding: 40px; border-radius: 12px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.c-proof-card__number { font-size: 3.5rem; font-weight: 900; color: var(--c-primary); line-height: 1; margin-bottom: 16px; }
.c-proof-card__unit { font-size: 1.25rem; font-weight: 700; }
.c-proof-card__text { font-weight: 700; color: var(--c-text-muted); }

/* Checklist */
.p-checklist { background: var(--c-primary-light); padding: 60px; border-radius: 12px; }
.p-checklist__title { text-align: center; font-size: 1.75rem; font-weight: 900; color: var(--c-primary-dark); margin-bottom: 32px; }
.p-checklist__list { list-style: none; }
.p-checklist__list li { font-size: 1.25rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 16px; background: var(--c-bg); padding: 20px; border-radius: 8px; }
.p-checklist__list .icon-check { color: var(--c-primary); font-size: 1.5rem; }

/* Process */
.p-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.c-process-step { background: var(--c-bg); padding: 30px 20px; border-radius: 8px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: relative; }
.c-process-step__num { width: 40px; height: 40px; background: var(--c-primary); color: var(--c-white); border-radius: 50%; display: flex; align-items: flex-start; justify-content: center; font-weight: 900; margin: 0 auto 16px; font-size: 1.25rem; }
.c-process-step__title { font-weight: 900; font-size: 1.1rem; margin-bottom: 8px; }

/* FAQ */
.c-faq-item { border: 1px solid #ebecf0; margin-bottom: 16px; border-radius: 8px; overflow: hidden; background: var(--c-bg); }
.c-faq-item__q { padding: 24px; font-weight: 700; font-size: 1.1rem; cursor: pointer; position: relative; padding-right: 50px; }
.c-faq-item__q::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--c-primary); transition: transform 0.3s; }
details[open] .c-faq-item__q::after { transform: translateY(-50%) rotate(45deg); }
.c-faq-item__q::-webkit-details-marker { display: none; }
.c-faq-item__q { list-style: none; }
.c-faq-item__a { padding: 0 24px 24px; color: var(--c-text-muted); line-height: 1.6; }

/* CTA Section */
.p-cta { background: var(--c-bg-dark); color: var(--c-white); text-align: center; padding: 100px 0; }
.p-cta__title { font-size: 2.5rem; font-weight: 900; margin-bottom: 24px; line-height: 1.3; }
.p-cta__text { font-size: 1.1rem; color: #a5adba; margin-bottom: 40px; }

/* Footer */
.l-footer { text-align: center; padding: 40px 0; border-top: 1px solid #ebecf0; color: var(--c-text-muted); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
  .p-hero__container { flex-direction: column; text-align: center; }
  .p-hero__content { text-align: center; }
  .p-hero__catch { font-size: 2.25rem; }
  .p-hero__image img { transform: none; }
  .p-problem__grid, .p-proof-grid, .p-process, .p-impact__grid { grid-template-columns: 1fr; flex-direction: column; }
  .p-concept-triangle { height: auto; display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
  .c-triangle-step { position: relative; width: 100%; top: auto; left: auto; right: auto; bottom: auto; transform: none; }
  .c-triangle-step:hover { transform: none; }
  .c-triangle-bg { display: none; }
  .c-service-detail { flex-direction: column; gap: 30px; text-align: center; }
  .p-cta__title { font-size: 1.75rem; }
  .p-checklist__list li { font-size: 1rem; }
}
@media (max-width: 900px) {
  .p-compare-row { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
  .p-compare-cell--label { grid-column: span 2; padding: 16px 0 8px 0; justify-content: center; text-align: center; }
  .p-compare-row--header { margin-bottom: 0; }
  .p-compare-row--header .p-compare-cell--label { display: none; }
  .p-compare-header-title { font-size: 1rem; }
  .p-compare-cell { padding: 16px 12px; }
  .p-compare-cell span { font-size: 0.9rem; }
}

/* Synergy Block */
.c-synergy-block { display: flex; align-items: flex-start; gap: 60px; background: #fafbfc; border-radius: 20px; padding: 40px 60px; box-shadow: 0 10px 40px rgba(0,0,0,0.04); }
.c-synergy-block__image { flex: 1; text-align: center; }
.c-synergy-block__image img { max-width: 100%; height: auto; max-height: 420px; mix-blend-mode: multiply; }
.c-synergy-block__content { flex: 1; }
@media (max-width: 900px) {
  .c-synergy-block { flex-direction: column; padding: 32px 24px; gap: 24px; text-align: center; }
  .c-synergy-block__image img { max-height: 280px; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-7px); }
}

/* Synergy Banner */
.c-synergy-banner {
    background: url('/synergy_meeting.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 100px 0;
    margin: 0;
    color: white;
}
.c-synergy-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 10, 30, 0.75); /* Dark overlay to make text pop */
}
.c-synergy-banner__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.c-synergy-banner__title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin: 24px 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    color: white;
}
.c-synergy-banner__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
@media (max-width: 900px) {
    .c-synergy-banner { padding: 60px 0; }
    .c-synergy-banner__title { font-size: 1.8rem; }
    .c-synergy-banner__text { font-size: 1rem; text-align: left; }
}

/* Updated Triangle Styles */
.c-triangle-bg { opacity: 0.6; }
.c-triangle-line-anim {
    animation: dashRotate 30s linear infinite;
}
@keyframes dashRotate {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 1000; }
}
.c-triangle-step {
    border: none !important;
    background: rgba(255,255,255,0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 82, 204, 0.15) !important;
}
.c-triangle-step::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    z-index: -1;
    border-radius: 14px;
    opacity: 0.1;
    transition: opacity 0.3s;
}
.c-triangle-step:hover::before {
    opacity: 0.3;
}
.c-triangle-step__image-wrap {
    width: 100px;
    height: 100px;
    margin: -50px auto 20px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    background: white;
}
.c-triangle-step__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.c-triangle-step__number {
    display: inline-block;
    background: rgba(0, 82, 204, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Cycle Animation */
.c-cycle-bg {
    transform-origin: center;
    animation: rotateCycle 20s linear infinite;
    opacity: 0.8;
}
@keyframes rotateCycle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .u-hidden-sm { display: none !important; }
}

/* Accordion details */
details.c-accordion {
    cursor: pointer;
    transition: all 0.3s ease;
}
details.c-accordion summary {
    list-style: none;
    position: relative;
    outline: none;
}
details.c-accordion summary::-webkit-details-marker {
    display: none;
}
details.c-accordion[open] {
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.15);
    border-color: var(--c-primary);
}
.c-problem-card__summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.c-accordion__icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--c-primary);
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.c-accordion__icon::before {
    content: '+';
}
details[open] .c-accordion__icon {
    background: var(--c-primary);
    color: white;
    transform: rotate(45deg);
}
.c-problem-card__detail {
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--c-text);
    text-align: left;
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Image Comparison Slider */
.c-image-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.15);
}
.c-image-slider__images {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}
.c-image-slider__before, .c-image-slider__after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.c-image-slider__after {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}
.c-image-slider__handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--c-bg);
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.c-image-slider__handle::after {
    content: '⇔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: var(--c-primary);
    color: white;
    border-radius: 50%;
    border: 3px solid white;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}
.c-image-slider__range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}
.c-image-slider__labels {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
}
.c-image-slider__label {
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.p-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
@media (max-width: 900px) {
    .p-hero__actions {
        align-items: flex-start;
    }
}

/* Slider Overrides for intuitive Before/After */
.c-image-slider__after {
    clip-path: none !important;
    z-index: 1;
}
.c-image-slider__before {
    z-index: 2;
    /* clip-path will be set by inline JS */
}
.c-image-slider__handle {
    z-index: 3;
}
.c-image-slider__labels {
    position: absolute;
    top: 12px;
    bottom: auto;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
}
.c-image-slider__label {
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255,255,255,0.3);
    text-transform: uppercase;
}
.c-image-slider__label--before {
    color: #ff9f9f;
}
.c-image-slider__label--after {
    color: #9fdf9f;
}

/* Before/After Arrow UI */
.c-before-after {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}
.c-before-after__item {
    min-width: 0;

    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.c-before-after__item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.c-before-after__label {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}
.c-before-after__label--before { color: #ff9f9f; }
.c-before-after__label--after { color: #9fdf9f; }
.c-before-after__arrow {
    flex: 0 0 32px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--c-primary);
    background: var(--c-bg);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.c-before-after__arrow svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
@media (max-width: 900px) {
    .c-before-after {
        flex-direction: column;
        gap: 12px;
    }
    .c-before-after__arrow {
        transform: rotate(90deg);
        margin: 0 auto;
    }
}

/* Column Section */
.p-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.c-column-card {
    display: block;
    background: var(--c-white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--c-text);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.c-column-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.c-column-card__image {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.c-column-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.c-column-card:hover .c-column-card__image img {
    transform: scale(1.05);
}
.c-column-card__content {
    padding: 24px;
}
.c-column-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.85rem;
}
.c-column-card__category {
    background: var(--c-primary-light);
    color: var(--c-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
}
.c-column-card__date {
    color: var(--c-text-muted);
}
.c-column-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

/* Article Styles (column.html) */
.p-article {
    background: var(--c-white);
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.p-article__header {
    margin-bottom: 40px;
}
.p-article__title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 24px;
}
.p-article__hero img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.p-article__body h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--c-border);
    padding-bottom: 12px;
    margin: 40px 0 20px;
}
.p-article__body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--c-text-muted);
    margin-bottom: 24px;
}
.p-article__solution-box {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
}
.p-article__solution-box h3 {
    color: var(--c-primary);
    font-size: 1.3rem;
    margin-bottom: 16px;
    text-align: center;
}
.p-article__solution-box p {
    color: var(--c-text);
}
@media (max-width: 768px) {
    .p-article { padding: 24px; }
    .p-article__title { font-size: 1.5rem; }
    .p-article__solution-box { padding: 24px; }
}

/* Hero Split Layout */
.p-hero-split {
    padding: 60px 0 80px;
    background: var(--c-bg);
    overflow: hidden;
}
.p-hero-split__container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}
.p-hero-split__content {
    flex: 1;
    min-width: 0;
}
.p-hero-split__title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--c-text);
    font-family: 'Noto Serif JP', serif;
}
.p-hero-split__lead {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--c-primary);
}
.p-hero-split__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.p-hero-split__list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-text);
}
.p-hero-split__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--c-primary);
    border-radius: 50%;
}
.p-hero-split__desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--c-text-muted);
}
.p-hero-split__cta {
    background: var(--c-white);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid var(--c-accent);
    text-align: center;
}
.p-hero-split__cta-badge {
    color: var(--c-accent);
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 8px;
}
.p-hero-split__cta-note {
    font-size: 0.9rem;
    color: var(--c-text-muted);
}
.p-hero-split__image {
    flex: 1;
    position: relative;
}
.p-hero-split__image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    object-fit: cover;
    aspect-ratio: 4/3;
}

@media (max-width: 900px) {
    .p-hero-split {
        padding: 100px 0 40px;
    }
    .p-hero-split__container {
        flex-direction: column-reverse;
        gap: 40px;
    }
    .p-hero-split__title {
        font-size: 2.5rem;
    }
}

.c-footer-link { color: var(--c-text-muted); text-decoration: none; transition: color 0.3s; }
.c-footer-link:hover { color: var(--c-primary); text-decoration: underline; }

/* Additional Styles for Refactored LP */
.p-demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.c-demo-card {
    background: var(--c-white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.c-demo-card__visual {
    margin-bottom: 24px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
}
.c-demo-visual-mock {
    width: 100%;
    height: 100%;
}
.c-demo-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.c-demo-card__text {
    font-size: 0.95rem;
    color: var(--c-text-muted);
}

.p-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.c-process-item {
    background: var(--c-white);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.c-process-item__step {
    color: var(--c-accent);
    font-weight: 900;
    font-size: 1.25rem;
    margin-bottom: 16px;
}
.c-process-item__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.c-process-item__desc {
    font-size: 0.95rem;
    color: var(--c-text-muted);
}

/* Form Styles */
.c-form__group {
    margin-bottom: 20px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}
.c-form__label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.05rem;
}
.c-form__required {
    background: var(--c-accent);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}
.c-form__optional {
    background: var(--c-text-muted);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}
.c-form__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #ffffff;
}
.c-form__input:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.1);
}
.c-form__policy {
    text-align: center;
    margin: 32px 0;
}

/* Fix Header Menu Layout */
.l-header__nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.l-header__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 18px;
}
.l-header__menu a {
    text-decoration: none;
    color: var(--c-text);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.3s;
}
.l-header__menu a:hover {
    color: var(--c-primary);
}
.l-header__nav .c-button {
    white-space: nowrap;
}

/* Problem Cards adjustments */
.p-problem__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.c-problem-card {
    background: var(--c-white);
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid var(--c-accent);
}
.c-problem-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--c-text);
}
.c-problem-card__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--c-text-muted);
}

/* Accordion Problem Cards */
.c-accordion {
    border-top: none;
    padding: 0;
    overflow: hidden;
}
.c-problem-card__summary {
    list-style: none;
    cursor: pointer;
    display: block;
}
.c-problem-card__summary::-webkit-details-marker {
    display: none;
}
.c-problem-card__image {
    width: 100%;
    height: 180px;
    background: var(--c-bg-light);
}
.c-problem-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.c-problem-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px;
    background: var(--c-white);
}
.c-problem-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--c-text);
    text-align: left;
    flex: 1;
}
.c-accordion__icon {
    position: relative;
    width: 24px;
    height: 24px;
    margin-left: 16px;
    flex-shrink: 0;
}
.c-accordion__icon::before,
.c-accordion__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--c-primary);
    transition: transform 0.3s;
}
.c-accordion__icon::before {
    width: 16px;
    height: 2px;
}
.c-accordion__icon::after {
    width: 2px;
    height: 16px;
}
details[open] .c-accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.c-problem-card__detail {
    padding: 0 24px 24px 24px;
    background: var(--c-white);
    text-align: left;
    border-top: 1px dashed var(--c-border);
    margin-top: -1px; /* overlap border */
}
.c-problem-card__detail p {
    margin-top: 16px;
}

/* Legal Document Styles */
.p-doc {
    padding: 80px 0;
    background: var(--c-bg);
}
.p-doc__container {
    max-width: 860px;
    background: var(--c-white);
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.p-doc__title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--c-text);
    border-bottom: 2px solid var(--c-primary);
    padding-bottom: 16px;
}
.p-doc__date {
    text-align: right;
    color: var(--c-text-muted);
    margin-bottom: 40px;
}
.p-doc h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 48px 0 24px;
    color: var(--c-primary);
    padding-left: 16px;
    border-left: 4px solid var(--c-primary);
}
.p-doc p, .p-doc li {
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--c-text);
}
.p-doc ol, .p-doc ul {
    margin-bottom: 24px;
    padding-left: 24px;
}
.p-doc__table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
}
.p-doc table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.p-doc th, .p-doc td {
    padding: 16px;
    border: 1px solid var(--c-border);
    text-align: left;
}
.p-doc th {
    background: var(--c-bg-gray);
    font-weight: 700;
    white-space: nowrap;
}
.p-doc a {
    color: var(--c-primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .p-doc { padding: 40px 0; }
    .p-doc__container { padding: 32px 24px; }
    .p-doc__title { font-size: 1.5rem; }
    .p-doc h2 { font-size: 1.25rem; }
}


/* Full-width Hero Layout */
.p-hero-full {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-start;
    padding: 60px 0;
    overflow: hidden;
}
.p-hero-full__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.p-hero-full__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Create a gradient that is darker on the right side so the white text box pops, but lets the bear on the left show clearly */
    background: linear-gradient(to left, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    z-index: 1;
}
.p-hero-full__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: flex-end; /* Text on the right */
}
.p-hero-full__content {
    max-width: 580px;
    background: rgba(255,255,255,0.9);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    backdrop-filter: blur(12px);
}
@media (max-width: 900px) {
    .p-hero-full__container {
        justify-content: center;
    }
    .p-hero-full__overlay {
        background: rgba(255,255,255,0.6);
    }
    .p-hero-full__content {
        padding: 32px;
        margin-top: 200px; /* Leave space for the bear at the top */
    }
}
@media (max-width: 600px) {
    .p-hero-full {
        min-height: auto;
        padding-bottom: 40px;
    }
    .p-hero-full__content {
        margin-top: 150px;
        padding: 24px;
        background: rgba(255,255,255,0.95);
    }
    .p-hero-split__title {
        font-size: 2rem !important;
    }
}

/* 3:1 Hero Layout */
.p-hero-3to1 {
    display: flex;
    flex-wrap: wrap;
    min-height: calc(100vh - 93px); /* 100vh minus header */
}
.p-hero-3to1__visual {
    width: 75%;
    position: relative;
    background: #000;
}
.p-hero-3to1__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.p-hero-3to1__content {
    width: 25%;
    background: var(--c-primary);
    color: var(--c-white);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 2;
}
.p-hero-catchy-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.p-hero-catchy-title span {
    color: #ffea00; /* Catchy yellow */
}
.p-hero-catchy-desc {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}
.p-hero-catchy-campaign {
    background: var(--c-white);
    color: var(--c-text);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    border: 3px solid #ffea00;
}
.p-hero-catchy-campaign::before {
    content: 'BIG CHANCE!';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-accent);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 0.85rem;
    white-space: nowrap;
}
.p-hero-catchy-campaign .badge {
    color: var(--c-accent);
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.p-hero-catchy-campaign .price {
    font-weight: 900;
    font-size: 1.2rem;
}
.p-hero-catchy-btn {
    background: #00e676;
    color: #000;
    font-size: 1.25rem;
    font-weight: 900;
    text-align: center;
    padding: 20px 16px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 0 #00b35c, 0 10px 20px rgba(0,0,0,0.3);
    transition: all 0.2s;
    animation: pulseBtn 2s infinite;
}
.p-hero-catchy-btn::after {
    content: '▶';
    font-size: 1rem;
}
.p-hero-catchy-btn:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #00b35c, 0 4px 10px rgba(0,0,0,0.2);
    animation: none;
}
@keyframes pulseBtn {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@media (max-width: 1200px) {
    .p-hero-3to1__visual { width: 65%; }
    .p-hero-3to1__content { width: 35%; }
}
@media (max-width: 900px) {
    .p-hero-3to1__visual { width: 100%; height: 50vh; }
    .p-hero-3to1__content { width: 100%; padding: 60px 24px; }
}

/* Update campaign colors in hero */
.p-hero-catchy-campaign {
    background: #ffffff !important;
    border: 4px solid #ff0055 !important;
    box-shadow: 0 8px 24px rgba(255, 0, 85, 0.4) !important;
}
.p-hero-catchy-campaign .badge {
    color: #ff0055 !important;
    text-shadow: none !important;
    font-size: 1.25rem !important;
    letter-spacing: 0.05em;
}
.p-hero-catchy-campaign .price {
    color: #000000 !important;
    text-shadow: none !important;
}
.p-hero-catchy-campaign::before {
    background: #ffea00 !important;
    color: #000 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

/* Horizontal Problem Row (Maison 90 degree style) */
.c-problem-row {
    background: #ffffff;
    border: 1px solid #fce8e6; /* Soft pinkish/orange border like the screenshot */
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.c-problem-row:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.c-problem-row__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none; /* Hide default triangle */
    padding: 0;
    position: relative;
    min-height: 140px;
}
.c-problem-row__summary::-webkit-details-marker {
    display: none;
}
.c-problem-row__text-wrap {
    padding: 32px 40px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}
.c-problem-row__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.6;
    margin: 0;
}
.c-problem-row__plus {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--c-bg-gray);
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.c-problem-row__plus::before, .c-problem-row__plus::after {
    content: '';
    position: absolute;
    background: var(--c-text-muted);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.c-problem-row__plus::before {
    width: 12px;
    height: 2px;
}
.c-problem-row__plus::after {
    width: 2px;
    height: 12px;
}
details[open] .c-problem-row__plus {
    transform: rotate(45deg);
}

.c-problem-row__img {
    height: 140px;
    width: 200px;
    object-fit: cover;
    mix-blend-mode: multiply; /* Makes white background transparent */
    filter: grayscale(100%);
    opacity: 0.8;
}

.c-problem-row__detail {
    padding: 0 40px 32px;
    border-top: 1px dashed #eee;
    margin-top: 0;
    animation: slideDown 0.3s ease-out;
}
.c-problem-row__detail p {
    font-size: 1rem;
    color: var(--c-text-muted);
    line-height: 1.6;
    margin-top: 24px;
}
@media (max-width: 600px) {
    .c-problem-row__summary {
        flex-direction: column-reverse;
        align-items: flex-end;
    }
    .c-problem-row__img {
        width: 120px;
        height: 100px;
        margin-right: 20px;
        margin-top: 20px;
    }
    .c-problem-row__text-wrap {
        padding: 20px;
        width: 100%;
        justify-content: space-between;
    }
    .c-problem-row__title {
        font-size: 1.1rem;
    }
    .c-problem-row__detail {
        padding: 0 20px 20px;
    }
}

/* Comparison Story Section */
.p-comparison__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 60px 0 40px;
}
.p-comparison__card {
    background: #fff;
    border-radius: 16px;
    padding: 48px 32px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    border-top: 8px solid #cbd5e1;
}
.p-comparison__card--b {
    border-top-color: var(--c-primary);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.1);
}
.p-comparison__badge {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: #94a3b8;
    color: #fff;
    padding: 8px 40px;
    border-radius: 30px;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    border: 4px solid var(--c-bg-gray);
}
.p-comparison__badge--primary {
    background: var(--c-primary);
}
.p-comparison__quote {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0 0 32px;
    color: var(--c-text);
}
.p-comparison__card--b .p-comparison__quote {
    color: var(--c-primary);
}
.p-comparison__dialog {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}
.p-comparison__dialog-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.p-comparison__dialog-row:last-child {
    margin-bottom: 0;
}
.p-comparison__dialog-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    flex-shrink: 0;
}
.p-comparison__dialog-icon--boss {
    background: #dbeafe;
    color: var(--c-primary);
}
.p-comparison__dialog-text {
    background: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    flex-grow: 1;
}
.p-comparison__dialog-text::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -6px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    transform: rotate(45deg);
}
.p-comparison__summary {
    font-weight: 700;
    line-height: 1.7;
    color: var(--c-text);
    text-align: center;
}
.p-comparison__card--a .p-comparison__summary {
    color: #64748b;
}
.p-comparison__conclusion {
    text-align: center;
    margin-top: 60px;
    padding: 48px 32px;
    background: #fff;
    border-radius: 16px;
    border: 3px solid var(--c-primary);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
}
.p-comparison__conclusion-lead {
    font-size: 1.25rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 16px;
}
.p-comparison__conclusion-question {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 32px;
    color: #ef4444; /* red/pink for contrast */
}
.p-comparison__conclusion-message {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 900px) {
    .p-comparison__grid {
        grid-template-columns: 1fr;
        gap: 56px;
        margin-top: 60px;
    }
}
@media (max-width: 600px) {
    .p-comparison__conclusion-message {
        font-size: 1.15rem;
    }
    .p-comparison__conclusion-question {
        font-size: 1.4rem;
    }
}

/* 4-Panel Comic Grid */
.p-comic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0 40px;
}
.p-comic-strip {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    border-top: 8px solid #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.p-comic-strip--b {
    border-top-color: var(--c-primary);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.1);
}
.p-comic-strip__header {
    text-align: center;
    margin-bottom: 24px;
}
.p-comic-strip__badge {
    display: inline-block;
    background: #94a3b8;
    color: #fff;
    padding: 6px 24px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 16px;
}
.p-comic-strip__badge--primary {
    background: var(--c-primary);
}
.p-comic-strip__title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--c-text);
}
.p-comic-strip--b .p-comic-strip__title {
    color: var(--c-primary);
}
.p-comic-panel {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}
.p-comic-panel img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #e2e8f0;
}
.p-comic-panel__text {
    padding: 16px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.p-comic-panel__text--highlight {
    background: #fff3cd;
    color: #856404;
}
.p-comic-strip--b .p-comic-panel__text--highlight {
    background: #cce5ff;
    color: #004085;
}

@media (max-width: 900px) {
    .p-comic-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

/* Modals */
.c-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.c-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.c-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    cursor: pointer;
}
.c-modal__content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 800px;
    height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    transform: translateY(20px);
    transition: transform 0.3s;
}
.c-modal.is-open .c-modal__content {
    transform: translateY(0);
}
.c-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 12px 12px 0 0;
}
.c-modal__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-primary);
    margin: 0;
}
.c-modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    padding: 4px;
    line-height: 1;
}
.c-modal__close:hover {
    color: var(--c-text);
}
.c-modal__body {
    padding: 32px 40px;
    overflow-y: auto;
    flex-grow: 1;
}
.c-modal__body h1 { display: none; } /* Hide the h1 since we have it in the header */
.c-modal__body h2 { font-size: 1.25rem; font-weight: 700; color: var(--c-primary); margin-top: 32px; margin-bottom: 16px; border-left: 4px solid var(--c-primary); padding-left: 12px; }
.c-modal__body h3 { font-size: 1.1rem; font-weight: 700; margin-top: 24px; margin-bottom: 12px; }
.c-modal__body p { margin-bottom: 16px; line-height: 1.8; font-size: 0.95rem; }
.c-modal__body ul, .c-modal__body ol { margin-bottom: 24px; padding-left: 1.5em; font-size: 0.95rem; line-height: 1.8; }
.c-modal__body li { margin-bottom: 8px; }
.c-modal__body table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 0.9rem; }
.c-modal__body th, .c-modal__body td { border: 1px solid #e2e8f0; padding: 12px; text-align: left; }
.c-modal__body th { background: #f8fafc; font-weight: 700; width: 30%; }
.c-modal__body a { color: var(--c-accent); text-decoration: underline; }
@media (max-width: 600px) {
    .c-modal__body { padding: 24px 20px; }
}

/* FAQ Bear Speech Bubble */
.c-faq-bear {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 16px;
}
.c-faq-bear__img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--c-primary);
    flex-shrink: 0;
}
.c-faq-bear__bubble {
    position: relative;
    background: #f1f5f9;
    padding: 16px 20px;
    border-radius: 12px;
    border-top-left-radius: 0;
    color: var(--c-text);
    font-size: 0.95rem;
    line-height: 1.6;
}
.c-faq-bear__bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 0;
    border-color: transparent #f1f5f9 transparent transparent;
}
.c-faq-bear__bubble p {
    margin: 0;
}
@media (max-width: 600px) {
    .c-faq-bear__img {
        width: 48px;
        height: 48px;
    }
}

/* Responsive Headings with Images */
@media (max-width: 600px) {
    .c-section-header {
        flex-direction: column;
        text-align: center !important;
        gap: 12px !important;
    }
    .c-section-header h2 {
        text-align: center !important;
        font-size: 1.5rem !important;
    }
    .c-section-header img {
        width: 56px !important;
        height: 56px !important;
    }
}

/* Routine Grid */
.p-routine-grid {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
    .p-routine-grid {
        grid-template-columns: 1fr;
    }
}

/* Gold Shine Effect for Process Step 1 */
.c-process-item--gold-shine {
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    animation: goldPulse 1s infinite alternate;
}
.c-process-item--gold-shine:hover {
    transform: translateY(-4px);
}
@keyframes goldPulse {
    0% {
        box-shadow: 0 0 5px rgba(251, 191, 36, 0.5);
        background: #fffdf0 !important;
        border: 2px solid #fcd34d;
    }
    100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.9), inset 0 0 10px rgba(251, 191, 36, 0.3);
        background: #fef08a !important;
        border: 2px solid #f59e0b;
    }
}

/* Utilities / Components */
.c-list {
    padding-left: 28px;
    margin-bottom: 24px;
}
.c-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.c-list li:last-child {
    margin-bottom: 0;
}

/* Header Speech Bubble */
.c-speech-bubble {
    position: relative;
    background: #ff0055;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 900;
    margin-left: 8px;
    white-space: nowrap;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 0, 85, 0.3);
    animation: pulseBubble 2s infinite;
}
.c-speech-bubble::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-style: solid;
    border-color: transparent #ff0055 transparent transparent;
}
@keyframes pulseBubble {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 1120px) and (min-width: 901px) {
    .l-header__tagline {
        font-size: 0.8rem;
        gap: 6px;
    }
    .c-speech-bubble {
        padding: 3px 8px;
        font-size: 0.75rem;
    }
    .l-header__nav {
        gap: 14px;
    }
    .l-header__menu {
        gap: 12px;
    }
    .l-header__menu a {
        font-size: 0.85rem;
    }
}

/* Global Mobile Optimization */
@media (max-width: 768px) {
    /* Header */
    .l-header__inner {
        padding: 12px 16px;
        gap: 8px;
    }
    .l-header__nav {
        gap: 12px;
    }
    .l-header__menu {
        display: none !important;
    }
    .c-speech-bubble {
        display: none !important;
    }
    .l-header__nav .c-button {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    .l-header__logo-img {
        height: 36px;
    }
    
    /* Hero Section */
    .p-hero {
        padding: 40px 20px 60px;
    }
    .p-hero__title {
        font-size: 1.8rem !important;
    }
    .p-hero__tagline {
        font-size: 0.9rem !important;
    }
    
    /* Before / After */
    .p-ba-col--after {
        transform: none !important;
    }

    /* Comparison Table */
    .p-comparison-table-wrapper {
        padding-bottom: 8px;
    }
    .c-comparison-table th, .c-comparison-table td {
        padding: 12px 8px !important;
        font-size: 0.85rem !important;
    }

    /* Team */
    .p-team__content {
        flex-direction: column !important;
        text-align: center;
    }
    .p-team__image {
        width: 100% !important;
        max-width: 300px;
        margin: 0 auto 24px !important;
    }
}
