/* ==========================================================================
   Online-Survey.NET — Data-Security Theme
   Ported from datasecurity_system.html and extended for the main site pages:
   index.html · registrationsystem.html · staffsurveysystem.html · samplesurvey.html
   ========================================================================== */

:root {
    --ink: #0f172a;
    --ink-2: #1e293b;
    --body: #334155;
    --muted: #64748b;
    --faint: #94a3b8;
    --line: #e5e7eb;
    --line-2: #d8dee9;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-sky: #f0f9ff;

    --red: #dc2626;
    --red-dark: #991b1b;
    --red-line: #fca5a5;
    --red-bg: #fef2f2;
    --red-bg-2: #fee2e2;

    --blue: #0369a1;
    --blue-dark: #0c4a6e;
    --blue-line: #bae6fd;
    --blue-bg: #f0f9ff;

    --green: #15803d;
    --green-line: #86efac;
    --green-bg: #f0fdf4;

    --amber: #b45309;
    --amber-line: #fcd34d;
    --amber-bg: #fffbeb;

    --violet: #6d28d9;
    --violet-line: #ddd6fe;
    --violet-bg: #f5f3ff;

    --radius-lg: 1.5rem;
    --radius-xl: 2.5rem;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .04);
    --shadow-md: 0 6px 24px rgba(15, 23, 42, .06);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, .1);

    --accent: var(--blue);
    --font-zh: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', 'Heiti TC', 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-zh);
    background: var(--bg);
    color: var(--body);
    line-height: 1.75;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--blue-dark);
}

:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: .7rem 1.2rem;
    border-radius: 0 0 .6rem 0;
}

.skip-link:focus {
    left: 0;
    color: #fff;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 72px;
    padding-top: .6rem;
    padding-bottom: .6rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--ink);
    flex-shrink: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: .75rem;
    background: linear-gradient(145deg, #0f172a, #1e3a5f);
    color: #7dd3fc;
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, .35);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -.01em;
}

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

.brand-sub {
    font-size: .63rem;
    font-weight: 500;
    color: var(--faint);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: .18rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .15rem;
    margin-left: auto;
    flex-wrap: nowrap;
    min-width: 0;
}

.nav-links > a,
.nav-drop > a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .5rem .72rem;
    border-radius: .6rem;
    color: var(--ink-2);
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

.nav-links > a:hover,
.nav-drop > a:hover {
    background: #f1f5f9;
    color: var(--ink);
}

.nav-links > a.is-active,
.nav-drop > a.is-active {
    color: var(--blue-dark);
    background: var(--blue-bg);
    box-shadow: inset 0 0 0 1px var(--blue-line);
    font-weight: 700;
}

.caret {
    font-size: .6rem;
    color: var(--faint);
}

.nav-drop {
    position: relative;
}

.nav-drop-menu {
    position: absolute;
    top: calc(100% + .45rem);
    left: 0;
    min-width: 232px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: .9rem;
    padding: .45rem;
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    gap: .1rem;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
    display: flex;
}

.nav-drop-menu a {
    display: block;
    padding: .5rem .7rem;
    border-radius: .55rem;
    font-size: .85rem;
    color: var(--ink-2);
    text-decoration: none;
}

.nav-drop-menu a:hover {
    background: #f1f5f9;
    color: var(--blue-dark);
}

.nav-drop-menu .menu-label {
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--faint);
    padding: .4rem .7rem .2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
    min-width: 0;
}

.nav-lang {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    transition: .15s;
}

.nav-lang:hover {
    border-color: var(--blue-line);
    color: var(--blue);
    background: var(--blue-bg);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    background: #25D366;
    color: #063a1c;
    font-size: .82rem;
    font-weight: 700;
    padding: .52rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .3);
    transition: .18s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-1px);
}

.nav-cta svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 3.4rem 0 2.6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(3, 105, 161, .05) 0%, transparent 62%);
    pointer-events: none;
}

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

.hero--alert {
    --accent: var(--red);
    background: var(--red-bg);
    border-bottom: 2px solid #fecaca;
}

