/* ============================
   酷酷科技企业官网 - 高端主题
   ============================ */

/* 全局变量 */
:root {
    /* 品牌色彩 */
    --brand-primary: #2563eb;
    --brand-primary-hover: #3b82f6;
    --brand-primary-light: #60a5fa;
    --brand-primary-glow: rgba(37, 99, 235, 0.2);
    --brand-accent: #06b6d4;
    --brand-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --brand-gradient-hover: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);

    /* 暗色背景 */
    --bg-dark: #0a0f1a;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --bg-card-border: #1e293b;

    /* 文字颜色 */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dim: #475569;

    /* 边框 */
    --border: #1e293b;
    --border-hover: #334155;
    --border-active: #2563eb;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

/* 全局重置 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

.screen-two .container {
    width: 100%;
    margin-top: -100px;
}

.snap-section {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================
   Header - 导航栏
   ============================ */
.screen-two {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-dark);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 58px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--brand-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    font-size: 20px;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-slogan {
    font-size: 16px;
    color: var(--text-muted);
    letter-spacing: 2px;
    line-height: 1.2;
}

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

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-menu a.active {
    color: var(--text-primary);
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    margin: 0 8px;
}

.nav-login {
    color: var(--text-secondary) !important;
}

.nav-cta {
    background: var(--brand-gradient) !important;
    color: white !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--brand-gradient-hover) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

/* ============================
   Hero - 首页大图
   ============================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 15, 26, 0) 0%, rgba(10, 15, 26, 1) 100%);
    z-index: 2;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
}

.glow-1 {
    top: -20%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: rgba(37, 99, 235, 0.15);
}

.glow-2 {
    bottom: -10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.1);
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50px;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-badge span {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-primary-light);
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.title-highlight {
    display: block;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.02);
}

.btn-outline-primary {
    background: transparent;
    color: var(--brand-primary-light);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.btn-outline-primary:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--brand-primary);
    transform: translateY(-2px);
}

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

/* Hero Metrics */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px 36px;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.metric-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Trust */
.hero-trust {
    position: relative;
    z-index: 3;
    padding: 32px 0;
    background: rgba(17, 24, 39, 0.5);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.trust-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.trust-badges {
    display: flex;
    gap: 32px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.trust-badge i {
    color: var(--brand-primary-light);
    font-size: 16px;
}

/* ============================
   Section Header
   ============================ */
.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================
   Products - 产品展示
   ============================ */
.products {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-xl);
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.product-placeholder {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    background: var(--bg-card-hover);
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.product-placeholder:hover {
    border-color: var(--brand-primary);
    background: rgba(37, 99, 235, 0.05);
}

.placeholder-text {
    color: var(--text-muted);
    font-size: 14px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    padding: 28px 17px 0 40px;
    z-index: 2;
}



.overlay-text {
    max-width: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 292px;
}

.overlay-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-start;
    padding-top: 25%;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--brand-primary-light);
    flex-shrink: 0;
    backdrop-filter: blur(8px);
}

.feature-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-line {
    width: 24px;
    height: 3px;
    background: var(--brand-primary);
    border-radius: 2px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.product-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-primary-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.product-title {
    font-size: 33px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -1px;
    line-height: 1.1;
    letter-spacing: 2px;
}

.product-subtitle {
    font-size: 18px;
    color: #cee2ff;
    margin-bottom: 32px;
    line-height: 1.6;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-overlay.right .product-tags {
    justify-content: flex-end;
}

.product-overlay.left .product-tags {
    justify-content: flex-start;
}

.tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-secondary);
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.tag:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--text-primary);
}

.product-card.featured {
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.featured-stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.product-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon {
    font-size: 28px;
    color: var(--brand-primary-light);
}

.product-badge {
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #22c55e;
}

.featured-badge {
    background: var(--brand-gradient);
    border: none;
    color: white;
}

.product-name {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-tagline {
    font-size: 15px;
    color: var(--brand-primary-light);
    margin-bottom: 16px;
}

.product-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.product-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.highlight i {
    color: #22c55e;
    font-size: 16px;
}

.product-action {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ============================
   Footer - 页脚（向上展开）
   ============================ */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #070b14;
    border-top: 1px solid var(--border);
}

/* 第一栏：导航标题（固定显示） */
.footer-nav {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 24px;
    padding: 8px 0;
}

.footer-nav-item {
    display: flex;
    align-items: center;
}

.footer-nav-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .logo-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

/* 第二栏：详细内容（默认高度0，hover 展开） */
.footer-detail {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 24px;
    padding: 0;
    border-bottom: 1px solid #1e293b40;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
                padding 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.footer:hover .footer-detail {
    max-height: 200px;
    padding: 12px 0;
}

.footer-detail-col {
    min-height: 0;
}

.footer-company {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 500;
}

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

.footer-detail-col ul {
    list-style: none;
}

.footer-detail-col li {
    margin-bottom: 10px;
}

.footer-detail-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-detail-col a:hover {
    color: var(--text-secondary);
}

/* 第三栏：版权信息（固定显示） */
.footer-bottom {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 0;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-dim);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal a {
    font-size: 12px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--text-muted);
}

.footer-legal .divider {
    color: var(--border);
    font-size: 10px;
}

/* ============================
   动画效果
   ============================ */

/* ============================
   Responsive - 响应式
   ============================ */
@media (max-width: 1024px) {
    .footer-nav {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-detail {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .title-line {
        font-size: 36px;
    }

    .title-highlight {
        font-size: 40px;
    }

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

    .hero-actions {
        flex-direction: column;
    }

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

    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .footer-detail {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

    .section-title {
        font-size: 32px;
    }

    .nav-menu {
        display: none;
    }
}
