/* ===== 1. CSS CUSTOM PROPERTIES ===== */
:root {
    /* Base palette — V4 DARK THEME */
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f1018;
    --bg-tertiary: #161822;
    --bg-card: rgba(22, 24, 34, 0.9);
    --bg-card-hover: rgba(22, 24, 34, 1);

    /* Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-glow-orange: rgba(79, 143, 255, 0.35);
    --border-glow-pink: rgba(34, 211, 238, 0.35);
    --border-glow-teal: rgba(167, 139, 250, 0.35);

    /* Accents — v4 blue theme */
    --orange: #4f8fff;
    --orange-light: #6ba3ff;
    --orange-dark: #3a7bef;
    --pink: #22d3ee;
    --pink-light: #67e8f9;
    --teal: #2dd4bf;
    --teal-light: #5eead4;
    --purple: #a78bfa;
    --yellow: #fbbf24;
    --green: #34d399;

    /* Legacy aliases for existing code */
    --blue: #4f8fff;
    --blue-light: #6ba3ff;
    --cyan: #22d3ee;
    --cyan-light: #67e8f9;

    /* Text — light on dark */
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-tertiary: #6b6b80;

    /* Gradients — v4 blue/violet */
    --gradient-blue-cyan: linear-gradient(135deg, #4f8fff, #22d3ee);
    --gradient-blue-purple: linear-gradient(135deg, #4f8fff, #a78bfa);
    --gradient-text: linear-gradient(135deg, #4f8fff, #22d3ee, #a78bfa);

    /* Glassmorphism — dark variant */
    --glass-bg: rgba(10, 10, 15, 0.85);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-blur: 20px;

    /* Shadows — deeper for dark bg */
    --glow-orange: 0 4px 20px rgba(79, 143, 255, 0.2), 0 1px 4px rgba(0, 0, 0, 0.2);
    --glow-pink: 0 4px 20px rgba(34, 211, 238, 0.2), 0 1px 4px rgba(0, 0, 0, 0.2);
    --glow-teal: 0 4px 20px rgba(167, 139, 250, 0.2), 0 1px 4px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);

    /* Spacing & Radius — softer */
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 2. RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

img {
    max-width: 100%;
    display: block;
}

/* ===== 3. TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== 4. UTILITIES ===== */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header p {
    margin-top: 16px;
    font-size: 1.1rem;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    border: 1px solid rgba(79, 143, 255, 0.25);
    border-radius: 100px;
    background: rgba(79, 143, 255, 0.1);
    margin-bottom: 20px;
}

/* ===== 5. BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-blue-cyan);
    color: white;
    box-shadow: 0 4px 16px rgba(79, 143, 255, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(79, 143, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(79, 143, 255, 0.06);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-ghost:hover {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* ===== 6. NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-blue-cyan);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
}

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

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

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

.nav-links a.active-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-blue-cyan);
    border-radius: 1px;
}

.btn-nav {
    padding: 8px 20px !important;
    font-size: 0.85rem !important;
}

.lang-toggle {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 6px 12px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition);
}

.lang-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}

.lang-select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 10px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition);
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
}

.lang-select:hover,
.lang-select:focus {
    border-color: rgba(79, 143, 255, 0.4);
    color: var(--text-primary);
    outline: none;
}

.lang-select option {
    background: #1a1c2e;
    color: var(--text-primary);
}

.nav-right-mobile {
    display: none;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===== 7. HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-mesh {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(79, 143, 255, 0.08), transparent),
        radial-gradient(ellipse 60% 80% at 75% 30%, rgba(6, 182, 212, 0.06), transparent),
        radial-gradient(ellipse 70% 50% at 50% 80%, rgba(124, 58, 237, 0.05), transparent);
    animation: meshShift 20s ease-in-out infinite alternate;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(79, 143, 255, 0.12);
    top: -10%;
    left: -5%;
    animation: glowFloat1 15s ease-in-out infinite alternate;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(6, 182, 212, 0.10);
    top: 20%;
    right: -10%;
    animation: glowFloat2 18s ease-in-out infinite alternate;
}

.hero-glow-3 {
    width: 400px;
    height: 400px;
    background: rgba(124, 58, 237, 0.08);
    bottom: -5%;
    left: 30%;
    animation: glowFloat3 22s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    border: 1px solid rgba(79, 143, 255, 0.25);
    border-radius: 100px;
    background: rgba(79, 143, 255, 0.1);
    margin-bottom: 32px;
}

.hero-title {
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-prefix {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-top: 4px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(0, 0, 0, 0.1);
}

/* ===== 7B. INDUSTRY ICON BAR ===== */
.industry-bar {
    background: var(--bg-secondary);
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.industry-bar-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.industry-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.industry-bar-item:hover {
    color: var(--text-secondary);
}

.industry-bar-item svg {
    flex-shrink: 0;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.industry-bar-item:hover svg {
    opacity: 1;
}

/* ===== 8. SECTIONS ===== */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--bg-secondary);
}

/* ===== LANGUAGE-CONDITIONAL SECTIONS ===== */
[data-lang-only] {
    display: none;
}

/* ===== TAIWAN COST COMPARISON SECTION ===== */

/* Cost nodes — diagram style (matches workflow builder nodes) */
.tw-cost-nodes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.tw-cost-node {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 28px;
    min-width: 170px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.tw-cost-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Colored left borders like wf-node */
.tw-cost-node-gray  { border-left: 4px solid #94a3b8; }
.tw-cost-node-amber { border-left: 4px solid #f59e0b; }
.tw-cost-node-red   { border-left: 4px solid #ef4444; }

/* Sonia AI node — gradient left border + subtle highlight */
.tw-cost-node-sonia {
    border-left: 4px solid #2563eb;
    background: linear-gradient(135deg, rgba(79, 143, 255, 0.05), rgba(6, 182, 212, 0.03));
    border-color: rgba(79, 143, 255, 0.3);
    border-left-color: #2563eb;
}

.tw-cost-node-type {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 6px;
}

.tw-cost-node-gray .tw-cost-node-type  { color: var(--text-tertiary); }
.tw-cost-node-amber .tw-cost-node-type { color: #f59e0b; }
.tw-cost-node-red .tw-cost-node-type   { color: #ef4444; }
.tw-cost-node-sonia .tw-cost-node-type { color: #2563eb; }

.tw-cost-node-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.tw-cost-node-amount-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: 700;
}

.tw-cost-node-period {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    margin-top: 4px;
    font-weight: 500;
}

/* Dashed connectors between nodes */
.tw-cost-node-connector {
    display: flex;
    align-items: center;
    padding: 0 6px;
}

.tw-cost-node-connector svg {
    display: block;
}

/* Pitch — centered */
.tw-cost-pitch {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.tw-cost-pitch h3 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 16px;
}

.tw-cost-pitch p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Benefit cards */
.tw-benefit-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.tw-benefit-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.tw-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(79, 143, 255, 0.12);
    border-color: rgba(79, 143, 255, 0.25);
}

.tw-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 143, 255, 0.08);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.tw-benefit-card:hover .tw-benefit-icon {
    transform: scale(1.1);
}

.tw-benefit-card span {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== 9. VOICE PRODUCT SECTION ===== */
.voice-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: 0 4px 24px rgba(79, 143, 255, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.voice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(79, 143, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

.voice-intro h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 16px;
}

.voice-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.voice-features h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.voice-feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
}

.voice-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.voice-feature-list li::before {
    content: '✓';
    font-weight: 700;
    color: var(--orange);
    font-size: 1rem;
    flex-shrink: 0;
}

.voice-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.voice-stat {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.voice-stat:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 4px 20px rgba(79, 143, 255, 0.1);
}

.voice-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 4px;
}

.voice-stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.voice-card .btn {
    display: inline-flex;
}

/* ===== 9B-0. OVERVIEW FLOW DIAGRAM ===== */
.overview-diagram {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding-top: 40px;
}

.overview-diagram-mobile {
    display: none;
}

.overview-loop-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 820px;
    height: 56px;
    overflow: visible;
}

.overview-loop-text {
    font-size: 11px;
    font-weight: 600;
    fill: #2563eb;
    letter-spacing: 0.04em;
}

.overview-nodes {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding-top: 30px;
}

.overview-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 170px;
    padding: 0 8px;
}

.overview-node-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-node:hover .overview-node-icon {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 143, 255, 0.12);
}

/* Hero node (Sonia AI) — large, gradient, glowing */
.overview-node-hero {
    flex: 0 0 200px;
}

.overview-node-hero .overview-node-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
}

.overview-icon-hero {
    background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
    border: 2px solid rgba(79, 143, 255, 0.4) !important;
    box-shadow: 0 8px 32px rgba(79, 143, 255, 0.25), 0 0 0 6px rgba(79, 143, 255, 0.08);
}

.overview-node-hero:hover .overview-icon-hero {
    box-shadow: 0 12px 40px rgba(79, 143, 255, 0.35), 0 0 0 8px rgba(79, 143, 255, 0.12);
}

.overview-node-hero .overview-node-label {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overview-node-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.overview-node-desc {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.overview-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    flex-shrink: 0;
}

.overview-arrow svg {
    opacity: 0.4;
}

/* ===== Mobile overview diagram ===== */
.overview-m-nodes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.overview-m-node {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 300px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.overview-m-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid rgba(79, 143, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-m-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.overview-m-desc {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.overview-m-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
}

.overview-m-arrow svg {
    opacity: 0.35;
}

/* Mobile hero node */
.overview-m-node-hero {
    background: linear-gradient(135deg, rgba(79, 143, 255, 0.06), rgba(6, 182, 212, 0.06));
    border-color: rgba(79, 143, 255, 0.25);
    box-shadow: 0 4px 20px rgba(79, 143, 255, 0.12);
    position: relative;
    flex-wrap: wrap;
}

.overview-m-icon-hero {
    background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
    border: none !important;
}

.overview-m-node-hero .overview-m-label {
    font-size: 0.95rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.overview-m-loop-badge {
    width: 100%;
    margin-top: 6px;
    padding: 4px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2563eb;
    background: rgba(79, 143, 255, 0.08);
    border-radius: 100px;
    text-align: center;
}

/* ===== 9B. CALL FLOW DIAGRAMS ===== */
.flow-section {
    margin-top: 64px;
}

.flow-section-title {
    text-align: center;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 8px;
}

.flow-section-desc {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.flow-diagrams {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.flow-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.flow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(79, 143, 255, 0.1);
}

.flow-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.flow-card-inbound {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.04));
    color: #0d9488;
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

.flow-card-outbound {
    background: linear-gradient(135deg, rgba(79, 143, 255, 0.1), rgba(79, 143, 255, 0.05));
    color: var(--orange-dark);
    border-bottom: 1px solid rgba(79, 143, 255, 0.15);
}

.flow-steps {
    display: flex;
    align-items: center;
    padding: 24px;
    gap: 8px;
}

.flow-step {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(79, 143, 255, 0.06), rgba(6, 182, 212, 0.06));
    border: 1px solid rgba(79, 143, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.flow-step-ai {
    background: linear-gradient(135deg, rgba(79, 143, 255, 0.06), rgba(6, 182, 212, 0.06));
    border-color: rgba(79, 143, 255, 0.2);
}

.flow-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid rgba(79, 143, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.flow-step-icon svg {
    width: 20px;
    height: 20px;
    stroke: #2563eb;
}

.flow-step-ai .flow-step-icon {
    background: linear-gradient(135deg, rgba(79, 143, 255, 0.12), rgba(6, 182, 212, 0.08));
    border-color: rgba(79, 143, 255, 0.25);
}

.flow-step-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 500;
}

.flow-arrow {
    font-size: 1.2rem;
    color: var(--text-tertiary);
    flex-shrink: 0;
    font-weight: 700;
    opacity: 0.5;
}

/* ===== 9C. REALISM SECTION ===== */
.realism-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.realism-grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

.realism-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.realism-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(79, 143, 255, 0.12);
    border-color: rgba(79, 143, 255, 0.25);
}

.realism-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid rgba(79, 143, 255, 0.12);
    transition: transform 0.3s ease;
}

.realism-icon svg {
    width: 24px;
    height: 24px;
    stroke: #2563eb;
}

.realism-card:hover .realism-icon {
    transform: scale(1.15);
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1.15); }
    40% { transform: scale(1.3); }
    60% { transform: scale(1.1); }
}

.realism-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.realism-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== 10. INDUSTRIES ===== */
.ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ind-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.ind-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(79, 143, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: rgba(79, 143, 255, 0.3);
}

.ind-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid rgba(79, 143, 255, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ind-card:hover .ind-icon {
    animation: iconWiggle 0.5s ease;
}

@keyframes iconWiggle {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(8deg); }
    60% { transform: rotate(-4deg); }
    80% { transform: rotate(4deg); }
}

.ind-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--orange);
}

.ind-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.ind-card > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.ind-uses {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.ind-uses li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ind-uses li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
}

/* ===== 10B. TRY DEMO SECTION ===== */
.try-demo-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.try-demo-industries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}

.try-demo-industry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.try-demo-industry:hover {
    border-color: rgba(79, 143, 255, 0.3);
    color: var(--text-primary);
    background: var(--bg-card);
}

.try-demo-industry.active {
    border-color: var(--orange);
    background: rgba(79, 143, 255, 0.08);
    color: var(--orange);
    font-weight: 600;
}

.try-demo-industry svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}

