/* ============================================================
   INFLOW LANDING PAGE — style.css
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --primary:        #6C63FF;
    --primary-dark:   #5A52D5;
    --primary-light:  #8B83FF;
    --primary-bg:     #F0EEFF;

    --accent:         #FF6B6B;
    --accent-hover:   #FF5252;

    --gradient-hero:  linear-gradient(135deg, #1A1A2E 0%, #2D2B55 40%, #6C63FF 100%);
    --gradient-cta:   linear-gradient(135deg, #FF6B6B, #FF8E53);
    --gradient-card:  linear-gradient(135deg, #f8f7ff, #ede9fe);

    --text-primary:   #1A1A2E;
    --text-secondary: #6B7280;
    --text-on-dark:   #FFFFFF;
    --text-muted:     #9CA3AF;

    --bg-light:       #F8F7FF;
    --bg-white:       #FFFFFF;
    --bg-dark:        #1A1A2E;

    --border-light:   #E5E7EB;
    --border-soft:    #EDE9FE;

    --radius-sm:      8px;
    --radius-md:      12px;
    --radius-lg:      18px;
    --radius-xl:      24px;
    --radius-pill:    999px;

    --shadow-sm:      0 2px 8px rgba(108, 99, 255, 0.08);
    --shadow-md:      0 8px 24px rgba(108, 99, 255, 0.12);
    --shadow-lg:      0 16px 48px rgba(108, 99, 255, 0.16);
    --shadow-xl:      0 24px 64px rgba(108, 99, 255, 0.20);

    --font-main:      'Noto Sans', 'Noto Sans TC', 'Noto Sans SC', 'Noto Sans Thai', system-ui, -apple-system, sans-serif;

    --section-padding: 120px;
    --container-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}
.container-sm { max-width: 800px; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-accent {
    background: var(--gradient-cta);
    color: #fff;
    border: none;
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* --- Section Labels --- */
.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 12px;
    text-align: center;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.3;
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"]  { transform: translateX(40px);  }
[data-animate].animate-in   { opacity: 1; transform: translate(0, 0); }


