:root {
    --bg-dark: #050505;
    --grey-100: #1a1a1a;
    --grey-200: #252525;
    --primary-blue: #0066FF;
    --accent-gold: #D4AF37;
    --text-main: #FFFFFF;
    --text-dim: rgba(255, 255, 255, 0.6);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* Managed by custom cursor */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
}

/* --- CUSTOM CURSOR (METALLIC TORX) --- */
#custom-cursor {
    position: fixed;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='metal' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23888;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23222;stop-opacity:1' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M50 0 L60 30 L90 20 L75 50 L90 80 L60 70 L50 100 L40 70 L10 80 L25 50 L10 20 L40 30 Z' fill='url(%23metal)' stroke='%23444' stroke-width='2'/%3E%3Ccircle cx='50' cy='50' r='10' fill='%23666'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10000;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

#cursor-border {
    position: fixed;
    width: 60px;
    height: 60px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
}

/* --- MESH BACKGROUND (DARK) --- */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.02;
    pointer-events: none;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
}

/* --- LOGO & HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    margin-left: 40px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
}

.hero h1 {
    font-size: clamp(4rem, 14vw, 13rem);
    font-weight: 900;
    letter-spacing: -5px;
    line-height: 0.85;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(10px, 2vw, 14px);
    letter-spacing: 10px;
    color: var(--primary-blue);
    margin-top: 20px;
}

/* --- BENTO SECTION --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    padding: 100px 8%;
}

.bento-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

/* --- DIAGONAL SECTIONS --- */
.diagonal-section {
    position: relative;
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

.diagonal-left {
    flex: 1.2;
    padding: 15vh 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.diagonal-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.service-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 40px;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.problem-item h3 {
    font-size: 14px;
    color: var(--primary-blue);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 10px;
}

.problem-item p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.hardware-visual {
    width: 140%;
    position: absolute;
    left: 40%;
    transition: transform 0.1s ease-out;
    filter: drop-shadow(0 50px 100px rgba(0,0,0,0.8));
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 100px;
    border: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.4);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .diagonal-section { flex-direction: column; }
    .diagonal-right { min-height: 50vh; }
    .hardware-visual { width: 100%; left: 0; position: relative; }
    .problem-grid { grid-template-columns: 1fr; }
}
