﻿:root {
    --brand: #5500ff;
    --brand-light: #7a33ff;
    --brand-soft: #f3efff;
    --brand-wash: #faf8ff;
    --dark: #0a0518;
    --text: #1a1423;
    --text-muted: #6e6681;
    --gray-line: #ece9f5;
    --white: #ffffff;
    --radius: 22px;
    --shadow-sm: 0 4px 14px rgba(85, 0, 255, 0.06);
    --shadow-md: 0 12px 32px rgba(26, 8, 51, 0.09);
    --shadow-lg: 0 24px 60px rgba(26, 8, 51, 0.14);
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Header ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    color: var(--white);
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    box-shadow: 0 4px 20px rgba(26, 8, 51, 0.08);
    backdrop-filter: saturate(180%) blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 15px;
    font-weight: 600;
}

.main-nav a {
    position: relative;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease);
}

.main-nav a:hover {
    opacity: 1;
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: var(--white) !important;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(85, 0, 255, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(85, 0, 255, 0.36);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 8px;
    color: var(--white) !important; /* 顶部/深色背景: 三条线为白 */
}

.site-header.scrolled .menu-toggle {
    color: var(--text) !important; /* 滚动后白底, 三条线变深 */
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, background 0.35s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========== Hero ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
    padding-top: 80px;
}

#videoBackground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, rgba(10, 5, 24, 0.92) 0%, rgba(48, 0, 112, 0.78) 55%, rgba(85, 0, 255, 0.58) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-top: 40px;
    padding-bottom: 80px;
}

.hero-text {
    max-width: 560px;
    color: var(--white);
}

