/**
 * 管家婆官网复刻项目 - 全局样式表
 * 文件路径: css/style.css
 * 设计规范: 基于 gm.grasp.com.cn 调研
 */

/* ============================================
   1. CSS Reset 和基础样式
   ============================================ */

/* 标准 box-sizing reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* HTML5 元素兼容 */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

/* 基础 body 样式 */
body {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #222222;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 链接样式重置 */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #5881EB;
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 列表重置 */
ul, ol {
    list-style: none;
}

/* 按钮重置 */
button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* 输入框重置 */
input, textarea {
    font-family: inherit;
    outline: none;
}

/* 容器类 */
.container {
    max-width: 1200px;
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   2. 导航栏 (.navbar)
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 70px;
    transition: box-shadow 0.3s ease;
}

/* 导航栏滚动后的阴影效果 */
.navbar.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 40px;
}

/* 导航链接 */
.navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 100px;
    margin-right: auto;
}

/* 电话胶囊样式 - 在Logo右侧 */
.nav-phone-pill {
    display: flex;
    align-items: center;
    background: #1a6ce8;
    border-radius: 20px;
    padding: 8px 20px;
    margin-left: 20px;
    color: #ffffff;
    font-size: 14px;
}

.nav-phone-pill .phone-label {
    color: rgba(255, 255, 255, 0.9);
}

.nav-phone-pill .phone-number {
    font-weight: bold;
    margin-left: 5px;
}

.navbar .nav-links a {
    font-size: 14px;
    color: #222222;
    padding: 5px 0;
    position: relative;
}

.navbar .nav-links a:hover {
    color: #5881EB;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #5881EB;
    transition: width 0.3s ease;
}

.navbar .nav-links a:hover::after {
    width: 100%;
}

/* 导航右侧操作区 */
.navbar .nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar .phone {
    font-size: 14px;
    color: #666666;
}

.navbar .phone span {
    color: #5881EB;
    font-weight: bold;
    font-size: 16px;
}

/* 按钮样式 */
.btn-trial {
    background: linear-gradient(135deg, #5881EB 0%, #4A6FD9 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 129, 235, 0.4);
    color: #ffffff;
}

.btn-login {
    border: 1px solid #5881EB;
    color: #5881EB;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #5881EB;
    color: #ffffff;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #222222;
    transition: all 0.3s ease;
}

/* ============================================
   3. Hero 区域 (.hero)
   ============================================ */

.hero {
    width: 100%;
    min-height: 65vh;
    background: linear-gradient(0deg, #DAEBFC 0%, #5881EB 100%);
    padding-top: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

/* 背景装饰 - 背景图 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/bg-hero.png');
    background-size: cover;
    background-position: center right;
    opacity: 0.35;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: left;
    padding: 40px 20px;
}

.hero-content {
    max-width: 700px;
    margin: 0;
}

.hero h1 {
    font-size: 36px;
    font-weight: bold;
    color: #222222;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero .subtitle {
    font-size: 18px;
    color: #1a6ce8;
    margin-bottom: 12px;
    font-weight: 500;
}

.hero .desc {
    font-size: 15px;
    color: #555555;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Hero 内部统计条 */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: left;
}

.hero-stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #222222;
    line-height: 1;
}

.hero-stat-number sup {
    font-size: 16px;
    font-weight: normal;
    color: #666666;
    margin-left: 2px;
}

.hero-stat-label {
    font-size: 13px;
    color: #666666;
    margin-top: 5px;
}

.hero-stat-divider {
    color: #cccccc;
    font-size: 24px;
    font-weight: 300;
}

/* Hero CTA 按钮 */
.hero .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero .btn-cta {
    background-color: #1a6ce8;
    color: #ffffff;
    padding: 15px 50px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 108, 232, 0.4);
    color: #ffffff;
}

.hero .btn-cta .arrow {
    font-size: 14px;
}

/* ============================================
   4. 数据统计条 (.stats) - 已移入Hero区域
   ============================================ */

/* 独立统计条区块已移除，统计内容现在位于Hero区域内 */
.stats {
    display: none;
}

/* ============================================
   5. 问题困扰区 (.problems)
   ============================================ */

