/* =========================================================
   OnPoint — Global Stylesheet
   ========================================================= */

body {
    background: #1c1c1c;
    margin: 0;
    padding: 60px 40px;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.title-container {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
    margin-left: -15px;
}

.site-logo {
    height: 64px;
    width: auto;
    position: absolute;
    right: -70px;
}

.site-title {
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ff9966, #4CAF50);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-subtitle {
    color: #666;
    font-size: 18px;
}

/* ── Grid ────────────────────────────────────────────────── */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    padding-left: 20px;
    background: #2a2a2a;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 60px;
    border-left: 4px solid transparent;
    transition: transform 0.2s, background 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    background: #333;
}

.card.desktop  { border-left-color: #ff5252; }
.card.extension { border-left-color: #4285f4; }
.card.web      { border-left-color: #34a853; }

/* ── Tags ────────────────────────────────────────────────── */
.tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 6px;
    display: inline-block;
}

.tag.desktop   { background: rgba(255, 82, 82, 0.1);  color: #ff5252; }
.tag.extension { background: rgba(66, 133, 244, 0.1); color: #4285f4; }
.tag.web       { background: rgba(52, 168, 83, 0.1);  color: #34a853; }

.ubif-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(255, 82, 82, 0.1);
    color: #ff5252;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    margin-top: 40px;
    text-align: center;
    color: #666;
}

.footer-text {
    font-size: 15px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
}

.footer-email {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links-secondary {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.footer-links-secondary a {
    color: #666;
    text-decoration: none;
}

.footer-links-secondary a:hover {
    color: #fff;
}

.footer-privacy {
    color: #444;
    text-decoration: none;
    font-size: 13px;
}

.footer-privacy:hover {
    color: #666;
}

/* ── Top Navigation ──────────────────────────────────────── */
.top-links {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 20px;
}

.website-link {
    color: #999;
    text-decoration: none;
    font-size: 15px;
}

.email-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #999;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.email-notification:hover {
    color: #fff;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid { grid-template-columns: 1fr; }
}
