/* ========================================
   EPWEB 企业官网专页
   ======================================== */

html:has(.epweb-body) {
    background-color: var(--color-bg-light);
}

.epweb-body {
    background: var(--color-bg-light);
    min-height: 100dvh;
    min-height: 100svh;
}

.epweb {
    --epweb-steel: #1a4f7a;
    --epweb-steel-soft: #3d7ab0;
    --epweb-ink: #0f172a;
    --epweb-muted: #64748b;
    --epweb-section-y: clamp(4.5rem, 9vw, 7rem);
    padding-top: calc(var(--nav-offset, 72px) + env(safe-area-inset-top, 0px));
    overflow-x: hidden;
    background: var(--color-bg-light);
}

.epweb .container {
    max-width: 1240px;
}

.epweb-hero__content > .fade-in:nth-child(1) { transition-delay: 0.04s; }
.epweb-hero__content > .fade-in:nth-child(2) { transition-delay: 0.12s; }
.epweb-hero__content > .fade-in:nth-child(3) { transition-delay: 0.2s; }
.epweb-hero__content > .fade-in:nth-child(4) { transition-delay: 0.28s; }
.epweb-hero__content > .fade-in:nth-child(5) { transition-delay: 0.36s; }
.epweb-hero__content > .fade-in:nth-child(6) { transition-delay: 0.44s; }

.epweb-hero__layout > .epweb-mock.fade-in {
    transition-delay: 0.22s;
}

.epweb-pain.fade-in:nth-child(1) { transition-delay: 0s; }
.epweb-pain.fade-in:nth-child(2) { transition-delay: 0.08s; }
.epweb-pain.fade-in:nth-child(3) { transition-delay: 0.16s; }
.epweb-pain.fade-in:nth-child(4) { transition-delay: 0.24s; }

.epweb-cap.fade-in:nth-child(1) { transition-delay: 0s; }
.epweb-cap.fade-in:nth-child(2) { transition-delay: 0.08s; }
.epweb-cap.fade-in:nth-child(3) { transition-delay: 0.16s; }
.epweb-cap.fade-in:nth-child(4) { transition-delay: 0.24s; }

.epweb-step.fade-in:nth-child(1) { transition-delay: 0s; }
.epweb-step.fade-in:nth-child(2) { transition-delay: 0.07s; }
.epweb-step.fade-in:nth-child(3) { transition-delay: 0.14s; }
.epweb-step.fade-in:nth-child(4) { transition-delay: 0.21s; }
.epweb-step.fade-in:nth-child(5) { transition-delay: 0.28s; }

.epweb-ai.fade-in:nth-child(1) { transition-delay: 0s; }
.epweb-ai.fade-in:nth-child(2) { transition-delay: 0.08s; }
.epweb-ai.fade-in:nth-child(3) { transition-delay: 0.16s; }

.epweb-deploy__col.fade-in:nth-child(1) { transition-delay: 0s; }
.epweb-deploy__col.fade-in:nth-child(2) { transition-delay: 0.1s; }

.epweb-cta .epweb-band__head.fade-in { transition-delay: 0s; }
.epweb-chat.fade-in { transition-delay: 0.08s; }
.epweb-chat__msg.fade-in:nth-child(1) { transition-delay: 0.1s; }
.epweb-chat__msg.fade-in:nth-child(2) { transition-delay: 0.18s; }
.epweb-chat__msg.fade-in:nth-child(3) { transition-delay: 0.26s; }
.epweb-chat__msg.fade-in:nth-child(4) { transition-delay: 0.34s; }
.epweb-chat__msg.fade-in:nth-child(5) { transition-delay: 0.42s; }
.epweb-cta__actions.fade-in { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    .epweb-hero__mesh,
    .epweb-mock__bar,
    .epweb-mock__block,
    .epweb-pain,
    .epweb-scene {
        animation: none;
    }

    .epweb-pain:hover,
    .epweb-scene:hover {
        transform: none;
    }
}

/* —— Hero —— */
.epweb-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: max(
        calc(100svh - var(--nav-offset, 72px) - env(safe-area-inset-top, 0px)),
        560px
    );
    min-height: max(
        calc(100dvh - var(--nav-offset, 72px) - env(safe-area-inset-top, 0px)),
        560px
    );
    padding: clamp(36px, 5vw, 72px) 0;
}