/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.nav-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
}
/* 映「单」accent 紅 — 跟商家後台 / 平台後台 sidebar logo 同款 */
.nav-logo-accent { color: #FF6B6B; }
.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links > a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links > a:hover { color: #fff; }
.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: all 0.3s;
}
.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 0.8rem;
    font-family: var(--font-main);
    transition: all 0.2s;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
    z-index: 100;
}
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: background 0.15s;
}
.lang-option:hover { background: var(--bg-light); }
.lang-option.active { background: var(--primary-bg); color: var(--primary); font-weight: 600; }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--gradient-hero);
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(108, 99, 255, 0.2);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: var(--radius-pill);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}
.hero-ctas .btn-outline {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}
.hero-ctas .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.hero-stat { text-align: center; }
.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}
.hero-stat span:not(.hero-stat-number):not(.hero-stat-label) {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}
.hero-stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Background Shapes */
.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}
.shape1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; }
.shape2 { width: 300px; height: 300px; background: #FF6B6B; bottom: -50px; left: -50px; }
.shape3 { width: 200px; height: 200px; background: var(--primary-light); top: 50%; left: 30%; }


/* ============================================================
   MOCKUP (Hero Visual)
   ============================================================ */
.hero-mockup { position: relative; perspective: 1000px; }
.mockup-window {
    background: #1E1E2E;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 80px rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.mockup-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #28C840; }
.mockup-url {
    margin-left: 12px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}
.mockup-body {
    display: flex;
    min-height: 280px;
}
.mockup-sidebar {
    width: 60px;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mockup-menu-item {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}
.mockup-menu-item.active { background: var(--primary); }
.mockup-content {
    flex: 1;
    padding: 20px;
}
.mockup-stat-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.mockup-stat-card {
    flex: 1;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.mockup-stat-card.c1 { border-left: 3px solid var(--primary); }
.mockup-stat-card.c2 { border-left: 3px solid #28C840; }
.mockup-stat-card.c3 { border-left: 3px solid #FFBD2E; }
.mockup-stat-icon { font-size: 0.8rem; margin-bottom: 4px; }
.mockup-stat-val { font-size: 1rem; font-weight: 700; color: #fff; }
.mockup-stat-lbl { font-size: 0.65rem; color: rgba(255, 255, 255, 0.4); margin-top: 2px; }
.mockup-chart { margin-bottom: 12px; }
.chart-svg { width: 100%; height: auto; }
.chart-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 2s ease forwards 0.5s;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.chart-area { opacity: 0; animation: fadeIn 1s ease forwards 1.5s; }
@keyframes fadeIn { to { opacity: 1; } }

/* Live Feed */
.mockup-live-feed {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 75, 75, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    color: #FF6B6B;
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF6B6B;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.bid-bubbles { display: flex; gap: 6px; margin-left: auto; }
.bid-bubble {
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    font-size: 0.65rem;
    color: #fff;
    animation: bidPop 2s ease infinite;
}
.bid-bubble.b2 { animation-delay: 0.5s; }
.bid-bubble.b3 { animation-delay: 1s; }
@keyframes bidPop {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Floating Cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: floatCard 4s ease-in-out infinite;
}
.fc1 { top: 20px; right: -30px; animation-delay: 0s; }
.fc2 { bottom: 40px; left: -20px; animation-delay: 2s; }
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.float-card-icon { font-size: 1.3rem; }
.float-card-title { font-weight: 700; font-size: 0.85rem; }
.float-card-sub { font-size: 0.75rem; color: var(--text-muted); }


/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain-points {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.pain-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border-soft);
    transition: all 0.3s;
}
.pain-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.pain-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.pain-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.pain-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}
.pain-solution {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}
.pain-arrow { font-size: 1.2rem; }


/* ============================================================
   SOLUTION MAP — 4-Pillar Flywheel
   ============================================================ */
.solution-map {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}
.solution-map .section-sub {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 1rem;
}
.solution-diagram {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
    max-width: 1080px;
    margin: 80px auto 0;
    min-height: 600px;
    align-items: center;
}

/* Central hub */
.sm-hub {
    grid-column: 2;
    grid-row: 2;
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    z-index: 2;
}
.sm-hub-ring {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 2px dashed var(--primary);
    opacity: 0.4;
    animation: smHubSpin 30s linear infinite;
}
@keyframes smHubSpin { to { transform: rotate(360deg); } }
.sm-hub-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--gradient-hero);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    text-align: center;
}
.sm-hub-logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 1px;
}
.sm-hub-accent { color: var(--accent); }
.sm-hub-sub {
    font-size: 0.75rem;
    opacity: 0.85;
    margin-top: 4px;
    padding: 0 12px;
    line-height: 1.3;
}

/* Pillar spokes */
.sm-spoke {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: 24px 22px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}
.sm-spoke:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.sm-spoke.sm-top    { grid-column: 2; grid-row: 1; }
.sm-spoke.sm-right  { grid-column: 3; grid-row: 2; }
.sm-spoke.sm-bottom { grid-column: 2; grid-row: 3; }
.sm-spoke.sm-left   { grid-column: 1; grid-row: 2; }

.sm-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
    display: inline-block;
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 50%;
    background: var(--primary-bg);
}
.sm-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.sm-spoke.sm-top    .sm-tag { background: var(--accent); }
.sm-spoke.sm-bottom .sm-tag { background: var(--primary-dark); }
.sm-spoke.sm-left   .sm-tag { background: #16A34A; }
.sm-spoke.sm-right  .sm-tag { background: #0EA5E9; }
.sm-spoke h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.sm-spoke p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}
.sm-solves {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--primary-bg);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    line-height: 1.4;
}

/* Connecting SVG lines */
.sm-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}


/* ============================================================
   FEATURES
   ============================================================ */
.features {
    padding: var(--section-padding) 0;
}
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.feature-tag.star {
    background: linear-gradient(135deg, #FFE066, #FFBD2E);
    color: #6B4E00;
}
.feature-text h4 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.3;
}
.feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.5;
}

