/* /skin/css/css.css */
:root {
    --ggt-primary: #0d47a1;
    --ggt-primary-light: #1565c0;
    --ggt-primary-dark: #0a2f6c;
    --ggt-bg: #f5f7fa;
    --ggt-white: #ffffff;
    --ggt-text: #1e293b;
    --ggt-text-light: #64748b;
    --ggt-border: #e2e8f0;
    --ggt-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --ggt-radius: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--ggt-text);
    background: var(--ggt-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.ggt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航 */
.ggt-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    z-index: 100;
}

.ggt-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
}

.ggt-nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.ggt-nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.ggt-nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.ggt-nav-link {
    text-decoration: none;
    color: var(--ggt-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.ggt-nav-link:hover,
.ggt-nav-link.active {
    color: var(--ggt-primary);
    border-bottom-color: var(--ggt-primary);
}

.ggt-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 120;
}

.ggt-hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ggt-text);
    position: relative;
    transition: background 0.3s;
}

.ggt-hamburger::before,
.ggt-hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ggt-text);
    position: absolute;
    left: 0;
    transition: transform 0.3s;
}

.ggt-hamburger::before {
    top: -7px;
}

.ggt-hamburger::after {
    top: 7px;
}

/* 移动端导航打开状态 */
.ggt-nav.open .ggt-hamburger {
    background: transparent;
}

.ggt-nav.open .ggt-hamburger::before {
    transform: translateY(7px) rotate(45deg);
}

.ggt-nav.open .ggt-hamburger::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.ggt-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.ggt-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: center / cover no-repeat;
    z-index: 0;
}

.ggt-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.ggt-hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 700px;
}

.ggt-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.ggt-hero-logo {
    margin: 1.5rem auto;
    display: block;
    width: clamp(100px, 15vw, 130px);
    height: auto;
    border-radius: 50%;
    background: #fff;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ggt-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
}

.ggt-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ggt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    min-width: 140px;
}

.ggt-btn-primary {
    background: var(--ggt-primary);
    color: #fff;
    border: 2px solid var(--ggt-primary);
}

.ggt-btn-primary:hover {
    background: var(--ggt-primary-dark);
    border-color: var(--ggt-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.ggt-btn-secondary {
    background: #fff;
    color: var(--ggt-primary);
    border: 2px solid var(--ggt-primary);
}

.ggt-btn-secondary:hover {
    background: var(--ggt-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* 各板块通用 */
.ggt-section {
    padding: 100px 0;
}

.ggt-section:nth-child(odd) {
    background: var(--ggt-white);
}

.ggt-section:nth-child(even) {
    background: var(--ggt-bg);
}

.ggt-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: left;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--ggt-text);
}

.ggt-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--ggt-primary);
    margin-top: 0.5rem;
}

/* 卡片网格 */
.ggt-card-grid {
    display: grid;
    gap: 2rem;
}

.ggt-solutions-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ggt-card {
    background: var(--ggt-white);
    border-radius: var(--ggt-radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--ggt-shadow);
    border: 1px solid var(--ggt-border);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.ggt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.ggt-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--ggt-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ggt-card-icon::after {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    background: #fff;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.ggt-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.ggt-card p {
    color: var(--ggt-text-light);
    margin-bottom: 1rem;
    flex: 1;
}

.ggt-link {
    color: var(--ggt-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.ggt-link:hover {
    opacity: 0.8;
}

/* 图标 SVG masks */
.ggt-icon-website::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='3' width='20' height='18' rx='2' fill='none' stroke='white' stroke-width='2'/%3E%3Cline x1='2' y1='9' x2='22' y2='9' stroke='white' stroke-width='2'/%3E%3Ccircle cx='12' cy='17' r='2' fill='white'/%3E%3C/svg%3E");
}

.ggt-icon-promotion::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z' fill='white'/%3E%3C/svg%3E");
}

.ggt-icon-miniapp::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='2' width='14' height='20' rx='2' fill='none' stroke='white' stroke-width='2'/%3E%3Cline x1='12' y1='6' x2='12' y2='8' stroke='white' stroke-width='2'/%3E%3Ccircle cx='12' cy='15' r='3' fill='white'/%3E%3C/svg%3E");
}

.ggt-icon-software::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm7.5-3c0-4.14-3.36-7.5-7.5-7.5S4.5 7.86 4.5 12 7.86 19.5 12 19.5 19.5 16.14 19.5 12zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z' fill='white'/%3E%3C/svg%3E");
}

.ggt-icon-ecommerce::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zM7.17 14.75l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01L19.42 4h-.01l-1.1 2-2.76 5H8.53l-.13-.27L6.16 6l-.95-2-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25z' fill='white'/%3E%3C/svg%3E");
}

.ggt-icon-server::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='3' width='20' height='18' rx='2' fill='none' stroke='white' stroke-width='2'/%3E%3Ccircle cx='6' cy='8' r='1.5' fill='white'/%3E%3Ccircle cx='6' cy='16' r='1.5' fill='white'/%3E%3Cline x1='10' y1='8' x2='18' y2='8' stroke='white' stroke-width='2'/%3E%3Cline x1='10' y1='16' x2='18' y2='16' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}

/* 专业团队 */
.ggt-team-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.ggt-team-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ggt-team-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--ggt-radius);
    box-shadow: var(--ggt-shadow);
}

.ggt-team-img-1 {
    grid-column: 1 / 3;
    height: 280px;
}

.ggt-team-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.ggt-team-info p {
    color: var(--ggt-text-light);
    margin-bottom: 2rem;
}

.ggt-team-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.ggt-stat {
    text-align: left;
}

.ggt-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ggt-primary);
    line-height: 1;
}