.hero--alert::before {
    background: radial-gradient(circle at 50% 0%, rgba(239, 68, 68, .05) 0%, transparent 60%);
}

.hero--secure {
    --accent: var(--blue);
    background: var(--blue-bg);
    border-bottom: 2px solid var(--blue-line);
}

.hero--secure::before {
    background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, .06) 0%, transparent 60%);
}

.hero--green {
    --accent: var(--green);
    background: var(--green-bg);
    border-bottom: 2px solid var(--green-line);
}

.hero--green::before {
    background: radial-gradient(circle at 50% 0%, rgba(22, 163, 74, .06) 0%, transparent 60%);
}

.hero--slate {
    --accent: var(--violet);
    background: #f5f7fb;
    border-bottom: 2px solid var(--violet-line);
}

.hero--slate::before {
    background: radial-gradient(circle at 50% 0%, rgba(109, 40, 217, .05) 0%, transparent 60%);
}

.alert-badge {
    display: inline-block;
    background: var(--blue-bg);
    border: 1px solid var(--blue-line);
    color: var(--blue-dark);
    padding: .4rem 1.15rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 1.35rem;
    text-transform: uppercase;
}

.hero--alert .alert-badge {
    background: var(--red-bg-2);
    border-color: var(--red-line);
    color: var(--red-dark);
}

.hero--green .alert-badge {
    background: #dcfce7;
    border-color: var(--green-line);
    color: #166534;
}

.hero--slate .alert-badge {
    background: #ede9fe;
    border-color: var(--violet-line);
    color: #5b21b6;
}

.hero h1 {
    font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.3;
    color: var(--ink);
    max-width: 1000px;
    margin: 0 auto .9rem;
}

.hero--alert h1 {
    color: var(--red-dark);
}

.hero--secure h1 {
    color: var(--blue-dark);
}

.hero--green h1 {
    color: #14532d;
}

.hero--slate h1 {
    color: #3b0764;
}

.hero-sub {
    font-size: 1.06rem;
    color: var(--body);
    max-width: 860px;
    margin: 0 auto .7rem;
}

.hero-sub-en {
    font-size: .92rem;
    color: var(--muted);
    max-width: 860px;
    margin: 0 auto;
    letter-spacing: .01em;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.9rem;
}

/* ==========================================================================
   Stats bar
   ========================================================================== */

.stats-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.6rem 3rem;
    margin: 2rem auto 0;
    padding: 1.4rem 2rem;
    background: #fff;
    border-radius: 2rem;
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow-sm);
    max-width: 960px;
}

.hero--alert .stats-bar {
    border-color: var(--red-line);
    box-shadow: 0 4px 16px rgba(185, 28, 28, .07);
}

.hero--secure .stats-bar {
    border-color: var(--blue-line);
    box-shadow: 0 4px 16px rgba(2, 132, 199, .07);
}

.hero--green .stats-bar {
    border-color: var(--green-line);
    box-shadow: 0 4px 16px rgba(22, 163, 74, .07);
}

.stat-item {
    text-align: center;
    min-width: 112px;
}

.stat-number {
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.15rem);
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -.02em;
    line-height: 1.15;
}

.stat-label {
    font-size: .72rem;
    color: var(--muted);
    letter-spacing: .04em;
    margin-top: .3rem;
}

.stat-label-zh {
    font-size: .76rem;
    color: var(--muted);
    margin-top: .1rem;
}

.source-note {
    margin-top: 1.3rem;
    font-size: .7rem;
    color: var(--faint);
    letter-spacing: .01em;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
    padding: 3.75rem 0;
}

.section--alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section--sky {
    background: var(--bg-sky);
    border-top: 1px solid var(--blue-line);
    border-bottom: 1px solid var(--blue-line);
}

.section-title {
    font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem);
    font-weight: 800;
    text-align: center;
    color: var(--ink);
    letter-spacing: -.01em;
    margin-bottom: .4rem;
}