.try-demo-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.try-demo-call-btn {
    padding: 18px 48px;
    font-size: 1.1rem;
    gap: 12px;
}

.try-demo-notice {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    max-width: 420px;
    line-height: 1.6;
}

/* ===== 11. CASE STUDIES ===== */
.cases-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cases-arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.cases-arrow:hover {
    border-color: rgba(79, 143, 255, 0.3);
    color: #2563eb;
    background: var(--bg-card-hover);
    box-shadow: 0 2px 8px rgba(79, 143, 255, 0.1);
}

.cases-arrow:disabled {
    opacity: 0.3;
    cursor: default;
    box-shadow: none;
}

.cases-arrow:disabled:hover {
    border-color: var(--border);
    color: var(--text-secondary);
    background: var(--bg-card);
    box-shadow: none;
}

.cases-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(79, 143, 255, 0.3) transparent;
}

.cases-grid::-webkit-scrollbar {
    height: 6px;
}

.cases-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.cases-grid::-webkit-scrollbar-thumb {
    background: rgba(79, 143, 255, 0.3);
    border-radius: 3px;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 340px;
    max-width: 380px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.case-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(79, 143, 255, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(79, 143, 255, 0.1);
}

.case-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.case-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid rgba(79, 143, 255, 0.12);
    flex-shrink: 0;
}

