@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #09090b;
    color: #fff;
    overflow-x: hidden;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.fixed-top-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #0A3D1F;
    border-bottom: 1px solid #166534;
    overflow: hidden;
    white-space: nowrap;
    height: 38px;
    display: flex;
    align-items: center;
}

.fixed-top-menu .scroll-track {
    display: inline-flex;
    gap: 40px;
    min-width: max-content;
    animation: infiniteScroll 25s linear infinite;
    padding-left: 40px;
}

.fixed-top-menu:hover .scroll-track {
    animation-play-state: paused;
}

.fixed-top-menu a {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.fixed-top-menu a:hover {
    color: #fcd34d;
}

@keyframes infiniteScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.orange-header {
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 999;
    background: #F59E0B;
    border-bottom: 2px solid #15803D;
    padding: 8px 0;
}

.orange-header .logo {
    font-size: 18px;
    font-weight: 800;
    color: #052e16;
}

.orange-header .head-button {
    font-size: 11px;
    padding: 2px 10px;
    background: #0A3D1F;
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
}

.orange-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.orange-header .logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.orange-header .menu {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.orange-header .menu a,
.orange-header .menu button {
    font-size: 13px;
    font-weight: 600;
    color: #052e16;
    white-space: nowrap;
}

.orange-header .menu a:hover {
    color: #fff;
}

.orange-header .cart-link {
    color: #052e16;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    background: #fcd34d;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.orange-header .cart-link:hover {
    background: #fff;
}

@media (min-width: 1200px) {
    .orange-header .header-inner {
        flex-wrap: nowrap !important;
    }
}

.secondary-menu {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    z-index: 998;
    background: #15803D;
    border-bottom: 1px solid #166534;
    padding: 8px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.secondary-menu a:hover {
    color: #fcd34d;
}

.vertical-sidebar {
    position: fixed;
    top: 136px;
    left: 0;
    width: 280px;
    height: calc(100vh - 136px);
    overflow-y: auto;
    background: linear-gradient(to bottom, #0F2C1E, #0A3D1F);
    border-right: 3px solid #16A34A;
    z-index: 990;
    padding: 16px;
}

.vertical-sidebar h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fcd34d;
    margin-bottom: 12px;
    padding: 0 8px;
}

.sidebar-card {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    color: #e5e7eb;
    margin-bottom: 4px;
    transition: all .25s ease;
    font-size: 14px;
    cursor: pointer;
}

.sidebar-card:hover {
    background: #166534;
    transform: translateX(6px);
    color: #fff;
}

.sidebar-card.active {
    background: #16A34A;
    color: #052e16;
    font-weight: 700;
}

.sidebar-header {
    margin: 14px 0 6px;
    padding: 10px 12px;
    background: rgba(255, 98, 0, .12);
    border-left: 3px solid #FF6200;
    border-radius: 6px;
}

.sidebar-header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

main {
    margin-left: 280px;
    padding-top: 136px;
}

.hero-section {
    position: relative;
    min-height: 45vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 32px;
    transition: background-image .8s ease;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .2));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 800;
}

.hero-content p {
    color: #fcd34d;
    margin-top: 8px;
    font-size: 18px;
}

.banner-dots {
    position: absolute;
    bottom: 16px;
    right: 24px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.banner-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, .4);
    transition: .25s;
}

.banner-dots button.active {
    background: #fbbf24;
}

.banner-fade {
    animation: bannerFade .8s ease;
}

