@font-face {
    font-family: 'Mokoto';
    src: url('/static/font/Mokoto.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    letter-spacing: 5px !important;
}
@font-face {
    font-family: 'Material Symbols Outlined';
    src: url('/static/font/MaterialSymbolsOutlined[FILL\,GRAD\,opsz\,wght].ttf') format('truetype');
}

.mokoto-text {
    font-family: 'Mokoto', sans-serif;
    font-size: 18px !important;
    letter-spacing: 4px !important;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: 800;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;

    /* Variable font settings */
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 48;
}

:root {
    --bg-900: #0b0f17;
    --bg-800: #0f1724;
    --glass: rgba(255, 255, 255, 0.04);
    --accent: #00f5ff;
    --accent-2: #6b6bff;
    --pink: #2563eb;
    --muted: #9aa4b2;
    --card: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --radius-lg: 18px;
}

body {
    margin: 0;
    font-family: Inter, 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(0, 245, 255, 0.06), transparent),
        linear-gradient(180deg, var(--bg-900), var(--bg-800));
    color: #e6eef8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a:hover {
    color: white;
    transition: color 0.4s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

.topbar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1200;
    backdrop-filter: blur(6px);
    background: linear-gradient(180deg, rgba(10, 14, 20, 0.25), rgba(10, 14, 20, 0.06));
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.topbar .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
}

.topbar {
    transition: transform 0.8s ease-in-out;
}

.topbar.hide {
    transform: translateY(-100%);
}
.brand {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: inherit
}

.brand img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover
}

.brand h4 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: 0.2px
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    font-weight: 600
}

.btn--ghost {
    background: transparent
}

.btn--ghost, .small-cta:hover {
    background: var(--card);
    transition: background 0.4s ease
}

.btn--primary {
    background: linear-gradient(90deg, var(--accent), var(--pink));
    color: #041025;
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.06);
    border: none
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 30px;
    position: relative;
    overflow: hidden
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 48px;
    align-items: center
}

.hero-left h1 {
    width: 90%;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.02;
    margin: 0;
    background: linear-gradient(90deg, var(--accent), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.hero-left p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-top: 18px;
    max-width: 70%
}

.hero-cta {
    margin-top: 28px;
    display: flex;
    gap: 14px
}

.small-cta {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: transparent
}

.card-visual {
    position: relative;
    border-radius: 16px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    box-shadow: 0 30px 80px rgba(5, 6, 15, 0.6);
    backdrop-filter: blur(6px);
    overflow: hidden;
    z-index: 1;
}

/* Animated border */
.card-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    /* border thickness */
    border-radius: 18px;
    background: linear-gradient(90deg, var(--accent), var(--pink), var(--accent));
    background-size: 300% 300%;
    animation: flowingBorder 5s ease infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

/* Animation */
@keyframes flowingBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.card-visual .mock {
    height: 360px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.06), rgba(255, 78, 205, 0.04));
    display: flex;
    flex-direction: column;
    padding: 18px;
    gap: 12px
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.kpi {
    display: flex;
    flex-direction: column
}

.kpi .num {
    font-weight: 700;
    font-size: 1.45rem
}

.kpi .lbl {
    font-size: 0.85rem;
    color: var(--muted)
}

.mock-chart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center
}

/* Floating orbs and lines */
.orb-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.7
}

.orb-a {
    width: 420px;
    height: 420px;
    right: -120px;
    top: -80px;
    background: linear-gradient(135deg, var(--accent), transparent)
}

.orb-b {
    width: 300px;
    height: 300px;
    left: -120px;
    bottom: -80px;
    background: linear-gradient(135deg, var(--pink), transparent)
}

.lines {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.lines svg {
    width: 100%;
    height: 100%
}

/* Features */
.features {
    padding: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.feature {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    gap: 18px;
    align-items: flex-start
}

.feature .icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(0, 245, 255, 0.06), rgba(255, 78, 205, 0.04));
    font-weight: 700
}

.feature h3 {
    margin: 0;
    font-size: 1.05rem
}

.feature p {
    margin: 6px 0 0;
    color: var(--muted)
}

/* Support options */
.support-row {
    display: flex;
    gap: 18px;
    margin-top: 28px
}

.support-card {
    flex: 1;
    padding: 18px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.02)
}

.support-card h4 {
    margin: 0
}

.support-card p {
    color: var(--muted);
    font-size: 0.95rem
}

