@theme {
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --color-brand: #1d4ed8;
    --color-brand-light: #3b82f6;
    --color-dark: #07101f;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── CANVAS PARTICLE BG ── */
#particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ── GRADIENT OVERLAY ── */
.left-panel {
    background: linear-gradient(145deg, #07101f 0%, #0d1f3c 40%, #0a1628 100%);
    position: relative;
    overflow: hidden;
}

/* ── GLOW ORBS ── */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

/* ── FLOATING LABEL INPUT ── */
.fl-wrap {
    position: relative;
}

.fl-wrap input {
    width: 100%;
    height: 58px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 16px 8px 44px;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.fl-wrap input::placeholder {
    color: transparent;
}

.fl-wrap label {
    position: absolute;
    left: 44px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13.5px;
    font-weight: 500;
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.fl-wrap input:focus,
.fl-wrap input:not(:placeholder-shown) {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.fl-wrap input:focus~label,
.fl-wrap input:not(:placeholder-shown)~label {
    top: 9px;
    transform: translateY(0) scale(0.80);
    color: #3b82f6;
    font-weight: 600;
}

.fl-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #cbd5e1;
    font-size: 13px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.2s;
}

.fl-wrap:focus-within .fl-icon {
    color: #3b82f6;
}

/* ── SHIMMER BUTTON ── */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.btn-shimmer {
    background: linear-gradient(270deg, #1e3a8a, #2563eb, #38bdf8, #2563eb, #1e3a8a);
    background-size: 300% 100%;
    animation: shimmer 5s linear infinite;
    border: none;
    cursor: pointer;
}

.btn-shimmer:hover {
    animation: shimmer 2.5s linear infinite;
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45);
}

.btn-shimmer:active {
    transform: translateY(0);
}

/* ── TAB TRANSITION ── */
.tab-pane {
    display: none;
    animation: tabIn 0.35s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes tabIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── SEG CONTROL ── */
.seg-bar {
    background: #f1f5f9;
    border-radius: 14px;
    padding: 4px;
    display: flex;
    gap: 0;
}

.seg-btn {
    flex: 1;
    border: none;
    background: transparent;
    border-radius: 11px;
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #64748b;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    letter-spacing: 0.01em;
}

.seg-btn.active {
    background: #fff;
    color: #1e3a8a;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.07);
}

/* ── RIGHT PANEL SCROLL ── */
.right-scroll {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.right-scroll::-webkit-scrollbar {
    display: none;
}

/* ── ANIMATIONS ── */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drawPath {
    from {
        stroke-dashoffset: 1000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulse-node {

    0%,
    100% {
        r: 4;
        opacity: 0.5;
    }

    50% {
        r: 6;
        opacity: 1;
    }
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.15);
    }
}


.anim-up {
    animation: fadeSlideUp 0.65s ease both;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.35s;
}

.delay-4 {
    animation-delay: 0.5s;
}

.delay-5 {
    animation-delay: 0.65s;
}

.svg-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.svg-path-d2 {
    animation-delay: 0.2s;
}

.svg-path-d3 {
    animation-delay: 0.45s;
}

.svg-path-d4 {
    animation-delay: 0.65s;
}

.svg-path-d5 {
    animation-delay: 0.85s;
}

.svg-path-d6 {
    animation-delay: 1.1s;
}

.svg-path-d7 {
    animation-delay: 1.3s;
}

.float-slow {
    animation: float-slow 4s ease-in-out infinite;
}

.float-slow-2 {
    animation: float-slow 5.5s ease-in-out infinite 1s;
}

.glow-pulse-anim {
    animation: glow-pulse 2.5s ease-in-out infinite;
}

.glow-pulse-anim-2 {
    animation: glow-pulse 3.5s ease-in-out infinite 1.2s;
}

/* ── BADGE PILL ── */
.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 10.5px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.badge-tech .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    animation: glow-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Stat card in left panel */
.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

/* Trust divider */
.divider-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
}

.divider-line::before,
.divider-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* Error input */
.fl-wrap.has-error input {
    border-color: #ef4444;
    background: #fff5f5;
}

.fl-wrap.has-error input:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

/* Checkbox modern */
input[type="checkbox"] {
    accent-color: #2563eb;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    cursor: pointer;
}

/* Logo img in right panel */
.logo-wrap img {
    max-height: 32px;
    width: auto;
}

/* CAD annotation mono */
.cad {
    font-family: 'JetBrains Mono', monospace;
}

/* Password show/hide toggle */
.pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    font-size: 13px;
    z-index: 3;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.pw-toggle:hover {
    color: #3b82f6;
}

/* Input with pw toggle → shrink right padding */
.fl-wrap.has-toggle input {
    padding-right: 42px;
}