:root {
    --c-primary: #0B2447;
    --c-primary-light: #19376D;
    --c-accent: #5B0888;
    --c-accent-light: #713ABE;
    --c-blue: #3B82F6;
    --c-purple: #8B5CF6;
    --c-cyan: #06B6D4;
    --c-green: #10B981;
    --c-text: #F1F5F9;
    --c-text-muted: #94A3B8;
    --c-text-dim: #64748B;
    --c-border: rgba(59, 130, 246, 0.15);
    --c-border-hover: rgba(59, 130, 246, 0.4);
    --c-card-bg: rgba(25, 55, 109, 0.5);
    --c-card-bg-solid: #132e5e;
    --c-overlay: rgba(11, 36, 71, 0.92);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.4);
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --container: 1200px;
    --nav-h: 60px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
}

@media (min-width: 768px) { html { font-size: 16px; } }

body {
    font-family: var(--font-sans);
    background: var(--c-primary);
    color: var(--c-text);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; }
input, select, textarea { font: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    background: rgba(11, 36, 71, 0.95);
    border-bottom: 1px solid var(--c-border);
    z-index: 100;
    transition: background 0.3s;
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--c-text-muted);
    transition: color 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--c-blue), var(--c-purple));
    transition: width 0.3s;
}

.nav-link:hover { color: var(--c-text); }
.nav-link:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--c-text);
    font-size: 1.5rem;
    padding: 0.25rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 36, 71, 0.98);
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.mobile-menu.active { display: flex; }

.mobile-menu .nav-link {
    font-size: 1.5rem;
    color: var(--c-text);
}

.mobile-menu .close-menu {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.75rem;
    background: none;
    border: none;
    color: var(--c-text);
    cursor: pointer;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0B2447 0%, #132e5e 40%, #1a1a4e 70%, #0B2447 100%);
    background-size: 300% 300%;
    animation: hero-gradient 20s ease infinite;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 80% 30%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    z-index: 1;
}

@keyframes hero-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.12);
    z-index: 1;
    animation: float-dot linear infinite;
}

.hero-dot:nth-child(1) { width: 6px; height: 6px; top: 20%; left: 15%; animation-duration: 25s; }
.hero-dot:nth-child(2) { width: 4px; height: 4px; top: 60%; left: 75%; animation-duration: 30s; animation-delay: -5s; }
.hero-dot:nth-child(3) { width: 8px; height: 8px; top: 40%; left: 50%; animation-duration: 22s; animation-delay: -10s; }
.hero-dot:nth-child(4) { width: 5px; height: 5px; top: 80%; left: 30%; animation-duration: 28s; animation-delay: -8s; }
.hero-dot:nth-child(5) { width: 3px; height: 3px; top: 30%; left: 85%; animation-duration: 35s; animation-delay: -15s; }

@keyframes float-dot {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    25% { transform: translate(30px, -20px); opacity: 0.6; }
    50% { transform: translate(-20px, 30px); opacity: 0.3; }
    75% { transform: translate(20px, 20px); opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 5rem 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--c-text-muted);
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--c-text-dim);
    animation: bounce-hint 2s ease-in-out infinite;
}

@keyframes bounce-hint {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(-10px) translateX(-50%); }
}

.page-header {
    padding: 6rem 0 3rem;
    text-align: center;
    background: var(--c-primary-light);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--c-text-muted);
    max-width: 680px;
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    padding: 5rem 0;
    background: var(--c-primary-light);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.625rem;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--c-blue), var(--c-purple));
    border-radius: 2px;
}

.section-title-center {
    display: block;
    text-align: center;
}

.section-title-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.card {
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--c-border-hover);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
}

.card-text { color: var(--c-text-muted); }

.card-solid {
    background: var(--c-primary);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.card-highlight {
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .card-highlight { padding: 3rem; }
}

.icon-circle {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.icon-circle-lg {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.icon-accent {
    background: rgba(139, 92, 246, 0.15);
    color: var(--c-purple);
}

.icon-blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--c-blue);
}

.icon-cyan {
    background: rgba(6, 182, 212, 0.15);
    color: var(--c-cyan);
}

.icon-green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--c-green);
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-right: 0.375rem;
    margin-bottom: 0.375rem;
}

.tag-green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--c-green);
}

.tag-blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--c-blue);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
    border: 1px solid var(--c-border-hover);
    color: var(--c-text);
}

.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
    border-color: var(--c-blue);
}

.btn-accent {
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light));
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: white;
}

.btn-accent:hover {
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.0625rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--c-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.counter {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.25rem;
}

.counter-label {
    font-size: 0.9375rem;
    color: var(--c-text-dim);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: var(--c-text-muted);
}

.form-label .required {
    color: var(--c-green);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    background: var(--c-primary);
    border: 1px solid var(--c-border);
    color: var(--c-text);
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--c-blue);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form-row-2 { grid-template-columns: repeat(2, 1fr); }
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-check input[type="checkbox"] {
    margin-top: 0.25rem;
}

.form-check label {
    font-size: 0.9375rem;
    color: var(--c-text-muted);
}

.form-check a {
    color: var(--c-blue);
}

.form-check a:hover {
    text-decoration: underline;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 0;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    background: var(--c-primary-light);
    color: var(--c-text-muted);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--c-accent);
    color: white;
}

