:root {
    --bg: #ffffff;
    --bg-soft: #f4f7f7;
    --panel: rgba(255, 255, 255, 0.92);
    --text: #111111;
    --muted: #555555;
    --line: #d8e3e2;
    --accent: #0abab5;
    --accent-deep: #088a86;
    --brand-navy: #0d1736;
    --brand-red: #ff4a5d;
    --shadow: 0 18px 50px rgba(14, 34, 33, 0.08);
    --radius: 22px;
    --container: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(10, 186, 181, 0.12), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfc 42%, #f4f7f7 100%);
    color: var(--text);
    font-family: "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", "Noto Sans TC", sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    width: min(760px, calc(100% - 40px));
}

.section,
.page-hero,
.hero-section {
    padding: 88px 0;
}

.section-alt {
    background: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(216, 227, 226, 0.7);
    border-bottom: 1px solid rgba(216, 227, 226, 0.7);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(216, 227, 226, 0.85);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-copy {
    display: block;
}

.brand small {
    display: block;
    color: var(--muted);
    max-width: 360px;
    font-size: 0.82rem;
    line-height: 1.5;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), #83e1dd);
    color: white;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.brand-mark-image {
    overflow: hidden;
    background: var(--brand-navy);
    border: 0;
    padding: 4px;
}

.logo-symbol {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-wordmark {
    display: flex;
    align-items: baseline;
    gap: 0.42rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand-wordmark-main {
    color: var(--brand-navy);
}

.brand-wordmark-accent {
    color: var(--brand-red);
}

.primary-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.primary-nav a {
    color: var(--muted);
    font-size: 0.95rem;
}

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

.language-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--muted);
}

.language-pills {
    display: inline-flex;
    padding: 5px;
    border-radius: 999px;
    background: #eef5f5;
    border: 1px solid var(--line);
}

.language-pills form {
    margin: 0;
}

.language-pills button {
    border: 0;
    background: transparent;
    padding: 8px 12px;
    border-radius: 999px;
    font: inherit;
    color: var(--muted);
    cursor: pointer;
}

.language-pills button.active {
    background: white;
    color: var(--text);
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.08);
}

.mobile-nav {
    display: none;
}

.hero-grid,
.two-column-grid,
.contact-layout,
.pricing-layout,
.footer-grid {
    display: grid;
    gap: 32px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(10, 186, 181, 0.11);
    color: var(--accent-deep);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}

h1,
h2,
h3 {
    margin: 0 0 14px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    max-width: 11ch;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
    font-size: 1.18rem;
}

p {
    margin: 0;
    color: var(--muted);
}

.hero-description,
.page-lead {
    font-size: 1.06rem;
    max-width: 62ch;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--text);
    color: white;
    box-shadow: var(--shadow);
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
}

.hero-stats,
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-stats span,
.filter-chip,
.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}

.feature-panel,
.pricing-preview,
.pricing-panel,
.contact-form-card,
.info-card,
.strength-card,
.problem-card,
.service-card,
.demo-card,
.service-detail-card,
.cta-panel {
    background: var(--panel);
    border: 1px solid rgba(216, 227, 226, 0.84);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.window-card {
    padding: 28px;
}

.window-header {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.window-header span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #dbe5e5;
}

.window-header span:first-child {
    background: #ffb4b4;
}

.window-header span:nth-child(2) {
    background: #ffd99d;
}

.window-header span:last-child {
    background: #bcebb4;
}

.check-list,
.pricing-list,
.service-card ul,
.demo-card ul,
.service-detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.check-list li,
.pricing-list li,
.service-card li,
.demo-card li,
.service-detail-card li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
}

.check-list li::before,
.pricing-list li::before,
.service-card li::before,
.demo-card li::before,
.service-detail-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
}

