:root {
    --bg-primary: #050505;
    --bg-purple: #1a0b2e;        
    --accent-pink: #ff007f;      
    --text-white: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 0, 127, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; cursor: auto !important; }

body {
    background-color: var(--bg-primary);
    /* This creates the purple glow at the top that stays fixed while you scroll */
    background: radial-gradient(circle at 50% 0%, var(--bg-purple) 0%, var(--bg-primary) 70%) no-repeat fixed;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    text-align: center;
}

.glass-nav {
    position: fixed; top: 0; width: 100%; padding: 20px 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(5, 5, 5, 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border); z-index: 1000;
}

.nav-brand { font-weight: 900; letter-spacing: 2px; color: var(--accent-pink); }
.nav-status { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--text-dim); }

/* Remove individual backgrounds to let the body purple show through */
.hero, .arsenal-container, .contact-container, .roi-container {
    background: transparent !important;
}

.hero {
    height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
}

.hero h1 { color: var(--accent-pink); font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 900; margin-bottom: 10px; }

.hero-tagline {
    font-weight: 900; color: #FFFFFF; font-size: 1.1rem;
    letter-spacing: 1px; margin: 30px auto; max-width: 700px; line-height: 1.4;
}

.btn-primary {
    margin-top: 30px; display: inline-block; background: var(--accent-pink); color: white;
    padding: 20px 50px; text-decoration: none; font-weight: 900;
    text-transform: uppercase; letter-spacing: 2px; border-radius: 4px; transition: 0.4s;
}

.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 30px var(--accent-pink); }

.arsenal-container { padding: 120px 5%; }

.portfolio-header {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: var(--accent-pink);
    letter-spacing: -2px;
    margin-bottom: 60px;
    text-transform: uppercase;
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff,
         0 0 10px #fff,
         0 0 20px var(--accent-pink),
         0 0 40px var(--accent-pink);
}

.arsenal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }

.glass-card { 
    position: relative; overflow: hidden;
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border); 
    padding: 25px; border-radius: 12px; transition: 0.4s ease; text-align: left;
}

.glass-card:hover { transform: translateY(-10px); border-color: var(--accent-pink); }

.card-img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; background-color: #111; }

.contact-container { padding: 100px 5%; }
.contact-wrapper { max-width: 600px; margin: 0 auto; }
.glass-form { background: rgba(0,0,0,0.5); border: 1px solid var(--glass-border); padding: 40px; border-radius: 12px; }
.form-group { text-align: left; margin-bottom: 20px; }
.form-group label { color: white; font-family: 'Space Mono', monospace; display: block; margin-bottom: 10px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); color: white;
}

.full-width { width: 100%; }

.telemetry-footer { padding: 40px 5%; display: flex; justify-content: space-between; font-family: 'Space Mono', monospace; font-size: 10px; opacity: 0.5; border-top: 1px solid var(--glass-border); }

.roi-container {
    padding: 80px 5%;
    display: flex;
    justify-content: center;
}

.roi-wrapper {
    max-width: 900px;
    width: 100%;
    padding: 50px !important;
}

.roi-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.roi-inputs { text-align: left; }

.roi-result {
    border-left: 1px solid var(--glass-border);
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.leak-label { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--text-dim); letter-spacing: 2px; }

.leak-amount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-pink);
    margin: 20px 0;
    text-shadow: 0 0 20px rgba(255, 0, 127, 0.5);
}

.leak-subtext { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--text-dim); max-width: 250px; margin-bottom: 30px; }

.leak-btn {
    padding: 15px 30px !important;
    font-size: 0.8rem !important;
    background: linear-gradient(90deg, #6200ff, var(--accent-pink));
}

@media (max-width: 768px) {
    .roi-grid { grid-template-columns: 1fr; }
    .roi-result { border-left: none; border-top: 1px solid var(--glass-border); padding: 40px 0 0 0; }
}


/* --- MOBILE REFINEMENT --- */
@media (max-width: 768px) {
    /* 1. Prevent the massive headers from breaking the layout */
    .portfolio-header {
        font-size: clamp(2.5rem, 15vw, 4rem); 
        letter-spacing: -1px;
        margin-bottom: 40px;
        line-height: 1;
    }

    /* 2. Adjust Hero Text for vertical screens */
    .hero h1 {
        font-size: clamp(2rem, 10vw, 3.5rem);
        line-height: 1.1;
    }

    /* 3. ROI Calculator Grid Stack */
    .roi-grid {
        grid-template-columns: 1fr; /* Stack inputs on top of results */
        gap: 30px;
    }

    .roi-result {
        border-left: none;
        border-top: 1px solid var(--glass-border);
        padding-left: 0;
        padding-top: 40px;
    }

    .leak-amount {
        font-size: 3rem; /* Slightly smaller for mobile width */
    }

    /* 4. Ensure cards don't get too skinny */
    .arsenal-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
}