.epweb-hero__aurora {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 50% at 10% 20%, rgba(26, 79, 122, 0.45), transparent 55%),
        radial-gradient(ellipse 50% 40% at 90% 10%, rgba(61, 122, 176, 0.22), transparent 50%),
        radial-gradient(ellipse 55% 45% at 75% 85%, rgba(15, 107, 86, 0.12), transparent 55%),
        linear-gradient(175deg, #04101c 0%, #0c1f3d 42%, #020617 100%);
    pointer-events: none;
}

.epweb-hero__aurora::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(2, 6, 23, 0.72) 100%);
}

.epweb-hero__mesh {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.26;
    background-image:
        linear-gradient(rgba(148, 183, 214, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 183, 214, 0.1) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 65% at 40% 40%, black 15%, transparent 72%);
    pointer-events: none;
    animation: epweb-mesh-drift 28s linear infinite;
}

@keyframes epweb-mesh-drift {
    to { transform: translateY(48px); }
}

.epweb-hero__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.epweb-hero__eyebrow {
    margin: 0 0 14px;
    font-size: var(--font-size-tagline);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5e8;
}

.epweb-hero__title {
    margin: 0 0 12px;
    font-size: clamp(2.2rem, 4.8vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #f8fafc;
}

.epweb-hero__title span {
    background: linear-gradient(105deg, #f0f9ff 10%, #93c5e8 45%, #5b9fd4 75%, #e0f2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.epweb-hero__subtitle {
    margin: 0 0 16px;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 600;
    color: #b8d4ea;
}

.epweb-hero__lead {
    margin: 0 0 28px;
    max-width: 36em;
    font-size: var(--font-size-body);
    line-height: 1.75;
    color: #cbd5e1;
}

.epweb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.epweb-hero__actions .btn-secondary {
    color: #e0f2fe;
    border-color: rgba(147, 197, 232, 0.45);
    background: rgba(15, 23, 42, 0.35);
}

.epweb-hero__actions .btn-secondary:hover {
    border-color: #93c5e8;
    background: rgba(26, 79, 122, 0.35);
}

.epweb-hero__highlights {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.epweb-hero__highlights li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #b8d4ea;
}

.epweb-hero__hi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: #93c5e8;
    background: rgba(147, 197, 232, 0.12);
    border: 1px solid rgba(147, 197, 232, 0.22);
}

.epweb-hero__hi-icon .ad-icon {
    color: inherit;
}

/* Shared icon wells */
.epweb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 10px;
    color: var(--epweb-steel);
    background: rgba(26, 79, 122, 0.1);
    border: 1px solid rgba(26, 79, 122, 0.14);
}

.epweb-icon .ad-icon {
    color: inherit;
}

.epweb-icon--steel {
    color: var(--epweb-steel);
    background: linear-gradient(145deg, rgba(26, 79, 122, 0.12), rgba(61, 122, 176, 0.08));
}

.epweb-icon--on-dark {
    color: #93c5e8;
    background: rgba(147, 197, 232, 0.1);
    border-color: rgba(147, 197, 232, 0.2);
}

.epweb-icon--sm {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border-radius: 8px;
}

/* Hero: site skeleton mock */
.epweb-mock {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.epweb-mock__glow {
    position: absolute;
    width: 70%;
    height: 55%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(61, 122, 176, 0.35), transparent 70%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
}

.epweb-mock__frame {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    border-radius: 12px;
    border: 1px solid rgba(147, 197, 232, 0.28);
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.94), rgba(8, 20, 36, 0.98));
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    overflow: hidden;
}

.epweb-mock__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(147, 197, 232, 0.15);
    background: rgba(26, 79, 122, 0.2);
}

.epweb-mock__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.45);
}

.epweb-mock__dot:nth-child(1) { background: rgba(248, 113, 113, 0.7); }
.epweb-mock__dot:nth-child(2) { background: rgba(250, 204, 21, 0.65); }
.epweb-mock__dot:nth-child(3) { background: rgba(74, 222, 128, 0.6); }

.epweb-mock__url {
    margin-left: 8px;
    flex: 1;
    height: auto;
    min-height: 18px;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(203, 213, 225, 0.75);
    background: rgba(148, 163, 184, 0.15);
    line-height: 1.4;
}