.case-industry {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0;
}

.case-problem {
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: var(--radius);
}

.case-problem h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #dc2626;
    margin-bottom: 8px;
}

.case-problem p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.case-solution {
    padding: 16px;
    background: rgba(124, 58, 237, 0.04);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--radius);
}

.case-solution h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0d9488;
    margin-bottom: 8px;
}

.case-solution p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* ===== 11. TECH MARQUEE ===== */
.tech-section {
    padding: 80px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.tech-marquee {
    overflow: hidden;
    margin-top: 48px;
}

.tech-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: marquee 35s linear infinite;
    width: max-content;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity var(--transition);
}

.tech-item:hover {
    opacity: 1;
}

.tech-item img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.tech-item:hover img {
    opacity: 1;
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ===== 12. CTA / CONTACT ===== */
.section-cta {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(79, 143, 255, 0.05), transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(6, 182, 212, 0.03), transparent 60%);
    pointer-events: none;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    margin-bottom: 16px;
}

.cta-text > p {
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.trust-signals {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.trust-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
}

.trust-icon svg {
    width: 18px;
    height: 18px;
}

.cta-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-input,
.cta-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all var(--transition);
    outline: none;
}

.form-input:focus,
.cta-form textarea:focus {
    border-color: var(--orange);
    background: rgba(79, 143, 255, 0.05);
}

