/* --- Global Reset & Background --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #081c05;
    /* Deep base to prevent white fog */
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        linear-gradient(rgba(8, 28, 5, 0.5), rgba(8, 28, 5, 0.5)),
        url('../assets/kitenge-background.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(2px);
}

/* --- Navigation --- */
.glass-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1300px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    padding: 15px 45px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-group {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #081c05;
    line-height: 1;
}

.tagline {
    font-family: 'Stardos Stencil', system-ui;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #e9ec0f;
    text-shadow: 0px 0px 8px rgba(233, 236, 15, 0.4);
    font-weight: 700;
    margin-top: 4px;
}

.divider {
    color: rgba(8, 28, 5, 0.2);
    font-size: 1.8rem;
    font-weight: 100;
}

.app-name {
    font-weight: 900;
    color: #1a1a1a;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.nav-links a {
    text-decoration: none;
    color: #081c05;
    margin: 0 20px;
    font-size: 1.05rem;
    font-weight: 600;
}

.btn-create {
    background: #cfff04;
    color: #081c05;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

/* --- Hero Layout --- */
.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 120px 5% 40px 5%;
}

.hero-content {
    display: flex;
    gap: 60px;
    width: 100%;
    max-width: 1300px;
    align-items: center;
}

.hero-text-box {
    flex: 1;
}

.badge {
    font-family: 'Stardos Stencil';
    color: #cfff04;
    letter-spacing: 3px;
    font-weight: bold;
}

.hero-text-box h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.8rem;
    color: #fff;
    line-height: 1.1;
    margin: 20px 0;
}

.highlight {
    color: #cfff04;
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    background: #cfff04;
    color: #081c05;
    border: none;
    padding: 18px 40px;
    border-radius: 40px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(207, 255, 4, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 18px 40px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

/* --- Dashboard & Transaction Cards --- */
.hero-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 35px;
}

.dashboard-box {
    flex: 1.2;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.dash-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.6rem;
}

.revenue-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #cfff04;
    border-radius: 50%;
    box-shadow: 0 0 10px #cfff04;
}

.chart-container {
    height: 150px;
    margin: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.transaction-card {
    background: rgba(255, 255, 255, 0.05);
    margin-top: 20px;
}

.trans-head {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

.live-tag {
    color: #ff4b4b;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.line-item {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
}

.total-amount {
    color: #cfff04;
}

.left-glass-panel {
    /* Slightly more transparent than the right side to keep focus on the data */
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    /* More breathing room for the text */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Let's add a subtle hover effect to make it interactive */
.left-glass-panel:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-text-box h1 {
    font-size: 3.8rem;
    /* Adjusted slightly to fit better inside a box */
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    /* Brighter text to pop against the glass */
    max-width: 500px;
}
/* Container sizing */
.chart-container {
    height: 180px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

/* The SVG Path styling */
.sparkline-path {
    stroke: #cfff04;
    /* Our Volt Green */
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;

    /* Animation: This "draws" the line from left to right */
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 4s ease-out forwards;
    filter: drop-shadow(0 0 8px rgba(207, 255, 4, 0.6));
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* The Pulsing Dot at the end of the line */
.pulse-point {
    fill: #cfff04;
    filter: drop-shadow(0 0 10px #cfff04);
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    from {
        r: 4;
        opacity: 0.8;
    }

    to {
        r: 7;
        opacity: 1;
    }
}

/* Stat Pills */
.chart-stats {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 10px;
}

.stat-pill {
    background: rgba(207, 255, 4, 0.1);
    border: 1px solid rgba(207, 255, 4, 0.3);
    color: #cfff04;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}