.epweb-mock__body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.epweb-mock__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.epweb-mock__brand {
    width: 22px !important;
    height: 22px !important;
    border-radius: 4px !important;
    background: linear-gradient(135deg, #3d7ab0, #1a4f7a) !important;
    animation: none !important;
    flex-shrink: 0;
}

.epweb-mock__nav span:not(.epweb-mock__brand) {
    height: 8px;
    width: 36px;
    border-radius: 2px;
    background: rgba(147, 197, 232, 0.35);
    animation: epweb-bar-pulse 2.8s ease-in-out infinite;
}

.epweb-mock__nav span:nth-child(3) { animation-delay: 0.15s; width: 28px; }
.epweb-mock__nav span:nth-child(4) { animation-delay: 0.3s; width: 32px; }
.epweb-mock__nav span:nth-child(5) { animation-delay: 0.45s; width: 24px; }

.epweb-mock__hero-bar {
    height: 72px;
    border-radius: 6px;
    background:
        linear-gradient(105deg, rgba(26, 79, 122, 0.55), rgba(15, 107, 86, 0.25)),
        rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(147, 197, 232, 0.18);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
}

.epweb-mock__hero-label {
    width: 42%;
    height: 10px;
    border-radius: 2px;
    background: rgba(226, 232, 240, 0.55);
    animation: epweb-bar-pulse 2.4s ease-in-out infinite;
}

.epweb-mock__hero-cta {
    width: 22%;
    height: 14px;
    border-radius: 3px;
    background: rgba(147, 197, 232, 0.45);
}

.epweb-mock__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.epweb-mock__block {
    height: 64px;
    border-radius: 6px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.18);
    animation: epweb-block-rise 3.2s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #93c5e8;
}

.epweb-mock__block:nth-child(2) { animation-delay: 0.2s; }
.epweb-mock__block:nth-child(3) { animation-delay: 0.4s; }

.epweb-mock__ico {
    display: flex;
    color: #93c5e8;
}

.epweb-mock__label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(203, 213, 225, 0.7);
}

@keyframes epweb-bar-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

@keyframes epweb-block-rise {
    0%, 100% { transform: translateY(0); opacity: 0.75; }
    50% { transform: translateY(-3px); opacity: 1; }
}

.epweb-mock__footer-line {
    height: 6px;
    width: 70%;
    margin-top: 4px;
    border-radius: 2px;
    background: rgba(148, 163, 184, 0.25);
}

/* —— Bands —— */
.epweb-band {
    padding: var(--epweb-section-y) 0;
}

.epweb-band--light {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.epweb-band--soft {
    background:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(26, 79, 122, 0.07), transparent 55%),
        #eef2f7;
}

.epweb-band--dark {
    background:
        radial-gradient(ellipse 60% 45% at 20% 0%, rgba(26, 79, 122, 0.22), transparent 50%),
        linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
    color: #e2e8f0;
}

.epweb-band__head {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.epweb-band__kicker {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--epweb-steel);
}

.epweb-band--dark .epweb-band__kicker {
    color: #93c5e8;
}

.epweb-band__head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.55rem, 2.8vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--epweb-ink);
    line-height: 1.25;
}

.epweb-band--dark .epweb-band__head h2 {
    color: #f8fafc;
}

.epweb-band__head p {
    margin: 0;
    font-size: var(--font-size-body);
    line-height: 1.7;
    color: var(--epweb-muted);
}

.epweb-band--dark .epweb-band__head p {
    color: #94a3b8;
}

.epweb-band__close {
    margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--epweb-steel);
}

/* Pain */
.epweb-pain-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 24px);
}

.epweb-pain {
    padding: clamp(20px, 2.5vw, 26px);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.epweb-pain:hover {
    border-color: rgba(26, 79, 122, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.epweb-pain__idx {
    display: block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--epweb-steel-soft);
}

.epweb-pain h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 750;
    color: var(--epweb-ink);
}

.epweb-pain p {
    margin: 0;
    line-height: 1.65;
    color: var(--epweb-muted);
    font-size: 0.95rem;
}

/* Caps */
.epweb-caps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 24px);
}

.epweb-cap {
    padding: clamp(22px, 2.5vw, 28px);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.65);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.epweb-cap:hover {
    border-color: rgba(26, 79, 122, 0.32);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.epweb-cap__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.epweb-cap__top .epweb-icon {
    margin-bottom: 0;
}

.epweb-cap__tag {
    display: inline-block;
    margin-bottom: 0;
    padding: 4px 10px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--epweb-steel);
    background: rgba(26, 79, 122, 0.08);
    border-radius: 999px;
}