.form-input::placeholder,
.cta-form textarea::placeholder {
    color: var(--text-tertiary);
}

.cta-form textarea {
    min-height: 100px;
    resize: vertical;
}

.cta-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.cta-form select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: -4px;
}


/* ===== 13. FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* ===== 13B. FLOW INTEGRATION STRIPS ===== */
.flow-integrations {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 14px 24px;
    background: rgba(79, 143, 255, 0.04);
    border-top: 1px solid var(--border);
    gap: 12px;
    flex-wrap: wrap;
}

.flow-integration-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.flow-integration-item svg {
    width: 14px;
    height: 14px;
    stroke: var(--orange);
    opacity: 0.6;
}

/* ===== 13C. KNOWLEDGE EXAMPLES ===== */
.knowledge-examples {
    margin-top: 64px;
    text-align: center;
}

.knowledge-examples-title {
    font-size: 1.3rem;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.knowledge-examples-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.knowledge-example-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    padding: 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.knowledge-example-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(79, 143, 255, 0.08);
}

.knowledge-example-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid rgba(79, 143, 255, 0.12);
}

.knowledge-example-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--orange);
}

.knowledge-example-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.knowledge-example-text strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.knowledge-example-text span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== 13D. VOICE CONTROLS MOCKUP ===== */
.voice-controls-mockup {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.voice-control-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.voice-control-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 100px;
}

.voice-slider-track {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    position: relative;
}

.voice-slider-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--pink));
    border-radius: 3px;
}

.voice-slider-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid var(--orange);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.voice-control-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange);
    min-width: 36px;
    text-align: right;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.voice-personality-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.voice-tag {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--text-tertiary);
    background: rgba(0, 0, 0, 0.02);
}

.voice-tag-active {
    background: rgba(79, 143, 255, 0.08);
    border-color: rgba(79, 143, 255, 0.3);
    color: var(--orange);
}

.voice-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.voice-selector-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.voice-selector-active {
    border-color: rgba(79, 143, 255, 0.3);
    background: rgba(79, 143, 255, 0.06);
    color: var(--text-primary);
}

