/*
@file styles.css
@purpose Centralized glassmorphism styling matrix and unified spatial constraints.
@author johnnyappz69@gmail.com
@date_created 2026-09-10
@last_modified 2026-09-10 | 07:54:53
@full_OCF_compliance_verified 2026-09-10 | 07:54:53
*/

:root {
    --sonar-cyan: #00E5FF;
    --pulse-red: #FF3C3C;
    --neon-magenta: #f62682;
    --glass-bg: rgba(0, 0, 0, 0.3);
    --border-glow: rgba(0, 229, 255, 0.4);
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #050505 url('images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    line-height: 1.6;
}

body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    z-index: 100;
    pointer-events: none;
    opacity: 0.2;
}

.container {
    width: 90%;
    max-width: 1100px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

header .logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--sonar-cyan));
    margin-bottom: 1rem;
}

header h1 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: var(--sonar-cyan);
    margin-bottom: 1rem;
}

header p {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.faded-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sonar-cyan), transparent);
    margin: 3rem 0;
    width: 100%;
}

.section-title {
    font-family: monospace;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--sonar-cyan);
    margin: 0 0 2rem 0;
    text-align: center;
}

.featured-card {
    background-color: rgba(0, 0, 0, 0.6);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--sonar-cyan);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
    overflow: hidden;
}

.coretextreme-card {
    aspect-ratio: 1 / 1;
    width: 50%;
    margin: 0 auto 2rem auto;
    padding: 0 !important;
    background-size: 100% 100% !important;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coretextreme-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.3);
}

.featured-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
}

.featured-info img.featured-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.3));
}

.featured-info p {
    font-size: 1.1rem;
    color: #e0e0e0;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-family: monospace;
}

.btn-link {
    display: inline-block;
    background: var(--sonar-cyan);
    color: #000;
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: monospace;
    transition: 0.3s ease;
}

.btn-link:hover {
    box-shadow: 0 0 25px var(--sonar-cyan);
    transform: translateY(-3px);
    background: #fff;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    padding-top: 1rem;
}

.app-item {
    text-decoration: none;
    background: rgba(255,255,255,0.03);
    padding: 2rem 1rem;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-item:hover {
    border-color: var(--neon-magenta);
    background: rgba(255,255,255,0.06);
    transform: translateY(-5px);
}

.app-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    filter: grayscale(0.5);
    transition: 0.3s;
}

.app-item:hover img {
    filter: grayscale(0);
    box-shadow: 0 0 15px var(--neon-magenta);
}

.app-item span {
    display: block;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

footer {
    margin-top: 4rem;
    opacity: 0.6;
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

footer a {
    color: var(--sonar-cyan);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.privacy-policy {
    text-align: left;
}

.privacy-policy h2 {
    color: var(--sonar-cyan);
    font-size: 1.1rem;
    margin-top: 30px;
    text-transform: uppercase;
}

.privacy-policy h3 {
    color: var(--sonar-cyan);
    font-size: 1.0rem;
    margin-top: 20px;
}

.privacy-policy p, .privacy-policy li {
    font-size: 0.9rem;
    color: #b0eef5;
}

.privacy-policy a {
    color: var(--sonar-cyan);
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    .featured-card {
        padding: 3rem 1.5rem;
    }
    header h1 {
        font-size: 1rem;
        letter-spacing: 5px;
    }
    .featured-info img.featured-logo {
        max-width: 200px;
    }
    .featured-info p {
        font-size: 0.9rem;
    }
    .btn-link {
        padding: 1rem 1.5rem;
        font-size: 0.8rem;
    }
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}