.section-title-en {
    font-size: .72rem;
    font-weight: 700;
    text-align: center;
    color: var(--faint);
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.section-desc {
    text-align: center;
    color: var(--body);
    max-width: 820px;
    margin: 0 auto 2.4rem;
    font-size: .98rem;
}

.section-desc-en {
    text-align: center;
    color: var(--muted);
    max-width: 780px;
    margin: -1.7rem auto 2.4rem;
    font-size: .84rem;
    font-style: italic;
}

.section-title--left,
.section-desc--left {
    text-align: left;
    margin-left: 0;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
    gap: 1.3rem;
    max-width: 1080px;
    margin: 0 auto;
}

.card-grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
}

.sec-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform .18s, box-shadow .18s, border-color .18s;
    position: relative;
}

.sec-card::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: 0;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--accent);
    opacity: .55;
}

.sec-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-2);
}

.sec-card.red { --accent: var(--red); }
.sec-card.amber { --accent: #d97706; }
.sec-card.green { --accent: #16a34a; }
.sec-card.blue { --accent: #0284c7; }
.sec-card.violet { --accent: #7c3aed; }

.sec-icon {
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: .7rem;
    display: block;
}

.sec-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .45rem;
    letter-spacing: -.01em;
}

.sec-card p {
    font-size: .86rem;
    color: var(--muted);
}

.sec-card p + p {
    margin-top: .5rem;
}

.sec-card p.zh {
    color: var(--body);
    font-size: .88rem;
}

.tag {
    display: inline-block;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    color: var(--muted);
    padding: .16rem .55rem;
    border-radius: 999px;
    margin-bottom: .6rem;
}

.tag--red { background: var(--red-bg); border-color: #fecaca; color: var(--red-dark); }
.tag--blue { background: var(--blue-bg); border-color: var(--blue-line); color: var(--blue-dark); }
.tag--green { background: var(--green-bg); border-color: var(--green-line); color: #166534; }
.tag--amber { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber); }
.tag--violet { background: var(--violet-bg); border-color: var(--violet-line); color: var(--violet); }

/* ==========================================================================
   Tables
   ========================================================================== */

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-2);
    background: #fff;
    margin: 0 auto;
    max-width: 1100px;
    box-shadow: var(--shadow-sm);
}

.table-wrap--alert {
    border-color: #fecaca;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .84rem;
    min-width: 700px;
}

.data-table th {
    background: var(--bg-alt);
    color: var(--ink-2);
    padding: .95rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line-2);
    white-space: nowrap;
}

.table-wrap--alert .data-table th {
    background: var(--red-bg);
    color: var(--red-dark);
    border-bottom: 1px solid #fecaca;
}

.data-table td {
    padding: .82rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--body);
    vertical-align: top;
}

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

.data-table tbody tr:hover td {
    background: #fafbfc;
}

.data-table strong {
    color: var(--ink);
    font-weight: 700;
}

.affected {
    color: var(--red);
    font-weight: 700;
    white-space: nowrap;
}

.ok {
    color: var(--green);
    font-weight: 700;
    white-space: nowrap;
}

.nowrap {
    white-space: nowrap;
}

/* ==========================================================================
   Workflow
   ========================================================================== */

.workflow-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #f9fafb;
    border-radius: var(--radius-xl);
    padding: 2rem 1.8rem;
    border: 1px solid var(--line);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .04);
}

.workflow-grid {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.step-row {
    display: flex;
    justify-content: center;
}

.step-card {
    background: #fff;
    border-radius: 1.3rem;
    padding: 1rem 1.2rem;
    border: 1px solid #d1d5db;
    width: 100%;
    max-width: 470px;
    text-align: center;
    transition: .15s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}

.step-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37, 99, 235, .1);
}

.step-card.encrypt {
    border-color: #d97706;
    box-shadow: 0 4px 12px rgba(217, 119, 6, .08);
}

.step-card.encrypt .step-title {
    color: #b45309;
}

.step-card.final {
    border-color: #16a34a;
    box-shadow: 0 4px 12px rgba(22, 163, 74, .1);
}

.step-card.final .step-title {
    color: #15803d;
}

.step-icon {
    font-size: 1.5rem;
    margin-bottom: .15rem;
    line-height: 1.2;
}