.epweb-cap h3 {
    margin: 14px 0 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--epweb-ink);
}

.epweb-cap p {
    margin: 0 0 12px;
    line-height: 1.65;
    color: var(--epweb-muted);
    font-size: 0.95rem;
}

.epweb-cap__meta {
    margin: 0;
    font-size: 0.8rem;
    color: var(--epweb-steel-soft);
}

/* Steps */
.epweb-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    counter-reset: epweb-step;
}

.epweb-step {
    position: relative;
    padding: 20px 16px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.7);
}

.epweb-step::before {
    counter-increment: epweb-step;
    content: counter(epweb-step, decimal-leading-zero);
    display: block;
    margin-bottom: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--epweb-steel-soft);
}

.epweb-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 10px;
    color: var(--epweb-steel);
    background: rgba(26, 79, 122, 0.1);
    border: 1px solid rgba(26, 79, 122, 0.14);
}

.epweb-step__icon .ad-icon {
    color: inherit;
}

.epweb-step h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--epweb-ink);
}

.epweb-step p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--epweb-muted);
}

/* AI trio */
.epweb-ai-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 32px);
}

.epweb-ai h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 750;
    color: #f8fafc;
}

.epweb-ai p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #94a3b8;
}

.epweb-ai__tag {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #93c5e8;
}

/* Deploy */
.epweb-deploy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 28px);
}

.epweb-deploy__col {
    padding: clamp(22px, 3vw, 28px);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(255, 255, 255, 0.72);
}

.epweb-deploy__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.epweb-deploy__head .epweb-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.epweb-deploy__col h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--epweb-ink);
}

.epweb-deploy__col dl {
    margin: 0;
    display: grid;
    gap: 12px;
}

.epweb-deploy__col dt {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--epweb-steel);
}

.epweb-deploy__col dd {
    margin: 4px 0 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--epweb-muted);
}

/* Modules chips */
.epweb-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.epweb-module {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    border: 1px solid rgba(147, 197, 232, 0.22);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.35);
}

.epweb-module .ad-icon {
    color: #93c5e8;
    flex-shrink: 0;
}

/* CTA / chat-style engagement flow */
.epweb-cta .epweb-band__head {
    margin: 0 auto clamp(28px, 4vw, 40px);
    max-width: 40rem;
    text-align: center;
}

.epweb-chat {
    max-width: 28rem;
    margin: 0 auto clamp(28px, 4vw, 40px);
    border: 1px solid rgba(15, 23, 42, 0.1);
    background:
        linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
    overflow: hidden;
}

.epweb-chat__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.epweb-chat__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.epweb-chat__dot:nth-child(1) { background: #94a3b8; }
.epweb-chat__dot:nth-child(2) { background: #64748b; }
.epweb-chat__dot:nth-child(3) { background: #3d7ab0; }

.epweb-chat__title {
    margin-left: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--epweb-muted);
}

.epweb-chat__thread {
    margin: 0;
    padding: 18px 14px 20px;
    list-style: none;
    display: grid;
    gap: 14px;
}

.epweb-chat__msg {
    display: grid;
    gap: 4px;
    max-width: 86%;
}

.epweb-chat__msg--you {
    justify-self: end;
    text-align: right;
}

.epweb-chat__msg--us {
    justify-self: start;
    text-align: left;
}

.epweb-chat__who {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--epweb-muted);
}

.epweb-chat__bubble {
    margin: 0;
    display: inline-block;
    padding: 10px 14px;
    font-size: 0.98rem;
    font-weight: 650;
    line-height: 1.45;
    text-align: left;
}

.epweb-chat__msg--you .epweb-chat__bubble {
    color: #fff;
    background: var(--epweb-steel);
    border-radius: 14px 14px 4px 14px;
}

.epweb-chat__msg--us .epweb-chat__bubble {
    color: var(--epweb-ink);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px 14px 14px 4px;
}

.epweb-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .epweb-pain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .epweb-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .epweb-hero__layout {
        grid-template-columns: 1fr;
    }

    .epweb-mock {
        min-height: 300px;
        order: -1;
    }

    .epweb-caps,
    .epweb-deploy,
    .epweb-ai-grid {
        grid-template-columns: 1fr;
    }

    .epweb-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .epweb-pain-grid,
    .epweb-steps {
        grid-template-columns: 1fr;
    }
}

/* —— Expanded content blocks —— */
.epweb-subhead {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--epweb-ink);
}

