:root {
    --dy-blue: var(--dy-site-primary);
    --dy-blue-dark: rgba(29, 95, 226, .8);
    --dy-ink: var(--dy-site-foreground);
    --dy-sub: var(--dy-site-muted-foreground);
    --dy-line: var(--dy-site-border);
    --dy-muted-bg: var(--dy-site-muted);
    --dy-page: var(--dy-site-page-bg);
    --dy-card: var(--dy-site-card);
}

.dy-home-page {
    color: var(--dy-ink);
    background: var(--dy-page);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.dy-home-page a { text-decoration: none; }
.dy-home-page .dianle-footer > .dianle-pay { display: none; }
.dy-home { padding-top: 65px; overflow: hidden; background: var(--dy-page); }
.dy-home-page .dianle-header { background: #ebf1fa; border-bottom-color: #e5ebf2; }
.dy-home-page .dianle-brand-mark,
.dy-home-page .dianle-register-link,
.dy-home-page .dianle-console-btn { background: var(--dy-blue); }
.dy-home-page .dianle-register-link:hover,
.dy-home-page .dianle-console-btn:hover { background: var(--dy-blue-dark); }
.dy-home-page .dianle-header-nav .dianle-item.is-active { color: var(--dy-blue); background: var(--dy-site-accent); }
.dy-shell { width: 100%; max-width: 1152px; margin: 0 auto; padding-right: 24px; padding-left: 24px; }

.dy-hero { position: relative; overflow: hidden; }
.dy-hero::before,
.dy-hero::after { display: none; content: none; }
.dy-hero-inner { position: relative; z-index: 1; padding-top: 112px; padding-bottom: 112px; }
.dy-hero-copy { width: 100%; max-width: 768px; margin: 0 auto; text-align: center; }
.dy-kicker,
.dy-label { display: inline-flex; min-height: 24px; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; color: var(--dy-site-accent-foreground); background: var(--dy-site-accent); font-size: 12px; font-weight: 500; line-height: 16px; }
.dy-kicker { min-height: 26px; border: 1px solid rgba(29, 95, 226, .2); }
.dy-kicker svg,
.dy-label svg { width: 14px; height: 14px; flex: 0 0 14px; }
.dy-hero h1 { margin: 20px 0 0; font-size: 48px; font-weight: 700; line-height: 60px; letter-spacing: 0; }
.dy-hero h1 strong { color: var(--dy-blue); font-weight: 700; }
.dy-hero-copy > p { max-width: 576px; margin: 20px auto 0; color: var(--dy-sub); font-size: 18px; line-height: 1.625; }
.dy-hero-actions { display: flex; margin-top: 32px; align-items: center; justify-content: center; gap: 12px; }
.dy-button { display: inline-flex; height: 36px; min-width: 0; align-items: center; justify-content: center; gap: 6px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.dy-button svg { width: 16px; height: 16px; flex: 0 0 16px; }
.dy-button:hover { transform: translateY(-1px); }
.dy-button-primary { width: 160px; color: var(--dy-site-primary-foreground); background: var(--dy-blue); }
.dy-button-primary:hover { color: var(--dy-site-primary-foreground); background: var(--dy-blue-dark); }
.dy-button-secondary { width: 106px; color: var(--dy-ink); border-color: var(--dy-line); background: #fff; }
.dy-button-secondary:hover { color: var(--dy-ink); background: var(--dy-site-muted); }
.dy-stats-grid { display: grid; max-width: 768px; margin: 48px auto 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dy-stats-grid > div { min-height: 86px; padding: 16px; border: 1px solid var(--dy-line); border-radius: 22px; background: rgba(255, 255, 255, .7); box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1); backdrop-filter: blur(6px); }
.dy-stats-grid dt { color: var(--dy-blue); font-size: 24px; font-weight: 700; line-height: 30px; }
.dy-stats-grid dd { margin-top: 4px; color: var(--dy-sub); font-size: 12px; line-height: 16px; }

.dy-section { padding-top: 80px; padding-bottom: 80px; }
.dy-section-head { max-width: 672px; margin: 0 auto; text-align: center; }
.dy-section-head h2 { margin: 0; font-size: 30px; font-weight: 700; line-height: 36px; letter-spacing: 0; }
.dy-section-head .dy-label + h2 { margin-top: 16px; }
.dy-section-head p { margin: 12px 0 0; color: var(--dy-sub); font-size: 14px; line-height: 20px; }
.dy-card-grid { display: grid; margin-top: 48px; gap: 24px; }
.dy-product-grid,
.dy-lines-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dy-card { position: relative; border: 1px solid var(--dy-line); background: var(--dy-card); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.dy-card:hover { border-color: rgba(29, 95, 226, .4); box-shadow: 0 10px 20px rgba(27, 40, 68, .1); transform: translateY(-4px); }
.dy-motion-ready .dy-card,
.dy-motion-ready .dy-section-head,
.dy-motion-ready .dy-stats-grid { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, border-color .25s ease; }
.dy-motion-ready .dy-visible { opacity: 1; transform: none; }
.dy-motion-ready .dy-card.dy-visible:hover { transform: translateY(-4px); }

.dy-product-card { display: flex; min-height: 252px; flex-direction: column; padding: 28px; border-radius: 26px; box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1); }
.dy-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 16px; }
.dy-icon svg { width: 24px; height: 24px; }
.dy-icon-blue { color: var(--dy-blue); background: rgba(29, 95, 226, .1); }
.dy-icon-green { color: #007a3a; background: rgba(0, 173, 91, .12); }
.dy-icon-muted { color: var(--dy-sub); background: var(--dy-site-muted); }
.dy-product-card h3 { margin: 20px 0 0; font-size: 18px; font-weight: 600; line-height: 28px; }
.dy-product-card p { margin: 8px 0 0; color: var(--dy-sub); font-size: 14px; line-height: 1.625; }
.dy-card-link { display: inline-flex; margin-top: auto; padding-top: 24px; align-items: center; gap: 4px; color: var(--dy-blue); font-size: 14px; font-weight: 500; line-height: 20px; }
.dy-card-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.dy-product-card:hover .dy-card-link svg { transform: translate(2px, -2px); }
.dy-link-muted { color: var(--dy-sub); }
.dy-card-muted { opacity: .9; }
.dy-coming { position: absolute; top: 28px; right: 28px; padding: 4px 10px; border-radius: 999px; color: var(--dy-sub); background: var(--dy-site-muted); font-size: 12px; font-weight: 500; line-height: 16px; }

.dy-line-card { min-height: 262px; padding: 28px; border-radius: 26px; box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1); }
.dy-line-heading { display: flex; align-items: center; gap: 12px; }
.dy-region { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; flex: 0 0 40px; border-radius: 12px; font-size: 14px; font-weight: 700; line-height: 20px; }
.dy-region-blue { color: var(--dy-blue); background: var(--dy-site-accent); }
.dy-region-gray { color: var(--dy-sub); background: var(--dy-site-muted); }
.dy-line-heading h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; }
.dy-line-heading p { margin: 0; color: var(--dy-sub); font-size: 12px; line-height: 16px; }
.dy-line-card ul { display: grid; margin: 24px 0 0; padding: 0; list-style: none; gap: 10px; }
.dy-line-card li { display: flex; padding: 10px 16px; align-items: center; justify-content: space-between; gap: 8px; border-radius: 12px; background: rgb(231 237 246 / 60%); }
.dy-line-card b { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.dy-line-card b svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--dy-blue); }
.dy-line-card code { overflow: hidden; color: var(--dy-sub); font: 14px/20px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }

.dy-infra .dy-section-head { max-width: 672px; }
.dy-infra .dy-section-head > h2 { font-size: 36px; line-height: 40px; }
.dy-infra .dy-section-head > p { margin-top: 16px; font-size: 16px; line-height: 26px; }
.dy-infra-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; gap: 20px; }
.dy-infra-card { min-height: 214px; padding: 24px; border-radius: 22px; }
.dy-infra-card .dy-icon { border-radius: 12px; }
.dy-infra-card h3 { margin: 16px 0 0; font-size: 16px; font-weight: 600; line-height: 24px; }
.dy-infra-card p { margin: 8px 0 0; color: var(--dy-sub); font-size: 14px; line-height: 1.625; }