.ggt-stat-label {
    font-size: 0.9rem;
    color: var(--ggt-text-light);
}

/* 服务优势 */
.ggt-advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.ggt-advantage-item {
    background: var(--ggt-white);
    padding: 2rem 1.5rem;
    border-radius: var(--ggt-radius);
    box-shadow: var(--ggt-shadow);
    border: 1px solid var(--ggt-border);
    text-align: left;
    transition: transform 0.2s;
}

.ggt-advantage-item:hover {
    transform: translateY(-4px);
}

.ggt-advantage-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--ggt-primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ggt-advantage-icon::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: #fff;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.ggt-icon-tech::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z' fill='white'/%3E%3C/svg%3E");
}

.ggt-icon-service::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='white'/%3E%3C/svg%3E");
}

.ggt-icon-custom::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z' fill='white'/%3E%3C/svg%3E");
}

.ggt-icon-execution::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 3h-2v10h2V3zm4.83 2.17l-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.59-5.42L6.17 5.17C4.23 6.82 3 9.26 3 12c0 4.97 4.03 9 9 9s9-4.03 9-9c0-2.74-1.23-5.18-3.17-6.83zM11 15h2v-2h-2v2z' fill='white'/%3E%3C/svg%3E");
}

.ggt-advantage-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.ggt-advantage-item p {
    color: var(--ggt-text-light);
}

/* 案例中心 */
.ggt-cases-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ggt-case-card {
    background: var(--ggt-white);
    border-radius: var(--ggt-radius);
    overflow: hidden;
    box-shadow: var(--ggt-shadow);
    border: 1px solid var(--ggt-border);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.ggt-case-card:hover {
    transform: translateY(-4px);
}

.ggt-case-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ggt-case-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ggt-case-card:hover .ggt-case-img-wrapper img {
    transform: scale(1.03);
}

.ggt-case-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ggt-primary);
    color: #fff;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ggt-case-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ggt-case-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.ggt-case-content p {
    color: var(--ggt-text-light);
    flex: 1;
    margin-bottom: 1rem;
}

/* 资讯 */
.ggt-news-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ggt-news-card {
    background: var(--ggt-white);
    border-radius: var(--ggt-radius);
    overflow: hidden;
    box-shadow: var(--ggt-shadow);
    border: 1px solid var(--ggt-border);
    transition: transform 0.2s;
}

.ggt-news-card:hover {
    transform: translateY(-4px);
}

.ggt-news-img {
    height: 180px;
    overflow: hidden;
}

.ggt-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ggt-news-card:hover .ggt-news-img img {
    transform: scale(1.03);
}

.ggt-news-body {
    padding: 1.5rem;
}

.ggt-news-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.ggt-news-body time {
    display: block;
    font-size: 0.85rem;
    color: var(--ggt-text-light);
    margin-bottom: 0.75rem;
}

.ggt-news-body p {
    color: var(--ggt-text-light);
    margin-bottom: 1rem;
}

/* 关于我们/联系 */
.ggt-about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.ggt-contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.ggt-info-list {
    list-style: none;
    margin-bottom: 2rem;
}

.ggt-info-list li {
    margin-bottom: 0.8rem;
    color: var(--ggt-text-light);
}

.ggt-info-list a {
    color: var(--ggt-primary);
    text-decoration: none;
    font-weight: 500;
}

.ggt-other-links p {
    margin-bottom: 0.5rem;
}

.ggt-other-links .ggt-link {
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.ggt-contact-form {
    background: var(--ggt-white);
    padding: 2rem;
    border-radius: var(--ggt-radius);
    box-shadow: var(--ggt-shadow);
    border: 1px solid var(--ggt-border);
}

.ggt-contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.ggt-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ggt-form-group input,
.ggt-form-group select,
.ggt-form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--ggt-border);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fafbfc;
    transition: border-color 0.2s;
}

.ggt-form-group input:focus,
.ggt-form-group select:focus,
.ggt-form-group textarea:focus {
    outline: none;
    border-color: var(--ggt-primary);
    background: #fff;
}

.ggt-btn-submit {
    width: 100%;
    margin-top: 0.5rem;
}

/* 页脚 */
.ggt-footer {
    background: #0b2b4a;
    color: #cbd5e1;
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
}

.ggt-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ggt-footer-col h3,
.ggt-footer-col h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.ggt-footer-col ul {
    list-style: none;
}

.ggt-footer-col ul li {
    margin-bottom: 0.5rem;
}

.ggt-footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.ggt-footer-col a:hover {
    color: #fff;
}

.ggt-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

.ggt-footer-bottom a {
    color: #cbd5e1;
    text-decoration: none;
}

/* 响应式 */
@media (max-width: 1024px) {
    .ggt-solutions-grid,
    .ggt-cases-grid,
    .ggt-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ggt-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ggt-team-layout {
        grid-template-columns: 1fr;
    }

    .ggt-about-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ggt-nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 110;
    }

    .ggt-nav.open .ggt-nav-list {
        right: 0;
    }

    .ggt-nav-toggle {
        display: block;
    }

    .ggt-solutions-grid,
    .ggt-cases-grid,
    .ggt-news-grid {
        grid-template-columns: 1fr;
    }

    .ggt-advantages-grid {
        grid-template-columns: 1fr;
    }

    .ggt-hero-title {
        font-size: 2rem;
    }

    .ggt-hero-logo {
        width: 100px;
    }

    .ggt-section {
        padding: 70px 0;
    }

    .ggt-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ggt-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .ggt-btn {
        width: 100%;
        max-width: 260px;
    }

    .ggt-team-stats {
        justify-content: center;
    }
}