/* SIYLIS DESIGN SYSTEM v2.0 - DIGITAL FOREST TERMINAL */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    /* PALETTE */
    --void-black: #0a1a2a;
    --deep-forest: #0d2b3a;
    --abyss: #050f16;
    
    --cyan: #00e5c8;
    --cyan-dim: rgba(0, 229, 200, 0.1);
    --gold: #d4af37;
    --red: #ff3366;
    --blue: #4d9fff;
    --text-main: #e0f0f5;
    --text-muted: #8aaab5;

    /* FONTS */
    --font-header: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* COMPONENT TOKENS */
    --glass-bg: rgba(10, 26, 42, 0.85);
    --glass-border: 1px solid rgba(0, 229, 200, 0.3);
    --panel-radius: 4px; /* Slight round, mostly sharp */
    
    /* EFFECTS */
    --glow-text: 0 0 8px rgba(0, 229, 200, 0.4);
    --glow-box: 0 0 15px rgba(0, 229, 200, 0.15);
    --scanline: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
}

/* GLOBAL RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--void-black);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 229, 200, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 20%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cyan);
    margin-bottom: 1rem;
    text-shadow: var(--glow-text);
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2rem; color: var(--text-main); border-bottom: 1px solid var(--cyan-dim); padding-bottom: 0.5rem; display: inline-block; }
h3 { font-size: 1.5rem; color: var(--gold); }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px dotted var(--cyan);
}

a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* UTILITIES */
.text-cyan { color: var(--cyan) !important; }
.text-gold { color: var(--gold) !important; }
.text-red { color: var(--red) !important; }
.font-tech { font-family: var(--font-header); }
.uppercase { text-transform: uppercase; }

/* COMPONENTS */

/* 1. THE CONTAINER (Glass Slate) */
.slate-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: var(--panel-radius);
    padding: 2rem;
    box-shadow: var(--glow-box);
    position: relative;
    overflow: hidden;
}

/* Decorative corner brackets */
.slate-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 20px; height: 20px;
    border-top: 2px solid var(--cyan);
    border-left: 2px solid var(--cyan);
    pointer-events: none;
}
.slate-container::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 20px; height: 20px;
    border-bottom: 2px solid var(--cyan);
    border-right: 2px solid var(--cyan);
    pointer-events: none;
}

/* 2. BUTTONS (Cut Corner Tech) */
.btn-tech {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-header);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    clip-path: polygon(
        10px 0, 100% 0, 
        100% calc(100% - 10px), calc(100% - 10px) 100%, 
        0 100%, 0 10px
    );
    position: relative;
}

.btn-tech:hover {
    background: var(--cyan);
    color: var(--void-black);
    box-shadow: 0 0 20px var(--cyan);
    text-shadow: none;
}

.btn-tech.primary {
    background: rgba(0, 229, 200, 0.1);
}

.btn-tech.secondary {
    border-color: var(--gold);
    color: var(--gold);
}
.btn-tech.secondary:hover {
    background: var(--gold);
    color: var(--void-black);
    box-shadow: 0 0 20px var(--gold);
}

/* 3. INPUTS */
.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-tech {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-bottom: 2px solid var(--deep-forest);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-tech:focus {
    outline: none;
    background: rgba(0, 229, 200, 0.05);
    border-bottom-color: var(--cyan);
    box-shadow: 0 4px 10px -4px rgba(0, 229, 200, 0.3);
}

.label-tech {
    position: absolute;
    top: -0.6rem;
    left: 0;
    font-family: var(--font-header);
    font-size: 0.8rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* 4. LAYOUTS */
.layout-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 5. SCANLINE OVERLAY */
.scanlines {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--scanline);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

/* 6. LOGO / BRANDING */
.brand-mark {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 2rem;
    color: var(--text-main);
    letter-spacing: 0.2em;
    border: 2px solid var(--text-main);
    padding: 0.2rem 1rem;
    display: inline-block;
}
.brand-mark span { color: var(--cyan); }

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .slate-container { padding: 1.5rem; }
}
