/* ========================================
   普标链 - 首页样式 (index.css)
   ======================================== */

/* ===== Hero Section ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, 
        #020617 0%, 
        #0B1120 25%, 
        #0F172A 50%, 
        #1E1B4B 75%, 
        #0F172A 100%);
    overflow: hidden;
    padding: 8rem 0 6rem;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59,130,246,0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(139,92,246,0.12) 0%, transparent 40%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(6,182,212,0.08) 0%, transparent 40%);
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59,130,246,0.5) 50%, 
        transparent 100%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 800px;
    background: radial-gradient(circle, 
        rgba(59,130,246,0.15) 0%, 
        rgba(139,92,246,0.08) 30%, 
        transparent 70%);
    pointer-events: none;
    filter: blur(60px);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(139,92,246,0.1) 100%);
    border: 1px solid transparent;
    background-clip: padding-box;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand-light);
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
    position: relative;
}
.hero-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59,130,246,0.4) 0%, rgba(139,92,246,0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--brand);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--brand);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, 
        #60A5FA 0%, 
        #3B82F6 25%, 
        #8B5CF6 50%, 
        #06B6D4 75%, 
        #60A5FA 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--dark-400);
    line-height: 1.7;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    padding-top: 3rem;
    position: relative;
}
.hero-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59,130,246,0.3) 20%, 
        rgba(139,92,246,0.3) 50%, 
        rgba(6,182,212,0.3) 80%, 
        transparent 100%);
}
.hero-stat { text-align: center; }
.hero-stat-value {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--dark-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--dark-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== Verify Section ===== */
.verify-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand);
    margin-bottom: 1rem;
    padding: 0.375rem 1rem;
    background: var(--brand-glow);
    border-radius: 100px;
}
.section-label svg { 
    width: 14px; 
    height: 14px; 
    stroke: currentColor; 
    fill: none; 
    stroke-width: 2.5; 
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}
.section-desc {
    font-size: 1.0625rem;
    color: var(--gray-500);
    margin: 0 auto;
}

.verify-card {
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 
        0 4px 6px -1px rgba(0,0,0,0.1),
        0 10px 15px -3px rgba(0,0,0,0.05),
        0 0 0 1px rgba(59,130,246,0.05);
    position: relative;
}
.verify-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(59,130,246,0.2) 0%, 
        rgba(139,92,246,0.1) 50%, 
        rgba(6,182,212,0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.verify-tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}
.verify-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--gray-500);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s var(--ease);
    font-family: inherit;
}
.verify-tab:hover { color: var(--gray-700); }
.verify-tab.active {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}
.verify-tab svg { 
    width: 16px; 
    height: 16px; 
    stroke: currentColor; 
    fill: none; 
    stroke-width: 2; 
}

.verify-tab-content { display: none; }
.verify-tab-content.active { display: block; }

.verify-hint {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.verify-input-group {
    display: flex;
    gap: 0.75rem;
}
.verify-input-group input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    transition: all 0.2s var(--ease);
    font-family: inherit;
    color: var(--gray-900);
    background: var(--white);
}
.verify-input-group input::placeholder { color: var(--gray-400); }
.verify-input-group input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-glow);
}

.file-upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}
.file-upload-area:hover { 
    border-color: var(--brand); 
    background: var(--brand-glow); 
}
.file-upload-area.dragover { 
    border-color: var(--brand); 
    background: var(--brand-glow); 
    border-style: solid; 
}
.file-upload-area svg { 
    width: 48px; 
    height: 48px; 
    stroke: var(--gray-400); 
    fill: none; 
    stroke-width: 1.5; 
    margin-bottom: 1rem; 
}
.file-upload-area:hover svg { 
    stroke: var(--brand); 
}
.file-upload-title { 
    font-weight: 600; 
    font-size: 1rem; 
    color: var(--gray-700); 
    margin-bottom: 0.375rem; 
}
.file-upload-sub { 
    font-size: 0.875rem; 
    color: var(--gray-500); 
}

/* ===== Features Section ===== */
.features-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand) 0%, #8B5CF6 50%, #06B6D4 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.feature-card:hover {
    border-color: transparent;
    box-shadow: 
        0 0 0 1px rgba(59,130,246,0.2),
        0 10px 30px -5px rgba(59,130,246,0.15),
        0 20px 40px -10px rgba(139,92,246,0.1);
    transform: translateY(-4px);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.feature-icon svg { 
    width: 24px; 
    height: 24px; 
    stroke-width: 2; 
    fill: none; 
}
.feature-icon.blue { background: rgba(59,130,246,0.1); }
.feature-icon.blue svg { stroke: var(--brand); }
.feature-icon.teal { background: rgba(16,185,129,0.1); }
.feature-icon.teal svg { stroke: var(--success); }
.feature-icon.amber { background: rgba(245,158,11,0.1); }
.feature-icon.amber svg { stroke: var(--warning); }
.feature-icon.purple { background: rgba(139,92,246,0.1); }
.feature-icon.purple svg { stroke: #8B5CF6; }
.feature-icon.rose { background: rgba(244,63,94,0.1); }
.feature-icon.rose svg { stroke: #F43F5E; }
.feature-icon.cyan { background: rgba(6,182,212,0.1); }
.feature-icon.cyan svg { stroke: #06B6D4; }

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}
.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== Flow Section ===== */
.flow-section {
    padding: 6rem 0;
    background: var(--white);
}

.flow-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
    position: relative;
}
.flow-step {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}
.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -8%;
    width: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--gray-300), var(--gray-200));
}
.flow-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, #8B5CF6 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3), 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.flow-step h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}
.flow-step p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero { 
        padding: 5rem 0 4rem; 
    }
    .hero-stats { 
        flex-direction: row; 
        gap: 2rem; 
        flex-wrap: wrap; 
    }
    .hero-stat-value { 
        font-size: 1.75rem; 
    }

    .verify-section, .features-section, .flow-section { 
        padding: 4rem 0; 
    }
    .verify-card { 
        padding: 1.5rem; 
    }
    .verify-input-group { 
        flex-direction: column; 
    }

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

    .flow-steps { 
        flex-direction: column; 
        align-items: center; 
        gap: 2rem; 
    }
    .flow-step::after { 
        display: none !important; 
    }
    .flow-step { 
        max-width: 320px; 
    }
}

@media (max-width: 480px) {
    .hero h1 { 
        font-size: 2rem; 
    }
    .hero-desc { 
        font-size: 1.0625rem; 
    }
    .section-title { 
        font-size: 1.5rem; 
    }
}