.chatbot {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
}

.chatbot-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    border: 1px solid var(--c-border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1.375rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-md);
}

.chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.chatbot-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    height: 440px;
    background: rgba(11, 36, 71, 0.97);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--c-border-hover);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-panel.open { display: flex; }

.chatbot-head {
    padding: 1rem;
    background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light));
    border-bottom: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-head h3 {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--c-text-dim);
    font-size: 1.125rem;
    cursor: pointer;
    transition: color 0.2s;
}

.chatbot-close:hover { color: var(--c-text); }

.chatbot-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.chat-msg {
    margin-bottom: 0.75rem;
    max-width: 85%;
    padding: 0.625rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.chat-msg-bot {
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: 1rem 1rem 1rem 0.25rem;
    color: var(--c-text);
}

.chat-msg-user {
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light));
    border-radius: 1rem 1rem 0.25rem 1rem;
    color: white;
    margin-left: auto;
}

.typing-dots {
    display: inline-flex;
    gap: 4px;
    padding: 0.5rem 0;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-blue);
    opacity: 0.4;
    animation: typing-blink 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: 0.16s; }
.typing-dots span:nth-child(3) { animation-delay: 0.32s; }

@keyframes typing-blink {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 0.8; }
}

.chatbot-foot {
    padding: 0.75rem;
    border-top: 1px solid var(--c-border);
    display: flex;
    gap: 0.5rem;
}

.chatbot-foot input {
    flex: 1;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--c-border);
    background: var(--c-card-bg);
    color: var(--c-text);
    outline: none;
    font-size: 0.875rem;
}

.chatbot-foot input:focus { border-color: var(--c-blue); }

.chatbot-foot button {
    padding: 0.625rem 1rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light));
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

.chatbot-foot button:hover {
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4);
}

.footer {
    background: var(--c-primary);
    border-top: 1px solid var(--c-border);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--c-text-muted);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-dim);
    transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
    background: var(--c-accent);
    color: white;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-blue);
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--c-text-muted);
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--c-blue); }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
    color: var(--c-text-muted);
    font-size: 0.9375rem;
}

.footer-contact li i {
    color: var(--c-purple);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--c-border);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    color: var(--c-text-dim);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--c-text-dim);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--c-blue); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1; }

.text-center { text-align: center; }
.text-blue { color: var(--c-blue); }
.text-purple { color: var(--c-purple); }
.text-cyan { color: var(--c-cyan); }
.text-green { color: var(--c-green); }
.text-muted { color: var(--c-text-muted); }
.text-dim { color: var(--c-text-dim); }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.w-full { width: 100%; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.hidden { display: none; }
.overflow-hidden { overflow: hidden; }

.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }

.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-2xl { box-shadow: 0 12px 40px rgba(0,0,0,0.5); }

.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-extra-bold { font-weight: 800; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.leading-relaxed { line-height: 1.7; }

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

.transition-colors { transition: background 0.2s, color 0.2s; }

.case-card {
    background: var(--c-card-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.case-card:hover {
    transform: translateY(-4px);
    border-color: var(--c-border-hover);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
}

.case-detail {
    background: var(--c-primary-light);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.case-detail-image {
    background-size: cover;
    background-position: center;
    min-height: 250px;
}

@media (min-width: 768px) {
    .case-detail-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .case-detail-image { min-height: auto; }
}

.case-detail-content {
    padding: 2rem;
}

@media (min-width: 768px) {
    .case-detail-content { padding: 3rem; }
}

.process-line {
    position: relative;
}

@media (min-width: 768px) {
    .process-line::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        background: rgba(139, 92, 246, 0.2);
        transform: translateY(-50%);
        z-index: 0;
    }
}

.process-step {
    background: var(--c-primary);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-number {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--c-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.resource-item {
    background: var(--c-primary-light);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: border-color 0.25s;
}

.resource-item:hover {
    border-color: var(--c-border-hover);
}

.chart-container {
    height: 16rem;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.0625rem; }
    .page-header h1 { font-size: 2rem; }
    .section-title { font-size: 1.5rem; }
    .section { padding: 3.5rem 0; }
    .section-alt { padding: 3.5rem 0; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .chatbot-panel { width: 290px; height: 380px; right: -0.5rem; }
    .chatbot-toggle { width: 48px; height: 48px; font-size: 1.125rem; }
    .counter { font-size: 1.75rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .case-detail-image { min-height: 200px; }
    .hero-content { padding: 4rem 1rem; }
}

@media (max-width: 639px) {
    .hero-title { font-size: 1.75rem; }
    .form-row-2 { grid-template-columns: 1fr; }
    .chatbot-panel { width: 270px; height: 350px; }
    .counter { font-size: 1.5rem; }
}

@media (min-width: 768px) {
    .md-flex { display: flex; }
    .md-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .md-items-center { align-items: center; }
    .md-gap-12 { gap: 3rem; }
    .md-p-12 { padding: 3rem; }
    .md-order-1 { order: 1; }
    .md-order-2 { order: 2; }
}
