/* ============================================
   WeTest 代理网站 - 全局样式
   深色科技风 | 响应式 | 腾讯蓝紫渐变
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #0f1335;
    --bg-card: #151940;
    --bg-card-hover: #1c2154;
    --bg-input: #12163a;
    --border-color: #1e2468;
    --border-light: rgba(255, 255, 255, 0.08);

    --text-primary: #e8eaf0;
    --text-secondary: #9aa0c0;
    --text-muted: #6b7194;

    --brand-blue: #0066FF;
    --brand-purple: #7c3aed;
    --brand-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;

    --gradient-hero: linear-gradient(135deg, #0a0e27 0%, #1a1040 40%, #0f1335 100%);
    --gradient-blue: linear-gradient(135deg, #0066FF, #7c3aed);
    --gradient-cyan: linear-gradient(135deg, #06b6d4, #3b82f6);
    --gradient-card: linear-gradient(180deg, rgba(0,102,255,0.06) 0%, transparent 100%);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-blue: 0 0 30px rgba(0,102,255,0.15);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    --font-mono: "SF Mono", "Monaco", "Consolas", monospace;

    --max-width: 1200px;
    --nav-height: 72px;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    color: var(--text-secondary);
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.nav-cta {
    padding: 8px 20px;
    background: var(--gradient-blue);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}


/* --- Category Sub-Nav --- */
.cat-nav-wrap {
    position: sticky;
    top: var(--nav-height, 72px);
    z-index: 999;
    background: rgba(10, 14, 39, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cat-nav-wrap::-webkit-scrollbar { display: none; }
.cat-nav {
    display: flex;
    gap: 0;
    max-width: var(--max-width);
    margin: 0 auto;
    white-space: nowrap;
}
.cat-nav a {
    display: inline-block;
    padding: 12px 18px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
    flex-shrink: 0;
}
.cat-nav a:hover, .cat-nav a.active {
    color: var(--text-primary);
}
.cat-nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--gradient-blue);
    border-radius: 1px;
}
.cat-nav a .count {
    font-size: 10px;
    color: var(--text-muted);
    margin-left: 4px;
}
@media(max-width:768px) {
    .cat-nav a { padding: 10px 12px; font-size: 12px; }
    .cat-nav a.active::after { left: 12px; right: 12px; }
}

/* --- Page Header --- */
.page-header {
    padding: calc(var(--nav-height) + 60px) 24px 48px;
    text-align: center;
    background: var(--gradient-hero);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,102,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
    position: relative;
}

.page-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

/* --- Breadcrumb --- */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    justify-content: center;
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--brand-blue);
}

.breadcrumb .sep {
    user-select: none;
}

/* --- Section --- */
.section {
    padding: 80px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-blue);
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0,102,255,0.1);
    border: 1px solid rgba(0,102,255,0.2);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Hero (Home) --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: var(--nav-height) 24px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0,102,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(0,102,255,0.1);
    border: 1px solid rgba(0,102,255,0.25);
    font-size: 13px;
    color: var(--brand-blue);
    margin-bottom: 28px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-title .gradient {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-blue);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,102,255,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0,102,255,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--brand-blue);
    background: rgba(0,102,255,0.08);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
    border-radius: 10px;
}

/* --- Cards --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all 0.3s;
    overflow: hidden;
}

.card:hover {
    border-color: rgba(0,102,255,0.3);
    box-shadow: var(--shadow-blue);
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.card-icon.blue { background: rgba(0,102,255,0.15); color: var(--brand-blue); }
.card-icon.purple { background: rgba(124,58,237,0.15); color: var(--brand-purple); }
.card-icon.cyan { background: rgba(6,182,212,0.15); color: var(--brand-cyan); }
.card-icon.green { background: rgba(16,185,129,0.15); color: var(--accent-green); }
.card-icon.orange { background: rgba(245,158,11,0.15); color: var(--accent-orange); }
.card-icon.red { background: rgba(239,68,68,0.15); color: var(--accent-red); }

/* --- Grid Layouts --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* --- Product Category Cards --- */
.cat-card {
    padding: 32px 28px;
    text-align: center;
    cursor: pointer;
}

.cat-card .card-icon {
    margin: 0 auto 16px;
}

.cat-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cat-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.cat-card .arrow {
    display: inline-block;
    margin-top: 12px;
    color: var(--brand-blue);
    font-size: 14px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s;
}

.cat-card:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* --- Hot Products --- */
.product-card {
    padding: 28px;
    position: relative;
}