.section-heading {
    margin-bottom: 28px;
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.text-link {
    color: var(--accent-deep);
    font-weight: 600;
}

.problem-grid,
.strength-grid,
.service-grid,
.demo-grid,
.plan-grid {
    display: grid;
    gap: 22px;
}

.problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card,
.strength-card,
.service-card,
.demo-card,
.plan-card,
.service-detail-card,
.pricing-panel,
.info-card,
.contact-form-card,
.cta-panel {
    padding: 28px;
}

.problem-index {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent-deep);
    font-weight: 700;
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card.featured,
.service-detail-card.featured {
    background: linear-gradient(180deg, rgba(10, 186, 181, 0.1), rgba(255, 255, 255, 0.92));
    border-color: rgba(10, 186, 181, 0.36);
}

.service-description {
    margin-bottom: 14px;
}

.strength-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-card.detailed {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.demo-thumb {
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(160deg, rgba(10, 186, 181, 0.18), rgba(8, 138, 134, 0.05)),
        linear-gradient(135deg, #f7fbfb, #eef5f5);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-deep);
}

.demo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.demo-body {
    padding: 28px;
}

.tech-label {
    margin-top: 14px;
    color: var(--accent-deep);
    font-size: 0.92rem;
    font-weight: 600;
}

.flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.flow-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--line);
}

.flow-list span {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(10, 186, 181, 0.12);
    color: var(--accent-deep);
    font-weight: 700;
}

.pricing-preview {
    padding: 28px;
}

.pricing-preview-list {
    gap: 14px;
}

.pricing-preview-list li {
    padding-left: 18px;
}

.pricing-preview-list li::before {
    width: 8px;
    height: 8px;
    top: 0.78em;
}

.pricing-preview p {
    margin-top: 18px;
}

.pricing-preview .button {
    margin-top: 22px;
}

.two-column-grid,
.contact-layout,
.pricing-layout,
.footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-section {
    padding-top: 20px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, rgba(10, 186, 181, 0.14), rgba(255, 255, 255, 0.94));
}

.service-detail-list {
    display: grid;
    gap: 24px;
}

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

.plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-price {
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
}

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

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: white;
    font: inherit;
    color: var(--text);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.field-errors {
    margin-top: 6px;
    color: #b42318;
    font-size: 0.92rem;
}

.flash-stack {
    padding-top: 24px;
    display: grid;
    gap: 12px;
}

.flash {
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: white;
}

.flash.success {
    border-color: rgba(10, 186, 181, 0.4);
    color: var(--accent-deep);
}

.flash.error {
    border-color: rgba(180, 35, 24, 0.25);
    color: #8c1d18;
}

.site-footer {
    padding: 38px 0 52px;
    border-top: 1px solid rgba(216, 227, 226, 0.85);
}

.demo-link {
    display: inline-flex;
    margin-top: 16px;
}

.demo-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 28px;
}

.demo-detail-main,
.demo-detail-side {
    display: grid;
    gap: 22px;
}

.demo-detail-image {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow);
}

.demo-detail-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 520px;
}

.demo-detail-body {
    display: grid;
    gap: 14px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.footer-logo-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    flex: 0 0 auto;
}

.footer-brand h2 {
    margin-bottom: 0;
}

.footer-wordmark {
    font-size: 1.6rem;
}

.footer-grid {
    align-items: start;
}

.footer-cta {
    margin-bottom: 16px;
}

.footer-note {
    text-align: right;
}

@media (max-width: 1100px) {
    .hero-grid,
    .problem-grid,
    .service-grid,
    .strength-grid,
    .demo-grid.compact,
    .detail-grid,
    .plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .header-inner,
    .hero-grid,
    .two-column-grid,
    .contact-layout,
    .pricing-layout,
    .footer-grid,
    .demo-detail-layout,
    .demo-grid,
    .demo-grid.compact,
    .problem-grid,
    .service-grid,
    .strength-grid,
    .detail-grid,
    .plan-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .mobile-nav summary {
        cursor: pointer;
        list-style: none;
        font-weight: 600;
        padding: 10px 12px;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.9);
    }

    .mobile-only {
        margin-top: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-panel,
    .split-heading {
        align-items: flex-start;
    }

    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
    }

    .brand {
        min-width: 0;
        gap: 10px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .brand-wordmark {
        font-size: 0.95rem;
    }

    .language-switcher {
        width: auto;
        gap: 8px;
    }

    .language-switcher > span {
        display: none;
    }

    .language-pills {
        padding: 4px;
    }

    .language-pills button {
        padding: 7px 10px;
    }

    .footer-note {
        text-align: left;
    }

    .demo-card.detailed {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .section,
    .page-hero,
    .hero-section {
        padding: 64px 0;
    }

    .container,
    .narrow {
        width: min(100% - 24px, var(--container));
    }

    .brand small {
        display: none;
    }

    .cta-panel {
        flex-direction: column;
    }
}