.step-title {
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .01em;
    color: var(--ink-2);
}

.step-desc {
    font-size: .75rem;
    color: var(--muted);
    margin-top: .18rem;
}

.sample-inline {
    background: #f1f5f9;
    border-radius: .55rem;
    padding: .4rem .55rem;
    font-family: 'Courier New', ui-monospace, monospace;
    font-size: .65rem;
    color: #1e40af;
    word-break: break-all;
    margin-top: .45rem;
    border: 1px solid #e2e8f0;
    text-align: left;
    line-height: 1.5;
}

.sample-inline .cipher {
    color: #b45309;
}

.arrow-down {
    text-align: center;
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1;
    margin: .1rem 0;
}

.parallel-row {
    display: flex;
    justify-content: center;
    gap: .9rem;
    flex-wrap: wrap;
}

.parallel-row .step-card {
    max-width: 228px;
    flex: 1 1 200px;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
    gap: 1.4rem;
    max-width: 1080px;
    margin: 0 auto;
    align-items: stretch;
}

.price-card {
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .18s, box-shadow .18s;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.price-card.featured {
    border-color: var(--blue-line);
    box-shadow: 0 8px 28px rgba(2, 132, 199, .12);
    position: relative;
}

.price-card.featured::after {
    content: '最多人選擇 · MOST POPULAR';
    position: absolute;
    top: .9rem;
    right: .9rem;
    background: var(--blue);
    color: #fff;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: .25rem .55rem;
    border-radius: 999px;
}

.price-head {
    padding: 1.8rem 1.5rem 1.4rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg-alt);
}

.price-card.featured .price-head {
    background: var(--blue-bg);
}

.price-name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .5rem;
}

.price-name span {
    display: block;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--faint);
    margin-top: .2rem;
}

.price-amount {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.02em;
    line-height: 1.2;
}

.price-amount .currency {
    font-size: .85rem;
    font-weight: 600;
    color: var(--muted);
    vertical-align: .35rem;
    margin-right: .15rem;
}

.price-amount .period {
    font-size: .78rem;
    font-weight: 500;
    color: var(--muted);
}

.price-amount--text {
    font-size: 1.35rem;
    line-height: 1.5;
}

.price-features {
    list-style: none;
    padding: 1.2rem 1.5rem 1.5rem;
    font-size: .84rem;
    color: var(--body);
    flex: 1;
}

.price-features li {
    padding: .36rem 0 .36rem 1.3rem;
    position: relative;
    border-bottom: 1px dashed #eef2f7;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
    font-size: .8rem;
}

.price-features li.strong {
    color: var(--ink);
    font-weight: 700;
}

.price-features li.strong::before {
    color: var(--blue);
}

.price-foot {
    padding: 0 1.5rem 1.6rem;
}

.price-foot .btn {
    width: 100%;
    justify-content: center;
    font-size: .88rem;
    padding: .75rem 1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.2;
    padding: .8rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: .18s;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--blue-dark);
    color: #fff;
    box-shadow: 0 8px 22px rgba(12, 74, 110, .2);
}

.btn-primary:hover {
    background: #083b57;
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost {
    background: #fff;
    border-color: var(--line-2);
    color: var(--ink-2);
}

.btn-ghost:hover {
    border-color: var(--blue-line);
    background: var(--blue-bg);
    color: var(--blue-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, .3);
    letter-spacing: .01em;
}

.btn-whatsapp:hover {
    background: #1da851;
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
    transform: translateY(-2px);
}

.btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.btn--sm {
    font-size: .82rem;
    padding: .6rem 1.2rem;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .88rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.link-more:hover {
    border-bottom-color: var(--blue);
}

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

.mt-32 {
    margin-top: 2rem;
}

.mt-48 {
    margin-top: 3rem;
}

/* ==========================================================================
   Notes / callouts
   ========================================================================== */

.note {
    max-width: 1000px;
    margin: 1.6rem auto 0;
    background: var(--blue-bg);
    border: 1px solid var(--blue-line);
    border-left: 4px solid #0ea5e9;
    border-radius: .9rem;
    padding: 1rem 1.2rem;
    font-size: .84rem;
    color: #0c4a6e;
}

.note--amber {
    background: var(--amber-bg);
    border-color: var(--amber-line);
    border-left-color: #f59e0b;
    color: #78350f;
}

.note--red {
    background: var(--red-bg);
    border-color: #fecaca;
    border-left-color: #ef4444;
    color: var(--red-dark);
}

.note--green {
    background: var(--green-bg);
    border-color: var(--green-line);
    border-left-color: #22c55e;
    color: #14532d;
}

.note strong {
    font-weight: 700;
}

/* ==========================================================================
   Case studies
   ========================================================================== */

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.3rem;
    max-width: 1080px;
    margin: 0 auto;
}

.case-grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: 880px;
}