.hero-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-text h1 {
    font-size: 64px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.hero-text h1 em {
    color: #c8b3ff;
    font-style: normal;
    text-shadow: 0 0 40px rgba(85, 0, 255, 0.45);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 30px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: var(--white);
    box-shadow: 0 10px 28px rgba(85, 0, 255, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 14px 36px rgba(85, 0, 255, 0.45);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* Hero visual devices */
.hero-visual {
    position: relative;
    flex-shrink: 0;
    width: 480px;
    height: 380px;
}

.device-frame {
    position: absolute;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.device-frame.desktop {
    width: 420px;
    height: 260px;
    top: 0;
    left: 0;
    padding: 10px 10px 24px;
}

.device-bar {
    display: flex;
    gap: 6px;
    padding: 8px 0 12px;
}

.device-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ece9f5;
}

.device-bar span:nth-child(1) { background: #ff6b6b; }
.device-bar span:nth-child(2) { background: #ffd93d; }
.device-bar span:nth-child(3) { background: #6bcb77; }

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: var(--dark);
}

.device-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.device-frame.phone {
    width: 170px;
    height: 310px;
    bottom: 0;
    right: 0;
    border-radius: 28px;
    padding: 8px;
    border: 4px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.device-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 16px;
    background: var(--dark);
    border-radius: 10px;
    z-index: 3;
}

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 2;
    width: 32px;
    height: 48px;
    display: flex;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-down:hover {
    opacity: 1;
}

.scroll-down span {
    position: relative;
    width: 18px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 10px;
}

.scroll-down span::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 7px;
    width: 4px;
    height: 6px;
    background: var(--white);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollBounce 1.8s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

/* ========== Stats ========== */
.stats {
    background: var(--brand-wash);
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item strong {
    display: block;
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item span {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========== Section common ========== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-header p {
    font-size: 17px;
    color: var(--text-muted);
}

/* ========== Features ========== */
.features {
    padding: 110px 0 120px;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 34px;
    border: 1px solid var(--gray-line);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: var(--white);
    margin-bottom: 22px;
    box-shadow: 0 10px 24px rgba(85, 0, 255, 0.18);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========== Showcase ========== */
.showcase {
    padding: 110px 0;
    background: linear-gradient(180deg, var(--brand-wash) 0%, var(--white) 100%);
}

.showcase-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 110px;
}

.showcase-row:last-child {
    margin-bottom: 0;
}

.showcase-row.reverse {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
}

.showcase-text h2 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin: 12px 0 18px;
    line-height: 1.25;
}

.showcase-text > p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 26px;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-soft);
}

.check-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 7px;
    width: 5px;
    height: 9px;
    border-right: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(45deg);
}

.showcase-media {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mock {
    position: relative;
    width: 280px;
    height: 560px;
    background: var(--white);
    border-radius: 42px;
    padding: 14px;
    box-shadow: 0 28px 70px rgba(26, 8, 51, 0.14);
    border: 1px solid var(--gray-line);
}

/* 陪玩服务矩阵右侧手机：加大加高 */
.phone-mock.screenshot {
    width: 300px;
    height: 630px;
}

.phone-mock.alt {
    background: linear-gradient(180deg, #1a0f33 0%, #2a1552 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: var(--dark);
    border-radius: 14px;
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background: var(--brand-soft);
    overflow: hidden;
    padding: 44px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.alt .phone-screen {
    background: rgba(255, 255, 255, 0.04);
}

.mock-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.mock-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd6e8, #e0c3ff);
    flex-shrink: 0;
}

.mock-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-lines span {
    display: block;
    height: 8px;
    background: #ece9f5;
    border-radius: 4px;
}

.mock-lines span:nth-child(1) { width: 60%; }
.mock-lines span:nth-child(2) { width: 40%; }

.mock-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 700;
    flex-shrink: 0;
}

.voice-room {
    height: 100%;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    padding: 22px 16px;
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.room-header {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 24px;
    text-align: center;
    opacity: 0.95;
}

.seat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.seat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.seat-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    box-shadow: 0 8px 20px rgba(85, 0, 255, 0.25);
}

.seat span {
    font-size: 11px;
    opacity: 0.8;
}

.seat.empty span {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}

.room-action {
    margin-top: auto;
    text-align: center;
    padding: 12px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    font-size: 13px;
    font-weight: 700;
}

/* ========== Download ========== */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brand) 0%, #3a00b8 100%);
    color: var(--white);
    text-align: center;
}

.download-header {
    max-width: 560px;
    margin: 0 auto 52px;
}

.download-header h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.download-header p {
    font-size: 17px;
    opacity: 0.85;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 16px;
    background: var(--white);
    border-radius: var(--radius);
    color: var(--text);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.download-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
}

.download-card img {
    width: 52px;
    height: 52px;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    object-fit: contain;
    box-shadow: 0 8px 22px rgba(85, 0, 255, 0.22);
}

.download-card.qrcode img {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 6px;
}

.download-card strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.download-card span {
    font-size: 13px;
    color: var(--text-muted);
}

.download-card.qrcode span {
    margin-top: 4px;
}

/* ========== Footer ========== */
.site-footer {
    background: #100a22;
    color: rgba(255, 255, 255, 0.72);
    padding: 56px 0 28px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 800;
    font-size: 20px;
}

.footer-brand img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: cover;
}

.footer-links {
    display: flex;
    gap: 28px;
    font-size: 14px;
    font-weight: 500;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

/* ========== Reveal animations ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

.reveal[data-delay="80"]  { transition-delay: 80ms; }
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="150"] { transition-delay: 150ms; }
.reveal[data-delay="160"] { transition-delay: 160ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="240"] { transition-delay: 240ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="320"] { transition-delay: 320ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }

/* ========== Responsive ========== */
@media (max-width: 1100px) {
    .hero-content {
        gap: 40px;
    }
    .hero-visual {
        width: 420px;
        transform: scale(0.9);
    }
}

@media (max-width: 992px) {
    .header-inner {
        height: 72px;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        color: var(--text);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 16px 24px;
        box-shadow: 0 12px 30px rgba(26, 8, 51, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
        pointer-events: none;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-line);
        opacity: 1;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover {
        color: var(--brand);
    }

    .header-cta {
        margin-left: auto;
        margin-right: 14px;
        padding: 9px 18px;
        font-size: 13px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 20px;
    }

    .hero-text {
        max-width: 620px;
    }

    .hero-text h1 {
        font-size: 50px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

    .showcase-row,
    .showcase-row.reverse {
        flex-direction: column;
        gap: 48px;
        margin-bottom: 90px;
    }

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

@media (max-width: 768px) {
    .hero {
        min-height: unset;
        padding: 110px 0 100px;
    }

    .hero-text h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .section-header h2,
    .download-header h2,
    .showcase-text h2 {
        font-size: 30px;
    }

    .features {
        padding: 80px 0 90px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .showcase {
        padding: 80px 0 90px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 22px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand {
        gap: 8px;
        font-size: 18px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .btn {
        height: 48px;
        padding: 0 24px;
        font-size: 14px;
    }

    .stats {
        padding: 50px 0;
    }

    .stat-item strong {
        font-size: 34px;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        flex-direction: row;
        justify-content: flex-start;
        padding: 20px;
    }

    .download-card.qrcode {
        flex-direction: column;
        justify-content: center;
    }
}

/* ========== Contact 联系我们 ========== */
.contact {
    padding: 100px 0 110px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f2ff 100%);
    color: var(--text);
}

.contact-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 52px;
}

.contact-header h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.contact-header p {
    font-size: 17px;
    color: var(--text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 36px 22px;
    background: var(--white);
    border: 1px solid var(--gray-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.contact-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(85, 0, 255, 0.22);
    margin-bottom: 2px;
}

.contact-icon svg {
    width: 26px;
    height: 26px;
}

.contact-card img {
    width: 136px;
    height: 136px;
    object-fit: contain;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--gray-line);
    border-radius: 14px;
    margin-bottom: 2px;
}

.contact-card strong {
    font-size: 19px;
    font-weight: 700;
}

.contact-tip {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-action {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand);
    padding-bottom: 2px;
    border-bottom: 2px solid rgba(85, 0, 255, 0.15);
    transition: color 0.2s, border-color 0.2s;
}

.contact-action:hover {
    color: var(--brand-light);
    border-color: var(--brand);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 0 90px;
    }

    .contact-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}