/* 机构编制管理系统 - 样式文件 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2196f3;
    --primary-dark: #1976d2;
    --primary-light: #bbdefb;
    --secondary-color: #ff9800;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 24px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* 区块标题 */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

/* 核心优势 */
.advantages {
    padding: 80px 0;
    background-color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 功能模块 */
.features {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    color: var(--text-light);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.feature-card li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 技术特点 */
.technology {
    padding: 80px 0;
    background-color: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tech-item {
    padding: 30px;
    background-color: var(--bg-color);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.tech-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.tech-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 应用场景 */
.scenarios {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.scenario-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.scenario-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.scenario-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* 功能详情页面 */
.feature-details {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.detail-section {
    background-color: var(--white);
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.detail-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-icon {
    font-size: 48px;
}

.detail-header h2 {
    font-size: 28px;
}

.detail-content {
    padding: 40px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.detail-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.detail-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 技术亮点 */
.highlights {
    padding: 80px 0;
    background-color: var(--white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-card {
    padding: 30px;
    background-color: var(--bg-color);
    border-radius: 8px;
    text-align: center;
}

.highlight-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.highlight-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 关于页面样式 */
.about-intro {
    padding: 80px 0;
    background-color: var(--white);
}

.intro-content h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.intro-content p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* 技术架构 */
.technology-stack {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.stack-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.stack-item h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
}

.stack-item ul {
    list-style: none;
}

.stack-item li {
    padding: 10px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.stack-item li:last-child {
    border-bottom: none;
}

.stack-item strong {
    color: var(--text-color);
}

/* 系统架构 */
.system-architecture {
    padding: 80px 0;
    background-color: var(--white);
}

.architecture-content {
    max-width: 600px;
    margin: 0 auto;
}

.arch-layer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    margin: 10px 0;
}

.arch-layer h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.arch-layer p {
    font-size: 16px;
}

.arch-desc {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

.arch-arrow {
    text-align: center;
    font-size: 32px;
    color: var(--primary-color);
    font-weight: bold;
}

/* 核心特性列表 */
.core-features {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.features-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--white);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.feature-row .feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature-text p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 数据模型 */
.data-model {
    padding: 80px 0;
    background-color: var(--white);
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.model-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
}

.model-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.model-card ul {
    list-style: none;
}

.model-card li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.model-card li:last-child {
    border-bottom: none;
}

/* 版本历史 */
.version-history {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 115px;
    top: 35px;
    width: 2px;
    height: calc(100% + 40px);
    background-color: var(--primary-light);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-date {
    flex-shrink: 0;
    width: 100px;
    font-weight: 600;
    color: var(--primary-color);
    padding-top: 5px;
}

.timeline-content {
    flex: 1;
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.timeline-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    padding: 5px 0;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}

.timeline-content li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* 服务支持 */
.support {
    padding: 80px 0;
    background-color: var(--white);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.support-item {
    text-align: center;
    padding: 30px;
}

.support-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.support-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.support-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 联系页面 */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.info-content p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.info-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-link:hover {
    text-decoration: underline;
}

/* 联系表单 */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* 常见问题 */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-color);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 服务流程 */
.process-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.process-step p {
    color: var(--text-light);
    font-size: 14px;
}

.process-arrow {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
}

/* 软件界面预览 */
.preview {
    background-color: var(--white);
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-top: -30px;
    margin-bottom: 50px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.preview-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background-color: var(--white);
}

.preview-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.preview-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.preview-item:hover .preview-thumbnail {
    transform: scale(1.05);
}

.preview-caption {
    padding: 15px;
    text-align: center;
    font-weight: 500;
    color: var(--text-color);
    background-color: var(--white);
}

/* 图片预览弹出层 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.show {
    display: block;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.modal-close:hover {
    color: #ff9800;
}

.modal-caption {
    text-align: center;
    color: #fff;
    padding: 15px 20px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    font-size: 16px;
    white-space: nowrap;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    pointer-events: all;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-prev:hover,
.modal-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.modal-prev {
    margin-left: 0;
}

.modal-next {
    margin-right: 0;
}

/* 首页界面预览入口 */
.preview-cta {
    background-color: var(--bg-color);
    padding: 80px 0;
    text-align: center;
}

.preview-cta-desc {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 40px;
}

.preview-showcase {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.preview-item-mini {
    width: 200px;
    height: 140px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-item-mini:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.preview-item-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 界面预览页面 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.screenshots-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.screenshot-category {
    margin-bottom: 60px;
}

.category-title {
    display: flex;
    align-items: center;
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
}

.category-icon {
    font-size: 32px;
    margin-right: 15px;
}

.preview-desc {
    padding: 0 15px 15px;
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
}

.screenshot-features {
    background-color: var(--white);
    padding: 80px 0;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-color);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.highlight-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.highlight-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-content .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-content .btn-primary:hover {
    background-color: var(--bg-color);
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .advantages-grid,
    .features-grid,
    .tech-grid,
    .scenarios-grid,
    .preview-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: 95%;
        max-height: 75%;
    }

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .modal-caption {
        font-size: 14px;
        bottom: 20px;
    }

    .modal-prev,
    .modal-next {
        padding: 10px 15px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-showcase {
        gap: 10px;
    }

    .preview-item-mini {
        width: 150px;
        height: 100px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .category-title {
        font-size: 22px;
    }

    .category-icon {
        font-size: 24px;
    }
}