:root {
            --ink: #102132;
            --ink-soft: #3c5671;
            --card: #ffffff;
            --line: #d7e4f0;
            --brand: #0d6efd;
            --brand-deep: #0a4eb3;
            --accent: #ff8f1f;
            --good: #0a8f53;
            --radius-xl: 26px;
            --radius-lg: 18px;
        }

        [data-theme="dark"] {
            --ink: #eaf1fb;
            --ink-soft: #b6c6da;
            --card: #101a2c;
            --line: #324866;
            --brand: #60a5fa;
            --brand-deep: #3b82f6;
            --accent: #f59e0b;
            --good: #22c55e;
        }

        [data-theme="dark"] body {
            background:
                radial-gradient(circle at 88% 8%, rgba(245, 158, 11, 0.1), transparent 34%),
                radial-gradient(circle at 14% 84%, rgba(59, 130, 246, 0.12), transparent 34%),
                linear-gradient(165deg, #0b1424 0%, #0e1a2d 48%, #0a1321 100%);
        }

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

        body {
            font-family: 'Manrope', sans-serif;
            color: var(--ink);
            background:
                radial-gradient(circle at 88% 8%, rgba(255, 143, 31, 0.28), transparent 32%),
                radial-gradient(circle at 14% 84%, rgba(13, 110, 253, 0.18), transparent 32%),
                linear-gradient(160deg, #eef6ff 0%, #f9fcff 48%, #fff8ef 100%);
            min-height: 100vh;
            background-size: 120% 120%;
            animation: bg-drift 16s ease-in-out infinite alternate;
        }

        .shell {
            width: 100%;
            min-height: 100vh;
            margin: 0;
            border: none;
            border-radius: 0;
            overflow: hidden;
            box-shadow: none;
            background: rgba(255, 255, 255, 0.55);
            backdrop-filter: blur(5px);
        }

        .topbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            padding: 14px clamp(14px, 3vw, 30px);
            border-bottom: 1px solid var(--line);
            background: rgba(255, 255, 255, 0.9);
        }

        [data-theme="dark"] .topbar {
            background: rgba(13, 22, 38, 0.92);
        }

        .topbar-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .brand-logo-wrap {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            border: 1px solid var(--line);
            background: #fff;
            display: grid;
            place-items: center;
            overflow: hidden;
        }

        [data-theme="dark"] .brand-logo-wrap {
            background: #0f1d32;
            border-color: #2b3d59;
        }

        .brand-logo {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 3px;
        }

        [data-theme="dark"] .brand-logo {
            filter: saturate(1.05) brightness(1.02);
            mix-blend-mode: multiply;
        }

        .brand h1 {
            margin: 0;
            font-family: 'Pacifico', cursive;
            font-size: 1.78rem;
            line-height: 1.2;
            padding-top: 2px;
            letter-spacing: 0.8px;
            display: inline-block;
            background: linear-gradient(120deg, #0a4eb3 0%, #0d6efd 62%, #2f7fff 100%);
            color: #0d6efd;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(0 4px 10px rgba(13, 110, 253, 0.2));
            transform: scaleX(1.2);
            transform-origin: left center;
        }

        .brand p {
            margin: 2px 0 0;
            font-size: 0.79rem;
            color: var(--ink-soft);
        }

        .open-map {
            border: none;
            border-radius: 12px;
            padding: 9px 12px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            font-size: 0.9rem;
            color: #fff;
            background: linear-gradient(140deg, var(--brand), var(--brand-deep));
            transition: transform 0.2s ease;
            box-shadow: 0 0 0 rgba(13, 110, 253, 0);
            animation: glow-brand 2.4s ease-in-out infinite;
        }

        .open-map:hover { transform: translateY(-1px); }

        .theme-toggle {
            flex-shrink: 0;
            padding: 0;
            border: none;
            background: none;
            cursor: pointer;
        }

        .theme-toggle-track {
            display: block;
            width: 46px;
            height: 22px;
            border-radius: 999px;
            background: var(--line);
            position: relative;
            transition: background 0.2s;
        }

        .theme-toggle-track::before,
        .theme-toggle-track::after {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 10px;
            line-height: 1;
            pointer-events: none;
            transition: opacity 0.2s ease;
        }

        .theme-toggle-track::before {
            content: '☀';
            left: 6px;
            opacity: 0.9;
            color: #f59e0b;
            text-shadow: 0 0 4px rgba(245, 158, 11, 0.35);
        }

        .theme-toggle-track::after {
            content: '☾';
            right: 6px;
            opacity: 0.45;
            color: #60a5fa;
            text-shadow: 0 0 4px rgba(96, 165, 250, 0.35);
        }

        .theme-toggle:hover .theme-toggle-track {
            background: var(--ink-soft);
        }

        .theme-toggle-knob {
            position: absolute;
            top: 2px;
            left: 2px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--card);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
            transition: transform 0.2s ease;
        }

        [data-theme="dark"] .theme-toggle-knob {
            transform: translateX(24px);
        }

        [data-theme="dark"] .theme-toggle-track::before {
            opacity: 0.45;
            color: #fbbf24;
        }

        [data-theme="dark"] .theme-toggle-track::after {
            opacity: 0.95;
            color: #93c5fd;
        }

        .btn-main,
        .btn-ghost,
        .open-map {
            transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
        }

        [data-theme="dark"] .btn-ghost {
            background: #132137;
            color: #dbeafe;
            border-color: #2b3d59;
        }

        [data-theme="dark"] .stat,
        [data-theme="dark"] .mini-route,
        [data-theme="dark"] .panel,
        [data-theme="dark"] .hero-card,
        [data-theme="dark"] .feature,
        [data-theme="dark"] .journey-item,
        [data-theme="dark"] .quick-item,
        [data-theme="dark"] .developer-card,
        [data-theme="dark"] .developer-item,
        [data-theme="dark"] .cta-banner {
            background: #132137;
            border-color: #2b3d59;
            color: var(--ink);
        }

        [data-theme="dark"] .hero-card {
            background: linear-gradient(170deg, #122038, #0f1b30);
        }

        [data-theme="dark"] .pill {
            background: #1a3357;
            color: #9bc5ff;
        }

        [data-theme="dark"] .icon-chip {
            background: #163253;
            color: #8fc2ff;
        }

        [data-theme="dark"] .mini-step {
            border-bottom-color: #2b3d59;
        }

        [data-theme="dark"] .important-note {
            border-color: #a56b27;
            background: linear-gradient(120deg, #2a2115, #2f2618);
            color: #ffd39a;
        }

        [data-theme="dark"] .important-note.info-note {
            border-color: #2d4f79;
            background: linear-gradient(120deg, #15243a, #182b44);
            color: #b7d8ff;
        }

        [data-theme="dark"] .shell {
            background: rgba(8, 14, 25, 0.82);
        }

        [data-theme="dark"] .end-section {
            border-top-color: #324866;
        }

        .btn-main:hover,
        .btn-ghost:hover,
        .open-map:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(13, 110, 253, 0.16);
        }

        .hero {
            padding: 40px clamp(16px, 4vw, 40px);
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 20px;
            align-items: stretch;
        }

        .hero h2 {
            margin: 0 0 10px;
            font-family: 'Sora', sans-serif;
            font-size: clamp(1.9rem, 2.8vw, 2.9rem);
            line-height: 1.07;
        }

        .hero h2 span { color: var(--brand); }

        .lead {
            margin: 0 0 18px;
            max-width: 62ch;
            color: var(--ink-soft);
            line-height: 1.55;
        }

        .hero-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 18px;
        }

        .btn-main,
        .btn-ghost {
            text-decoration: none;
            border-radius: 12px;
            padding: 11px 15px;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-main { color: #fff; background: linear-gradient(140deg, var(--brand), var(--brand-deep)); }
        .btn-ghost { color: var(--ink); border: 1px solid var(--line); background: #fff; }

        .start-search-glow {
            box-shadow: 0 0 0 rgba(13, 110, 253, 0);
            animation: glow-brand-strong 2s ease-in-out infinite;
        }

        .important-note {
            margin: 0 0 16px;
            display: inline-flex;
            align-items: flex-start;
            gap: 8px;
            padding: 10px 12px;
            border-radius: 12px;
            border: 1px solid #ffd8a8;
            background: linear-gradient(120deg, #fff8ef, #fff2df);
            color: #7a4a0b;
            font-size: 0.84rem;
            line-height: 1.45;
            box-shadow: 0 0 0 rgba(255, 143, 31, 0);
            animation: glow-accent 2.8s ease-in-out infinite;
        }

        .important-note i {
            margin-top: 1px;
            flex-shrink: 0;
        }

        .important-note.info-note {
            border-color: #bcd9ff;
            background: linear-gradient(120deg, #f1f7ff, #e9f3ff);
            color: #184c86;
            box-shadow: none;
            animation: none;
        }

        .stats {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 10px;
        }

        .stat {
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 12px;
            padding: 10px;
            transition: transform 0.22s ease, box-shadow 0.22s ease;
        }

        .stat:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(16, 33, 50, 0.1);
        }

        .stat strong {
            display: block;
            font-size: 1.05rem;
            font-family: 'Sora', sans-serif;
        }

        .stat span {
            font-size: 0.78rem;
            color: var(--ink-soft);
        }

        .hero-card {
            background: linear-gradient(170deg, #ffffff, #f1f7ff);
            border: 1px solid var(--line);
            border-radius: var(--radius-xl);
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            animation: float-soft 5.5s ease-in-out infinite;
        }

        .hero-card-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.86rem;
            font-weight: 700;
        }

        .pill {
            background: #e7f2ff;
            color: #1a5cb6;
            border-radius: 999px;
            font-size: 0.74rem;
            padding: 5px 9px;
        }

        .mini-route {
            border: 1px dashed #b7cce3;
            border-radius: 14px;
            background: #fff;
            padding: 10px;
        }

        .mini-step {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 0;
            border-bottom: 1px solid #edf3fa;
            font-size: 0.89rem;
        }

        .mini-step:last-child { border-bottom: none; }

        .mini-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            flex-shrink: 0;
            background: var(--brand);
            box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.14);
        }

        .mini-dot.transfer {
            background: var(--accent);
            box-shadow: 0 0 0 4px rgba(255, 143, 31, 0.18);
        }

        .mini-dot.done {
            background: var(--good);
            box-shadow: 0 0 0 4px rgba(10, 143, 83, 0.18);
        }

        .sections {
            display: grid;
            gap: 14px;
            padding: 0 clamp(16px, 4vw, 40px) 28px;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1.05fr 0.95fr;
            gap: 14px;
        }

        .panel {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            padding: 16px;
        }

        .panel h3 {
            margin: 0 0 8px;
            font-family: 'Sora', sans-serif;
            font-size: 1rem;
        }

        .panel p {
            margin: 0;
            color: var(--ink-soft);
            line-height: 1.52;
            font-size: 0.9rem;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 12px;
        }

        .feature {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: 16px;
            padding: 14px;
            transition: transform 0.22s ease, box-shadow 0.22s ease;
        }

        .feature:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(16, 33, 50, 0.1);
        }

        .icon-chip {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: #e7f2ff;
            color: #1b5db6;
            display: grid;
            place-items: center;
        }

        .feature h4 {
            margin: 8px 0 5px;
            font-size: 0.95rem;
            font-family: 'Sora', sans-serif;
        }

        .feature p {
            margin: 0;
            color: var(--ink-soft);
            font-size: 0.84rem;
            line-height: 1.44;
        }

        .journey-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
        }

        .journey-item {
            border: 1px solid var(--line);
            border-radius: 14px;
            background: #fff;
            padding: 12px;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .journey-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(16, 33, 50, 0.08);
        }

        .journey-item strong {
            display: block;
            font-size: 0.88rem;
            margin-bottom: 4px;
            font-family: 'Sora', sans-serif;
        }

        .journey-item span {
            color: var(--ink-soft);
            font-size: 0.82rem;
            line-height: 1.4;
        }

        .quick-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }

        .quick-item {
            border: 1px solid var(--line);
            background: #fff;
            border-radius: 12px;
            padding: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--ink);
            font-size: 0.84rem;
            font-weight: 600;
            transition: transform 0.2s ease, border-color 0.2s ease;
        }

        .quick-item:hover {
            transform: translateY(-2px);
            border-color: #bcd3e8;
        }

        .cta-banner {
            border: 1px solid #c8daf0;
            border-radius: var(--radius-lg);
            padding: 16px;
            background: linear-gradient(120deg, #eaf3ff, #fff4e9);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            animation: pulse-soft 4.2s ease-in-out infinite;
        }

        .topbar,
        .hero > *,
        .sections > *,
        .end-section {
            opacity: 0;
            transform: translateY(14px);
            animation: reveal-up 0.7s ease forwards;
        }

        .topbar { animation-delay: 0.05s; }
        .hero > :first-child { animation-delay: 0.15s; }
        .hero > :last-child { animation-delay: 0.25s; }
        .sections > :nth-child(1) { animation-delay: 0.35s; }
        .sections > :nth-child(2) { animation-delay: 0.45s; }
        .sections > :nth-child(3) { animation-delay: 0.55s; }
        .sections > :nth-child(4) { animation-delay: 0.65s; }
        .sections > :nth-child(5) { animation-delay: 0.75s; }
        .end-section { animation-delay: 0.85s; }

        @keyframes reveal-up {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float-soft {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }

        @keyframes pulse-soft {
            0%, 100% { box-shadow: 0 0 0 rgba(13, 110, 253, 0); }
            50% { box-shadow: 0 10px 24px rgba(13, 110, 253, 0.12); }
        }

        @keyframes glow-brand {
            0%, 100% {
                box-shadow: 0 0 0 rgba(13, 110, 253, 0);
                filter: saturate(1);
            }
            50% {
                box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.14), 0 0 22px rgba(13, 110, 253, 0.26);
                filter: saturate(1.08);
            }
        }

        @keyframes glow-brand-strong {
            0%, 100% {
                box-shadow: 0 0 0 rgba(13, 110, 253, 0);
                filter: saturate(1);
            }
            50% {
                box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.18), 0 0 26px rgba(13, 110, 253, 0.32);
                filter: saturate(1.12);
            }
        }

        @keyframes glow-accent {
            0%, 100% {
                box-shadow: 0 0 0 rgba(255, 143, 31, 0);
            }
            50% {
                box-shadow: 0 0 0 4px rgba(255, 143, 31, 0.14), 0 0 20px rgba(255, 143, 31, 0.22);
            }
        }

        @keyframes bg-drift {
            from { background-position: 0% 0%; }
            to { background-position: 100% 100%; }
        }

        .cta-banner h3 {
            margin: 0 0 4px;
            font-family: 'Sora', sans-serif;
            font-size: 1rem;
        }

        .cta-banner p {
            margin: 0;
            color: var(--ink-soft);
            font-size: 0.88rem;
        }

        .end-section {
            margin: 4px clamp(16px, 4vw, 40px) 24px;
            padding-top: 12px;
            border-top: 1px solid #cfdceb;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            color: var(--ink-soft);
            font-size: 0.82rem;
        }

        .end-section a {
            text-decoration: none;
            color: var(--brand-deep);
            font-weight: 700;
        }

        .developer-section {
            margin: 6px 0 0;
            opacity: 0;
            transform: translateY(14px);
            animation: reveal-up 0.7s ease forwards;
            animation-delay: 0.38s;
        }

        .developer-card {
            border: 1px solid var(--line);
            border-radius: 14px;
            background: linear-gradient(145deg, #ffffff, #f7faff);
            padding: 12px;
            box-shadow: 0 6px 14px rgba(16, 33, 50, 0.07);
        }

        .developer-head {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
        }

        .developer-avatar {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: linear-gradient(145deg, var(--brand), var(--brand-deep));
            color: #fff;
            font-family: 'Sora', sans-serif;
            font-size: 0.76rem;
            font-weight: 700;
            box-shadow: 0 5px 12px rgba(13, 110, 253, 0.2);
        }

        .developer-card h3 {
            margin: 0;
            font-family: 'Sora', sans-serif;
            font-size: 0.9rem;
        }

        .developer-role {
            margin: 2px 0 0;
            color: var(--ink-soft);
            font-size: 0.74rem;
            font-weight: 600;
        }

        .developer-text {
            margin: 0 0 10px;
            color: var(--ink-soft);
            line-height: 1.5;
            font-size: 0.8rem;
        }

        .developer-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
        }

        .developer-item {
            display: flex;
            align-items: center;
            gap: 8px;
            border: 1px solid #d8e5f2;
            border-radius: 12px;
            background: #fff;
            padding: 8px;
        }

        .developer-name {
            display: block;
            font-size: 0.8rem;
            font-family: 'Sora', sans-serif;
            font-weight: 700;
            color: var(--ink);
        }

        .developer-name-link {
            display: block;
            font-size: 0.8rem;
            font-family: 'Sora', sans-serif;
            font-weight: 700;
            color: var(--ink);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .developer-name-link:hover {
            color: var(--brand-deep);
            text-decoration: underline;
        }

        .developer-item .developer-role {
            margin-top: 1px;
        }


        @media (max-width: 980px) {
            .hero { grid-template-columns: 1fr; }
            .about-grid { grid-template-columns: 1fr; }
            .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .journey-grid { grid-template-columns: 1fr; }
            .quick-grid { grid-template-columns: 1fr; }
            .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }

        @media (max-width: 620px) {
            .topbar { padding: 10px 12px; }
            .brand-logo-wrap {
                width: 40px;
                height: 40px;
            }
            .brand h1 {
                font-size: 1.56rem;
            }
            .topbar-actions {
                gap: 6px;
            }
            .hero { padding: 22px 12px; }
            .sections { padding: 0 12px 14px; }
            .feature-grid { grid-template-columns: 1fr; }
            .cta-banner { flex-direction: column; align-items: flex-start; }
            .open-map { padding: 9px 11px; font-size: 0.86rem; }
            .end-section {
                margin: 0 12px 16px;
                flex-direction: column;
                align-items: flex-start;
            }

            .developer-section {
                margin: 6px 0 0;
            }

            .developer-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation: none !important;
                transition: none !important;
            }
        }