@keyframes bannerFade {
    from {
        opacity: 0;
        transform: scale(1.02);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.section-content {
    padding: 40px 24px;
    animation: sectionFade .4s ease;
}

@keyframes sectionFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content h2 {
    font-size: 34px;
    font-weight: 800;
    color: #fcd34d;
}

.section-content .label {
    margin-top: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4ade80;
}

.section-content .intro {
    color: #d1d5db;
    margin-top: 8px;
    max-width: 720px;
    line-height: 1.65;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.info-card {
    background: #fff;
    color: #111827;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.info-card h4 {
    color: #14532d;
    font-size: 17px;
    margin-bottom: 8px;
}

.info-card p {
    color: #374151;
    font-size: 14px;
}

.sub-menu {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(20, 83, 45, .6);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sub-menu a {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(20, 83, 45, .5);
    color: #fde68a;
    transition: .25s;
}

.sub-menu a:hover {
    background: #fbbf24;
    color: #052e16;
}

.biz-plan {
    margin: 40px 0 64px;
    background: linear-gradient(135deg, rgba(20, 83, 45, .6), #052e16);
    border: 1px solid #15803d;
    border-radius: 16px;
    padding: 28px;
}

.biz-plan-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.biz-plan h3 {
    color: #fcd34d;
    font-size: 24px;
    font-weight: 800;
}

.biz-plan .sub {
    color: #d1d5db;
    margin-top: 4px;
}

.biz-plan .sub b {
    color: #fde68a;
}

.biz-plan .cta {
    background: #fbbf24;
    color: #052e16;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: .25s;
}

.biz-plan .cta:hover {
    background: #fcd34d;
}

.biz-list {
    margin-top: 24px;
    list-style: none;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 0;
}

.biz-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(0, 0, 0, .3);
    border: 1px solid #166534;
    border-radius: 8px;
    padding: 12px;
}

.biz-list .num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fbbf24;
    color: #052e16;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.biz-list span.txt {
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.5;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-box {
    background: #fff;
    color: #111827;
    border-radius: 14px;
    width: 100%;
    max-width: 500px;
    padding: 28px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-box h3 {
    color: #14532d;
    margin-top: 0;
    font-weight: 800;
}

.modal-box label {
    font-weight: 600;
    font-size: 13px;
    color: #374151;
    display: block;
    margin-top: 12px;
}

.modal-box input,
.modal-box textarea,
.modal-box select {
    width: 100%;
    padding: 10px 12px;
    margin-top: 4px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
}

.modal-box .submit-btn {
    margin-top: 18px;
    background: #15803D;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

.modal-box .submit-btn:hover {
    background: #166534;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
}

.close-btn:hover {
    color: #111827;
}

.pcrr-nav {
    position: sticky;
    top: 140px;
    z-index: 100;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.pcrr-section {
    background: #fff;
    color: #111827;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 30px;
}

.pcrr-section h1 {
    color: #14532d;
    font-weight: 800;
}

.pcrr-section p {
    color: #374151;
}

.big-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.big-image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .6) 60%, transparent);
    padding: 20px;
}

.hover-overlay h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.hover-overlay p {
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
}

.chart-wrap {
    position: relative;
    height: 260px;
}

.overlap-card {
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.pcrr-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.site-footer {
    background: #052e16;
    color: #d1d5db;
    padding: 50px 24px 24px;
    margin-top: 60px;
}

.site-footer h4 {
    color: #fcd34d;
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 16px;
}

.site-footer a {
    color: #FFCC80;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer .footer-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 1300px;
    margin: 0 auto;
}

.site-footer .copy {
    max-width: 1300px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid #166534;
    font-size: 13px;
    text-align: center;
    color: #9ca3af;
}

.dispatcher-shell {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    margin-top: 26px;
}

.dispatcher-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,250,235,0.96));
    color: #052e16;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.dispatcher-card#routes {
    min-height: 74vh;
    display: flex;
    flex-direction: column;
}

.dispatcher-slideshow-card {
    margin-top: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,250,235,0.96));
    color: #052e16;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.dispatcher-slideshow-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.dispatcher-slideshow-head h3 {
    margin: 0 0 8px;
    color: #0a3d1f;
}

.dispatcher-slideshow-head p {
    margin: 0;
    color: #1f2937;
    line-height: 1.6;
}

.dispatcher-slide-controls {
    display: flex;
    gap: 8px;
}

.dispatcher-slideshow-stage {
    position: relative;
    min-height: 320px;
    border-radius: 20px;
    overflow: hidden;
    background: #e5f1e0;
}

.dispatcher-slideshow-track {
    position: relative;
    width: 100%;
    min-height: 320px;
}

