:root {
    --affx-font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --affx-bg: #FFFFFF;
    --affx-bg-alt: #F7F7F8;
    --affx-bg-dark: #0A0A0A;
    --affx-border: rgba(0, 0, 0, 0.06);
    --affx-border-dark: rgba(255, 255, 255, 0.1);
    --affx-text: #0F172A;
    --affx-text-muted: #64748B;
    --affx-text-light: #FFFFFF;
    --affx-text-light-muted: #94A3B8;
    --affx-radius-xl: 32px;
    --affx-radius-lg: 24px;
    --affx-radius-md: 16px;
    --affx-shadow-sm: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
    --affx-shadow-md: 0 12px 32px -4px rgba(0, 0, 0, 0.04), 0 4px 16px -4px rgba(0, 0, 0, 0.02);
    --affx-shadow-hover: 0 24px 48px -12px rgba(0, 0, 0, 0.08), 0 12px 24px -8px rgba(0, 0, 0, 0.03);
}

.affx-top-statement-section {
    font-family: var(--affx-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 72px 24px 24px;
    background: var(--affx-bg);
}

.affx-top-statement {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.affx-top-statement-title {
    margin: 0 0 24px;
    color: var(--affx-text);
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.affx-type-seo-list {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.affx-type-seo-list h2 {
    margin: 0;
}

.affx-type-seo-list {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.affx-type-seo-list h3 {
    margin: 0;
}

.affx-typeword-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 3em;
    justify-content: center;
}

#affxTypeword {
    display: inline-block;
    min-height: 1em;
    line-height: 1;
    color: var(--affx-text);
}

#affxTypeword:empty::before {
    content: "\00a0";
    visibility: hidden;
}

.affx-type-caret {
    width: 1px;
    height: 0.95em;
    background: rgba(15, 23, 42, 0.65);
    flex: 0 0 auto;
    animation: affxCaretBlink 1s steps(1, end) infinite;
}

.affx-top-statement-desc {
    max-width: 760px;
    margin: 0 auto;
    color: var(--affx-text-muted);
    font-size: 1.2rem;
    line-height: 1.7;
}

@keyframes affxCaretBlink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.affx-vision-section,
.affx-strength-section,
.affx-showcase-section,
.affx-process-section,
.affx-pain-section,
.affx-logic-section,
.affx-agent-vs-section,
.affx-compare-section,
.affx-finale-section {
    font-family: var(--affx-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 120px 24px;
    position: relative;
    background: var(--affx-bg);
}

.affx-vision-section { 
    background: var(--affx-bg); 
    padding-top: 64px;
}
.affx-strength-section { background: var(--affx-bg-alt); }
.affx-showcase-section { background: var(--affx-bg); }
.affx-process-section { background: var(--affx-bg-alt); }
.affx-pain-section { background: var(--affx-bg); }
.affx-logic-section { background: var(--affx-bg-alt); }
.affx-agent-vs-section { background: var(--affx-bg); }
.affx-compare-section { background: var(--affx-bg-alt); }
.affx-finale-section { background: var(--affx-bg-dark); }

.affx-shell {
    max-width: 1200px;
    margin: 0 auto;
}

.affx-kicker {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--affx-text-muted);
    margin-bottom: 24px;
}

.affx-kicker-typewriter {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.18em;
    text-align: center;
}

.affx-kicker-type-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.2em;
}

.affx-kicker-type-word {
    display: inline-block;
    min-width: 2.2em;
    color: #17A2B8;
}

.affx-section-heading {
    max-width: 900px;
    margin: 0 auto 100px;
    text-align: center;
}

.affx-section-heading--left {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.affx-section-title,
.affx-vision-title,
.affx-finale-title {
    margin: 0 0 24px;
    color: var(--affx-text);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.affx-vision-subtitle {
    margin: 0 0 64px;
    color: var(--affx-text-muted);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.affx-section-desc,
.affx-brand-desc,
.affx-finale-desc {
    margin: 0;
    color: var(--affx-text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Bento Card Style */
.affx-bento-card {
    background: var(--affx-bg);
    border: 1px solid var(--affx-border);
    border-radius: var(--affx-radius-xl);
    padding: 40px;
    box-shadow: var(--affx-shadow-sm);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.affx-bento-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--affx-shadow-hover);
}

.affx-bento-card h3 {
    margin: 0 0 16px;
    color: var(--affx-text);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.3;
}

.affx-bento-card p {
    margin: 0;
    color: var(--affx-text-muted);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Vision Section Grid */
.affx-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.affx-vision-grid .affx-bento-card {
    background: var(--affx-bg-alt);
    border-color: transparent;
    box-shadow: none;
    padding: 48px;
}

.affx-process-detail-list span {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--affx-bg-alt);
    border: 1px solid var(--affx-border);
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--affx-text);
}

/* Bento Grid for Strengths */
.affx-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.affx-bento-span-8 { grid-column: span 8; }
.affx-bento-span-4 { grid-column: span 4; }
.affx-bento-span-6 { grid-column: span 6; }
.affx-bento-span-12 { grid-column: span 12; }

/* Showcase Section */
.affx-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.affx-showcase-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--affx-bg);
    border: 1px solid var(--affx-border);
    border-radius: var(--affx-radius-lg);
    overflow: hidden;
    padding: 14px;
    box-shadow: var(--affx-shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.affx-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--affx-shadow-hover);
    border-color: rgba(0, 0, 0, 0.1);
}

.affx-showcase-image {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--affx-bg-alt);
    border-radius: 18px;
    margin-bottom: 0;
    border: none;
    box-sizing: border-box;
    transition: transform 0.5s ease;
}

.affx-showcase-card:hover .affx-showcase-image {
    transform: scale(1.03);
}

.affx-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.affx-showcase-card-body {
    padding: 18px 10px 10px;
}

.affx-showcase-card h3 {
    font-size: 1.375rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--affx-text);
    line-height: 1.25;
}

