/* ========================================
   英德龙山水泥官网手机版 - 蓝白风格
   ======================================== */

:root {
    /* 色彩系统 - 蓝白 */
    --blue-deep: #0D47A1;      /* 深空蓝 - 主色 */
    --blue: #1565C0;           /* 海螺蓝 */
    --blue-mid: #1976D2;       /* 中蓝 */
    --blue-light: #42A5F5;     /* 浅蓝 */
    --blue-pale: #E3F2FD;      /* 极浅蓝 - 背景 */
    --blue-mist: #F0F7FF;      /* 蓝雾 - 卡片底 */
    --white: #FFFFFF;
    --ink: #1A1A1A;            /* 主文字 */
    --ink-2: #4A4A4A;          /* 副文字 */
    --gray: #6B7280;           /* 弱化文字 */
    --gray-light: #D1D5DB;     /* 边框/分割 */
    --gray-pale: #F5F7FA;      /* 浅灰背景 */
    --conch-red: #D32F2F;      /* 海螺红(logo色) */

    /* 字体 */
    --font-sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
    --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

    /* 间距 */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: 4rem;

    /* 缓动 */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 重置 */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--ink);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background-color: var(--blue);
    color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   顶部品牌区
   ======================================== */
.brand-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--gray-light);
}

.brand-header__inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.brand-mark__logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.34rem 0.72rem 0.34rem 0.56rem;
    background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 100%);
    border: 1px solid #d6edff;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--blue-deep);
    letter-spacing: 0.06em;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.12);
}

.status-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue-mid);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.18);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.18); opacity: 1; }
    50% { box-shadow: 0 0 0 5px rgba(25, 118, 210, 0.04); opacity: 0.75; }
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.25rem 5rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--white) 0%, var(--blue-pale) 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(21, 101, 192, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 101, 192, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center top, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center top, black 20%, transparent 70%);
}

.hero__glow {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 80%;
    height: 60%;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.12) 0%, transparent 60%);
    filter: blur(50px);
}

.hero__content {
    position: relative;
    max-width: 480px;
    width: 100%;
    z-index: 1;
}

.hero__kicker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--blue);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.kicker-line {
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--blue);
}

.hero__title {
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.hero__title-line {
    display: block;
    font-size: clamp(2.5rem, 11vw, 3.5rem);
    color: var(--ink);
}

.hero__title-line--accent {
    color: var(--blue-deep);
    font-weight: 500;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-top: 0.25rem;
    position: relative;
    display: inline-block;
}

.hero__title-line--accent::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--blue), var(--blue-light));
    border-radius: 2px;
}

.hero__desc {
    font-size: 14px;
    line-height: 1.85;
    color: var(--ink-2);
    margin: 2rem 0 0;
    max-width: 32em;
    font-weight: 400;
}

.hero__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--gray);
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--blue), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   通用 Section 头部
   ======================================== */
.section-header {
    max-width: 480px;
    margin: 0 auto 2.5rem;
    padding: 0 1.25rem;
    position: relative;
}

.section-header__num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--blue);
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 0.75rem;
}

.section-header__num::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--blue);
    vertical-align: middle;
    margin-right: 0.5rem;
}

.section-header__title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.section-header__sub {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.2em;
}

/* ========================================
   数据卡片区
   ======================================== */
.stats {
    padding: 4rem 0;
    background: var(--white);
    position: relative;
}

.stats__grid {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    transition: all 0.3s var(--ease-out);
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--blue), var(--blue-light));
    transition: width 0.4s var(--ease-out);
}

.stat-card:hover {
    border-color: var(--blue-light);
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.08);
    transform: translateY(-2px);
}

.stat-card:hover::before {
    width: 100%;
}

.stat-card__num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-deep);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    letter-spacing: -0.02em;
}

.stat-card__num small {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.05em;
}

.stat-card__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.stat-card__desc {
    font-size: 11px;
    line-height: 1.5;
    color: var(--gray);
}

/* ========================================
   公司简介
   ======================================== */
.intro {
    padding: 4rem 0;
    background: var(--blue-mist);
}

.intro__content {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.intro__quote {
    position: relative;
    padding: 1.5rem 1.25rem 1.75rem;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--blue);
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(13, 71, 161, 0.05);
}

.quote-mark {
    position: absolute;
    top: -10px;
    left: 8px;
    font-size: 4rem;
    color: var(--blue-light);
    line-height: 1;
    font-weight: 700;
    opacity: 0.5;
}

.intro__quote p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.intro__details {
    margin-bottom: 2rem;
}

.intro__text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--ink-2);
    margin-bottom: 1rem;
    font-weight: 400;
}

.intro__text:last-child {
    margin-bottom: 0;
}

.intro__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 100px;
    font-size: 11px;
    color: var(--ink-2);
    letter-spacing: 0.05em;
    transition: all 0.2s var(--ease-out);
}

.chip__icon {
    color: var(--blue);
    font-size: 8px;
}

.chip:hover {
    border-color: var(--blue);
    color: var(--blue-deep);
}