.epweb-band--dark .epweb-subhead {
    color: #f8fafc;
}

.epweb-prose {
    margin: 0 0 18px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--epweb-muted);
}

.epweb-band--dark .epweb-prose {
    color: #94a3b8;
}

.epweb-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(28px, 5vw, 56px);
    align-items: start;
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.epweb-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.epweb-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e3a5f;
    background: rgba(26, 79, 122, 0.08);
    border: 1px solid rgba(26, 79, 122, 0.18);
    border-radius: 8px;
}

.epweb-chip .ad-icon {
    color: var(--epweb-steel);
    flex-shrink: 0;
}

.epweb-check-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.epweb-check-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
}

.epweb-check-list li::before {
    display: none;
}

.epweb-check-list__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    color: #fff;
    background: var(--epweb-steel);
}

.epweb-check-list__ico .ad-icon {
    display: block;
    color: inherit;
    width: 12px;
    height: 12px;
    line-height: 0;
    vertical-align: 0;
}

.epweb-check-list__ico .ad-icon svg {
    display: block;
}

.epweb-check-list strong {
    color: var(--epweb-ink);
}

.epweb-note-block {
    padding: clamp(22px, 3vw, 28px);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
}

.epweb-note-block__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.epweb-note-block__head .epweb-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.epweb-note-block__head .epweb-subhead {
    margin: 0;
}

.epweb-role-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
}

.epweb-role {
    padding: clamp(18px, 2vw, 22px);
    border: 1px solid rgba(147, 197, 232, 0.18);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.35);
}

.epweb-role h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 750;
    color: #f8fafc;
}

.epweb-role p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #94a3b8;
}

.epweb-ai-detail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 24px);
}

.epweb-ai-card {
    padding: clamp(22px, 2.5vw, 26px);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
}

.epweb-ai-card h3 {
    margin: 14px 0 12px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--epweb-ink);
}

.epweb-ai-card > p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--epweb-muted);
}

.epweb-mini-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.epweb-mini-list li {
    position: relative;
    padding-left: 16px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #475569;
}

.epweb-mini-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--epweb-steel-soft);
}

.epweb-scene-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
}

.epweb-scene {
    padding: clamp(18px, 2vw, 22px);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.65);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.epweb-scene:hover {
    border-color: rgba(26, 79, 122, 0.32);
    transform: translateY(-2px);
}

.epweb-scene h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--epweb-ink);
}

.epweb-scene p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--epweb-muted);
}

.epweb-role.fade-in:nth-child(1) { transition-delay: 0s; }
.epweb-role.fade-in:nth-child(2) { transition-delay: 0.08s; }
.epweb-role.fade-in:nth-child(3) { transition-delay: 0.16s; }
.epweb-role.fade-in:nth-child(4) { transition-delay: 0.24s; }

.epweb-ai-card.fade-in:nth-child(1) { transition-delay: 0s; }
.epweb-ai-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.epweb-ai-card.fade-in:nth-child(3) { transition-delay: 0.2s; }

.epweb-scene.fade-in:nth-child(1) { transition-delay: 0s; }
.epweb-scene.fade-in:nth-child(2) { transition-delay: 0.04s; }
.epweb-scene.fade-in:nth-child(3) { transition-delay: 0.08s; }
.epweb-scene.fade-in:nth-child(4) { transition-delay: 0.12s; }
.epweb-scene.fade-in:nth-child(5) { transition-delay: 0.16s; }
.epweb-scene.fade-in:nth-child(6) { transition-delay: 0.2s; }
.epweb-scene.fade-in:nth-child(7) { transition-delay: 0.24s; }
.epweb-scene.fade-in:nth-child(8) { transition-delay: 0.28s; }
.epweb-scene.fade-in:nth-child(9) { transition-delay: 0.32s; }
.epweb-scene.fade-in:nth-child(n+10) { transition-delay: 0.36s; }

.epweb-cap.fade-in:nth-child(5) { transition-delay: 0.32s; }
.epweb-cap.fade-in:nth-child(6) { transition-delay: 0.4s; }

@media (max-width: 1024px) {
    .epweb-role-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .epweb-scene-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .epweb-ai-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .epweb-split,
    .epweb-ai-detail,
    .epweb-scene-grid {
        grid-template-columns: 1fr;
    }

    .epweb-role-grid {
        grid-template-columns: 1fr;
    }
}
