:root {
    --bg-color: #050508;
    --surface: rgba(20, 22, 30, 0.7);
    --surface-hover: rgba(30, 35, 45, 0.9);
    --primary: #F08000;         
    --primary-glow: rgba(240, 128, 0, 0.3);
    --accent: #D2D6DC;          
    --text-main: #ffffff;
    --text-muted: #B4B9C1;      
    --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    position: fixed; top: 0; width: 100%; height: 70px;
    background: rgba(5, 5, 8, 0.2);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 3% 0 4%;
    z-index: 1000;
    gap: 10px;
    min-width: 0;
}

.logo { font-size: 20px; font-weight: 800; letter-spacing: 1px; color: var(--text-main); display: flex; align-items: center; gap: 8px;}
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 0px; }

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 24px;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: color 0.3s, text-shadow 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(240, 128, 0, 0.4);
}

.nav-btn { background: var(--primary); color: #fff; padding: 8px 20px; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: bold; transition: all 0.3s; box-shadow: 0 4px 15px var(--primary-glow); }
.nav-btn:hover { background: #F79522; transform: translateY(-2px); }

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 5% 80px 5%;
    text-align: center;
    background: 
        linear-gradient(to bottom, rgba(5,5,8,0.9) 0%, rgba(5,5,8,0.2) 20%, rgba(5,5,8,0.2) 70%, #050508 100%),
        url('images/hero-dashboard.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px; 
    width: 100%;
    height: 250px; 
    background: linear-gradient(to bottom, rgba(5,5,8,0) 0%, rgba(5,5,8,0.8) 60%, #050508 100%);
    z-index: 1; 
    pointer-events: none; 
}

.hero-tag {
	position: absolute;
	top: 100px; 
	left: 50%;
	transform: translateX(-50%); 
	display: inline-block; 
	padding: 6px 18px;
	border-radius: 20px; 
	font-size: 13px; 
	font-weight: 300; 
	letter-spacing: 2px; 
	color: #ff3b30; 
	border: 1px solid rgba(255, 59, 48, 0.4); 
	background: rgba(255, 59, 48, 0.08); 
	animation: alertBreathe 1.5s ease-in-out infinite;
}

@keyframes alertBreathe {
	0% {
		transform: translateX(-50%) scale(1);
		opacity: 0.7;
		box-shadow: 0 0 0 rgba(255, 59, 48, 0);
		text-shadow: 0 0 5px rgba(255, 59, 48, 0.2);
	}
	50% {
		transform: translateX(-50%) scale(1.05);
		opacity: 1;
		box-shadow: 0 0 20px rgba(255, 59, 48, 0.6);
		text-shadow: 0 4px 15px rgba(255, 59, 48, 0.9);
		border-color: rgba(255, 59, 48, 0.9);
	}
	100% {
		transform: translateX(-50%) scale(1);
		opacity: 0.7;
		box-shadow: 0 0 0 rgba(255, 59, 48, 0);
		text-shadow: 0 0 5px rgba(255, 59, 48, 0.2);
	}
}

.hero h1 { 
    font-size: 56px; font-weight: 800; margin-bottom: 20px; 
    line-height: 1.6;
    letter-spacing: 1px; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.6); 
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow); 
}

.hero p { 
    font-size: 18px; color: var(--text-main); max-width: 700px; margin: 0 auto 40px auto; 
    text-shadow: 0 4px 10px rgba(0,0,0,0.9);
    font-weight: 500;
	line-height: 1.8;
}

.hero-actions { display: flex; justify-content: center; gap: 20px; }
.btn-large {
    padding: 16px 36px; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; border: none; box-shadow: 0 8px 25px var(--primary-glow); }
.btn-primary:hover { background: #F79522; transform: translateY(-3px); }

.btn-secondary {
    background: rgba(10, 12, 16, 0.3); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12); 
    color: var(--text-muted); 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.55); 
    border-color: rgba(255, 255, 255, 0.3); 
    color: #ffffff;
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); 
}