.product-card .hot-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(239,68,68,0.15);
    color: var(--accent-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.product-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-card .desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-card .link {
    font-size: 14px;
    color: var(--brand-blue);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* --- Advantage Cards --- */
.adv-card {
    padding: 36px 28px;
    text-align: center;
}

.adv-card .adv-number {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.adv-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.adv-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Certification / Badge Wall --- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cert-item {
    padding: 24px 16px;
    text-align: center;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.cert-item:hover {
    border-color: rgba(0,102,255,0.3);
    color: var(--text-primary);
}

.cert-item .cert-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

/* --- Case Logos --- */
.case-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 24px 0;
}

.case-logo {
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.3s;
}

.case-logo:hover {
    color: var(--text-primary);
    border-color: rgba(0,102,255,0.3);
}

/* --- Product Detail (products.html) --- */
.product-section {
    margin-bottom: 64px;
}

.product-section:last-child {
    margin-bottom: 0;
}

.product-section .section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.product-section .section-head .icon {
    font-size: 24px;
}

.product-section .section-head h3 {
    font-size: 22px;
    font-weight: 700;
}

.product-detail-card {
    padding: 28px;
}

.product-detail-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-detail-card .features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}

.product-detail-card .feature-tag {
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 12px;
    background: rgba(0,102,255,0.1);
    color: var(--brand-blue);
    border: 1px solid rgba(0,102,255,0.2);
}

/* --- Solution Cards --- */
.solution-card {
    padding: 36px 28px;
}

.solution-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 16px 0 8px;
}

.solution-card .desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.solution-card .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.solution-card .tags span {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    background: rgba(124,58,237,0.1);
    color: var(--brand-purple);
    border: 1px solid rgba(124,58,237,0.2);
}

/* --- About Page --- */
.about-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.about-intro p {
    margin-bottom: 20px;
}

.about-intro .highlight {
    color: var(--brand-blue);
    font-weight: 600;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 28px 16px;
}

.process-step .step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.process-step h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.process-step p {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- Contact Form --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info .info-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-info .info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info .info-item .info-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0,102,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--brand-blue);
    flex-shrink: 0;
}

.contact-info .info-item .info-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-info .info-item .info-value {
    font-size: 15px;
    font-weight: 500;
}

.form-card {
    padding: 36px;
}

.form-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-card .form-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--accent-red);
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 8px;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* --- News Page --- */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    padding: 28px;
    margin-bottom: 16px;
    transition: all 0.3s;
    cursor: pointer;
}

.news-item:hover {
    border-color: rgba(0,102,255,0.3);
}

.news-item .news-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.news-item:hover h3 {
    color: var(--brand-blue);
}

.news-item .news-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.news-item .news-tags {
    display: flex;
    gap: 8px;
}

.news-item .news-tag {
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    background: rgba(0,102,255,0.1);
    color: var(--brand-blue);
}

/* --- Stats Banner --- */
.stats-banner {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 48px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* --- Product Detail Page (下钻页) --- */
.prod-hero {
    padding: calc(var(--nav-height) + 40px) 24px 60px;
    background: var(--gradient-hero);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.prod-hero::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,102,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.prod-hero .breadcrumb { justify-content: center; margin-bottom: 16px; }
.prod-hero h1 { font-size: 42px; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; position: relative; }
.prod-hero .subtitle { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; position: relative; }
.prod-hero .hero-stats { display: flex; gap: 32px; justify-content: center; margin-top: 32px; flex-wrap: wrap; position: relative; }
.prod-hero .hero-stat { text-align: center; }
.prod-hero .hero-stat .num { font-size: 28px; font-weight: 800; background: var(--gradient-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.prod-hero .hero-stat .label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.overview-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.overview-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.overview-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.overview-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-secondary); }
.overview-features li::before { content: '✓'; color: var(--accent-green); font-weight: 700; }

.feature-section { padding: 64px 24px; max-width: var(--max-width); margin: 0 auto; }
.feature-section:nth-child(odd) { background: var(--bg-secondary); }
.feature-section .section-header { margin-bottom: 36px; }
.feature-card { padding: 32px 28px; text-align: center; }
.feature-card h4 { font-size: 17px; font-weight: 600; margin: 16px 0 8px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.feature-card .card-icon { margin: 0 auto; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th { background: var(--bg2, #0f1335); padding: 12px 16px; text-align: left; font-weight: 600; color: var(--text-primary); border-bottom: 1px solid var(--border-light); }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.spec-table tr:hover td { background: rgba(0,102,255,0.04); }
.spec-table .label { color: var(--text-muted); width: 140px; }

.flow-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.flow-step { padding: 28px 20px; text-align: center; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); }
.flow-step .step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient-blue); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.flow-step h5 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.flow-step p { font-size: 12px; color: var(--text-muted); }

.price-card { padding: 32px 28px; text-align: center; }
.price-card .price { font-size: 36px; font-weight: 800; color: var(--brand-blue); margin: 12px 0; }
.price-card .price small { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.price-card .desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

@media(max-width:768px) {
    .prod-hero h1 { font-size: 28px; }
    .overview-grid { grid-template-columns: 1fr; gap: 24px; }
    .overview-features { grid-template-columns: 1fr; }
    .spec-table { font-size: 12px; }
    .spec-table td, .spec-table th { padding: 8px 10px; }
}
.cta-banner {
    text-align: center;
    padding: 80px 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin: 0 24px 80px;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,102,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.cta-banner p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    position: relative;
}

/* --- Footer --- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 48px 24px 32px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Toast / Message --- */
.toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.toast.success {
    background: #065f46;
    color: #a7f3d0;
    border: 1px solid #059669;
}

.toast.error {
    background: #7f1d1d;
    color: #fecaca;
    border: 1px solid #dc2626;
}

/* --- Divider --- */
.divider {
    height: 1px;
    background: var(--border-light);
    margin: 0 24px;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .grid-4, .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .stats-banner { gap: 32px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .section-title { font-size: 26px; }
    .page-header h1 { font-size: 30px; }

    .grid-2, .grid-3, .grid-4,
    .cert-grid, .process-steps {
        grid-template-columns: 1fr;
    }

    .contact-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        display: none;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links.open { display: flex; }

    .nav-toggle { display: flex; }

    .footer-inner { grid-template-columns: 1fr; }
    .stats-banner { gap: 24px; flex-direction: column; }

    .cta-banner { margin: 0 16px 48px; padding: 48px 20px; }
    .cta-banner h2 { font-size: 24px; }

    .section { padding: 48px 16px; }
}
