:root {
    --primary: #2563eb;
    --primary-soft: #dbeafe;
    --text-main: #020617;
    --text-sub: #6b7280;
    --bg-gradient: radial-gradient(circle at top, #0b1220 0, #020617 35%, #020617 100%);
    --card-bg: rgba(15, 23, 42, 0.96);
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-strong: 0 26px 60px rgba(0, 0, 0, 0.6);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
    background: var(--bg-gradient);
    color: #e5e7eb;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 顶部导航 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: linear-gradient(
            to bottom,
            rgba(15, 23, 42, 0.92),
            rgba(15, 23, 42, 0.82),
            transparent
    );
    border-bottom: 1px solid rgba(51, 65, 85, 0.7);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: conic-gradient(
            from 210deg,
            #38bdf8,
            #6366f1,
            #22c55e,
            #38bdf8
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020617;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.7);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 11px;
    color: #94a3b8;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-pill {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #cbd5f5;
}

/* Hero */
.hero {
    padding: 32px 0 18px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 28px;
    align-items: center;
}

.hero-copy {
    padding-right: 10px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-desc {
    font-size: 13px;
    color: #9ca3af;
    max-width: 380px;
}

.hero-highlight {
    color: #e5e7eb;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hero-badges span {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(55, 65, 81, 0.9);
}

/* 轮播区 */
.hero-slider {
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top left, #1f2937, #020617);
    padding: 10px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(30, 64, 175, 0.8);
}

.carousel {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #020617;
}

/* 真正滑动的轨道 */
.carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}

/* 单个 slide 卡片 */
.carousel-item {
    min-width: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.carousel-image-wrap {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.carousel-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

/* 下面文案 */
.carousel-meta {
    padding: 4px 4px 0 4px;
}

.carousel-meta .chip {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.95);
    color: #e5e7eb;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.carousel-meta h2 {
    font-size: 16px;
    margin-bottom: 3px;
}

.carousel-meta p {
    font-size: 12px;
    color: #9ca3af;
}

/* 导航箭头 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(12px);
    transition: background 0.18s ease, transform 0.18s ease;
}

.carousel-nav:hover {
    background: rgba(30, 64, 175, 0.95);
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

/* dots */
.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(148, 163, 184, 0.7);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.dot.active {
    width: 22px;
    background: #2563eb;
}

/* 国家入口区 */
.countries {
    padding: 28px 0 30px;
}

.countries-header {
    margin-bottom: 14px;
}

.countries-header h2 {
    font-size: 20px;
    margin-bottom: 4px;
}

.countries-header p {
    font-size: 13px;
    color: #9ca3af;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

/* 国家卡片 */
.country-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: radial-gradient(circle at top left, #111827, #020617);
    border: 1px solid rgba(31, 41, 55, 0.9);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
    cursor: pointer;
    transform: translateY(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border 0.18s ease;
}

.country-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
    border-color: rgba(59, 130, 246, 0.9);
}

/* 渐变背景 */
.country-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    pointer-events: none;
}

.country-bg.us {
    background: radial-gradient(circle at 0 0, #ef4444, transparent 55%),
    radial-gradient(circle at 100% 100%, #1d4ed8, transparent 60%);
}

.country-bg.au {
    background: radial-gradient(circle at 0 100%, #22c55e, transparent 55%),
    radial-gradient(circle at 100% 0, #2563eb, transparent 60%);
}

.country-bg.tw {
    background: radial-gradient(circle at 0 0, #f97316, transparent 55%),
    radial-gradient(circle at 100% 0, #6366f1, transparent 60%);
}

.country-inner {
    position: relative;
    padding: 14px 14px 16px 14px;
}

/* 顶部 tag 行 */
.country-tag-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.country-code {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-weight: 700;
    font-size: 14px;
}

.region-pill {
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
}

.country-inner h3 {
    font-size: 16px;
    margin-top: 2px;
}

.country-sub {
    font-size: 12px;
    color: #cbd5f5;
    margin-bottom: 6px;
}

.country-text {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.country-button {
    border: none;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12px;
    cursor: pointer;
    background: #2563eb;
    color: #e5e7eb;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.8);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.country-card:hover .country-button {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 1);
    background: #1d4ed8;
}

/* footer */
.site-footer {
    border-top: 1px solid rgba(30, 64, 175, 0.5);
    padding: 12px 0 18px;
    background: radial-gradient(circle at bottom, #020617, #020617);
}

.footer-inner {
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.footer-note {
    color: #64748b;
}

/* 响应式 */
@media (max-width: 960px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-copy {
        padding-right: 0;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-slider {
        margin-top: 4px;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .countries-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
    }
}
