:root {
    --primary: #34d9c2;
    --secondary: #18c3aa;
    --primary-deep: #0ea18b;
    --primary-ink: #0b7d6c;
    --primary-soft: #e8fbf7;
    --primary-muted: #d3f7ef;
    --primary-faint: #b5eee2;
    --accent: #f59e0b;
    --bg-dark: #0f172a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.hero-gradient {
    background:
        radial-gradient(circle at top right, rgba(52, 217, 194, 0.16), transparent 38%),
        radial-gradient(circle at bottom left, rgba(24, 195, 170, 0.1), transparent 30%);
}

.hero-pattern {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgb(15 23 42 / 0.08);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 22px 45px -24px rgba(24, 195, 170, 0.85);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-deep), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.case-card {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.case-card:hover {
    transform: translateY(-8px);
}

.case-card.is-hidden {
    display: none;
}

.gradient-border {
    position: relative;
    background: white;
    border-radius: 1.5rem;
}

.gradient-border::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(52, 217, 194, 0.85), transparent, rgba(24, 195, 170, 0.75));
    opacity: 0.28;
    z-index: -1;
}

.filter-chip {
    border: 1px solid rgb(226 232 240);
    border-radius: 9999px;
    background: white;
    color: rgb(71 85 105);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    border-color: var(--primary-faint);
}

.filter-chip.is-active {
    background: var(--primary-deep);
    border-color: var(--primary-deep);
    color: white;
    box-shadow: 0 12px 30px -16px rgba(24, 195, 170, 0.85);
}

.search-gradient {
    background: linear-gradient(135deg, var(--primary-ink) 0%, var(--secondary) 100%);
}

.doc-card:hover {
    border-color: var(--primary) !important;
    background-color: #f4fffc !important;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--primary-deep) !important;
    background-color: var(--primary-soft) !important;
}

.brand-radial-soft {
    background: radial-gradient(circle at top, rgba(52, 217, 194, 0.2), transparent 60%);
}

.brand-radial-deep {
    background: radial-gradient(circle at top, rgba(52, 217, 194, 0.3), transparent 60%);
}

.text-blue-100 {
    color: #dcfaf3 !important;
}

.text-blue-300 {
    color: #86e8db !important;
}

.text-blue-400 {
    color: #54e2d1 !important;
}

.text-blue-400\/60 {
    color: rgba(84, 226, 209, 0.6) !important;
}

.text-blue-500 {
    color: var(--primary) !important;
}

.text-blue-500\/50 {
    color: rgba(52, 217, 194, 0.5) !important;
}

.text-blue-600,
.text-sky-600,
.text-purple-600,
.text-green-500,
.text-green-600,
.text-emerald-500 {
    color: var(--primary-deep) !important;
}

.text-blue-700 {
    color: var(--primary-ink) !important;
}

.bg-blue-50 {
    background-color: var(--primary-soft) !important;
}

.bg-blue-100,
.bg-sky-100,
.bg-purple-100,
.bg-green-100 {
    background-color: var(--primary-muted) !important;
}

.bg-blue-500\/20,
.bg-blue-600\/20 {
    background-color: rgba(52, 217, 194, 0.18) !important;
}

.bg-blue-600,
.bg-sky-600,
.bg-purple-600,
.bg-indigo-600,
.bg-emerald-600,
.bg-green-600 {
    background-color: var(--primary-deep) !important;
}

.border-blue-100 {
    border-color: var(--primary-muted) !important;
}

.border-blue-200 {
    border-color: var(--primary-faint) !important;
}

.border-blue-300,
.hover\:border-blue-300:hover {
    border-color: #8ce5d8 !important;
}

.border-blue-500\/30 {
    border-color: rgba(52, 217, 194, 0.3) !important;
}

.border-blue-600 {
    border-color: var(--primary-deep) !important;
}

.hover\:text-blue-400:hover {
    color: #6ee3d3 !important;
}

.hover\:text-blue-600:hover {
    color: var(--primary-deep) !important;
}

.hover\:bg-blue-50:hover {
    background-color: var(--primary-soft) !important;
}

.hover\:bg-blue-700:hover {
    background-color: var(--primary-ink) !important;
}

.focus\:ring-blue-400:focus {
    box-shadow: 0 0 0 4px rgba(52, 217, 194, 0.22) !important;
}

.shadow-blue-200 {
    box-shadow: 0 18px 40px -22px rgba(24, 195, 170, 0.72) !important;
}

details.open\:border-blue-100[open] {
    border-color: var(--primary-muted) !important;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg);
}

.timeline-dot {
    position: relative;
}

.timeline-dot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 4rem;
    bottom: -3rem;
    width: 2px;
    transform: translateX(-50%);
    background: rgb(226 232 240);
}

.timeline-item:last-child .timeline-dot::before {
    display: none;
}

@media (max-width: 767px) {
    .timeline-dot::before {
        top: 3.5rem;
        bottom: -2.5rem;
    }
}
