/* ============================================================
   全程陪护 - 护工导游预约平台
   设计风格：深空蓝 + 科技蓝 + 鎏金，卡片式列表
   ============================================================ */

:root {
    --deep-blue: #071D49;
    --tech-blue: #0D6EFD;
    --tech-blue-light: #3B8BFF;
    --galaxy-purple: #4A3AFF;
    --gold: #D4AF37;
    --gold-light: #F0D060;
    --white: #FFFFFF;
    --bg-dark: #020C24;
    --bg-section: #060E2B;
    --bg-card: rgba(255,255,255,0.025);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255,255,255,0.7);
    --text-muted: rgba(255,255,255,0.45);
    --border-subtle: rgba(255,255,255,0.06);
    --border-medium: rgba(255,255,255,0.12);
    --glass-bg: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.08);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(13,110,253,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "HarmonyOS Sans", "Source Han Sans CN", -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ============================================================
   导航栏
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2,12,36,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0 24px;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--tech-blue-light); font-weight: 600; }

.nav-dropdown { position: relative; }

.nav-dropdown .arrow {
    font-size: 10px;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    background: rgba(6,14,43,0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    backdrop-filter: blur(20px);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(13,110,253,0.1);
    color: var(--tech-blue-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.nav-actions a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.nav-actions a:hover { color: var(--white); }

.btn-register {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--tech-blue), #2563EB);
    color: var(--white) !important;
    border-radius: 20px;
    font-weight: 600;
}

/* ============================================================
   Hero Banner
   ============================================================ */
.hero-banner {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 40%, #0A1E4A 0%, #020C24 70%);
    margin-top: 0;
}

#starCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(13,110,253,0.06), transparent 50%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
    padding-top: 64px;
}

.hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--tech-blue);
    margin-bottom: 20px;
    padding: 5px 14px;
    border: 1px solid rgba(13,110,253,0.25);
    border-radius: 4px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #FFFFFF 0%, #A8D0FF 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 15px;
    color: var(--text-muted);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--tech-blue), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll span {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 3px;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ============================================================
   信任条
   ============================================================ */
.trust-bar {
    background: var(--bg-section);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 0;
}

.trust-items {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-items span {
    font-size: 14px;
    color: var(--text-secondary);
    white-space: nowrap;
    letter-spacing: 1px;
}

/* ============================================================
   金牌护工导游
   ============================================================ */
.section-gold {
    padding: 80px 0 48px;
    background: var(--bg-dark);
}

.gold-header {
    text-align: center;
    margin-bottom: 32px;
}

.gold-badge { font-size: 32px; display: block; margin-bottom: 12px; }

.gold-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.gold-sub {
    font-size: 16px;
    color: var(--text-secondary);
}

/* 轮播 */
.carousel-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-hint {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    animation: scrollCarousel 16s linear infinite;
}

.carousel-track:hover { animation-play-state: paused; }

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.carousel-card {
    flex-shrink: 0;
    width: 200px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition);
}

.carousel-card:hover {
    border-color: rgba(13,110,253,0.25);
    background: rgba(13,110,253,0.05);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.carousel-avatar {
    margin-bottom: 12px;
}
.carousel-avatar img,
.nurse-avatar img {
    width: 80px !important;
    height: 80px !important;
}

.carousel-dist {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.carousel-status {
    display: inline-block;
    font-size: 11px;
    color: #10B981;
    background: rgba(16,185,129,0.1);
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.carousel-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.carousel-info {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 20px;
    letter-spacing: 1px;
}

/* ============================================================
   排序筛选栏
   ============================================================ */
.filter-bar {
    background: var(--bg-section);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
    position: sticky;
    top: 64px;
    z-index: 100;
}

.filter-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.filter-sort, .filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-sort:hover, .filter-tag:hover {
    border-color: rgba(13,110,253,0.2);
    color: var(--white);
}

.filter-arrow { font-size: 10px; }

/* ============================================================
   护工导游列表
   ============================================================ */
.section-nurse-list {
    padding: 32px 0 80px;
    background: var(--bg-dark);
}

.nurse-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.nurse-card:hover {
    border-color: rgba(13,110,253,0.15);
    background: rgba(13,110,253,0.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transform: translateX(4px);
}

.nurse-avatar {
    position: relative;
    flex-shrink: 0;
}

.crown {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 18px;
}

.nurse-info {
    flex: 1;
    min-width: 0;
}

.nurse-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.nurse-tags {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    gap: 4px;
    align-items: center;
}

.nurse-dot { color: var(--text-muted); }

.nurse-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.nurse-meta .star { color: var(--gold); }
.nurse-meta .divider { color: var(--text-muted); margin: 0 4px; }

.nurse-role {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--tech-blue-light);
    margin-top: 4px;
}

.nurse-loc {
    color: var(--text-muted);
    font-size: 13px;
}

.nurse-action {
    flex-shrink: 0;
}

.btn-order {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--tech-blue), #2563EB);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 24px;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(13,110,253,0.3);
    white-space: nowrap;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13,110,253,0.5);
}

/* ============================================================
   页脚
   ============================================================ */
.footer {
    background: #020816;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand { flex: 0 0 240px; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo span { font-size: 18px; font-weight: 700; color: var(--white); }

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-tel {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--tech-blue-light); }

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-copy { margin-top: 6px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    .nav-links { gap: 18px; }
    .nav-links a { font-size: 13px; }
    .hero-title { font-size: 40px; }
    .trust-items { gap: 20px; }
    .nurse-card { flex-wrap: wrap; gap: 16px; }
    .nurse-action { width: 100%; text-align: right; }
    .footer-top { flex-wrap: wrap; gap: 40px; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .nav-links { display: none; }
    .nav-actions a:not(.btn-register) { display: none; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 16px; }
    .hero-desc { font-size: 13px; }
    .hero-banner { height: 50vh; min-height: 380px; }
    .trust-items { gap: 12px; }
    .trust-items span { font-size: 12px; }
    .gold-title { font-size: 26px; }
    .carousel-card { width: 160px; }
    .nurse-card { flex-direction: column; align-items: flex-start; }
    .nurse-action { width: 100%; }
    .btn-order { width: 100%; text-align: center; }
    .filter-inner { gap: 10px; }
    .footer-links { flex-wrap: wrap; gap: 24px; }
}
