/* BR Sonoma Fonts */
@font-face {
    font-family: 'BR Sonoma';
    src: url('https://framerusercontent.com/assets/gwoSe7SdW1paq1oa52gL444qzIE.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'BR Sonoma';
    src: url('https://framerusercontent.com/assets/UEwcmtfcPoiFI5TQFY4y77HQxg.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

/* CSS Variables */
:root {
    --primary: #8490c7;
    --primary-hover: #7280ba;
    --primary-light: #96a0d0;
    --primary-bg: #edeef5;

    --secondary: #67c2c1;
    --secondary-hover: #55b3b2;
    --secondary-bg: #e8f5f5;

    --accent: #eaaa72;
    --accent-hover: #e29a5e;

    --text-dark: #2a2832;
    --text-secondary: #56545e;
    --text-tertiary: #7a7880;
    --text-light: #a5a3ab;
    --border: #e4e3e8;
    --bg-secondary: #f8f7fa;
    --bg-page: #fefefe;
    --white: #ffffff;

    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 20px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);

    --transition: all 0.2s ease;
}

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

body {
    font-family: 'BR Sonoma', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-page);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 20px;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 20px;
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--border-hover, #d4d3d9);
    color: var(--text-dark);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

/* Hero */
.hero {
    padding: 32px 32px 0;
    background: var(--bg-page);
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 80px 48px;
    display: flex;
    align-items: center;
    gap: 64px;
    background: var(--primary);
    border-radius: 20px;
}

.hero-content {
    flex: 1.2;
    min-width: 0;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 32px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-weight: 500;
    font-size: 38px;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-actions .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.hero-actions .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.hero-actions .btn-ghost {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.hero-actions .btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

/* Hero Image */
.hero-image {
    flex: 1;
    min-width: 0;
    position: relative;
}

.hero-image img {
    width: 80%;
    border-radius: var(--radius-lg);
    display: block;
}

/* Step Popup */
.step-popup {
    position: absolute;
    top: 70%;
    right: -81px;
    transform: translateY(-50%);
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    animation: popupSlideIn 0.5s ease 0.5s forwards;
}

@keyframes popupSlideIn {
    from { opacity: 0; transform: translateY(-50%) translateY(12px); }
    to { opacity: 1; transform: translateY(-50%); }
}

.step-carousel {
    position: relative;
    width: 260px;
    height: 48px;
}

.step-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    animation: stepCycle 8s ease infinite;
}

.step-1 { animation-delay: 0.5s; }
.step-2 { animation-delay: 2.5s; }
.step-3 { animation-delay: 4.5s; }
.step-4 { animation-delay: 6.5s; }

/*
  Each step: fade in, hold, fade out over 8s total cycle
  0%=0s  5%=0.4s(in)  22%=1.76s(hold)  27%=2.16s(out)  100%=8s
*/
@keyframes stepCycle {
    0%, 100% { opacity: 0; visibility: hidden; transform: translateY(6px); }
    5%       { opacity: 1; visibility: visible; transform: translateY(0); }
    22%      { opacity: 1; visibility: visible; transform: translateY(0); }
    27%      { opacity: 0; visibility: hidden; transform: translateY(-6px); }
}

/* Step icons */
.step-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-check {
    background: var(--primary-bg);
    color: var(--primary);
}

.step-icon-translate {
    background: var(--secondary-bg);
    color: var(--secondary);
}

.step-icon-sync {
    background: #faf3eb;
    color: var(--accent);
}

.step-icon-done {
    background: var(--secondary-bg);
    color: var(--secondary);
}

/* Step text */
.step-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.step-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
}

.step-detail {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.3;
}

/* Spinner dots */
.step-spinner {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 3px;
}

.step-spinner::before,
.step-spinner::after,
.step-spinner span {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-light);
    animation: dotPulse 1.2s ease infinite;
}

.step-spinner::after {
    animation-delay: 0.2s;
}

.step-spinner span {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 80%, 100% { opacity: 0.3; }
    40% { opacity: 1; }
}

/* Problem Section */
.problem {
    padding: 96px 0;
    background: var(--bg-page);
}

.problem-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.problem-inner h2 {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.problem-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Comparison cards */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
}

.compare-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}