.section-title { text-align: center; font-size: 42px; font-weight: 700; margin-bottom: 80px; }
.features { 
    position: relative; z-index: 5; 
    padding: 220px 8% 100px 8%; 
    background: #050508; 
}

.feature-block { 
    display: flex; align-items: center; justify-content: space-between; gap: 70px; 
    margin-bottom: 120px; 
    padding-bottom: 120px; 
    position: relative;
}
.feature-block:nth-child(even) { flex-direction: row-reverse; } 

.feature-block:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent 100%);
}

.feature-block:not(:last-child)::before {
    content: '';
    position: absolute;
    bottom: -1px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 2px;
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
    opacity: 0.35;
    z-index: 2;
}

.f-text { flex: 0.75; } 

.f-tag { font-size: 16px; color: var(--primary); font-weight: 600; letter-spacing: 1px; margin-bottom: 10px; text-transform: uppercase;}
.f-title { font-size: 38px; font-weight: 700; margin-bottom: 20px; line-height: 1.35; }
.f-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 25px; line-height: 1.8; }
.f-list li { list-style: none; margin-bottom: 10px; font-size: 15px; color: #ffffff; display: flex; align-items: center; gap: 10px; }
.f-list li::before { content: '✓'; color: var(--accent); font-weight: bold;}

.feature-img {
    flex: 1.25; 
    width: 100%;
    max-width: 850px; 
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15); 
    box-shadow: 0 30px 70px rgba(0,0,0,0.8); 
    cursor: pointer; 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-img:hover {
    transform: translateY(-10px) scale(1.03); 
    border-color: rgba(240, 128, 0, 0.6); 
    box-shadow: 0 40px 90px rgba(240, 128, 0, 0.15); 
}

.pricing { padding: 100px 5%; background: linear-gradient(180deg, #050508 0%, #0a0c12 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }

.matrix-container {
    display: flex; max-width: 1100px; margin: 0 auto; 
    background: rgba(20, 22, 30, 0.4); border-radius: 16px; 
    border: 1px solid var(--border); padding: 10px;
}

.m-col { display: flex; flex-direction: column; }
.m-col-labels { flex: 2; z-index: 1; }
.m-col-plan { 
    flex: 1.2; position: relative; border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    opacity: 0.9; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center bottom;
}

.matrix-container:hover .m-col-plan { opacity: 0.3; } 

.matrix-container .m-col-plan:hover {
    opacity: 1; 
    transform: translateY(-8px) scale(1.005);
    background: rgba(25, 30, 40, 0.95);
    border: 1px solid var(--primary); 
    box-shadow: 0 20px 50px rgba(240, 128, 0, 0.15); 
    z-index: 10;
}

.m-col-plan:hover .m-name { color: var(--primary); }
.m-col-plan:hover .m-price { color: #fff; }
.m-col-plan:hover .m-btn { 
    background: var(--primary); color: #fff; 
    border-color: var(--primary); 
    box-shadow: 0 8px 25px rgba(240, 128, 0, 0.4); 
    transform: scale(1.05); 
}
.m-col-plan:hover .pro-tag { background: var(--primary); color: #fff; }

.m-head { height: 210px; padding: 30px 20px; display: flex; flex-direction: column; text-align: center; }
.m-section-title { height: 40px; padding: 0 30px; line-height: 40px; font-size: 12px; color: var(--text-muted); background: rgba(0,0,0,0.3); font-weight: bold; border-top: 1px solid rgba(255,255,255,0.03);}
.m-section-title.empty { background: transparent; border-top: none; }
.m-cell { height: 55px; border-bottom: 1px solid rgba(255, 255, 255, 0.03); display: flex; justify-content: center; align-items: center; font-size: 15px;}
.m-cell:last-child { border-bottom: none; }

.m-label { justify-content: flex-start; padding-left: 30px; font-weight: 500; color: #ccd6f6; letter-spacing: 0.5px;}

.pro-tag { 
    position: absolute; top: 0; left: 50%; transform: translateX(-50%); 
    background: rgba(255, 255, 255, 0.1); color: var(--text-muted); 
    font-size: 11px; font-weight: 700; padding: 3px 14px; border-radius: 0 0 8px 8px; 
    letter-spacing: 1px; transition: all 0.3s;
}
.m-name { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 15px; transition: color 0.3s; }
.m-price { font-size: 32px; font-weight: 800; color: var(--text-muted); transition: color 0.3s;}
.m-price span { font-size: 13px; font-weight: normal; color: var(--text-muted); }

.m-btn { 
    margin-top: auto; padding: 10px 0; border-radius: 8px; font-size: 14px; font-weight: 600; 
    text-decoration: none; transition: all 0.3s;
    background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1); 
}
.m-btn-free { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1); }
.m-btn-std { background: rgba(102, 204, 255, 0.1); color: var(--accent); border: 1px solid rgba(102, 204, 255, 0.3); }
.m-btn-pro { background: var(--primary); color: #fff; box-shadow: 0 4px 15px rgba(226,0,102,0.3);}

.m-col-plan:hover .m-btn-free { background: rgba(255,255,255,0.1); color: #fff; }
.m-col-plan:hover .m-btn-std { background: var(--accent); color: #000; }
.m-col-plan:hover .m-btn-pro { background: #F79522; transform: scale(1.05); box-shadow: 0 8px 25px rgba(255,153,51,0.5);}

.icon-yes { color: #0bd318; font-size: 18px; font-weight: bold; }
.icon-no { color: rgba(255, 68, 68, 0.65); font-size: 18px; font-weight: bold; }

.faq { padding: 100px 20%; background: #050508; }
.faq-item { border-bottom: 1px solid var(--border); padding: 25px 0; cursor: pointer; }
.faq-q { font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 24px; color: var(--primary); transition: transform 0.3s;}
.faq-item.active .faq-q::after { transform: rotate(45deg); }
.faq-a { 
	max-height: 0; 
	overflow: hidden; 
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); 
	color: var(--text-muted); 
	font-size: 15px; 
	padding-top: 0; 
	padding-right: 40px; 
	opacity: 0; 
}

.faq-item.active .faq-a { 
	max-height: 250px; 
	padding-top: 15px; 
	opacity: 1; 
}

footer { padding: 50px 10%; border-top: 1px solid var(--border); text-align: center; background: #020203; color: var(--text-muted); font-size: 13px; }
footer a { color: var(--accent); text-decoration: none; }

.hero {
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative !important;
    width: 100%;
    text-align: center;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    z-index: 10;
    transition: color 0.3s;
    animation: floatDown 1.5s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
}

.scroll-indicator svg {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
}

.scroll-indicator svg {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
}

.scroll-indicator:hover { color: var(--primary); }

@keyframes floatDown {
    0% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(15px); opacity: 1; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
    100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
}

.nav-brand {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-left: 0px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
    height: 100%;
    justify-content: center;
}

.nav-brand:hover { opacity: 0.8; }

.brand-icon {
    height: 28px;
    width: 28px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.brand-name {
    font-size: 20px;
    font-weight: 200;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    white-space: nowrap;
    flex-shrink: 0;
    display: block;
}

.login-icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;   
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); 
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    margin-left: 10px; 
}

.login-icon-btn svg {
    width: 20px;
    height: 20px;
    transition: stroke 0.3s;
	margin-top: 2px;
}

.login-icon-btn:hover {
    transform: translateY(-2px); 
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(240, 128, 0, 0.1);
    box-shadow: 0 0 15px rgba(240, 128, 0, 0.4);
}

.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 8, 0.92); 
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); 
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1; pointer-events: auto; cursor: pointer; 
}
.lightbox img {
    max-width: 90vw; max-height: 90vh; 
    border-radius: 8px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.9);
    transform: scale(0.9); 
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.lightbox.active img { transform: scale(1); }

.lightbox-close {
    position: absolute; top: 30px; right: 40px;
    color: #fff; font-size: 40px; font-weight: 300; cursor: pointer;
    transition: color 0.2s; text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.lightbox-close:hover { color: var(--primary); }

.dropdown-panel {
    position: absolute;
    top: 55px;
    right: 0;
    width: 280px;
    background: rgba(15, 16, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: top right;
    z-index: 1000;
}

.panel-header {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 8px;
    display: flex;
    justify-content: space-between;
}
.panel-header span {
    color: var(--primary);
}

.dropdown-panel.hidden {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
    pointer-events: none;
}

.panel-

.panel-

.input-stack {
    display: flex;
    gap: 10px;
}

.dropdown-panel input {
    flex: 1;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 10px;
    font-size: 13px;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}
.dropdown-panel input:focus { 
    border-color: var(--primary); 
}

.action-btn.minimal {
    padding: 0 15px;
    font-size: 13px;
    white-space: nowrap;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.action-btn.outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-muted);
}
.action-btn.outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.action-btn.core-btn {
    background: var(--primary);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}
.action-btn.core-btn:hover {
    background: #F79522;
    transform: translateY(-2px);
}

.login-icon-btn.connected {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(240, 128, 0, 0.1);
    box-shadow: 0 0 15px var(--primary-glow);
}
#mask-layer {
    background: transparent;
}
.user-action-wrap {
    position: relative;
    z-index: 1000;
}
.dropdown-panel {
    position: absolute;
    top: 100%;
    right: 0;
}
.hidden {
    display: none !important;
}

/* ========== 新增：手机/平板 完整修复适配（解决图片挤文字、Safari兼容） ========== */
@media screen and (max-width: 1024px) {
    .feature-block,
    .feature-block:nth-child(even) {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 40px 20px !important;
        margin-bottom: 80px !important;
    }
    .f-text {
        width: 100% !important;
        flex: none !important;
        order: 1 !important;
    }
    .feature-img {
        width: 100% !important;
        max-width: 600px !important;
        flex: none !important;
        margin: 0 auto !important;
        order: 2 !important;
    }
    .f-title {
        font-size: 30px !important;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 { 
        font-size: 32px; 
        line-height: 1.4; 
    }
    .hero p { 
        font-size: 15px; 
        padding: 0 10px; 
    }
    .hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }
    .btn-large {
        width: 100%;
        text-align: center;
    }
    .section-title {
        font-size: 26px;
        padding: 0 15px;
        margin-bottom: 40px;
    }
    .features {
        padding: 100px 4% 40px 4%;
    }
    .f-title {
        font-size: 24px !important;
    }
    .faq {
        padding: 60px 4%;
    }
    .nav-links {
        display: none;
    }
}

/* ========== 内联样式合并（原 index.html <style>） ========== */
/* 修复Safari图片不渲染、渐变bug */
	* {
	    -webkit-backface-visibility: hidden;
	    -webkit-transform: translateZ(0);
	    transform: translateZ(0);
	}
	img {
	    display: block;
	    max-width: 100%;
	    -webkit-user-select: none;
	    object-fit: contain;
	}
	.hero {
	    -webkit-mask-image: none !important;
	    mask-image: none !important;
	}
	/* 按钮强制最高层级，穿透渐变遮挡 */
	.hero-actions {
	    position: relative !important;
	    z-index: 99 !important;
	    pointer-events: auto !important;
	}
	.hero-actions .btn-large {
	    position: relative !important;
	    z-index: 100 !important;
	}
    .scroll-indicator {
        position: absolute !important;  /* 将 relative 改为 absolute */
        z-index: 98 !important;
    }