.dispatcher-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease;
}

.dispatcher-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.dispatcher-slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.dispatcher-slide-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 20px;
    background: linear-gradient(to top, rgba(5, 46, 22, 0.92), rgba(5, 46, 22, 0.38) 70%, transparent);
    color: #fff;
}

.dispatcher-slide-meta h4 {
    margin: 0 0 6px;
    font-size: 24px;
}

.dispatcher-slide-meta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
}

.dispatcher-slideshow-dots {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dispatcher-slideshow-dots button {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: none;
    background: rgba(21, 128, 61, 0.25);
    cursor: pointer;
}

.dispatcher-slideshow-dots button.active {
    background: #FF6200;
}

.dispatcher-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #0a3d1f;
}

.dispatcher-card p {
    margin-top: 0;
    color: #1f2937;
    line-height: 1.7;
}

.dispatcher-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: 18px 0 10px;
}

.dispatcher-stat {
    background: rgba(21, 128, 61, 0.12);
    border-radius: 14px;
    padding: 14px 16px;
}

.dispatcher-stat strong {
    display: block;
    font-size: 24px;
    margin-top: 6px;
}

.dispatcher-card textarea,
#urlList {
    width: 100%;
    min-height: 280px;
    border-radius: 14px;
    border: 1px solid rgba(21, 128, 61, 0.2);
    padding: 16px;
    font-family: 'Inter', monospace;
    font-size: 14px;
    color: #052e16;
    background: #fff;
    resize: vertical;
    display: block;
    box-sizing: border-box;
}

.dispatcher-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.dispatcher-editor-head,
.dispatcher-url-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.dispatcher-editor-head h3,
.dispatcher-url-header h3 {
    margin: 0 0 6px;
    color: #0a3d1f;
}

.dispatcher-editor-head p,
.dispatcher-url-header p {
    margin: 0;
    color: #1f2937;
    line-height: 1.6;
}

.dispatcher-btn {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

.dispatcher-btn:hover {
    transform: translateY(-1px);
}

.dispatcher-btn.primary {
    background: #FF6200;
    color: #fff;
}

.dispatcher-btn.secondary {
    background: #0A3D1F;
    color: #fff;
}

.dispatcher-btn.mini {
    padding: 8px 12px;
    font-size: 13px;
}

.dispatcher-status {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 98, 0, 0.12);
    color: #7c2d12;
    font-weight: 600;
}

.dispatcher-url-list {
    margin-top: 18px;
    display: grid;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(74vh - 210px);
    overflow-y: auto;
    padding-right: 4px;
}

.dispatcher-route-card {
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(21, 128, 61, 0.12);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.dispatcher-route-title {
    font-size: 15px;
    font-weight: 800;
    color: #0a3d1f;
    margin-bottom: 4px;
}

.dispatcher-route-url {
    font-size: 13px;
    color: #1f2937;
    word-break: break-all;
}

.dispatcher-route-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.route-form {
    margin-top: 18px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(21, 128, 61, 0.08);
    border: 1px solid rgba(21, 128, 61, 0.14);
}

.route-form.hidden {
    display: none;
}

.route-form.active {
    display: block;
}

.route-form-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.route-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #14532d;
}

.route-form input {
    border: 1px solid rgba(21, 128, 61, 0.2);
    border-radius: 12px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14px;
    color: #052e16;
    background: #fff;
}

.route-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.dispatcher-note {
    margin-top: 14px;
    color: #14532d;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .vertical-sidebar {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 3px solid #16A34A;
    }

    main {
        margin-left: 0;
        padding-top: 150px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .pcrr-nav {
        top: 0;
        position: relative;
    }

    .dispatcher-shell {
        grid-template-columns: 1fr;
    }

    .dispatcher-card#routes {
        min-height: auto;
    }

    .dispatcher-url-list {
        max-height: 55vh;
    }

    .dispatcher-route-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .dispatcher-route-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .dispatcher-slideshow-stage {
        min-height: 260px;
    }

    .dispatcher-slide img {
        height: 260px;
    }
}