.compare-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.compare-icon-speed {
    background: var(--primary-bg);
    color: var(--primary);
}

.compare-icon-cost {
    background: var(--accent-light, #faf3eb);
    color: var(--accent);
}

.compare-icon-scale {
    background: var(--secondary-bg);
    color: var(--secondary);
}

.compare-icon-compliance {
    background: var(--primary-bg);
    color: var(--primary);
}

.compare-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.compare-versus {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.compare-old,
.compare-new {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.compare-old svg,
.compare-new svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.compare-old {
    color: var(--text-light);
    text-decoration: line-through;
    text-decoration-color: var(--border);
}

.compare-old svg {
    color: var(--text-light);
}

.compare-new {
    color: var(--text-dark);
    font-weight: 500;
}

.compare-new svg {
    color: var(--secondary);
}

/* Engine Section */
.engine {
    padding: 96px 0;
    background: var(--bg-secondary);
}

.engine-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.engine-content {
    flex: 1;
    min-width: 0;
    position: sticky;
    top: 48px;
}

.engine-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.engine-content h2 {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.engine-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.engine-footer {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Language marquee */
.engine-langs {
    margin-top: 28px;
}

.engine-langs h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.lang-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.lang-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.lang-item img {
    width: 24px;
    height: 16px;
    object-fit: contain;
    border-radius: 2px;
}

.lang-item span {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
}

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

/* Engine features */
.engine-features {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.engine-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.engine-feature:hover {
    border-color: var(--border-hover, #d4d3d9);
    box-shadow: var(--shadow-sm);
}

.engine-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-feature:nth-child(2) .engine-feature-icon {
    background: var(--secondary-bg);
    color: var(--secondary);
}

.engine-feature:nth-child(3) .engine-feature-icon {
    background: var(--accent-light, #faf3eb);
    color: var(--accent);
}

.engine-feature:nth-child(4) .engine-feature-icon {
    background: var(--secondary-bg);
    color: var(--secondary);
}

.engine-feature-text h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 4px;
}

.engine-feature-text p {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* Video Demo Section */
.video-demo {
    padding: 96px 0;
    background: var(--bg-page);
}

.video-demo-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.video-demo-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.video-demo-header h2 {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.video-demo-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto 48px;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.demo-video {
    width: 100%;
    display: block;
}

/* Center play button */
.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-wrapper.playing .video-play-btn {
    opacity: 0;
    pointer-events: none;
}

/* Bottom controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-wrapper:hover .video-controls {
    opacity: 1;
}

.video-ctrl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    cursor: pointer;
    transition: background 0.15s ease;
}

.video-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.video-wrapper:fullscreen,
.video-wrapper:-webkit-full-screen {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper:fullscreen .demo-video,
.video-wrapper:-webkit-full-screen .demo-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    border-radius: 0;
}

.video-wrapper:fullscreen .video-controls,
.video-wrapper:-webkit-full-screen .video-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Product UI Section */
.product-ui {
    padding: 96px 0;
    background: var(--bg-secondary);
}

.product-ui-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

.product-ui-header {
    text-align: center;
    margin-bottom: 48px;
}

.product-ui-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--secondary-bg);
    color: var(--secondary);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.product-ui-header h2 {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.product-ui-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

/* Browser frame */
.browser-frame {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.browser-chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.browser-bar {
    flex: 1;
    font-size: 11px;
    color: var(--text-light);
    background: var(--white);
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.browser-body {
    padding: 16px;
}

/* Mock status bar */
.mock-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.mock-status-left,
.mock-status-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-dark);
}

.mock-lang-toggle img {
    width: 16px;
    height: 11px;
    object-fit: contain;
    border-radius: 1px;
}

.mock-lang-toggle svg {
    color: var(--text-light);
}

.mock-btn-sm {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
}

.mock-btn-outline {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.mock-version {
    font-size: 10px;
    font-weight: 500;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 2px 8px;
    border-radius: 10px;
}

.mock-avatar-sm {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-status-badge {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
}

.mock-status-verified {
    background: var(--secondary-bg);
    color: var(--secondary);
}

/* Mock columns */
.mock-columns {
    display: flex;
    gap: 16px;
}

.mock-column {
    flex: 1;
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mock-col-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.mock-col-header img {
    width: 18px;
    height: 12px;
    object-fit: contain;
    border-radius: 1px;
}

.mock-col-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.mock-col-label {
    font-size: 9px;
    font-weight: 500;
    color: var(--text-light);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: auto;
}

.mock-section {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}

.mock-section:last-child {
    border-bottom: none;
}

.mock-section-title {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-tertiary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mock text lines */
.mock-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mock-line {
    height: 6px;
    border-radius: 3px;
    background: var(--bg-secondary);
}

.mock-line-full { width: 100%; }
.mock-line-md { width: 72%; }
.mock-line-sm { width: 48%; }

.mock-highlight {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 6px 8px;
    background: var(--secondary-bg);
    border-left: 2px solid var(--secondary);
    border-radius: 0 4px 4px 0;
    font-size: 9px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.mock-highlight svg {
    flex-shrink: 0;
    color: var(--secondary);
}

/* Mock table */
.mock-table {
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.mock-table-row {
    display: grid;
    grid-template-columns: 1fr 0.6fr 0.4fr;
    padding: 5px 8px;
    font-size: 10px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.mock-table-row:last-child {
    border-bottom: none;
}

.mock-table-header {
    background: var(--bg-secondary);
    font-weight: 500;
    color: var(--text-tertiary);
    font-size: 9px;
}

/* UI feature highlights */
.ui-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

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

.ui-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.ui-feature-icon-edit {
    background: var(--primary-bg);
    color: var(--primary);
}

.ui-feature-icon-version {
    background: var(--accent-light, #faf3eb);
    color: var(--accent);
}

.ui-feature-icon-review {
    background: var(--secondary-bg);
    color: var(--secondary);
}

.ui-feature-icon-history {
    background: var(--primary-bg);
    color: var(--primary);
}

.ui-feature h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.ui-feature p {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* How It Works Section */
.hiw {
    padding: 96px 0;
    background: var(--bg-page);
}

.hiw-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.hiw-left {
    flex: 1;
    min-width: 0;
}

.hiw-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.hiw-left h2 {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hiw-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: 32px;
}

/* Step list */
.hiw-steps {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hiw-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.5;
    animation: hiwStepHighlight 15s ease infinite;
}

.hiw-step-1 { animation-delay: 0s; }
.hiw-step-2 { animation-delay: 3s; }
.hiw-step-3 { animation-delay: 6s; }
.hiw-step-4 { animation-delay: 9s; }
.hiw-step-5 { animation-delay: 12s; }

@keyframes hiwStepHighlight {
    0%, 100% { opacity: 0.5; border-left-color: transparent; background: transparent; }
    2%       { opacity: 1; border-left-color: var(--primary); background: var(--white); }
    18%      { opacity: 1; border-left-color: var(--primary); background: var(--white); }
    22%      { opacity: 0.5; border-left-color: transparent; background: transparent; }
}

.hiw-step-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-step-icon-import {
    background: var(--primary-bg);
    color: var(--primary);
}

.hiw-step-icon-check {
    background: var(--accent-light, #faf3eb);
    color: var(--accent);
}

.hiw-step-icon-translate {
    background: var(--secondary-bg);
    color: var(--secondary);
}

.hiw-step-icon-review {
    background: var(--primary-bg);
    color: var(--primary);
}

.hiw-step-icon-sync {
    background: var(--secondary-bg);
    color: var(--secondary);
}

.hiw-step-text h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.hiw-step-text p {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

/* Scene box */
.hiw-right {
    flex: 1;
    min-width: 0;
    align-self: center;
}

.hiw-scene-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Scene base */
.hiw-scene {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    animation: hiwSceneCycle 15s ease infinite;
}

.scene-import  { animation-delay: 0s; }
.scene-compliance { animation-delay: 3s; }
.scene-translate  { animation-delay: 6s; }
.scene-review  { animation-delay: 9s; }
.scene-sync    { animation-delay: 12s; }

@keyframes hiwSceneCycle {
    0%, 100% { opacity: 0; visibility: hidden; transform: translateY(8px); }
    2%       { opacity: 1; visibility: visible; transform: translateY(0); }
    18%      { opacity: 1; visibility: visible; transform: translateY(0); }
    22%      { opacity: 0; visibility: hidden; transform: translateY(-8px); }
}

/* ---- Scene 1: Import ---- */
.scene-store-card {
    width: 100%;
    max-width: 280px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.scene-store-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-dark);
}

.scene-store-header svg {
    color: var(--primary);
}

.scene-products {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.scene-product-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: var(--bg-secondary);
    border-radius: 6px;
    animation: slideInFromLeft 15s ease infinite;
}

.scene-card-1 { animation-delay: 0.2s; }
.scene-card-2 { animation-delay: 0.5s; }
.scene-card-3 { animation-delay: 0.8s; }

@keyframes slideInFromLeft {
    0%   { opacity: 0; transform: translateX(-20px); }
    2%   { opacity: 0; transform: translateX(-20px); }
    4%   { opacity: 1; transform: translateX(0); }
    18%  { opacity: 1; transform: translateX(0); }
    22%  { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 0; transform: translateX(-20px); }
}

.scene-card-img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: var(--primary-bg);
    flex-shrink: 0;
}

.scene-card-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.scene-card-line {
    height: 5px;
    border-radius: 3px;
    background: var(--border);
}

.scene-card-line-lg { width: 80%; }
.scene-card-line-sm { width: 50%; }

.scene-arrow-down {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.8);
    animation: bounceDown 15s ease infinite;
}

@keyframes bounceDown {
    0%, 100% { opacity: 0; }
    4%  { opacity: 1; transform: translateY(0); }
    10% { transform: translateY(4px); }
    14% { transform: translateY(0); }
    18% { opacity: 1; }
    22% { opacity: 0; }
}

.scene-import-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 500;
    animation: fadeInBadge 15s ease infinite;
}

@keyframes fadeInBadge {
    0%, 100% { opacity: 0; transform: scale(0.9); }
    10%  { opacity: 0; transform: scale(0.9); }
    14%  { opacity: 1; transform: scale(1); }
    18%  { opacity: 1; transform: scale(1); }
    22%  { opacity: 0; transform: scale(0.9); }
}

/* ---- Scene 2: Compliance ---- */
.scene-doc {
    width: 100%;
    max-width: 280px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.scene-doc-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-dark);
}

.scene-doc-header svg {
    color: var(--accent);
}

.scene-doc-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
}

.scene-doc-line {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 4px;
}

.scene-doc-ok {
    background: var(--secondary-bg);
    color: var(--secondary);
}

.scene-doc-warn {
    background: var(--accent-light, #faf3eb);
    color: var(--accent);
}

.scene-doc-bar {
    height: 5px;
    border-radius: 3px;
    background: currentColor;
    opacity: 0.25;
}

.scene-doc-bar-full { width: 100%; flex: 1; }
.scene-doc-bar-md { width: 70%; flex: 0 0 70%; }
.scene-doc-bar-sm { width: 50%; flex: 0 0 50%; }

.scene-doc-summary {
    display: flex;
    gap: 12px;
    padding: 8px 12px;
    border-top: 1px solid var(--border);
    font-size: 10px;
    font-weight: 500;
}

.scene-doc-pass { color: var(--secondary); }
.scene-doc-flag { color: var(--accent); }

/* ---- Scene 3: Translate ---- */
.scene-translate {
    flex-direction: row;
    gap: 16px;
}

.scene-source {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
}

.scene-source img {
    width: 32px;
    height: 21px;
    object-fit: contain;
    border-radius: 2px;
}

.scene-source span {
    font-size: 11px;
    font-weight: 500;
    color: var(--white);
}

.scene-translate-arrow {
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.scene-targets {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scene-target {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    animation: targetSlideIn 15s ease infinite;
}

.scene-target-1 { animation-delay: 6.2s; }
.scene-target-2 { animation-delay: 6.5s; }
.scene-target-3 { animation-delay: 6.8s; }
.scene-target-4 { animation-delay: 7.1s; }

@keyframes targetSlideIn {
    0%   { opacity: 0; transform: translateX(12px); }
    2%   { opacity: 1; transform: translateX(0); }
    12%  { opacity: 1; transform: translateX(0); }
    16%  { opacity: 0; transform: translateX(12px); }
    100% { opacity: 0; transform: translateX(12px); }
}

.scene-target img {
    width: 20px;
    height: 13px;
    object-fit: contain;
    border-radius: 1px;
}

.scene-target span {
    font-size: 11px;
    color: var(--text-secondary);
    min-width: 56px;
}

.scene-target-bar {
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.scene-target-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--secondary);
    border-radius: 2px;
    animation: progressFill 15s ease infinite;
}

.scene-target-1 .scene-target-bar::after { animation-delay: 6.5s; }
.scene-target-2 .scene-target-bar::after { animation-delay: 6.8s; }
.scene-target-3 .scene-target-bar::after { animation-delay: 7.1s; }
.scene-target-4 .scene-target-bar::after { animation-delay: 7.4s; }

@keyframes progressFill {
    0%   { width: 0; }
    4%   { width: 100%; }
    12%  { width: 100%; }
    16%  { width: 0; }
    100% { width: 0; }
}

/* ---- Scene 4: Review ---- */
.scene-review {
    gap: 20px;
}

.scene-reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.scene-reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene-reviewer-info {
    display: flex;
    flex-direction: column;
}

.scene-reviewer-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
}

.scene-reviewer-role {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.scene-approval {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scene-approval-check {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: approvalPop 15s ease infinite;
    animation-delay: 9s;
}

@keyframes approvalPop {
    0%, 100% { transform: scale(0); opacity: 0; }
    4%   { transform: scale(1.1); opacity: 1; }
    6%   { transform: scale(1); opacity: 1; }
    18%  { transform: scale(1); opacity: 1; }
    22%  { transform: scale(0); opacity: 0; }
}

.scene-approval-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    animation: approvalFade 15s ease infinite;
    animation-delay: 9s;
}

@keyframes approvalFade {
    0%, 100% { opacity: 0; transform: translateY(4px); }
    6%   { opacity: 0; transform: translateY(4px); }
    10%  { opacity: 1; transform: translateY(0); }
    18%  { opacity: 1; transform: translateY(0); }
    22%  { opacity: 0; transform: translateY(4px); }
}

/* ---- Scene 5: Sync ---- */
.scene-sync {
    gap: 14px;
}

.scene-sync-cards {
    display: flex;
    gap: 8px;
}

.scene-sync-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    min-width: 80px;
    animation: syncCardPop 15s ease infinite;
}

.scene-sync-card:nth-child(1) { animation-delay: 12.2s; }
.scene-sync-card:nth-child(2) { animation-delay: 12.4s; }
.scene-sync-card:nth-child(3) { animation-delay: 12.6s; }

@keyframes syncCardPop {
    0%, 100% { opacity: 0; transform: scale(0.9); }
    2%   { opacity: 1; transform: scale(1); }
    6%   { opacity: 1; transform: scale(1); }
    8%   { opacity: 0; transform: scale(0.9); }
}

.scene-sync-card img {
    width: 24px;
    height: 16px;
    object-fit: contain;
    border-radius: 1px;
}

.scene-sync-card-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}

.scene-sync-card .scene-card-line {
    background: rgba(255, 255, 255, 0.3);
}

.scene-live-badge {
    font-size: 9px;
    font-weight: 500;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

.scene-sync-arrow {
    color: rgba(255, 255, 255, 0.7);
    animation: syncSpin 15s linear infinite;
    animation-delay: 12s;
}

@keyframes syncSpin {
    0%, 100% { opacity: 0; }
    2%   { opacity: 1; transform: rotate(0deg); }
    6%   { opacity: 1; transform: rotate(360deg); }
    8%   { opacity: 0; }
}

.scene-sync-store {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 500;
    color: var(--white);
    animation: syncStoreFade 15s ease infinite;
    animation-delay: 12s;
}

@keyframes syncStoreFade {
    0%, 100% { opacity: 0; transform: translateY(4px); }
    4%   { opacity: 0; transform: translateY(4px); }
    6%   { opacity: 1; transform: translateY(0); }
    8%   { opacity: 0; transform: translateY(4px); }
}

/* Footer */
.footer {
    padding: 0 32px 32px;
    background: var(--bg-page);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    background: var(--text-dark);
    border-radius: 20px;
    padding: 64px 48px 32px;
}

.footer-cta {
    text-align: center;
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta h2 {
    font-size: 28px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 28px;
}

.footer-cta-btn {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.footer-cta-btn:hover {
    background: var(--primary-hover) !important;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    margin-bottom: 16px;
}

.footer-contact a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0;
}

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

.footer-col ul a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 0;
    }

    .hero-inner {
        flex-direction: column;
        gap: 48px;
        padding: 40px 24px;
        border-radius: 0;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h1 span {
        white-space: normal;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .step-popup {
        right: -12px;
    }

    .step-carousel {
        width: 230px;
    }

    .problem {
        padding: 64px 0;
    }

    .problem-inner h2 {
        font-size: 24px;
    }

    .problem-description {
        font-size: 16px;
    }

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

    .engine {
        padding: 64px 0;
        overflow: hidden;
    }

    .engine-inner {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .engine-content {
        position: static;
        overflow: hidden;
        max-width: 100%;
    }

    .engine-content h2 {
        font-size: 24px;
    }

    .engine-content h2 br {
        display: none;
    }

    .engine-description {
        font-size: 15px;
    }

    .engine-langs {
        overflow: hidden;
    }

    .engine-features {
        max-width: 100%;
        overflow: hidden;
    }

    .engine-feature {
        gap: 12px;
        padding: 16px;
    }

    .engine-feature-text p {
        word-break: break-word;
    }

    .product-ui {
        padding: 64px 0;
    }

    .product-ui-header h2 {
        font-size: 24px;
    }

    .product-ui-description {
        font-size: 16px;
    }

    .mock-status-bar {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .mock-columns {
        flex-direction: column;
    }

    .mock-highlight {
        font-size: 8px;
    }

    .ui-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hiw {
        padding: 64px 0;
    }

    .hiw-inner {
        flex-direction: column;
        gap: 40px;
    }

    .hiw-left h2 {
        font-size: 24px;
    }

    .hiw-scene-box {
        aspect-ratio: 1 / 1;
    }

    .scene-translate {
        flex-direction: column;
        gap: 12px;
    }

    .scene-targets {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer {
        padding: 0 16px 16px;
    }

    .footer-inner {
        padding: 48px 24px 24px;
        border-radius: 16px;
    }

    .footer-cta h2 {
        font-size: 24px;
    }

    .footer-cta p {
        font-size: 16px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
