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

:root {
    --primary-color: #4f46e5;
    --secondary-color: #7c3aed;
    --accent-color: #ec4899;
    --dark-bg: #111827;
    --light-bg: #f8fafc;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --muted-text: #6b7280;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --gradient-1: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-2: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.16);
    --radius-md: 14px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--light-bg);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    text-align: center;
    font-weight: 800;
    margin-bottom: 0.9rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--muted-text);
    margin-bottom: 2.4rem;
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.nav-brand h1 {
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: var(--text-primary);
}

.lang-toggle {
    border: 1px solid rgba(79, 70, 229, 0.25);
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    margin-left: 0.6rem;
    transition: all 0.2s ease;
}

.lang-toggle:hover {
    background: var(--gradient-1);
    color: var(--white);
    border-color: transparent;
}

.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--gradient-2);
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.28;
    transform: scale(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.86) 0%, rgba(124, 58, 237, 0.78) 100%);
    z-index: -1;
}

.hero-content {
    width: min(860px, 92%);
    color: var(--white);
    padding-top: 80px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.32rem);
    opacity: 0.96;
    margin-bottom: 1.5rem;
}

.hero-search {
    display: flex;
    gap: 0.9rem;
    width: min(720px, 100%);
    margin: 0 auto 1rem;
}

.hero-search input {
    flex: 1;
    border: 0;
    outline: none;
    border-radius: 999px;
    padding: 0.95rem 1.25rem;
    font-size: 0.98rem;
    box-shadow: var(--shadow-md);
}

.search-btn {
    border: 0;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.95rem 1.5rem;
    cursor: pointer;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-badges {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.92rem;
}

.hero-badges span {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    animation: floatIndicator 1.8s ease-in-out infinite;
}

@keyframes floatIndicator {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

.mouse {
    width: 28px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 9px;
    border-radius: 3px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    animation: wheel 1.4s linear infinite;
}

@keyframes wheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

.trust-section,
.guide-section,
.faq-section,
.consult-section {
    background: var(--white);
}

.trust-grid,
.guide-grid,
.faq-list {
    display: grid;
    gap: 1.2rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.trust-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.trust-card,
.guide-card,
.faq-item {
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.1rem;
    box-shadow: var(--shadow-sm);
}

.trust-card h3,
.guide-card h3,
.faq-item h3 {
    margin-bottom: 0.55rem;
    font-size: 1.06rem;
}

.trust-card p,
.guide-card p,
.faq-item p {
    color: var(--text-secondary);
}

.article-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1rem 1rem 1.1rem;
}

.article-card h3 {
    margin: 0.45rem 0;
    font-size: 1.03rem;
}

.article-card p {
    color: var(--text-secondary);
    margin-bottom: 0.55rem;
}

.article-meta,
.article-meta-line {
    color: var(--muted-text);
    font-size: 0.84rem;
}

.section-cta {
    text-align: center;
    margin-top: 1.3rem;
}

.featured-cities {
    background: var(--white);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.4rem;
}

.city-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.city-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.city-card:hover .city-image img {
    transform: scale(1.08);
}

.city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.46));
}

.city-info {
    padding: 1.1rem;
}

.city-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.city-info > p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.city-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    color: var(--muted-text);
    font-size: 0.9rem;
}

.city-link {
    font-weight: 700;
    text-decoration: none;
}

.city-link:hover {
    text-decoration: underline;
}

.itinerary-templates {
    background: linear-gradient(135deg, #f4f6ff 0%, #f8faff 100%);
}

.itinerary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 1.4rem;
}

.itinerary-card {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.itinerary-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.itinerary-card.featured {
    border: 2px solid var(--primary-color);
}

.itinerary-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 999px;
    padding: 0.28rem 0.82rem;
    font-size: 0.84rem;
    font-weight: 700;
    z-index: 1;
}

.itinerary-image {
    height: 200px;
    overflow: hidden;
}

.itinerary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.itinerary-content {
    padding: 1.1rem 1.1rem 1.3rem;
}

.itinerary-content h3 {
    font-size: 1.16rem;
    margin-bottom: 0.45rem;
}

.itinerary-content > p {
    color: var(--text-secondary);
    margin-bottom: 0.7rem;
}

.itinerary-features {
    list-style: none;
    color: var(--text-secondary);
    margin-bottom: 0.9rem;
}

.itinerary-features li {
    margin-bottom: 0.3rem;
}