.dy-payments { padding-top: 64px; padding-bottom: 64px; }
.dy-payments .dy-section-head h2 { font-size: 30px; line-height: 36px; }
.dy-payments .dy-section-head p { margin-top: 8px; }
.dy-payment-grid { display: grid; max-width: 896px; margin: 40px auto 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dy-payment-grid > div { display: flex; min-width: 0; min-height: 66px; padding: 14px 16px; align-items: center; gap: 12px; border: 1px solid var(--dy-line); border-radius: 17px; background: var(--dy-page); box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.dy-payment-grid > div:hover { border-color: rgba(29, 95, 226, .4); box-shadow: 0 4px 8px rgba(27, 40, 68, .09); transform: translateY(-2px); }
.dy-payment-grid img { width: 32px; height: 32px; flex: 0 0 32px; object-fit: contain; }
.dy-payment-grid span { overflow: hidden; color: var(--dy-ink); font-size: 14px; font-weight: 500; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }

.dy-cta-section { padding-top: 0; padding-bottom: 80px; }
.dy-cta { padding: 56px 48px; border: 1px solid rgba(29, 95, 226, .2); border-radius: 26px; color: #fff; text-align: center; background: var(--dy-blue); }
.dy-cta h2 { margin: 0; color: #fff; font-size: 36px; font-weight: 700; line-height: 40px; letter-spacing: 0; }
.dy-cta p { max-width: 576px; margin: 16px auto 0; color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 26px; }
.dy-cta > div { display: flex; margin-top: 32px; align-items: center; justify-content: center; gap: 12px; }
.dy-cta .dy-button { width: 136px; padding-right: 28px; padding-left: 28px; }
.dy-button-light { color: var(--dy-ink); background: #fff; }
.dy-button-light:hover { color: var(--dy-ink); background: #fff; }
.dy-button-outline { color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent; }
.dy-button-outline:hover { color: #fff; background: rgba(255, 255, 255, .1); }

@media (max-width: 1023px) {
    .dy-product-grid,
    .dy-lines-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dy-infra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .dy-product-grid,
    .dy-lines-grid { grid-template-columns: 1fr; }
}

@media (max-width: 639px) {
    .dy-shell { padding-right: 16px; padding-left: 16px; }
    .dy-hero-inner { padding-top: 80px; padding-bottom: 80px; }
    .dy-hero h1 { font-size: 36px; line-height: 45px; }
    .dy-hero-copy > p { font-size: 16px; line-height: 26px; }
    .dy-hero-actions { align-items: stretch; flex-direction: column; }
    .dy-button-primary,
    .dy-button-secondary { width: 100%; }
    .dy-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .dy-stats-grid > div { min-height: 86px; }
    .dy-section { padding-top: 80px; padding-bottom: 80px; }
    .dy-section-head h2 { font-size: 30px; line-height: 36px; }
    .dy-section-head p { font-size: 14px; line-height: 18px; }
    .dy-card-grid { margin-top: 48px; }
    .dy-product-card { min-height: 252px; }
    .dy-infra .dy-section-head > h2 { font-size: 29px; line-height: 36px; }
    .dy-infra-grid { grid-template-columns: 1fr; }
    .dy-infra-grid { margin-top: 56px; }
    .dy-infra-card { min-height: 0; }
    .dy-payments { padding-top: 64px; padding-bottom: 64px; }
    .dy-payment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .dy-payment-grid > div { min-height: 66px; padding-right: 12px; padding-left: 12px; }
    .dy-payment-grid span { font-size: 13px; }
    .dy-cta-section { padding-top: 0; padding-bottom: 80px; }
    .dy-cta { padding: 56px 24px; }
    .dy-cta h2 { font-size: 30px; line-height: 36px; }
    .dy-cta > div { align-items: stretch; flex-direction: column; }
    .dy-cta .dy-button { width: 100%; }
}

@media (max-width: 374px) {
    .dy-hero h1,
    .dy-infra .dy-section-head > h2,
    .dy-cta h2 { font-size: 32px; line-height: 40px; }
    .dy-line-card { padding-right: 20px; padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .dy-card,
    .dy-button,
    .dy-payment-grid > div { transition: none; }
    .dy-card:hover,
    .dy-button:hover,
    .dy-payment-grid > div:hover { transform: none; }
}
