/* 快连 VPN 泰坦版 - Titan Edition Style */
:root {
    --titan-obsidian: #05070A;
    --titan-surface: #0D1117;
    --titan-card: #161B22;
    --titan-gray: #8B949E;
    --titan-white: #ECF2F8;
    --amber: #FFB000;
    --amber-dim: rgba(255, 176, 0, 0.15);
    --titan-border: rgba(255, 255, 255, 0.08);
    --font-head: 'Unbounded', sans-serif;
    --font-ui: 'Outfit', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--titan-obsidian);
    color: var(--titan-white);
    font-family: var(--font-ui);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Background Effects */
.titan-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--titan-obsidian);
}

.titan-grain {
    position: absolute;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.titan-flare {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.f1 { width: 600px; height: 600px; top: -300px; left: -200px; background: rgba(255, 176, 0, 0.05); }
.f2 { width: 500px; height: 500px; bottom: -200px; right: -100px; background: rgba(0, 102, 255, 0.05); }

/* Navigation */
.titan-nav {
    height: 80px;
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--titan-border);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.titan-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.titan-brand span {
    font-size: 10px;
    color: var(--amber);
    border: 1px solid var(--amber);
    padding: 1px 6px;
    border-radius: 2px;
    margin-left: 4px;
}

.logo-monolith { width: 32px; height: 32px; }
.core-blink { animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.nav-links { display: flex; gap: 32px; }
.nav-item {
    text-decoration: none;
    color: var(--titan-gray);
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}
.nav-item:hover { color: var(--amber); }

.btn-titan-nav {
    text-decoration: none;
    background: var(--amber);
    color: var(--titan-obsidian);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    transition: 0.3s;
}
.btn-titan-nav:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 176, 0, 0.3); }

/* Hero Section */
.titan-hero { padding: 180px 0 120px; }
.hero-layout { display: flex; align-items: center; gap: 100px; }
.hero-content { flex: 1.2; }

.hero-tag {
    font-family: var(--font-head);
    font-size: 11px;
    color: var(--amber);
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero-h1 {
    font-family: var(--font-head);
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    background: linear-gradient(to bottom right, #fff, #8B949E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-p {
    font-size: 18px;
    color: var(--titan-gray);
    margin-bottom: 48px;
    max-width: 580px;
}

.hero-cta { display: flex; align-items: center; gap: 40px; }

.btn-titan-main {
    text-decoration: none;
    background: var(--titan-white);
    color: var(--titan-obsidian);
    padding: 20px 48px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 800;
    transition: 0.3s;
}
.btn-titan-main:hover { transform: translateY(-4px); background: var(--amber); }

.backbone-status { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--titan-gray); }
.status-dot { width: 8px; height: 8px; background: #10B981; border-radius: 50%; box-shadow: 0 0 10px #10B981; }

/* Hero Visual: Monolith Shield */
.hero-visual { flex: 1; display: flex; justify-content: center; }
.monolith-shield {
    width: 300px; height: 400px;
    background: var(--titan-card);
    border: 1px solid var(--titan-border);
    border-radius: 24px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    overflow: hidden;
}

.ms-layer {
    position: absolute; width: 80%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    left: 10%;
}
.l1 { top: 20%; animation: scan 4s infinite linear; }
.l2 { top: 50%; animation: scan 4s infinite linear 1.3s; }
.l3 { top: 80%; animation: scan 4s infinite linear 2.6s; }

@keyframes scan { 0% { transform: translateY(-100px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(100px); opacity: 0; } }

.ms-core {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80px; height: 80px; background: var(--amber-dim);
    border: 1px solid var(--amber); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.core-pulse { width: 20px; height: 20px; background: var(--amber); border-radius: 50%; animation: corePulse 2s infinite; }
@keyframes corePulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 176, 0, 0.4); } 100% { transform: scale(1.5); box-shadow: 0 0 0 30px rgba(255, 176, 0, 0); } }

/* Core Grid */
.core-sec { padding: 120px 0; background: var(--titan-surface); }
.sec-label { font-family: var(--font-head); font-size: 11px; color: var(--amber); letter-spacing: 3px; margin-bottom: 16px; display: block; }
.sec-h2 { font-family: var(--font-head); font-size: 40px; font-weight: 800; margin-bottom: 60px; }

.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.core-card {
    background: var(--titan-card);
    border: 1px solid var(--titan-border);
    padding: 60px 40px;
    border-radius: 16px;
    transition: 0.4s;
}
.core-card:hover { border-color: var(--amber); transform: translateY(-8px); }
.core-card.featured { border-color: var(--amber-dim); background: rgba(255, 176, 0, 0.02); }

.c-num { font-family: var(--font-head); font-size: 14px; color: var(--amber); margin-bottom: 32px; opacity: 0.5; }
.core-card h3 { font-size: 22px; margin-bottom: 16px; font-family: var(--font-head); }
.core-card p { color: var(--titan-gray); font-size: 15px; }

/* Backbone Section */
.backbone-sec { padding: 120px 0; }
.bb-layout { display: flex; align-items: center; gap: 80px; }
.bb-visual { flex: 1.5; }
.bb-map-container {
    height: 400px; background: var(--titan-card); border-radius: 24px;
    border: 1px solid var(--titan-border); position: relative;
    background-image: radial-gradient(var(--titan-border) 1px, transparent 1px);
    background-size: 30px 30px;
}

.bb-node {
    position: absolute; width: 10px; height: 10px;
    background: var(--amber); border-radius: 50%;
}
.bb-node::after {
    content: attr(data-label); position: absolute; bottom: 15px; left: 50%;
    transform: translateX(-50%); font-size: 10px; font-family: var(--font-head);
    white-space: nowrap; color: var(--amber);
}

.n1 { top: 30%; left: 20%; }
.n2 { top: 40%; left: 80%; }
.n3 { top: 60%; left: 45%; }
.n4 { top: 25%; left: 55%; }

.bb-line {
    position: absolute; background: linear-gradient(90deg, transparent, var(--amber), transparent);
    height: 1px; opacity: 0.2;
}
.bb-line.l1 { width: 60%; top: 35%; left: 20%; transform: rotate(10deg); }
.bb-line.l2 { width: 40%; bottom: 40%; left: 45%; transform: rotate(-30deg); }

.bb-text { flex: 1; }
.bb-metrics { display: flex; gap: 48px; margin-top: 48px; }
.bm-item strong { display: block; font-size: 32px; color: var(--amber); margin-bottom: 4px; font-family: var(--font-head); }
.bm-item span { font-size: 13px; color: var(--titan-gray); text-transform: uppercase; letter-spacing: 1px; }

/* Security Box */
.security-sec { padding: 120px 0; }
.sec-box {
    background: linear-gradient(135deg, var(--titan-card), #05070A);
    border: 1px solid var(--titan-border); border-radius: 40px;
    padding: 80px; display: flex; align-items: center; gap: 80px;
}
.sec-info { flex: 1.2; }
.sec-list { list-style: none; margin-top: 40px; }
.sec-list li { margin-bottom: 20px; padding-left: 32px; position: relative; font-size: 15px; color: var(--titan-gray); }
.sec-list li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 16px; height: 2px; background: var(--amber);
}

.sec-visual { flex: 0.8; }
.vault-mockup {
    width: 100%; height: 240px; background: rgba(255,255,255,0.02);
    border: 1px solid var(--titan-border); border-radius: 20px;
    position: relative; overflow: hidden;
}
.v-door {
    position: absolute; top: 20%; left: 20%; width: 60%; height: 60%;
    border: 4px solid var(--titan-border); border-radius: 10px;
}
.v-scanner {
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--amber); opacity: 0.5; animation: scannerMove 3s infinite alternate ease-in-out;
}
@keyframes scannerMove { from { top: 0; } to { top: 100%; } }

/* Scenario Section */
.scenario-sec { padding: 120px 0; background: var(--titan-obsidian); }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 60px; }
.scenario-card { background: var(--titan-card); border-radius: 20px; overflow: hidden; border: 1px solid var(--titan-border); transition: 0.4s; }
.scenario-card:hover { transform: translateY(-10px); border-color: var(--amber); }
.sc-img { height: 200px; background-size: cover; background-position: center; opacity: 0.6; }
.sc-img.work { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&q=80&w=800'); }
.sc-img.game { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&q=80&w=800'); }
.sc-img.privacy { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=800'); }
.sc-content { padding: 32px; }
.sc-content h4 { font-family: var(--font-head); font-size: 18px; margin-bottom: 12px; color: var(--amber); }
.sc-content p { font-size: 14px; color: var(--titan-gray); }

/* Specs Table */
.specs-sec { padding: 120px 0; background: var(--titan-surface); }
.specs-container { background: var(--titan-card); border-radius: 32px; border: 1px solid var(--titan-border); overflow: hidden; }
.specs-head { padding: 40px; border-bottom: 1px solid var(--titan-border); text-align: center; }
.specs-head h3 { font-family: var(--font-head); font-size: 24px; color: var(--titan-white); }
.specs-table { padding: 20px; }
.spec-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; padding: 24px; border-bottom: 1px solid var(--titan-border); align-items: center; }
.spec-row:last-child { border-bottom: none; }
.spec-row.head { font-family: var(--font-head); font-size: 13px; color: var(--amber); text-transform: uppercase; letter-spacing: 1px; }
.spec-col { font-size: 15px; color: var(--titan-gray); }
.spec-col.highlight { color: var(--titan-white); font-weight: 600; }

/* Platform Grid */
.platform-sec { padding: 120px 0; }
.platform-wrap { display: flex; align-items: center; gap: 80px; }
.platform-txt { flex: 1; }
.platform-grid { flex: 1.2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.p-item { 
    background: var(--titan-card); border: 1px solid var(--titan-border); 
    padding: 32px; border-radius: 16px; display: flex; align-items: center; gap: 20px; 
    transition: 0.3s;
}
.p-item:hover { background: rgba(255,176,0,0.05); border-color: var(--amber); }
.p-item svg { width: 32px; height: 32px; color: var(--amber); }
.p-item span { font-family: var(--font-head); font-size: 14px; font-weight: 600; }

/* Pricing */
.pricing-sec { padding: 120px 0; }
.sec-head-center { text-align: center; margin-bottom: 80px; }
.titan-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tp-card {
    background: var(--titan-card); padding: 60px 48px; border-radius: 24px;
    border: 1px solid var(--titan-border); text-align: center; transition: 0.4s;
}
.tp-card:hover { border-color: var(--amber); transform: translateY(-10px); }
.tp-card.featured { border-color: var(--amber); background: linear-gradient(to bottom, var(--titan-card), var(--titan-obsidian)); position: relative; }
.tp-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--amber); color: var(--titan-obsidian); padding: 4px 16px;
    border-radius: 4px; font-size: 10px; font-weight: 900; font-family: var(--font-head);
}

.tp-head { font-family: var(--font-head); font-size: 14px; text-transform: uppercase; color: var(--titan-gray); margin-bottom: 32px; }
.tp-price { font-family: var(--font-head); font-size: 48px; font-weight: 900; margin-bottom: 40px; }
.tp-price span { font-size: 16px; color: var(--titan-gray); font-weight: 400; }

.tp-list { list-style: none; text-align: left; margin-bottom: 48px; }
.tp-list li { margin-bottom: 16px; font-size: 14px; color: var(--titan-gray); display: flex; gap: 12px; }
.tp-list li::before { content: '>'; color: var(--amber); font-weight: 900; }

.btn-tp { display: block; padding: 18px; border: 1px solid var(--titan-border); border-radius: 4px; text-decoration: none; color: var(--titan-white); font-weight: 700; transition: 0.3s; }
.btn-tp:hover { border-color: var(--amber); color: var(--amber); }
.btn-tp-main { display: block; padding: 18px; background: var(--amber); color: var(--titan-obsidian); border-radius: 4px; text-decoration: none; font-weight: 900; }

/* Footer */
.titan-footer { padding: 100px 0 40px; border-top: 1px solid var(--titan-border); }
.ft-main { display: flex; justify-content: space-between; gap: 100px; margin-bottom: 80px; }
.ft-brand { flex: 1.5; }
.ft-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-family: var(--font-head); font-size: 20px; }
.ft-brand p { color: var(--titan-gray); font-size: 14px; max-width: 360px; }

.ft-grid { flex: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ft-col h4 { font-family: var(--font-head); font-size: 13px; color: var(--titan-white); margin-bottom: 24px; text-transform: uppercase; }
.ft-col a { display: block; text-decoration: none; color: var(--titan-gray); font-size: 14px; margin-bottom: 12px; transition: 0.2s; }
.ft-col a:hover { color: var(--amber); }

.ft-bottom { padding-top: 40px; border-top: 1px solid var(--titan-border); display: flex; justify-content: space-between; color: var(--titan-gray); font-size: 12px; }
.socials a { color: var(--titan-gray); text-decoration: none; margin-left: 24px; transition: 0.3s; }
.socials a:hover { color: var(--amber); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout, .bb-layout, .sec-box, .ft-main { flex-direction: column; text-align: center; }
    .hero-h1 { font-size: 48px; }
    .hero-cta { flex-direction: column; }
    .core-grid, .titan-pricing-grid, .ft-grid, .scenario-grid, .platform-grid { grid-template-columns: 1fr; }
    .bb-metrics, .platform-wrap { flex-direction: column; text-align: center; }
    .spec-row { grid-template-columns: 1fr; gap: 12px; text-align: center; }
    .spec-row.head { display: none; }
}