.affx-showcase-card p {
    font-size: 1.125rem;
    color: var(--affx-text-muted);
    line-height: 1.6;
    margin: 0;
}

.affx-showcase-link {
    display: inline-flex;
    margin-top: 32px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--affx-text);
    text-decoration: none;
    align-items: center;
}

.affx-showcase-link::after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.affx-showcase-card:hover .affx-showcase-link::after {
    transform: translateX(6px);
}

/* Process Section */
.affx-process-section {
    padding: 160px 0;
    background: var(--affx-bg-alt);
}

.affx-process-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 120px;
}

.affx-process-step {
    text-align: center;
}

.affx-process-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--affx-bg-alt);
    border: 1px solid var(--affx-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 24px;
    color: var(--affx-text);
}

.affx-process-step h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--affx-text);
}

.affx-process-step p {
    font-size: 1rem;
    color: var(--affx-text-muted);
    line-height: 1.6;
    margin: 0;
}

.affx-process-detail {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* 左侧宽一点，右侧窄一点 */
    gap: 80px;
    align-items: center;
    background: var(--affx-bg);
    border: 1px solid var(--affx-border);
    border-radius: var(--affx-radius-xl);
    padding: 80px;
    box-shadow: var(--affx-shadow-sm);
}

.affx-process-detail-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--affx-text-muted);
    margin-bottom: 24px;
}

.affx-process-detail-copy h3 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1; /* 恢复原版行高 */
    margin: 0 0 24px;
    color: var(--affx-text);
}

.affx-process-detail-copy p {
    font-size: 1.25rem; /* 恢复原版段落字号 */
    color: var(--affx-text-muted);
    line-height: 1.6;
    margin: 0;
}

.affx-process-detail-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.affx-process-detail-list span {
    background: var(--affx-bg-alt);
    border: none; /* 恢复无边框 */
    padding: 16px 24px;
    border-radius: var(--affx-radius-lg); /* 恢复圆角矩形，不再是胶囊 */
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--affx-text);
    box-shadow: none; /* 恢复无阴影 */
    transition: none; /* 去除悬浮动画 */
}

.affx-process-detail-list span:hover {
    transform: none;
    box-shadow: none;
}

/* Pain Section */
.affx-pain-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.affx-pain-grid {
    display: grid;
    gap: 24px;
}

.affx-pain-grid .affx-bento-card {
    padding: 48px;
    background: var(--affx-bg-alt);
    border-color: transparent;
    box-shadow: none;
}

/* Logic Section - Statement Layout */
.affx-logic-section {
    padding: 120px 0;
    position: relative;
    background: var(--affx-bg-alt);
}

.affx-logic-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center; /* 关键：让左右两边在父容器里垂直居中 */
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.affx-logic-header {
    flex: 0 0 auto;
    text-align: right;
    /* 不再需要 sticky，因为是用 flex align-items: center 完美居中 */
}

.affx-logic-header .affx-section-title {
    margin: 0;
    color: var(--affx-text);
    font-size: clamp(3rem, 5vw, 4.5rem); /* 左侧标题字号适当加大，增加空间占有率 */
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-align: right;
}

.affx-logic-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 20px; /* 间距调小 */
}

.affx-logic-line h3 {
    margin: 0;
    color: var(--affx-text-muted);
    font-size: 2.25rem; /* 右侧稍微调大，配合左侧 */
    font-weight: 400; /* 去掉极细，配合新的衬线字体 */
    font-family: "Georgia", "Times New Roman", "Songti SC", "SimSun", serif; /* 引入经典优雅的衬线字体 */
    font-style: italic; /* 使用斜体增加艺术感和趣味性 */
    line-height: 1.3;
    letter-spacing: 0; /* 衬线体不需要过度收紧字间距 */
    transition: color 0.2s ease, transform 0.2s ease;
}

.affx-logic-line:hover h3 {
    color: var(--affx-text);
    transform: translateX(4px);
}

.affx-logic-solution {
    max-width: 1000px;
    margin: 100px auto 0;
    padding-top: 40px;
    border-top: 1px solid var(--affx-border);
    text-align: left;
}

.affx-logic-solution p {
    font-size: 1.125rem;
    color: var(--affx-text-muted);
    line-height: 1.6;
    margin: 0;
}