.support-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px
}

.btn-ghost {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: transparent
}

/* CTA strip */
.cta-strip {
    margin-top: 48px;
    padding: 28px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(0, 245, 255, 0.06), rgba(255, 78, 205, 0.03));
    display: flex;
    align-items: center;
    justify-content: space-between
}

.cta-strip h3 {
    margin: 0
}


/* Footer */
.footer {
    padding: 36px 10px;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    margin-top: 40px;

}

.foo-container {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
    align-items: center;

}

.foo-container .foo-links {
    display: flex;
    gap: 12px;
}

/* Small screens */
@media (max-width: 980px) {
    .container{
        width:100%;
    }

    .topbar .nav-inner {
        padding: 0px;
    }

    .features-grid {
        grid-template-columns: 1fr
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 120px;
    }

    .hero-left p {
        max-width: 100%
    }

    .card-visual {
        order: 2
    }

    .features-grid {
        grid-template-columns: 1fr
    }

    .foo-container {
        flex-direction: column;
        align-items: start;
    }

    .foo-container .foo-links {
        flex-direction: column;
        padding: 0 50px;
        text-align: left;
        display: flex;
        gap: 12px;
    }

    .foo-container .foo-links a {
        text-align: left;
    }

    .support-row {
        flex-direction: column;
    }
}
@media (max-width:1098px){
        .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 120px;
    }
}
@media (max-width: 640px) {
    .topbar .nav-inner {
        padding: 0 20px;
    }

    .features-grid {
        grid-template-columns: 1fr
    }

    .nav-actions {
        gap: 8px
    }

    /* .brand h4 {
        display: none
    } */

    .hero {
        padding-top: 150px
    }

    .hero-left h1 {
        font-size: 2rem
    }

    .cta-strip {
        display: block;
        text-align: center;
    }

    .cta-strip .btn {
        margin: 30px;
    }

    .support-row {
        flex-direction: column;
    }

    .foo-container {
        flex-direction: cloumn;
    }
}

/* subtle entrance */
.fade-up {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp .8s ease forwards
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none
    }
}

/* utility */
.flex {
    display: flex
}

.center {
    align-items: center
}

.space-between {
    justify-content: space-between
}


/* Hide mobile button on desktop */
.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

/* MOBILE MENU BASE STYLE */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(10, 14, 20, 0.85);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;

    /* slide animation */
    max-height: 0;
    transition: max-height 0.35s ease;
}

.mobile-menu.open {
    display: flex;
    max-height: 200px; /* enough height for 2 items */
}

.mobile-menu a {
    padding: 16px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}
/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 468px) {

    .desktop-menu {
        display: none !important;
    }

    .menu-btn {
        display: block;
    }

    .nav-inner {
        padding: 16px;
    }

    .brand img {
        width: 60px;
        height: 60px;
    }

    .brand h4 {
        font-size: 16px;
    }
    .social-handles{
        flex-direction: column;
        text-align: center;
    }
}

.social-handles{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);

}



/* message container fixed top-right */
.dj-messages {
    position: fixed;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    z-index: 2000;
    max-width: 360px;
    width: calc(100% - 2rem);
    pointer-events: none;
}

/* each message box */
.dj-message {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem 1rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    color: #071227;
    background: #f3f4f6;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    font-size: .95rem;
    line-height: 1.2;
    transition: transform .18s ease, opacity .18s ease;
    opacity: 1;
    animation: fadeInOut 5s ease forwards;
}

.dj-message.info {
    background: #e6f0ff;
    color: #05346d;
}

.dj-message.success {
    background: #e6ffef;
    color: #0a5b2b;
}

.dj-message.warning {
    background: #fff8e6;
    color: #704b00;
}

.dj-message.error {
    background: #ffebe9;
    color: #6d0f00;
}

.dj-close {
    background: transparent;
    border: 0;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: .15rem .25rem;
    border-radius: .25rem;
    color: inherit;
    opacity: .8;
}

.dj-close:focus {
    outline: 2px solid rgba(0, 0, 0, .12);
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    80% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.dj-hidden {
    transform: translateX(18px);
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .dj-messages {
        left: 1rem;
        right: 1rem;
        top: 0.8rem;
        max-width: none;
        width: calc(100% - 2rem);
    }

    .dj-message {
        font-size: .98rem;
    }

    .dashboard-container {
    display: block;
    }
}