.voice-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
}

.voice-avatar-alt { background: linear-gradient(135deg, var(--teal), #06b6d4); }
.voice-avatar-alt2 { background: linear-gradient(135deg, var(--purple), var(--pink)); }

.voice-selector-more {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

/* ===== 13E. WORKFLOW BUILDER MOCKUP ===== */
.wf-canvas {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.wf-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}

.wf-toolbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid;
    white-space: nowrap;
}

.wf-toolbar-item svg { width: 12px; height: 12px; }

.wf-toolbar-blue   { color: #3b82f6; background: rgba(59, 130, 246, 0.06); border-color: rgba(59, 130, 246, 0.2); }
.wf-toolbar-purple  { color: #7c3aed; background: rgba(139, 92, 246, 0.06); border-color: rgba(139, 92, 246, 0.2); }
.wf-toolbar-amber   { color: #f59e0b; background: rgba(245, 158, 11, 0.06); border-color: rgba(245, 158, 11, 0.2); }
.wf-toolbar-orange  { color: #2563eb; background: rgba(79, 143, 255, 0.06); border-color: rgba(79, 143, 255, 0.2); }
.wf-toolbar-red     { color: #ef4444; background: rgba(239, 68, 68, 0.06); border-color: rgba(239, 68, 68, 0.2); }

.wf-diagram {
    position: relative;
    height: 520px;
    padding: 20px;
    background: #0d0e14;
    background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
    overflow: hidden;
}

.wf-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.wf-edge-label {
    font-size: 9px;
    font-weight: 600;
    fill: #8892a4;
    font-family: 'Inter', sans-serif;
}

.wf-node {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 155px;
    max-width: 170px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wf-node:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.wf-node-blue    { border-left: 4px solid #3b82f6; }
.wf-node-purple  { border-left: 4px solid #7c3aed; }
.wf-node-amber   { border-left: 4px solid #f59e0b; }
.wf-node-orange  { border-left: 4px solid #2563eb; }
.wf-node-red     { border-left: 4px solid #ef4444; }
.wf-node-green   { border-left: 4px solid #22c55e; }

.wf-node-type {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.wf-node-blue .wf-node-type    { color: #3b82f6; }
.wf-node-purple .wf-node-type  { color: #7c3aed; }
.wf-node-amber .wf-node-type   { color: #f59e0b; }
.wf-node-orange .wf-node-type  { color: #2563eb; }
.wf-node-red .wf-node-type     { color: #ef4444; }
.wf-node-green .wf-node-type   { color: #22c55e; }

.wf-node-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.wf-node-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.wf-node-meta {
    font-size: 0.6rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.wf-legend {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    flex-wrap: wrap;
}

.wf-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.wf-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.wf-dot-blue    { background: #3b82f6; }
.wf-dot-purple  { background: #7c3aed; }
.wf-dot-amber   { background: #f59e0b; }
.wf-dot-orange  { background: #2563eb; }
.wf-dot-red     { background: #ef4444; }
.wf-dot-green   { background: #22c55e; }

.wf-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 32px auto 0;
    line-height: 1.7;
}

/* Mobile workflow (hidden on desktop, shown ≤768px) */
.wf-mobile { display: none; }

.wf-m-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
}

.wf-m-step {
    width: 100%;
    max-width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    border-left: 4px solid #94a3b8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.wf-m-step .wf-m-type {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    color: var(--text-tertiary);
}

.wf-m-step .wf-m-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.wf-m-step .wf-m-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.wf-m-step .wf-m-meta {
    font-size: 0.6rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--text-tertiary);
    margin-top: 6px;
}

/* Color variants */
.wf-m-blue   { border-left-color: #3b82f6; }
.wf-m-blue .wf-m-type   { color: #3b82f6; }
.wf-m-purple { border-left-color: #7c3aed; }
.wf-m-purple .wf-m-type { color: #7c3aed; }
.wf-m-amber  { border-left-color: #f59e0b; }
.wf-m-amber .wf-m-type  { color: #f59e0b; }
.wf-m-orange { border-left-color: #2563eb; }
.wf-m-orange .wf-m-type { color: #2563eb; }
.wf-m-green  { border-left-color: #22c55e; }
.wf-m-green .wf-m-type  { color: #22c55e; }

/* Vertical connector */
.wf-m-connector {
    width: 2px;
    height: 24px;
    background: #cbd5e1;
    margin: 0 auto;
}

.wf-m-connector-sm {
    width: 2px;
    height: 16px;
    background: #cbd5e1;
    margin: 0 auto;
}

/* Route label */
.wf-m-route-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 16px 0 12px;
    text-align: center;
}

/* Branches container */
.wf-m-branches {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wf-m-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 12px;
}

.wf-m-branch .wf-m-step {
    max-width: 280px;
}

/* Branch tag */
.wf-m-branch-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
    background: rgba(59,130,246,0.08);
    color: #3b82f6;
}

.wf-m-tag-blue   { background: rgba(59,130,246,0.08); color: #3b82f6; }
.wf-m-tag-purple { background: rgba(139,92,246,0.08); color: #7c3aed; }
.wf-m-tag-amber  { background: rgba(245,158,11,0.08); color: #f59e0b; }
.wf-m-tag-orange { background: rgba(37,99,235,0.08); color: #2563eb; }

/* Mobile legend (reuse desktop styles, already exist) */

/* ===== 13F. PORTAL SERVICE CARD ===== */
.portal-service-card {
    margin-top: 64px;
    background: linear-gradient(135deg, rgba(79, 143, 255, 0.05), rgba(6, 182, 212, 0.04));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
}

.portal-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(79, 143, 255, 0.1), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(79, 143, 255, 0.2);
}

.portal-service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--orange);
}

.portal-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.portal-service-card > div > p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.portal-service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    list-style: none;
    padding: 0;
}

.portal-service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.portal-service-list li::before {
    content: '\2713';
    font-weight: 700;
    color: var(--orange);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* ===== 13G. PORTAL SCREENSHOT ===== */
.portal-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 24px;
    align-items: center;
}
.portal-screenshot-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    border: 1px solid var(--border);
}
.portal-screenshot-img {
    width: 100%;
    display: block;
}
.portal-labels-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.portal-labels-left {
    align-items: flex-end;
}
.portal-labels-right {
    align-items: flex-start;
}
.portal-label-bottom {
    grid-column: 1 / -1;
    justify-self: center;
}
.portal-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 24, 34, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    border: 1px solid rgba(79,143,255,0.2);
}
.portal-label-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--orange);
    animation: portalPulse 2s infinite;
}
@keyframes portalPulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ===== 13H. PRICING SECTION ===== */
.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.pricing-card-inner {
    background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(6,182,212,0.04));
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: var(--radius-xl);
    padding: 48px;
}
.pricing-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.08));
    border: 1px solid rgba(37,99,235,0.2);
}
.pricing-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--orange);
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.pricing-card p { margin-bottom: 32px; color: var(--text-secondary); line-height: 1.7; }

/* ===== 13H-TW. TAIWAN PRICING TIERS (zh-TW only) ===== */

.tw-pricing-billing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(79, 143, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 24px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.tw-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

.tw-pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.tw-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(79, 143, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: rgba(79, 143, 255, 0.3);
}

.tw-pricing-card-recommended {
    border-color: rgba(79, 143, 255, 0.35);
    background: linear-gradient(135deg, rgba(79, 143, 255, 0.05), rgba(6, 182, 212, 0.03));
    box-shadow: 0 4px 20px rgba(79, 143, 255, 0.1);
}

.tw-pricing-recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-blue-cyan);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.tw-pricing-card-enterprise {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-color: rgba(79, 143, 255, 0.25);
    color: #ffffff;
}

.tw-pricing-card-enterprise .tw-pricing-card-header h3 { color: #ffffff; }
.tw-pricing-card-enterprise .tw-pricing-features li { color: rgba(255, 255, 255, 0.8); }
.tw-pricing-card-enterprise .tw-pricing-features li::before { color: var(--orange); }
.tw-pricing-card-enterprise .tw-pricing-suitable { border-color: rgba(255, 255, 255, 0.1); }
.tw-pricing-card-enterprise .tw-pricing-suitable-label { color: rgba(255, 255, 255, 0.5); }
.tw-pricing-card-enterprise .tw-pricing-suitable span:last-child { color: rgba(255, 255, 255, 0.9); }
.tw-pricing-card-enterprise:hover {
    box-shadow: 0 8px 30px rgba(79, 143, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tw-pricing-card-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tw-pricing-card-enterprise .tw-pricing-card-header { border-bottom-color: rgba(255, 255, 255, 0.1); }

.tw-pricing-card-header h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.tw-pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.tw-pricing-currency {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

.tw-pricing-card-enterprise .tw-pricing-currency { color: rgba(255, 255, 255, 0.5); }

.tw-pricing-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.tw-pricing-card-enterprise .tw-pricing-amount { color: #ffffff; }

.tw-pricing-period {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.tw-pricing-card-enterprise .tw-pricing-period { color: rgba(255, 255, 255, 0.5); }

.tw-pricing-price-custom { flex-direction: column; align-items: center; }

.tw-pricing-amount-custom {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tw-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.tw-pricing-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.tw-pricing-features li::before {
    content: '\2713';
    color: var(--green);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.tw-pricing-feature-disabled { opacity: 0.5; }
.tw-pricing-feature-disabled::before {
    content: '\2717' !important;
    color: var(--text-tertiary) !important;
}

.tw-pricing-suitable {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tw-pricing-suitable-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
}

.tw-pricing-suitable span:last-child {
    font-size: 0.82rem;
    color: var(--orange);
    font-weight: 600;
    line-height: 1.5;
}

.tw-pricing-btn {
    width: 100%;
    margin-top: auto;
}

/* ===== 13I. VOICE DEMO — FULL-PAGE VIEW ===== */
.voice-modal-overlay {
    position: fixed;
    inset: 0;
    background: #0a0a0f;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.voice-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.voice-modal-card {
    width: 100%;
    max-width: 440px;
    padding: 60px 32px 40px;
    text-align: center;
    position: relative;
    margin: auto;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.voice-modal-overlay.active .voice-modal-card {
    transform: translateY(0);
}

.voice-modal-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.voice-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* Widget container */
.voice-widget-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    min-height: 400px;
}

.voice-widget-container #voiceWidgetMount {
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-widget-container #voiceWidgetMount elevenlabs-convai {
    width: 100%;
    max-width: 440px;
}

/* Briefing screen (pre-call) */
.voice-briefing {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.voice-briefing-icon {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1;
}

.voice-briefing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.voice-briefing-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 360px;
    margin: 0 0 36px;
}

.voice-briefing-start {
    padding: 16px 48px;
    font-size: 1.05rem;
    gap: 10px;
}

.voice-briefing-notice {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    max-width: 340px;
    line-height: 1.5;
    margin-top: 28px;
}


/* ===== 13F. SONIA POS PAGE ===== */
.spos-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.spos-feature-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spos-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(79, 143, 255, 0.08);
}

.spos-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.spos-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--orange);
}

.spos-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.spos-feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Device showcase */
.spos-devices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.spos-device-card {
    text-align: center;
}

.spos-device-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.spos-device-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto;
}

.spos-device-mockup {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

/* Phone frame */
.spos-frame-phone {
    display: inline-block;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 14px 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 2px #333;
    position: relative;
    transition: transform 0.4s ease;
}

.spos-frame-phone::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 10px;
    z-index: 2;
}

.spos-frame-phone::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    background: #333;
    border-radius: 10px;
    z-index: 2;
}

.spos-frame-phone img {
    display: block;
    border-radius: 28px;
    max-width: 240px;
    width: 100%;
}

.spos-frame-phone:hover {
    transform: translateY(-8px);
}

/* Tablet frame */
.spos-frame-tablet {
    display: inline-block;
    background: #1a1a1a;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 2px #333;
    position: relative;
    transition: transform 0.4s ease;
}

.spos-frame-tablet::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    z-index: 2;
}

.spos-frame-tablet img {
    display: block;
    border-radius: 6px;
    max-width: 480px;
    width: 100%;
}

.spos-frame-tablet:hover {
    transform: translateY(-8px);
}


/* ===== 14. ANIMATIONS & KEYFRAMES ===== */
@keyframes meshShift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-2%, 3%) scale(1.02); }
    66% { transform: translate(3%, -2%) scale(0.98); }
    100% { transform: translate(-1%, 1%) scale(1.01); }
}

@keyframes glowFloat1 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 30px); }
}

@keyframes glowFloat2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-40px, 40px); }
}

@keyframes glowFloat3 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, -30px); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Scroll animations — removed opacity-hiding to prevent invisible sections */

/* ===== 15. RESPONSIVE — 1024px ===== */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-right-mobile { display: flex; }
    .nav-toggle { display: flex; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        padding: 100px 32px 32px;
        gap: 0;
        z-index: 999;
    }

    .nav-links.active a {
        padding: 16px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active .btn-nav {
        margin-top: 16px;
        text-align: center;
    }

    .nav-links.active .lang-toggle {
        margin-top: 16px;
    }

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

    .voice-card {
        padding: 32px;
    }

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

    .flow-diagrams {
        grid-template-columns: 1fr;
    }

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

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .knowledge-examples-grid { grid-template-columns: 1fr 1fr; }

    .wf-diagram { min-width: 1050px; }
    .wf-canvas { overflow-x: auto; }

    .tw-pricing-grid { grid-template-columns: repeat(2, 1fr); }

    .spos-features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 16. RESPONSIVE — 768px ===== */
@media (max-width: 768px) {
    .section { padding: 80px 0; }

    .hero { padding: 100px 0 60px; }

    .hero-stats { gap: 24px; }
    .stat-divider { display: none; }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-cta { flex-direction: column; align-items: center; }

    .industry-bar-row { gap: 20px 24px; }
    .industry-bar-item span { display: none; }

    .voice-grid { grid-template-columns: 1fr; }
    .voice-stats-grid { grid-template-columns: 1fr 1fr; }
    .voice-card { padding: 24px; }

    .overview-diagram { display: none; }
    .overview-diagram-mobile { display: block; }

    .flow-diagrams { grid-template-columns: 1fr; }
    .flow-steps { flex-direction: column; padding: 16px; }
    .flow-arrow { transform: none; font-size: 0; line-height: 0; }
    .flow-arrow::after { content: '↓'; font-size: 1.2rem; line-height: 1; display: block; }
    .flow-step { padding: 10px; }

    .realism-grid { grid-template-columns: 1fr; }
    .realism-grid-3col { grid-template-columns: 1fr; }

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

    .cases-arrow { display: none; }

    /* Peek: carousel sits edge-to-edge, grid scrolls with next card visible */
    .cases-carousel {
        display: block;
        /* Allow the grid to bleed to the right edge of screen */
        margin-left: -16px;
        margin-right: -16px;
    }
    .cases-grid {
        padding-left: 16px;
        /* Right padding = gap, so next card peeks just past the right edge */
        padding-right: 16px;
        gap: 16px;
        scroll-padding-left: 16px;
        scrollbar-width: none;
    }
    .cases-grid::-webkit-scrollbar { display: none; }
    .case-card {
        /* ~82% of viewport so ~18% of next card peeks */
        min-width: 82vw;
        max-width: 82vw;
    }

    .try-demo-industry { padding: 8px 16px; font-size: 0.82rem; }
    .try-demo-industries { gap: 8px; }
    .try-demo-call-btn { padding: 16px 36px; font-size: 1rem; }

    .form-row { grid-template-columns: 1fr; }

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

    .section-header {
        margin-bottom: 40px;
    }

    .tech-item span { display: none; }
    .tech-track { gap: 48px; }

    .knowledge-examples-grid { grid-template-columns: 1fr; }

    .voice-control-label { min-width: 80px; font-size: 0.72rem; }

    .wf-canvas { display: none; }
    .wf-mobile { display: block; }
    .wf-mobile .wf-legend { flex-wrap: wrap; }
    .wf-toolbar { flex-wrap: wrap; }

    .portal-layout { grid-template-columns: 1fr; gap: 16px; }
    .portal-labels-col { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .portal-labels-left, .portal-labels-right { align-items: center; }
    .portal-label-bottom { grid-column: auto; }
    .portal-label { font-size: 0.75rem; padding: 8px 14px; }
    .pricing-card-inner { padding: 32px 20px; }

    .portal-service-card { padding: 32px 20px; }
    .portal-service-list { grid-template-columns: 1fr; }

    .flow-integrations { justify-content: center; gap: 8px 16px; }

    .voice-modal-card { padding: 48px 16px 32px; }
    .voice-modal-close { top: 14px; right: 16px; width: 36px; height: 36px; font-size: 22px; }

    .spos-features-grid { grid-template-columns: 1fr; }
    .spos-feature-card { padding: 24px; }
    .spos-devices-grid { grid-template-columns: 1fr; gap: 40px; }
    .spos-frame-phone img { max-width: 200px; }
    .spos-frame-phone { border-radius: 32px; padding: 10px 6px; }
    .spos-frame-tablet img { max-width: 100%; }

    /* Taiwan cost comparison responsive */
    .tw-cost-nodes {
        flex-direction: column;
        gap: 12px;
    }

    .tw-cost-node {
        min-width: 0;
        width: 100%;
        max-width: 280px;
    }

    .tw-cost-node-connector {
        transform: rotate(90deg);
        padding: 0;
    }

    .tw-cost-pitch h3 { font-size: 1.3rem; }

    .tw-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .tw-benefit-card { padding: 20px 14px; }
    .tw-benefit-card span { font-size: 0.82rem; }

    /* Taiwan pricing tiers responsive */
    .tw-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .tw-pricing-billing-note { font-size: 0.82rem; padding: 10px 16px; }
    .tw-pricing-card { padding: 28px 22px; }
}