.problems {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon img {
    max-width: 100%;
    max-height: 100%;
}

.problem-card h3 {
    font-size: 18px;
    color: #222222;
    margin-bottom: 15px;
    font-weight: bold;
}

.problem-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* ============================================
   6. 解决方案区 (.solutions)
   ============================================ */

.solutions {
    background: linear-gradient(180deg, #f0f6ff 0%, #e8f0fe 100%);
    padding: 80px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.solution-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(88, 129, 235, 0.15);
}

.solution-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #5881EB 0%, #4A6FD9 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon img {
    width: 28px;
    height: 28px;
}

.solution-card h3 {
    font-size: 18px;
    color: #222222;
    margin-bottom: 15px;
    font-weight: bold;
}

.solution-card ul {
    text-align: left;
}

.solution-card li {
    font-size: 14px;
    color: #666666;
    padding: 8px 0;
    padding-left: 15px;
    position: relative;
    border-bottom: 1px dashed #eee;
}

.solution-card li:last-child {
    border-bottom: none;
}

.solution-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #5881EB;
}

/* ============================================
   7. 行业方案区 (.industry)
   ============================================ */

.industry {
    background-color: #ffffff;
    padding: 80px 0;
}

.industry-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.industry-tab {
    padding: 12px 30px;
    font-size: 14px;
    color: #666666;
    background-color: #f5f5f5;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.industry-tab:hover {
    background-color: #e8f0fe;
    color: #5881EB;
}

.industry-tab.active {
    background: linear-gradient(135deg, #5881EB 0%, #4A6FD9 100%);
    color: #ffffff;
}

.industry-tab img {
    width: 20px;
    height: 20px;
}

/* 行业内容区 */
.industry-content {
    margin-top: 50px;
    display: none;
}

.industry-content.active {
    display: block;
}

.industry-panel {
    display: flex;
    align-items: center;
    gap: 60px;
}

.industry-info {
    flex: 1;
}

.industry-info h3 {
    font-size: 28px;
    color: #222222;
    margin-bottom: 10px;
}

.industry-info .en-name {
    font-size: 14px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.industry-info p {
    font-size: 15px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.industry-info .features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.industry-info .feature-tag {
    padding: 8px 20px;
    background-color: #f0f6ff;
    color: #5881EB;
    border-radius: 20px;
    font-size: 13px;
}

.industry-image {
    flex: 1;
    max-width: 500px;
}

.industry-image img {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================
   8. 客户证言区 (.testimonials)
   ============================================ */

.testimonials {
    background-color: #f8f9fa;
    padding: 80px 0;
}

/* 品牌Logo横排 */
.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.brand-tag {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    color: #666666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.brand-tag:hover {
    border-color: #5881EB;
    color: #5881EB;
    box-shadow: 0 2px 8px rgba(88, 129, 235, 0.15);
}

.testimonials-slider {
    margin-top: 30px;
    position: relative;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid #5881EB;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-company {
    font-size: 16px;
    color: #5881EB;
    font-weight: bold;
    margin-bottom: 5px;
}

.testimonial-author {
    font-size: 14px;
    color: #999999;
    margin-bottom: 20px;
}

.testimonial-content {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
    font-style: italic;
    position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 40px;
    color: #e0e0e0;
    position: absolute;
    line-height: 1;
}

.testimonial-content::before {
    top: -10px;
    left: -20px;
}

.testimonial-content::after {
    bottom: -30px;
    right: -20px;
}

/* 轮播指示点 */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: #5881EB;
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   9. CTA 区域 (.cta)
   ============================================ */

.cta {
    background-color: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    color: #222222;
    margin-bottom: 15px;
    font-weight: bold;
}

.cta p {
    font-size: 18px;
    color: #666666;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA区域按钮样式 */
.cta .btn-primary {
    background-color: #1a6ce8;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
}

.cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 108, 232, 0.4);
    color: #ffffff;
}

.cta .btn-outline-primary {
    border: 2px solid #1a6ce8;
    color: #1a6ce8;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    background-color: transparent;
}

.cta .btn-outline-primary:hover {
    background-color: #1a6ce8;
    color: #ffffff;
}

/* ============================================
   10. 页脚 (.footer)
   ============================================ */

.footer {
    background-color: #2a2a2a;
    color: #999999;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

/* 咨询通道 */
.footer-consult .consult-phone {
    margin-bottom: 20px;
}

.footer-consult .phone-label {
    color: #999999;
    font-size: 14px;
}

.footer-consult .phone-number {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

.qr-section {
    margin-top: 20px;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background-color: #3a3a3a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666666;
    text-align: center;
    margin-bottom: 10px;
}

.qr-section p {
    font-size: 13px;
    color: #999999;
}

/* 产品版本选择 */
.footer-products ul li {
    margin-bottom: 12px;
}

.footer-products ul li a {
    font-size: 14px;
    color: #999999;
    transition: color 0.3s ease;
}

.footer-products ul li a:hover {
    color: #ffffff;
}

/* 联系我们 */
.footer-contact .company-info p {
    font-size: 14px;
    color: #999999;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
}

/* 底部备案信息 */
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
    font-size: 13px;
    color: #666666;
}

.footer-links a {
    color: #666666;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #999999;
}

.footer-links .divider {
    margin: 0 10px;
    color: #444;
}

.footer-bottom p {
    font-size: 13px;
    color: #666666;
    margin-bottom: 5px;
}

.footer-bottom a {
    color: #666666;
}

.footer-bottom a:hover {
    color: #999999;
}

/* 公安备案链接样式 */
#policebeian {
    color: #999999;
}

#policebeian:hover {
    color: #ffffff;
}

/* ICP备案链接样式 */
#beian {
    color: #999999;
}

#beian:hover {
    color: #ffffff;
}