.affx-logic-solution strong {
    color: var(--affx-text);
    font-weight: 600;
}

/* Agent VS Section */
.affx-agent-vs-section {
    padding: 160px 0;
    background: var(--affx-bg);
}

.affx-agent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.affx-agent-card {
    background: var(--affx-bg-alt);
    border: 1px solid var(--affx-border);
    border-radius: var(--affx-radius-xl);
    padding: 64px;
    box-shadow: var(--affx-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.affx-agent-card.highlight {
    background: var(--affx-bg);
    border: 1px solid var(--affx-border);
    box-shadow: var(--affx-shadow-md);
}

.affx-agent-card.highlight:hover {
    box-shadow: var(--affx-shadow-lg);
}

.affx-agent-card h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--affx-text);
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.affx-agent-card p {
    font-size: 1.125rem;
    color: var(--affx-text-muted);
    line-height: 1.7;
    margin: 0 0 40px;
}

.affx-agent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.affx-agent-list li {
    font-size: 1.125rem;
    color: var(--affx-text);
    margin-bottom: 20px;
    padding-left: 36px;
    position: relative;
    line-height: 1.5;
}

.affx-agent-list li:last-child {
    margin-bottom: 0;
}

.affx-agent-list li.cross::before {
    content: "✕";
    color: #ef4444; /* Red */
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    font-size: 1.25rem;
}

.affx-agent-list li.check::before {
    content: "✓";
    color: #10b981; /* Green */
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    font-size: 1.25rem;
}

/* Compare Table Section */
.affx-compare-table-wrap {
    overflow-x: auto;
    background: var(--affx-bg);
    border: 1px solid var(--affx-border);
    border-radius: var(--affx-radius-xl);
    padding: 40px;
    box-shadow: var(--affx-shadow-sm);
}

.affx-compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.affx-compare-table th,
.affx-compare-table td {
    padding: 32px 24px;
    border-bottom: 1px solid var(--affx-border);
    font-size: 1.125rem;
}

.affx-compare-table th {
    font-weight: 600;
    color: var(--affx-text-muted);
    border-bottom: 2px solid var(--affx-border);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.affx-compare-table td:first-child {
    font-weight: 500;
    color: var(--affx-text-muted);
    width: 25%;
}

.affx-compare-table td:nth-child(2) {
    color: var(--affx-text-muted);
    width: 35%;
}

.affx-compare-table td:nth-child(3) {
    font-weight: 600;
    color: var(--affx-text);
    width: 40%;
}

.affx-compare-cell-title {
    margin: 0;
    font: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
}

/* Finale Section */
.affx-finale-shell {
    text-align: center;
}

.affx-finale-copy .affx-kicker {
    color: var(--affx-text-light-muted);
}

.affx-finale-title {
    color: var(--affx-text-light);
    margin-bottom: 32px;
}

.affx-finale-desc {
    color: var(--affx-text-light-muted);
    max-width: 720px;
    font-size: 1.5rem;
    margin: 0 auto 64px;
}

.affx-finale-section .affx-top-statement-title,
.affx-finale-section #affxTypeword {
    color: var(--affx-text-light);
}

.affx-finale-section .affx-top-statement-desc {
    color: var(--affx-text-light-muted);
}

.affx-finale-section .affx-type-caret {
    background: rgba(255, 255, 255, 0.7);
}

.affx-finale-points {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.affx-finale-points span {
    background: rgba(255, 255, 255, 0.05);
    color: var(--affx-text-light);
    border: 1px solid var(--affx-border-dark);
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 1.125rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .affx-vision-grid,
    .affx-process-detail,
    .affx-pain-shell {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .affx-logic-layout {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 32px;
    }

    .affx-logic-header {
        text-align: left;
    }
    
    .affx-logic-header .affx-section-title {
        text-align: left;
    }

    .affx-logic-solution {
        text-align: left;
    }

    .affx-bento-span-8,
    .affx-bento-span-4,
    .affx-bento-span-6 {
        grid-column: span 12;
    }

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

    .affx-process-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .affx-top-statement-section {
        padding: 56px 20px 16px;
    }

    .affx-top-statement-title {
        font-size: 2.6rem;
    }

    .affx-top-statement-desc {
        font-size: 1.0625rem;
    }

    .affx-vision-section,
    .affx-strength-section,
    .affx-showcase-section,
    .affx-process-section,
    .affx-pain-section,
    .affx-logic-section,
    .affx-compare-section,
    .affx-finale-section {
        padding: 100px 20px;
    }

    .affx-section-title,
    .affx-vision-title,
    .affx-finale-title {
        font-size: 2.5rem;
    }

    .affx-showcase-grid,
    .affx-process-track {
        grid-template-columns: 1fr;
    }

    .affx-bento-card,
    .affx-process-detail,
    .affx-logic-card,
    .affx-compare-table-wrap {
        padding: 32px;
    }

    .affx-compare-table th,
    .affx-compare-table td {
        padding: 24px 16px;
        font-size: 1rem;
    }
}