/* ========================================
   产品矩阵
   ======================================== */
.products {
    padding: 4rem 0;
    background: var(--white);
}

.products__list {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.product-card {
    position: relative;
    padding: 1.5rem 1.375rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    transition: all 0.3s var(--ease-out);
}

.product-card:hover {
    border-color: var(--blue-light);
    box-shadow: 0 12px 32px rgba(13, 71, 161, 0.08);
    transform: translateY(-2px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--blue), var(--blue-light));
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px dashed var(--gray-light);
}

.product-card__grade {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-deep);
    letter-spacing: 0.05em;
}

.product-card__badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.15em;
    padding: 0.25rem 0.55rem;
    background: var(--blue-pale);
    border-radius: 4px;
}

.product-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.65rem;
    letter-spacing: 0.02em;
}

.product-card__desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--ink-2);
    margin-bottom: 1.25rem;
}

.product-card__specs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.spec {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec__label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--gray);
    letter-spacing: 0.1em;
}

.spec__value {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
}

.product-card--wide {
    background: linear-gradient(135deg, var(--white) 0%, var(--blue-pale) 100%);
    border-color: var(--blue-light);
}

/* ========================================
   绿色发展
   ======================================== */
.green {
    padding: 4rem 0;
    background: var(--blue-mist);
}

.green__hero {
    max-width: 480px;
    margin: 0 auto 2.5rem;
    padding: 0 1.25rem;
}

.green__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-deep);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    position: relative;
    padding-left: 1rem;
}

.green__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 3px;
    background: linear-gradient(to bottom, var(--blue), var(--blue-light));
    border-radius: 2px;
}

.green__text {
    font-size: 14px;
    line-height: 1.85;
    color: var(--ink-2);
}

.green__grid {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.green-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    padding: 1.25rem;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.green-card:hover {
    border-color: var(--blue-light);
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.08);
    transform: translateY(-2px);
}

.green-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--blue-pale);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.875rem;
    transition: all 0.3s var(--ease-out);
}

.green-card:hover .green-card__icon {
    background: var(--blue);
    color: var(--white);
}

.green-card h4 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.green-card p {
    font-size: 11px;
    line-height: 1.6;
    color: var(--gray);
}

/* ========================================
   联系方式
   ======================================== */
.contact {
    padding: 4rem 0;
    background: var(--white);
}

.contact__card {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    overflow: hidden;
}

.contact__row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.125rem 1.25rem;
    border-bottom: 1px solid var(--gray-light);
}

.contact__row:last-child {
    border-bottom: none;
}

.contact__label {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact__value {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.5;
    font-weight: 500;
}

.contact__value--mono {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--ink-2);
}

/* ========================================
   底部备案区
   ======================================== */
.footer {
    background: var(--blue-mist);
    border-top: 1px solid var(--gray-light);
    padding: 2.5rem 0 2rem;
}

.footer__inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer__brand {
    display: flex;
    justify-content: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.footer__logo {
    height: 56px;
    width: auto;
    opacity: 0.95;
}

/* ICP 备案号 */
.footer__icp {
    display: flex;
    justify-content: center;
}

.icp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.125rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    text-decoration: none;
    color: var(--ink-2);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease-out);
    position: relative;
    box-shadow: 0 1px 3px rgba(13, 71, 161, 0.04);
}

.icp-link:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
}

.icp-link:active {
    transform: translateY(0);
}

.icp-link__shield {
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.3s var(--ease-out);
}

.icp-link:hover .icp-link__shield {
    color: var(--white);
}

.icp-link::after {
    content: '↗';
    font-size: 11px;
    color: var(--gray);
    margin-left: 0.25rem;
    transition: all 0.3s var(--ease-out);
}

.icp-link:hover::after {
    color: var(--white);
    transform: translate(2px, -2px);
}

.footer__copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.footer__copyright p {
    font-size: 11px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 0.25rem;
}

.footer__copyright p:last-child {
    margin-bottom: 0;
}

/* ========================================
   滚动动画
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   减少动画偏好
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   大屏适配
   ======================================== */
@media (min-width: 481px) {
    .brand-header__inner,
    .hero__content,
    .section-header,
    .stats__grid,
    .intro__content,
    .products__list,
    .green__hero,
    .green__grid,
    .contact__card,
    .footer__inner {
        max-width: 480px;
    }
}

/* ========================================
   极小屏适配 (iPhone SE 等)
   ======================================== */
@media (max-width: 360px) {
    body {
        font-size: 14px;
    }

    .hero {
        min-height: 75vh;
        padding: 3rem 1rem 4rem;
    }

    .hero__title-line {
        font-size: 2.25rem;
    }

    .hero__title-line--accent {
        font-size: 1.625rem;
    }

    .section-header__title {
        font-size: 1.625rem;
    }

    .stat-card__num {
        font-size: 1.625rem;
    }
}

/* ========================================
   安全区域适配 (iPhone X+)
   ======================================== */
@supports (padding: max(0px)) {
    .brand-header {
        padding-top: env(safe-area-inset-top);
    }

    .footer {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
}