/* ============================================
   11. 通用组件
   ============================================ */

/* 区块标题 */
.section-title {
    text-align: center;
    font-size: 32px;
    color: #222222;
    margin-bottom: 15px;
    font-weight: bold;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #5881EB 0%, #4A6FD9 100%);
    border-radius: 2px;
}

/* 区块描述 */
.section-desc {
    text-align: center;
    font-size: 16px;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

/* 通用按钮基础样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

/* 蓝色实心按钮 */
.btn-primary {
    background: linear-gradient(135deg, #5881EB 0%, #4A6FD9 100%);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 129, 235, 0.4);
    color: #ffffff;
}

/* 边框按钮 */
.btn-outline {
    border: 1px solid #5881EB;
    color: #5881EB;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #5881EB;
    color: #ffffff;
}

/* 白色按钮 */
.btn-white {
    background-color: #ffffff;
    color: #5881EB;
    border: none;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================
   12. 响应式设计
   ============================================ */

/* 平板断点 768px */
@media screen and (max-width: 768px) {
    /* 导航栏 */
    .navbar .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        gap: 15px;
        margin-left: 0;
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .navbar .nav-actions {
        display: none;
    }

    .nav-phone-pill {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero .container {
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero .subtitle {
        font-size: 16px;
    }

    .hero .desc {
        font-size: 14px;
    }

    /* Hero统计 */
    .hero-stats {
        justify-content: center;
        gap: 15px;
    }

    .hero-stat-item {
        text-align: center;
    }

    .hero-stat-number {
        font-size: 28px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero .cta-buttons {
        justify-content: center;
    }

    /* 统计 */
    .stats .container {
        flex-wrap: wrap;
    }

    .stat-item {
        min-width: 45%;
    }

    /* 问题区 */
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* 解决方案 */
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* 行业方案 */
    .industry-tabs {
        gap: 8px;
    }

    .industry-tab {
        padding: 10px 20px;
        font-size: 13px;
    }

    .industry-panel {
        flex-direction: column;
        gap: 30px;
    }

    .industry-image {
        max-width: 100%;
    }

    /* CTA */
    .cta h2 {
        font-size: 26px;
    }

    .cta p {
        font-size: 16px;
    }

    /* 品牌Logo */
    .brand-logos {
        gap: 10px;
    }

    .brand-tag {
        padding: 8px 15px;
        font-size: 12px;
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* 区块标题 */
    .section-title {
        font-size: 26px;
    }
}

/* 手机断点 480px */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Hero */
    .hero h1 {
        font-size: 24px;
    }

    .hero .subtitle {
        font-size: 14px;
    }

    .hero .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero .btn-cta {
        width: 100%;
    }

    /* 统计 */
    .stat-item {
        min-width: 100%;
    }

    .stat-number {
        font-size: 36px;
    }

    /* 问题区 */
    .problems-grid {
        grid-template-columns: 1fr;
    }

    /* 解决方案 */
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    /* 行业方案 */
    .industry-tabs {
        flex-direction: column;
        align-items: center;
    }

    .industry-tab {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .industry-info h3 {
        font-size: 22px;
    }

    /* 客户证言 */
    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-content {
        font-size: 14px;
    }

    /* CTA */
    .cta {
        padding: 60px 0;
    }

    .cta h2 {
        font-size: 22px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta .btn-primary,
    .cta .btn-outline-primary {
        width: 100%;
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .qr-placeholder {
        margin: 0 auto 10px;
    }

    .footer-brand .logo {
        margin: 0 auto 20px;
    }

    /* 区块标题 */
    .section-title {
        font-size: 22px;
    }

    .section-desc {
        font-size: 14px;
    }
}

/* ============================================
   工具类
   ============================================ */

/* 文本对齐 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* 隐藏/显示 */
.hidden { display: none !important; }
.visible { display: block !important; }

/* 浮动 */
.float-left { float: left; }
.float-right { float: right; }
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* 间距 */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

/* 弹性布局工具 */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
