/**
 * 极简黑白模板 - 专属样式
 *
 * 特点：无阴影无圆角 + 超大排版 + 细线边框 + 跑马灯
 *
 * @package DevStudio_Pro
 */

/* ============================================
   Header - 居中Logo导航
   ============================================ */
.header-mono {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #111111;
}

.header-mono .main-navigation--mono .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-mono .nav-brand--center {
    order: 2;
}

.header-mono .nav-menu-left {
    order: 1;
    flex: 1;
}

.header-mono .nav-menu-right {
    order: 3;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}

.header-mono .logo-mono .logo-text {
    font-size: 1.375rem;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.header-mono .nav-menu--mono {
    display: flex;
    gap: 2rem;
}

.header-mono .nav-menu--mono > li > a {
    color: #111111;
    font-weight: 500;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.header-mono .nav-menu--mono > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e11d48;
    transition: width 0.2s ease;
}

.header-mono .nav-menu--mono > li > a:hover::after {
    width: 100%;
}

.header-mono .btn-mono-primary {
    background: #111111;
    color: #ffffff;
    padding: 0.625rem 1.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.header-mono .btn-mono-primary:hover {
    background: #e11d48;
}

/* ============================================
   Hero - 超大排版 + 跑马灯
   ============================================ */
.hero-mono {
    background: #111111;
    color: #ffffff;
    padding: 10rem 0 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-mono__content {
    max-width: 100%;
}

.hero-mono .hero-title--mono {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #ffffff !important;
    margin-bottom: 2rem;
}

.hero-mono__line {
    width: 80px;
    height: 3px;
    background: #e11d48;
    margin-bottom: 2rem;
}

.hero-mono__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-mono .hero-subtitle--mono {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7) !important;  /* 提亮 */
    max-width: 500px;
}

.hero-mono .hero-actions--mono {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.hero-mono .btn-mono-primary {
    background: #e11d48 !important;
    color: #ffffff !important;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-mono .btn-mono-primary:hover {
    background: #be123c !important;
}

.hero-mono .btn-mono-outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-mono .btn-mono-outline:hover {
    border-color: #ffffff !important;
}

/* 跑马灯 */
.hero-mono__marquee {
    margin-top: 4rem;
    overflow: hidden;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-mono .marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee-scroll 20s linear infinite;
    white-space: nowrap;
}

.hero-mono .marquee-track span {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-mono .marquee-dot {
    color: #e11d48;
    font-size: 0.5rem;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   Services - 细线边框卡片 + 序号
   ============================================ */
.services-mono {
    padding: 6rem 0;
    background: #ffffff;
}

.services-mono .section-header--mono {
    margin-bottom: 4rem;
}

.services-mono .section-title--mono {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.services-mono .section-divider--mono {
    width: 60px;
    height: 3px;
    background: #e11d48;
    margin: 1rem auto;
}

.services-mono .services-grid--bordered {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #111111;
}

.services-mono .service-card--mono {
    background: #ffffff;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.services-mono .service-card--mono::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #e11d48;
    transition: width 0.3s ease;
}

.services-mono .service-card--mono:hover::before {
    width: 100%;
}

.services-mono .service-card__num {
    font-size: 3rem;
    font-weight: 900;
    color: #f5f5f5;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.services-mono .service-card--mono:hover .service-card__num {
    color: rgba(225, 29, 72, 0.15);
}

.services-mono .service-link--mono {
    color: #111111;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.services-mono .service-link--mono:hover {
    color: #e11d48;
}

/* ============================================
   Stats - 大号数字 + 水平排列
   ============================================ */
.stats-mono {
    background: #111111;
    padding: 5rem 0;
}

.stats-mono .stats-grid--mono {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stats-mono .stat-item--mono {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s;
}

.stats-mono .stat-item--mono:hover {
    border-color: #e11d48;
}

.stats-mono .stat-number-wrapper--mono {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.stats-mono .stat-item--mono .stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    font-family: var(--font-mono);
}

.stats-mono .stat-suffix--mono {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e11d48;
}

.stats-mono .stat-label--mono {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6) !important;  /* 从0.4提亮 */
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   CTA - 纯黑背景 + 赤红按钮
   ============================================ */
.cta-mono .cta-section {
    background: #111111;
    padding: 8rem 0;
    text-align: center;
}

.cta-mono .cta-title--mono {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #ffffff !important;  /* 覆盖components.css的变量引用 */
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-mono .cta-description--mono {
    color: rgba(255, 255, 255, 0.75) !important;  /* 覆盖components.css的text-secondary */
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.cta-mono .cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Mono CTA 按钮 — 必须显式声明，否则回退到变量导致黑底黑字 */
.cta-mono .btn-mono-primary {
    background: #e11d48 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cta-mono .btn-mono-primary:hover {
    background: #be123c !important;
    transform: translateY(-2px);
}

.cta-mono .btn-mono-outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cta-mono .btn-mono-outline:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .services-mono .services-grid--bordered {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-mono .stats-grid--mono {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-mono__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .header-mono .nav-menu-left,
    .header-mono .nav-menu-right {
        display: none;
    }
    .services-mono .services-grid--bordered {
        grid-template-columns: 1fr;
    }
    .stats-mono .stats-grid--mono {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Shared Sections - Mono 风格适配
   ============================================ */

/* Projects - 细线边框卡片 */
.tpl-mono .project-card {
    background: #ffffff;
    border: 1px solid #111111;
    border-radius: 0;
    transition: all 0.3s ease;
}
.tpl-mono .project-card:hover {
    border-color: #e11d48;
    box-shadow: none;
}
.tpl-mono .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e11d48;
    transition: width 0.3s ease;
}
.tpl-mono .project-card:hover::before {
    width: 100%;
}
.tpl-mono .project-card__image {
    border-radius: 0;
}
.tpl-mono .project-card__content {
    padding: 1.5rem;
}
.tpl-mono .project-card__title {
    color: #111111;
    font-weight: 700;
    text-transform: uppercase;
}
.tpl-mono .project-card__desc {
    color: #555555;
}
.tpl-mono .project-card__meta {
    color: #999999;
    font-family: var(--font-mono);
}
.tpl-mono .project-card__link {
    color: #111111;
    font-weight: 700;
    text-transform: uppercase;
}
.tpl-mono .filter-btn,
.tpl-mono .category-tag {
    background: transparent;
    border: 1px solid #111111;
    color: #111111;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tpl-mono .filter-btn:hover,
.tpl-mono .filter-btn.active {
    background: #111111;
    color: #ffffff;
}

/* TechStack - 细线标签 */
.tpl-mono .tech-item {
    background: transparent;
    border: 1px solid rgba(17, 17, 17, 0.15);
    border-radius: 0;
    transition: all 0.3s ease;
}
.tpl-mono .tech-item:hover {
    border-color: #e11d48;
    background: rgba(225, 29, 72, 0.03);
}
.tpl-mono .tech-name {
    color: #111111;
    font-weight: 600;
}
.tpl-mono .tech-level {
    color: #e11d48;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Team - 无装饰头像 */
.tpl-mono .team-member {
    background: transparent;
    border: 1px solid rgba(17, 17, 17, 0.15);
    border-radius: 0;
    transition: all 0.3s ease;
}
.tpl-mono .team-member:hover {
    border-color: #e11d48;
}
.tpl-mono .team-avatar {
    border: 2px solid #111111;
    border-radius: 50%;
}
.tpl-mono .team-name {
    color: #111111;
    font-weight: 700;
}
.tpl-mono .team-role {
    color: #e11d48;
    font-weight: 500;
}
.tpl-mono .team-bio {
    color: #666666;
}

/* Testimonials - 简约引用 */
.tpl-mono .testimonial-card {
    background: transparent;
    border-top: 3px solid #111111;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
    padding-top: 1.5rem;
}
.tpl-mono .testimonial-text {
    color: #444444;
    line-height: 1.8;
}
.tpl-mono .testimonial-author {
    color: #111111;
    font-weight: 700;
}
.tpl-mono .testimonial-role {
    color: #e11d48;
}