.itinerary-btn {
    display: inline-block;
    border-radius: 999px;
    background: var(--gradient-1);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    padding: 0.55rem 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.itinerary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.page-header {
    background: var(--gradient-1);
    color: var(--white);
    text-align: center;
    padding: 7.6rem 0 3.4rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1527631746610-bca00a040d60?w=1920&h=600&fit=crop') center/cover;
    opacity: 0.18;
}

.page-header h1,
.page-header p {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-bottom: 0.7rem;
}

.page-header p {
    opacity: 0.96;
}

.search-panel {
    max-width: 860px;
    margin: 0 auto 1.2rem;
}

.search-panel input {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.82rem 1rem;
    font-size: 0.96rem;
    outline: none;
}

.search-panel input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

.search-panel p {
    margin-top: 0.45rem;
    color: var(--muted-text);
    font-size: 0.9rem;
}

.filter-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.results-line {
    text-align: center;
    color: var(--muted-text);
    margin-bottom: 1.1rem;
}

.filter-btn {
    border: 1px solid rgba(79, 70, 229, 0.24);
    background: #eef2ff;
    color: var(--primary-color);
    padding: 0.44rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.filter-btn.active {
    background: var(--gradient-1);
    color: var(--white);
    border-color: transparent;
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.attraction-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.attraction-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.attraction-image {
    height: 188px;
    overflow: hidden;
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attraction-info {
    padding: 1rem;
}

.attraction-info h3 {
    font-size: 1.06rem;
    margin-bottom: 0.45rem;
}

.attraction-info p {
    color: var(--text-secondary);
    margin-bottom: 0.45rem;
}

.meta-line {
    color: var(--muted-text);
    font-size: 0.86rem;
    margin-bottom: 0.58rem;
}

.attraction-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--primary-color);
    font-size: 0.78rem;
    border: 1px solid rgba(79, 70, 229, 0.16);
}

.city-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.switch-btn {
    text-decoration: none;
    border: 1px solid rgba(79, 70, 229, 0.24);
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 999px;
    padding: 0.42rem 0.9rem;
    font-weight: 600;
}

.switch-btn.active {
    background: var(--gradient-1);
    color: var(--white);
    border-color: transparent;
}

.city-detail,
.itinerary-detail,
.content-page {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1.4rem;
}

.consult-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.consult-pills span {
    border-radius: 999px;
    border: 1px solid rgba(79, 70, 229, 0.2);
    background: #eef2ff;
    color: var(--primary-color);
    font-size: 0.85rem;
    padding: 0.28rem 0.72rem;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.path-card {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: linear-gradient(165deg, #ffffff 0%, #f8faff 100%);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
}

.path-card h3 {
    margin-bottom: 0.45rem;
}

.path-card p {
    color: var(--text-secondary);
}

.city-detail h2,
.content-page h2 {
    margin: 1.2rem 0 0.65rem;
    font-size: 1.3rem;
}

.city-detail h2:first-child,
.content-page h2:first-child {
    margin-top: 0;
}

.city-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 1.2rem;
}

.stat-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.8rem;
    background: #f8faff;
}

.stat-key {
    font-size: 0.83rem;
    color: var(--muted-text);
}

.stat-value {
    font-size: 1.03rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0.2rem;
}

.city-detail-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 1.2rem;
}

.city-block {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.95rem;
}

.city-block h3 {
    margin-bottom: 0.55rem;
}

.inner-section-title {
    margin-top: 1.4rem;
}

.inner-section-subtitle {
    color: var(--muted-text);
    margin-bottom: 0.8rem;
}

.content-list {
    padding-left: 1.2rem;
    color: var(--text-secondary);
}

.content-list li {
    margin-bottom: 0.45rem;
}

.plan-summary {
    border: 1px solid var(--border-color);
    background: #f8faff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.2rem;
}

.plan-summary h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.plan-summary p {
    color: var(--text-secondary);
}

.plan-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem;
    margin: 0.8rem 0;
}

.summary-item {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--white);
    padding: 0.75rem;
}

.summary-item h3 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.day-section {
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.day-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.day-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.day-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.day-title {
    font-size: 1.14rem;
}

.activity-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 0.65rem;
    background: var(--white);
}

.activity-time {
    color: var(--primary-color);
    font-weight: 700;
    min-width: 64px;
}

.activity-content h4 {
    margin-bottom: 0.3rem;
}

.activity-content p {
    color: var(--text-secondary);
}

.content-page p {
    margin-bottom: 0.65rem;
    color: var(--text-secondary);
}

.article-body h2 {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.28rem;
}

.article-body h3 {
    margin-top: 0.9rem;
    margin-bottom: 0.35rem;
    font-size: 1.04rem;
}

.article-body p,
.article-body li {
    color: var(--text-secondary);
}

.article-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 0.4rem;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.6rem;
    margin: 0.6rem 0 0.8rem;
}

.checklist-item {
    background: #f8faff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.65rem 0.78rem;
    font-size: 0.92rem;
}

.related-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.related-links a {
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(79, 70, 229, 0.25);
    background: #eef2ff;
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 600;
}

.related-links a:hover {
    background: var(--gradient-1);
    color: var(--white);
    border-color: transparent;
}

.notice-box {
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 10px;
    padding: 0.78rem 0.9rem;
    background: #eef2ff;
}

.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 2.6rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.1rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 0.55rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.36rem;
}

.footer-section a {
    text-decoration: none;
}

.footer-section a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 1.25rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        width: 100%;
        padding: 1rem 0 1.2rem;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        transition: left 0.25s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-search {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 640px) {
    section {
        padding: 4rem 0;
    }

    .city-detail,
    .itinerary-detail,
    .content-page {
        padding: 1rem;
    }

    .activity-item {
        flex-direction: column;
        gap: 0.35rem;
    }
}
