/* ========================================
   南京清澜数途信息科技有限公司 - 企业官网样式
   域名: pay.qlstcloud.com
   ======================================== */

/* CSS Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 配色方案 */
    --canvas-bg: #fcfcfc;
    --sky-wash: #f0f4fe;
    --midnight-blue: #020520;
    --graphite-gray: #14141e;
    --slate-gray: #374151;
    --fog-gray: #696a72;
    --deep-fog: #95959b;
    --steel-gray: #6b7280;
    --signal-blue: #145aff;
    --action-blue: #0f1f3d;
    --emerald-green: #16ca2e;
    --coral-red: #f26052;
    --sky-info: #0099ff;
    --amber-tag: #ffa64d;
    
    /* 渐变 */
    --hero-gradient: linear-gradient(rgb(59, 130, 246) 0%, rgb(20, 90, 255) 100%);
    --hero-radial: radial-gradient(97.8% 181.6% at 53.7% 50%, rgb(20, 20, 30) 0%, rgba(88, 107, 141, 0.8) 100%);
    
    /* 阴影 */
    --card-shadow: rgba(0, 0, 0, 0.1) 0px 0px 4px -2px;
    --card-shadow-hover: rgba(0, 0, 0, 0.15) 0px 4px 12px -2px;
    --feature-shadow: rgba(0, 0, 0, 0.082) 0px 0.36px 1.81px -1.42px, 
                      rgba(0, 0, 0, 0.07) 0px 1.37px 6.87px -2.83px, 
                      rgba(0, 0, 0, 0.016) 0px 6px 30px -4.25px;
    
    /* 圆角 */
    --radius-pill: 100px;
    --radius-card: 8px;
    --radius-badge: 4px;
    --radius-image: 16px;
    --radius-input: 12px;
    --radius-modal: 32px;
    --radius-button: 12px;
    --radius-large-card: 40px;
    
    /* 间距 */
    --section-gap: 80px;
    --element-gap: 12px;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: 0.06px;
    color: var(--slate-gray);
    background-color: var(--canvas-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--midnight-blue);
    font-weight: 600;
}

h1 {
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -1.51px;
}

h2 {
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.76px;
}

h3 {
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.22px;
}

h4 {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.16px;
}

p {
    color: var(--slate-gray);
    line-height: 1.6;
}

a {
    color: var(--action-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--signal-blue);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section */
.section {
    padding: var(--section-gap) 0;
}

.section-alt {
    background-color: var(--sky-wash);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--fog-gray);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(252, 252, 252, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--midnight-blue);
}

.navbar-logo img {
    height: 36px;
    width: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--slate-gray);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.navbar-menu a:hover {
    background-color: var(--sky-wash);
    color: var(--midnight-blue);
}

.navbar-menu a.active {
    color: var(--midnight-blue);
    font-weight: 600;
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    color: var(--action-blue);
    border: 1px solid var(--action-blue);
}

.btn-outline:hover {
    background: var(--sky-wash);
    border-color: var(--midnight-blue);
    color: var(--midnight-blue);
}

.btn-primary {
    background: var(--hero-gradient);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 90, 255, 0.3);
    color: #ffffff;
}

.btn-ghost {
    background: var(--canvas-bg);
    color: var(--signal-blue);
    border: 1px solid rgba(20, 90, 255, 0.3);
    border-radius: var(--radius-pill);
    padding: 14px 32px;
}

.btn-ghost:hover {
    background: var(--sky-wash);
    border-color: var(--signal-blue);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 72px;
    background: radial-gradient(ellipse at 50% 30%, rgba(182, 203, 253, 0.4) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 70%, rgba(182, 203, 253, 0.2) 0%, transparent 50%),
                var(--canvas-bg);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 60px 24px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(20, 90, 255, 0.08);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
    color: var(--signal-blue);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 56px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--midnight-blue);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--fog-gray);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.card-lg {
    border-radius: var(--radius-large-card);
    padding: 52px 72px;
    box-shadow: var(--feature-shadow);
}

/* Grid */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    padding: 32px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sky-wash);
    border-radius: var(--radius-input);
    margin-bottom: 20px;
    color: var(--signal-blue);
    font-size: 24px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.feature-card p {
    color: var(--fog-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Product Cards */
.product-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.product-card-image {
    width: 100%;
    height: 200px;
    background: var(--sky-wash);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--signal-blue);
}

.product-card-content {
    padding: 24px;
}

.product-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.product-card p {
    color: var(--fog-gray);
    font-size: 14px;
    margin-bottom: 16px;
}

.product-card .btn-link {
    color: var(--action-blue);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-card .btn-link:hover {
    color: var(--signal-blue);
    gap: 10px;
}

/* News Cards */
.news-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.news-card-date {
    font-size: 12px;
    color: var(--deep-fog);
    margin-bottom: 12px;
}

.news-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    color: var(--fog-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    border-radius: var(--radius-large-card);
    padding: 48px;
    box-shadow: var(--feature-shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--graphite-gray);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    border: 1px solid #cfcfcf;
    border-radius: var(--radius-input);
    background: #ffffff;
    color: var(--graphite-gray);
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sky-info);
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Footer */
.footer {
    background: var(--midnight-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--signal-blue);
    color: #ffffff;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: var(--sky-wash);
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

.page-header p {
    color: var(--fog-gray);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--fog-gray);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--fog-gray);
}

.breadcrumb a:hover {
    color: var(--signal-blue);
}

.breadcrumb span {
    color: var(--deep-fog);
}

/* Detail Page */
.detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.detail-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--fog-gray);
    font-size: 14px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--slate-gray);
}

.detail-body h2 {
    font-size: 24px;
    margin: 40px 0 16px;
}

.detail-body h3 {
    font-size: 20px;
    margin: 32px 0 12px;
}

.detail-body p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.detail-body ul,
.detail-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.detail-body li {
    margin-bottom: 8px;
}

/* About Page */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-content h2 {
    margin-bottom: 24px;
}

.about-intro-content p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.about-intro-image {
    background: var(--sky-wash);
    border-radius: var(--radius-large-card);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--signal-blue);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--signal-blue), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--signal-blue);
    border-radius: 50%;
    border: 3px solid var(--canvas-bg);
    box-shadow: 0 0 0 2px var(--signal-blue);
}

.timeline-year {
    font-size: 14px;
    font-weight: 600;
    color: var(--signal-blue);
    margin-bottom: 8px;
}

.timeline-item h4 {
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--fog-gray);
    font-size: 14px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    background: #ffffff;
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sky-wash);
    border-radius: 50%;
    font-size: 28px;
    color: var(--signal-blue);
}

.value-card h3 {
    margin-bottom: 12px;
}

.value-card p {
    color: var(--fog-gray);
    font-size: 14px;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    background: var(--sky-wash);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--signal-blue);
}

.team-card h4 {
    margin-bottom: 4px;
}

.team-card p {
    color: var(--fog-gray);
    font-size: 14px;
}

/* Contact Info */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sky-wash);
    border-radius: var(--radius-input);
    color: var(--signal-blue);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-info-text p {
    color: var(--fog-gray);
    font-size: 14px;
}

/* Map */
.map-container {
    width: 100%;
    height: 300px;
    background: var(--sky-wash);
    border-radius: var(--radius-image);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fog-gray);
    margin-top: 40px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--midnight-blue);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 60px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--canvas-bg);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar-cta {
        display: none;
    }
    
    .hero-content {
        padding: 40px 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .about-intro-image {
        height: 250px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .card-lg {
        padding: 32px 24px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-16 {
    margin-bottom: 16px;
}