.case-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: .55rem;
    transition: transform .18s, box-shadow .18s;
}

.case-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.case-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .68rem;
    color: var(--faint);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.case-meta .sep {
    color: #cbd5e1;
}

.case-card h3 {
    font-size: 1.02rem;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.45;
}

.case-card p {
    font-size: .84rem;
    color: var(--muted);
}

.case-result {
    margin-top: auto;
    padding-top: .9rem;
    border-top: 1px dashed var(--line-2);
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .9rem;
    font-size: .78rem;
    color: var(--ink-2);
    font-weight: 600;
}

.case-result span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.case-result .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #16a34a;
    display: inline-block;
}

.study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.5rem;
    max-width: 1080px;
    margin: 0 auto;
}

.study-card {
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.study-head {
    padding: 1.4rem 1.5rem 1.2rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg-alt);
}

.study-head h3 {
    font-size: 1.05rem;
    color: var(--ink);
    margin-top: .35rem;
}

.study-body {
    padding: 1.25rem 1.5rem 1.5rem;
    font-size: .85rem;
}

.study-block {
    margin-bottom: 1rem;
}

.study-block:last-child {
    margin-bottom: 0;
}

.study-label {
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: .3rem;
}

.study-body ul {
    list-style: none;
    font-size: .84rem;
    color: var(--body);
}

.study-body ul li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: .25rem;
}

.study-body ul li::before {
    content: '·';
    position: absolute;
    left: .25rem;
    color: var(--blue);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    top: .35rem;
}

.study-results {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: .35rem;
}

.study-results div {
    flex: 1 1 90px;
    background: var(--green-bg);
    border: 1px solid var(--green-line);
    border-radius: .75rem;
    padding: .55rem .7rem;
    text-align: center;
}

.study-results b {
    display: block;
    font-size: 1.02rem;
    color: #14532d;
    line-height: 1.3;
}

.study-results span {
    font-size: .66rem;
    color: #166534;
    letter-spacing: .03em;
}

/* ==========================================================================
   Sample survey library
   ========================================================================== */

.sample-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.3rem;
    max-width: 1080px;
    margin: 0 auto;
}

.sample-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sample-panel h3 {
    font-size: .98rem;
    color: var(--ink);
    margin-bottom: .2rem;
}

.sample-panel > p {
    font-size: .78rem;
    color: var(--faint);
    margin-bottom: .8rem;
}

.sample-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.sample-list a {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .5rem;
    border-radius: .55rem;
    font-size: .84rem;
    color: var(--ink-2);
    text-decoration: none;
    transition: .15s;
}

.sample-list a:hover {
    background: var(--blue-bg);
    color: var(--blue-dark);
}

.sample-list .ico {
    font-size: .85rem;
    flex-shrink: 0;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta-section {
    text-align: center;
    padding: 4rem 1.5rem;
    background: var(--bg-sky);
    border-top: 1px solid var(--blue-line);
}

.cta-box {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    border: 1px solid var(--blue-line);
    box-shadow: 0 8px 32px rgba(2, 132, 199, .08);
}

.cta-box h2 {
    font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem);
    margin-bottom: .3rem;
    color: var(--blue-dark);
    font-weight: 800;
}