/* Feature Highlight callout (IG/Messenger 7-day human-agent window) */
.feature-highlight {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #F0EEFF 0%, #FDECEC 100%);
    border: 1px solid #E4E0FF;
}
.feature-highlight .fh-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 6px 11px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 3px rgba(90, 82, 213, 0.15);
    white-space: nowrap;
}
.feature-highlight .fh-badge svg { display: block; }
.feature-highlight .fh-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 5px;
}
.feature-highlight .fh-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
@media (max-width: 640px) {
    .feature-highlight { flex-direction: column; gap: 10px; }
}

/* Feature Visuals (CSS-only mockups) */
.fv-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

/* Coupon Visual */
.fv-coupon {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.fv-coupon-ticket {
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 14px;
    padding: 18px 20px;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    position: relative;
}
.fv-coupon-ticket::before,
.fv-coupon-ticket::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-card, #fff);
    top: 50%;
    transform: translateY(-50%);
}
.fv-coupon-ticket::before { left: 84px; }
.fv-coupon-ticket::after { display: none; }
.fv-coupon-discount { background: linear-gradient(135deg, #FB923C, #F97316); }
.fv-coupon-free { background: linear-gradient(135deg, #34D399, #10B981); }
.fv-coupon-amt {
    flex: 0 0 84px;
    font-size: 1.7rem;
    font-weight: 800;
    text-align: center;
    line-height: 1;
}
.fv-coupon-cond {
    font-size: .95rem;
    font-weight: 600;
    padding-left: 12px;
}

/* Marketplace Visual */
.fv-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.fv-product {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.fv-product-img {
    width: 100%;
    height: 80px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #FFD6A5, #FF9A76);
    margin-bottom: 10px;
}
.fv-product-img.c2 { background: linear-gradient(135deg, #FF9A9E, #FECFEF); }
.fv-product-img.c3 { background: linear-gradient(135deg, #A8E6CF, #DCEDC1); }
.fv-product-img.c4 { background: linear-gradient(135deg, #FFD3B6, #FFAAA5); }
.fv-product-name { font-weight: 600; font-size: 0.8rem; margin-bottom: 4px; }
.fv-product-price { font-weight: 800; color: var(--primary); font-size: 0.95rem; }

/* Auction Visual */
.fv-auction { background: linear-gradient(135deg, #1E1E2E, #2D2B55); color: #fff; }
.fv-live-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}
.fv-viewers { margin-left: auto; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.fv-bid-list { margin-bottom: 16px; }
.fv-bid-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}
.fv-bid-item.new {
    background: rgba(108, 99, 255, 0.2);
    border: 1px solid rgba(108, 99, 255, 0.3);
    animation: newBid 0.5s ease;
}
@keyframes newBid {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.fv-bid-user { color: rgba(255, 255, 255, 0.7); }
.fv-bid-amount { font-weight: 700; color: #28C840; }
.fv-bid-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
}
.fv-current { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.fv-bid-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
}
.fv-bid-bubbles { position: absolute; top: 10px; right: 10px; }
.fv-bb {
    position: absolute;
    padding: 4px 10px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    animation: bubbleFloat 3s ease-in-out infinite;
    opacity: 0;
}
.fv-bb.b1 { right: 0; top: 0; animation-delay: 0s; }
.fv-bb.b2 { right: 20px; top: -20px; animation-delay: 1s; }
.fv-bb.b3 { right: -10px; top: -40px; animation-delay: 2s; }
@keyframes bubbleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0.8); }
    20% { opacity: 1; transform: translateY(-10px) scale(1); }
    80% { opacity: 1; transform: translateY(-40px) scale(1); }
    100% { opacity: 0; transform: translateY(-60px) scale(0.8); }
}

/* Logistics Visual */
.fv-shipping-zones { margin-bottom: 20px; }
.fv-zone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}
.fv-zone.ambient { background: #FFF9E6; }
.fv-zone.chilled { background: #E6F4FF; }
.fv-zone.frozen  { background: #E6E6FF; }
.fv-zone-icon { font-size: 1.3rem; }
.fv-zone-fee { margin-left: auto; font-weight: 700; color: var(--primary); }
.fv-delivery-methods { display: flex; gap: 16px; }
.fv-dm {
    flex: 1;
    text-align: center;
    padding: 16px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: 0.8rem;
    font-weight: 600;
}
.fv-dm-icon { font-size: 1.5rem; margin-bottom: 6px; }

/* Analytics Visual */
.fv-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 160px;
    margin-bottom: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}
.fv-bar {
    flex: 1;
    height: var(--h);
    background: var(--primary-bg);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    position: relative;
    transition: background 0.3s;
}
.fv-bar.highlight { background: var(--primary); }
.fv-bar span {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: var(--text-muted);
}
.fv-metrics { display: flex; gap: 24px; }
.fv-metric { text-align: center; flex: 1; }
.fv-metric-val { font-size: 1.3rem; font-weight: 800; display: block; }
.fv-metric.up .fv-metric-val { color: #28C840; }
.fv-metric-lbl { font-size: 0.75rem; color: var(--text-muted); }

/* Members Visual */
.fv-member {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}
.fv-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
}
.fv-avatar.a1 { background: var(--primary); }
.fv-avatar.a2 { background: #28C840; }
.fv-avatar.a3 { background: #FFBD2E; }
.fv-member-info { flex: 1; }
.fv-member-name { font-weight: 600; font-size: 0.9rem; display: block; }
.fv-member-meta { font-size: 0.75rem; color: var(--text-muted); }
.fv-member-badge {
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    background: #E6F4FF;
    color: #1E6DB5;
}
.fv-member-badge.vip {
    background: linear-gradient(135deg, #FFE066, #FFBD2E);
    color: #6B4E00;
}

/* Live Ads Visual */
.fv-ads { background: linear-gradient(135deg, #1E1E2E, #2D2B55); color: #fff; }
.fv-ad-preview { margin-bottom: 16px; }
.fv-ad-banner {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}
.fv-ad-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    background: rgba(255, 107, 107, 0.2);
    color: var(--accent);
    border-radius: var(--radius-pill);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fv-ad-product-img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #6C63FF, #8B83FF);
    flex-shrink: 0;
}
.fv-ad-info { flex: 1; }
.fv-ad-name {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 4px;
}
.fv-ad-price {
    font-weight: 800;
    color: #28C840;
    font-size: 0.95rem;
}
.fv-ad-cta {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    white-space: nowrap;
}
.fv-ad-metrics {
    display: flex;
    gap: 12px;
}
.fv-ad-metric {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
}
.fv-ad-metric-val {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}
.fv-ad-metric-lbl {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Multi-Language Visual */
.fv-lang-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}
.fv-lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    transition: border-color 0.2s, background 0.2s;
}
.fv-lang-item.active {
    border-color: var(--primary);
    background: var(--primary-bg);
    font-weight: 700;
}
.fv-lang-flag { font-size: 1.2rem; }
.fv-lang-preview {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.fv-lang-preview-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-light);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
}
.fv-lang-preview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28C840;
}
.fv-lang-preview-body { padding: 16px; }
.fv-lang-text-line {
    height: 10px;
    border-radius: 5px;
    background: var(--bg-light);
    margin-bottom: 8px;
}
.fv-lang-text-line:last-child { margin-bottom: 0; }
.fv-lang-text-line.w80 { width: 80%; }
.fv-lang-text-line.w60 { width: 60%; }
.fv-lang-text-line.w90 { width: 90%; }

/* InSell Visual — chat bubble + buy card */
.fv-insell { background: linear-gradient(135deg, #F0EEFF, #FCE7F3); }
.fv-insell-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--text-primary);
}
.fv-insell-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.fv-insell-msg {
    background: #fff;
    padding: 10px 14px;
    border-radius: 16px 16px 16px 4px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    max-width: 80%;
    font-size: 0.9rem;
}
.fv-insell-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--primary);
    margin-bottom: 12px;
}
.fv-insell-card-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #FFD6A5, #FF9A76);
    flex-shrink: 0;
}
.fv-insell-card-body { flex: 1; }
.fv-insell-card-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.fv-insell-card-price { font-weight: 800; color: var(--primary); font-size: 1.1rem; margin-bottom: 8px; }
.fv-insell-card-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}
.fv-insell-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}
.fv-insell-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-light);
}
.fv-insell-dots span.active { background: var(--primary); width: 18px; border-radius: 3px; }
.fv-insell-hint {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Wholesale Mall Visual */
.fv-mall { background: linear-gradient(135deg, #FFF4E6, #F0EEFF); }
.fv-mall-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.fv-mall-tabs span {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #fff;
    color: #64748b;
    box-shadow: var(--shadow-sm);
}
.fv-mall-tabs span.active { background: var(--primary); color: #fff; }
.fv-mall-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
}
.fv-mall-img {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #C7B8FF, #8B83FF);
}
.fv-mall-img.alt { background: linear-gradient(135deg, #FFD9A0, #FF9F6B); }
.fv-mall-body { flex: 1; min-width: 0; }
.fv-mall-name { font-weight: 600; font-size: 0.88rem; }
.fv-mall-supplier { font-size: 0.72rem; color: #64748b; margin-top: 2px; }
.fv-mall-right { text-align: right; }
.fv-mall-price { font-weight: 800; color: var(--text-primary); font-size: 0.95rem; }
.fv-mall-margin {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    border-radius: 999px;
    padding: 2px 8px;
    margin-top: 4px;
}
.fv-mall-footer { text-align: center; font-size: 0.75rem; color: #64748b; margin-top: 4px; }

/* Notification Hub Visual */
.fv-notify { background: linear-gradient(135deg, #EEF2FF, #E0E7FF); }
.fv-notify-channels {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.fv-nc {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}
.fv-nc-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.fv-nc-icon.nc-msg  { background: #0084FF; }
.fv-nc-icon.nc-ig   { background: linear-gradient(135deg, #F58529, #DD2A7B, #515BD4); }
.fv-nc-icon.nc-line { background: #06C755; }
.fv-nc-icon.nc-wa   { background: #25D366; }
.fv-nc-icon.nc-in   { background: var(--primary); }
.fv-nc-count { margin-left: auto; color: var(--text-muted); font-weight: 500; font-size: 0.8rem; }
.fv-notify-metrics {
    display: flex;
    gap: 12px;
}
.fv-notify-metric {
    flex: 1;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.fv-notify-val { display: block; font-weight: 800; font-size: 1.1rem; color: var(--text-primary); }
.fv-notify-metric.up .fv-notify-val { color: #16A34A; }
.fv-notify-lbl { display: block; font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

/* Taxonomy Visual */
.fv-taxonomy { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.fv-tx-tree {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    font-family: 'SF Mono', Menlo, monospace;
    font-size: 0.85rem;
}
.fv-tx-node {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: var(--text-primary);
}
.fv-tx-node.lvl1 { padding-left: 16px; }
.fv-tx-node.lvl2 { padding-left: 32px; }
.fv-tx-node.lvl3 { padding-left: 48px; }
.fv-tx-node.active { color: var(--primary); font-weight: 700; }
.fv-tx-caret { color: var(--text-muted); font-size: 0.7rem; }
.fv-tx-leaf { color: var(--primary); font-size: 0.7rem; }
.fv-tx-tags {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.fv-tx-tags-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fv-tx-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.fv-tx-chip {
    background: var(--primary-bg);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Preorder Visual */
.fv-preorder { background: linear-gradient(135deg, #DCFCE7, #BBF7D0); }
.fv-pr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.fv-pr-title { font-weight: 700; color: var(--text-primary); }
.fv-pr-tag {
    background: #fff;
    color: #16A34A;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}
.fv-pr-list {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
}
.fv-pr-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-light);
    font-size: 0.85rem;
}
.fv-pr-row:last-child { border-bottom: none; }
.fv-pr-row.dim { opacity: 0.45; }
.fv-pr-user { flex: 1; font-weight: 600; color: var(--text-primary); }
.fv-pr-qty {
    background: var(--primary-bg);
    color: var(--primary-dark);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 32px;
    text-align: center;
}
.fv-pr-state {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}
.fv-pr-state.done { background: #DCFCE7; color: #16A34A; }
.fv-pr-state.wait { background: #FEF3C7; color: #B45309; }
.fv-pr-footer {
    text-align: center;
    color: #16A34A;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Online Support Visual */
.fv-support { background: linear-gradient(135deg, #FFF7ED, #FFEDD5); }
.fv-sp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-primary);
}
.fv-sp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #16A34A;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}
.fv-sp-body {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
}
.fv-sp-msg {
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    max-width: 80%;
    line-height: 1.4;
}
.fv-sp-msg.customer {
    background: #F3F4F6;
    border-radius: 14px 14px 14px 4px;
}
.fv-sp-msg.staff {
    background: var(--primary);
    color: #fff;
    border-radius: 14px 14px 4px 14px;
    margin-left: auto;
}
.fv-sp-card {
    background: #FFF7ED;
    border-radius: var(--radius-sm);
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px dashed var(--primary);
    margin-top: 8px;
}
.fv-sp-card-img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: linear-gradient(135deg, #FFD6A5, #FF9A76);
    flex-shrink: 0;
}
.fv-sp-card-title { font-weight: 600; font-size: 0.8rem; }
.fv-sp-card-price { font-weight: 800; color: var(--primary); font-size: 0.9rem; }
.fv-sp-typing {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.fv-sp-dots {
    display: inline-flex;
    gap: 3px;
}
.fv-sp-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: fvSpDot 1.4s infinite ease-in-out;
}
.fv-sp-dots i:nth-child(2) { animation-delay: 0.2s; }
.fv-sp-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes fvSpDot {
    0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}

/* Private + Voice Live Visual — 2-pane card */
.fv-private-voice { background: linear-gradient(135deg, #FFF7ED, #FCE7F3); }
.fv-pv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.fv-pv-half {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 18px 14px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.fv-pv-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.fv-pv-private .fv-pv-badge { background: #FFE4E6; color: #BE123C; }
.fv-pv-voice   .fv-pv-badge { background: #DBEAFE; color: #1D4ED8; }
.fv-pv-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}
.fv-pv-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.fv-pv-invites {
    padding: 0;
    text-align: left;
    font-size: 0.78rem;
}
.fv-pv-invites li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    color: var(--text-primary);
}
.fv-pv-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}
.fv-pv-check { margin-left: auto; color: #16A34A; font-weight: 700; }
.fv-pv-waveform {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 3px;
    height: 50px;
    margin: 8px 0;
}
.fv-pv-waveform span {
    display: block;
    width: 4px;
    background: linear-gradient(180deg, #0EA5E9, #6C63FF);
    border-radius: 2px;
    animation: fvPvWave 1.2s ease-in-out infinite;
}
.fv-pv-waveform span:nth-child(1)  { height: 30%; animation-delay: 0s; }
.fv-pv-waveform span:nth-child(2)  { height: 60%; animation-delay: 0.1s; }
.fv-pv-waveform span:nth-child(3)  { height: 90%; animation-delay: 0.2s; }
.fv-pv-waveform span:nth-child(4)  { height: 70%; animation-delay: 0.3s; }
.fv-pv-waveform span:nth-child(5)  { height: 50%; animation-delay: 0.4s; }
.fv-pv-waveform span:nth-child(6)  { height: 80%; animation-delay: 0.5s; }
.fv-pv-waveform span:nth-child(7)  { height: 40%; animation-delay: 0.6s; }
.fv-pv-waveform span:nth-child(8)  { height: 70%; animation-delay: 0.7s; }
.fv-pv-waveform span:nth-child(9)  { height: 55%; animation-delay: 0.8s; }
.fv-pv-waveform span:nth-child(10) { height: 35%; animation-delay: 0.9s; }
@keyframes fvPvWave {
    0%, 100% { transform: scaleY(0.6); }
    50%      { transform: scaleY(1); }
}
.fv-pv-time {
    font-size: 0.72rem;
    color: #DC2626;
    font-weight: 700;
    margin-top: 4px;
}

/* Enterprise Visual — 2x2 grid */
.fv-enterprise { background: linear-gradient(135deg, #1A1A2E, #2D2B55); color: #fff; }
.fv-ent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fv-ent-cell {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.fv-ent-cell:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}
.fv-ent-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.fv-ent-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.step {
    text-align: center;
    flex: 1;
    max-width: 280px;
    position: relative;
}
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1rem;
}
.step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.step h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.step-connector {
    width: 80px;
    height: 2px;
    background: var(--border-soft);
    margin-top: 56px;
    flex-shrink: 0;
    position: relative;
}
.step-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary);
    border-top: 2px solid var(--primary);
    transform: rotate(45deg);
}


/* ============================================================
   CONTACT US
   ============================================================ */
.contact {
    padding: var(--section-padding) 0;
}
.contact-inner {
    max-width: 640px;
    margin: 0 auto;
}
.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    border: 2px solid var(--border-soft);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}
.contact-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.contact-card h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.contact-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}
.contact-benefits {
    text-align: left;
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.contact-benefits li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.contact-benefits li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}
.contact-cta {
    font-size: 1.05rem !important;
    padding: 18px 36px !important;
}
.contact-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 1px solid var(--border-soft);
    transition: all 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-metric {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.testimonial-metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 16px;
}
.testimonial-quote {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }


/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integrations { padding: var(--section-padding) 0; }
.integration-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.int-logo {
    text-align: center;
    transition: transform 0.3s;
}
.int-logo:hover { transform: translateY(-4px); }
.int-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
}
.int-icon.fb   { background: #1877F2; }
.int-icon.ig   { background: linear-gradient(135deg, #833AB4, #E1306C, #F77737); }
.int-icon.tt   { background: #010101; }
.int-icon.line { background: #06C755; }
.int-icon.pay  { background: var(--primary); }
.int-icon.ship { background: #FFBD2E; font-size: 1.5rem; }
.int-logo span { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }


/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: var(--section-padding) 0; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border-light);
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 40px 20px 0;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--primary); }
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
    content: '\2212';
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer p {
    padding: 0 0 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
    padding: var(--section-padding) 0;
    background: var(--gradient-hero);
}
.cta-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.cta-inner h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}
.cta-inner > p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
}
.cta-buttons {
    margin-bottom: 16px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-buttons .btn {
    font-size: 1.1rem;
    padding: 18px 48px;
}
.btn-outline-light {
    background: transparent;
    color: #FFF;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.18s ease;
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}
.cta-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   C. Mid-features signup CTA banner
   ============================================================ */
.features-mid-cta {
    margin: 60px auto;
    padding: 0 24px;
    max-width: 960px;
}
.features-mid-cta-inner {
    background: linear-gradient(135deg, #6C63FF, #8B83FF);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow-lg);
}
.features-mid-cta-text { color: #FFF; }
.features-mid-cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.features-mid-cta-subtitle {
    font-size: .95rem;
    opacity: .9;
}
.features-mid-cta-inner .btn {
    background: #FFF;
    color: var(--primary-dark);
    flex-shrink: 0;
    white-space: nowrap;
}
.features-mid-cta-inner .btn:hover {
    background: #F8F7FF;
    color: var(--primary-dark);
}

@media (max-width: 700px) {
    .features-mid-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
    .features-mid-cta-title { font-size: 1.3rem; }
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.6);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-tagline { font-size: 0.85rem; color: rgba(255, 255, 255, 0.4); }
.footer-company { margin-top: 16px; font-size: 0.8rem; line-height: 1.8; color: rgba(255, 255, 255, 0.4); }
.footer-company p { margin: 0; }
.footer-company .footer-company-name { color: rgba(255, 255, 255, 0.72); font-weight: 600; margin-bottom: 2px; }
.footer-company a { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.footer-company a:hover { color: rgba(255, 255, 255, 0.8); }
.footer-links { display: flex; gap: 60px; }
.footer-col h5 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    :root { --section-padding: 80px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-subtitle { max-width: 100%; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; }
    .feature-row { grid-template-columns: 1fr; gap: 40px; }
    .feature-row.reverse { direction: ltr; }
    .contact-card { padding: 36px 24px; }
}

@media (max-width: 768px) {
    :root { --section-padding: 64px; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav-hamburger { display: flex; }

    .hero { padding: 120px 0 80px; min-height: auto; }
    .hero-title { font-size: 2rem; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .hero-mockup { max-width: 400px; margin: 0 auto; }
    .float-card { display: none; }

    .pain-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 32px 20px; }
    .testimonial-grid { grid-template-columns: 1fr; }

    /* Solution Map — stack vertically on mobile */
    .solution-diagram {
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-height: 0;
        margin-top: 48px;
    }
    .sm-hub { width: 160px; height: 160px; order: -1; }
    .sm-hub-logo { font-size: 1.6rem; }
    .sm-spoke { width: 100%; max-width: none; }
    .sm-spoke.sm-top, .sm-spoke.sm-right, .sm-spoke.sm-bottom, .sm-spoke.sm-left {
        grid-column: auto;
        grid-row: auto;
    }
    .sm-lines { display: none; }

    .steps { flex-direction: column; align-items: center; gap: 32px; }
    .step-connector { width: 2px; height: 40px; margin-top: 0; }
    .step-connector::after {
        right: -4px;
        top: auto;
        bottom: -4px;
        transform: rotate(135deg);
    }

    .footer-inner { flex-direction: column; gap: 32px; }

    .cta-buttons .btn { width: 100%; }

    .integration-logos { gap: 24px; }
}

/* ==========================================================
   Landing Contact Form（取代原 Google Form 連結；卡片是白底）
   ========================================================== */
.landing-contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 12px;
    position: relative;
    text-align: left;
}
.lcf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.lcf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lcf-field label {
    font-size: .82rem;
    color: var(--text-primary, #1A1A2E);
    font-weight: 600;
}
.lcf-field input,
.lcf-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border-soft, #E5E7EB);
    background: #fff;
    border-radius: 10px;
    color: var(--text-primary, #1A1A2E);
    font-size: .95rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}
.lcf-field input:focus,
.lcf-field textarea:focus {
    outline: none;
    border-color: var(--primary, #6C63FF);
    box-shadow: 0 0 0 3px rgba(108,99,255,.12);
}
.lcf-field input::placeholder,
.lcf-field textarea::placeholder {
    color: #9CA3AF;
}
.lcf-field textarea { resize: vertical; min-height: 100px; }
.lcf-hint {
    font-size: .78rem;
    color: var(--text-muted, #6B7280);
    margin: 0;
}
.lcf-result {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .88rem;
    text-align: center;
}
.lcf-result.ok {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.lcf-result.err {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}
@media (max-width: 720px) {
    .lcf-row { grid-template-columns: 1fr; }
}
.fv-nc-icon.nc-email { background: #EA4335; }

/* ── 捲動輔助（置底提示 / 回頂部）── */
.scroll-helper {
  position: fixed; z-index: 990; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.scroll-helper.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-down-hint {
  left: 50%; bottom: 22px; margin-left: -22px; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(108, 99, 255, .92); color: #fff;
  box-shadow: 0 6px 18px rgba(108, 99, 255, .35);
}
.scroll-down-hint .scroll-helper-chevron {
  font-size: 1.6rem; line-height: 1; margin-top: -10px;
  animation: scrollHintBounce 1.6s ease-in-out infinite;
}
@keyframes scrollHintBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.back-to-top {
  right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: #6C63FF; font-size: 1.25rem; font-weight: 700;
  border: 1px solid rgba(108, 99, 255, .25);
  box-shadow: 0 6px 18px rgba(26, 26, 46, .15);
}
.back-to-top:hover { background: #6C63FF; color: #fff; }