.cta-box .h2-en {
    display: block;
    font-size: .78rem;
    color: var(--faint);
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.cta-box p {
    color: var(--body);
    margin-bottom: 1rem;
    font-size: .96rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box p.small {
    font-size: .84rem;
    color: var(--muted);
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.6rem;
}

.cta-sub {
    font-size: .78rem;
    color: var(--faint);
    margin-top: 1.2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #0b1220;
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
    font-size: .84rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.footer-brand .brand {
    color: #f1f5f9;
}

.footer-brand .brand-sub {
    color: #64748b;
}

.footer-brand p {
    color: #94a3b8;
    font-size: .82rem;
    max-width: 340px;
    line-height: 1.75;
}

.footer-col h4 {
    color: #e2e8f0;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: .8rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: .82rem;
}

.footer-col a:hover {
    color: #7dd3fc;
}

.footer-col address {
    font-style: normal;
    line-height: 1.8;
    font-size: .82rem;
}

.footer-col address a {
    color: #cbd5e1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
    padding-top: 1.4rem;
    font-size: .72rem;
    color: #64748b;
}

.footer-bottom .badges {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
}

.footer-bottom .badges span {
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 999px;
    padding: .12rem .55rem;
    font-size: .64rem;
    letter-spacing: .04em;
    color: #94a3b8;
}

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

@media (max-width: 1080px) {
    .nav-inner {
        flex-wrap: wrap;
        gap: .5rem 1rem;
        padding-top: .55rem;
        padding-bottom: .55rem;
    }

    .nav-links {
        order: 3;
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
        padding-bottom: .2rem;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
        mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-drop-menu {
        display: none !important;
    }

    .nav-drop .caret {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .hero {
        padding: 2.4rem 0 2rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-sub {
        font-size: .95rem;
    }

    .hero-sub-en {
        font-size: .82rem;
    }

    .stats-bar {
        gap: 1.1rem 1.6rem;
        padding: 1.1rem 1rem;
        border-radius: 1.4rem;
    }

    .stat-item {
        min-width: 88px;
    }

    .stat-number {
        font-size: 1.45rem;
    }

    .section {
        padding: 2.6rem 0;
    }

    .section-desc {
        font-size: .92rem;
        margin-bottom: 1.8rem;
    }

    .card-grid,
    .case-grid,
    .study-grid {
        grid-template-columns: 1fr;
    }

    .workflow-wrapper {
        padding: 1.2rem 1rem;
        border-radius: var(--radius-lg);
    }

    .step-card {
        padding: .85rem 1rem;
    }

    .parallel-row .step-card {
        max-width: 100%;
    }

    table.data-table {
        font-size: .76rem;
        min-width: 640px;
    }

    .data-table th,
    .data-table td {
        padding: .6rem .7rem;
    }

    .cta-section {
        padding: 2.6rem 1rem;
    }

    .cta-box {
        padding: 2rem 1.3rem;
        border-radius: var(--radius-lg);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .nav-cta {
        font-size: .74rem;
        padding: .45rem .8rem;
    }

    .brand-sub {
        display: none;
    }
}

@media (max-width: 560px) {
    .nav-cta {
        width: 42px;
        height: 42px;
        padding: 0;
    }

    .nav-cta-text {
        display: none;
    }

    .brand-text {
        font-size: .96rem;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: .6rem;
        font-size: 1rem;
    }

    .stats-bar {
        gap: 1rem .8rem;
        padding: 1.1rem .9rem;
    }

    .stat-item {
        flex: 1 1 42%;
        min-width: 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .nav-links > a,
    .nav-drop > a {
        padding: .4rem .42rem;
        font-size: .79rem;
    }

    .nav-links {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (max-width: 420px) {
    .container {
        padding: 0 1rem;
    }

    .nav-lang {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }

    .sec-card:hover,
    .case-card:hover,
    .price-card:hover,
    .btn:hover {
        transform: none;
    }
}

@media print {
    .site-nav,
    .cta-section,
    .nav-actions,
    .hero-actions {
        display: none;
    }

    body {
        color: #000;
    }
}
