﻿/* =========================================================
   ROOT / THEME
   ========================================================= */

:root {
    --bg: #ffffff;
    --section-alt: #f5faf7;
    --surface: #ffffff;

    --border: #dfe6e2;
    --border-strong: #b9c5be;

    --text: #17211d;
    --muted: #55625b;

    --green: #0b8060;
    --green-ink: #086b50;
    --on-green: #ffffff;

    --green-tint: #eaf5ef;
    --green-line: #b7dcca;

    --danger: #b3261e;
    --danger-tint: #fdecea;

    --footer-bg: #f3f5f4;

    --radius-card: 6px;
    --radius-control: 6px;

    --font-ui: "Segoe UI", system-ui, -apple-system,
               "Helvetica Neue", Arial, sans-serif;

    --font-brand: "Poppins", "Segoe UI", system-ui, sans-serif;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: var(--font-ui);
    background: var(--bg);
    color: var(--text);

    min-height: 100vh;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: 90%;
    max-width: 1200px;

    margin: 0 auto;
}


/* =========================================================
   HEADER / TOOLBAR
   ========================================================= */

header {
    background: var(--surface);

    border-bottom: 1px solid var(--border);

    box-shadow: none;

    position: sticky;
    top: 0;

    z-index: 100;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

nav {
    display: flex;

    justify-content: space-between;
    align-items: center;

    height: 68px;

    position: relative;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    display: flex;

    align-items: center;

    gap: 1rem;

    max-width: fit-content;

    color: var(--green);

    font-family: var(--font-brand);

    font-size: 30px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.06em;

    text-decoration: none;

    white-space: nowrap;

    background: none;

    -webkit-background-clip: initial;
    background-clip: initial;
}


/* Logo image */

.logo-img-wrapper {
    position: relative;

    display: inline-block;
}

#id_logo_img {
    width: 30px;
    height: 30px;

    display: block;
}


/* Logo text */

.logo-text {
    position: relative;

    display: inline-block;

    margin-top: 0;

    color: var(--green);

    font-family: var(--font-brand);

    font-size: 30px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.06em;
}


/* =========================================================
   LOGO TRADEMARK
   ========================================================= */

.logo-img-wrapper .trademark {
    position: absolute;

    top: -2px;
    right: -11px;

    font-size: 10px;

    color: var(--muted);

    font-weight: 700;

    line-height: 1;
}

.logo-text .trademark {
    position: relative;

    top: -9px;

    right: 5%;

    display: inline-block !important;

    font-size: 10px !important;

    font-weight: 700;

    line-height: 1;

    color: var(--muted);
}


/* =========================================================
   NAVIGATION LINKS
   ========================================================= */

nav ul {
    list-style: none;

    display: flex;

    align-items: center;

    gap: 30px;

    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;

    color: var(--text);

    font-family: var(--font-ui);

    font-weight: 500;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

nav a:hover {
    color: var(--green-ink);
}


/* =========================================================
   TOOLBAR BRAND
   ========================================================= */

.toolbar-brand {
    position: static;

    top: auto;
    left: auto;

    transform: none;

    display: inline-block;

    color: var(--green);

    font-family: var(--font-brand);

    font-size: 30px;

    font-weight: 700;

    letter-spacing: 0.06em;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;
}

.toolbar-brand sup {
   font-size: 10px;
    letter-spacing: 0;
    margin-left: 2px;
    vertical-align: top;
}


/* =========================================================
   HEADER BUTTON
   ========================================================= */

.button {
    position: static;

    top: auto;
    right: auto;

    transform: none;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;

    height: 40px;

    padding: 0 18px;

    border: 1px solid var(--green);

    border-radius: var(--radius-control);

    color: var(--on-green);

    background: var(--green);

    font-family: var(--font-ui);

    font-size: 15px;

    font-weight: 600;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;

    box-shadow: none;
}

.button:hover {
    background: var(--green-ink);

    border-color: var(--green-ink);

    color: var(--on-green);
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.breadcrumb {
    margin-top: 12px;

    font-size: 13px;

    color: var(--muted);
}

.breadcrumb a {
    color: var(--muted);

    text-decoration: none;

    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--green-ink);

    text-decoration: underline;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 0;

    text-align: left;

    background: var(--bg);
}

.hero h1 {
    font-family: var(--font-brand);

    font-size: 1.5rem;

    font-weight: 700;

    color: var(--text);

    margin-bottom: 10px;
}

.hero p {
    color: var(--muted);

    font-size: 1.1rem;

    line-height: 1.6;

    margin-bottom: 10px;
}


.hardware-description{
 color: var(--muted);

    font-size: 1.1rem;

    line-height: 1.6;

    margin-bottom: 10px;
}
/* =========================================================
   SECTION
   ========================================================= */

section {
    margin: 10px 0;
}

.section-title {
    font-family: var(--font-brand);

    font-size: 1.2rem;

    font-weight: 700;

    color: var(--text);

    margin-bottom: 10px;
}


/* =========================================================
   GRID
   ========================================================= */

.grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 18px;
}


/* =========================================================
   CARD
   ========================================================= */

.card {
    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-card);

    overflow: hidden;

    box-shadow:
        0 6px 20px rgba(12, 40, 30, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

    height: 200px;

    display: flex;

    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);

    border-color: var(--green-line);

    box-shadow:
        0 10px 28px rgba(12, 40, 30, 0.08);
}


/* =========================================================
   CARD LINK
   ========================================================= */

.card-link {
    display: block;

    text-decoration: none;

    color: inherit;
}

.card-link:hover {
    text-decoration: none;
}


/* =========================================================
   CARD IMAGE
   ========================================================= */

.card-image {
    height: 50px;

    display: flex;

    align-items: flex-end;

    padding: 2px;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green-ink)
        );
}


/* Card image heading */

.card-image h3 {
    margin: 0;

    margin-left: 2%;

    font-size: 22px;

    font-family: var(--font-brand);

    font-weight: 700;

    color: var(--on-green);

    line-height: 1.2;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.card-content {
    padding: 14px;

    background: var(--surface);

    flex: 1;
}

.card h3 {
    font-family: var(--font-brand);

    font-size: 16px;

    font-weight: 700;
    margin-bottom: 8px;
}

.card p {
    font-family: var(--font-ui);

    font-size: 13px;

    line-height: 1.5;

    color: var(--muted);
}


/* =========================================================
   BADGE
   ========================================================= */

.badge {
    display: inline-flex;

    align-items: center;

    background: var(--green-tint);

    color: var(--green-ink);

    border: 1px solid var(--green-line);

    padding: 5px 12px;

    border-radius: var(--radius-control);

    font-size: 13px;

    font-weight: 600;

    margin-top: 50px;
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.category {
    text-align: left;

    padding: 40px 20px;

    background: var(--surface);
}

.category h3 {
    margin-top: 15px;

    color: var(--text);

    font-family: var(--font-brand);

    font-weight: 700;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.main-content {
    flex: 1;
}


/* =========================================================
   FOOTER
   ========================================================= */

.main-footer {
    margin-top: auto;

    padding: 0.5rem 0;

    background: var(--footer-bg);

    color: var(--muted);

    border-top: 1px solid var(--border);
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    border-top: 1px solid var(--border);

    padding: 12px 0;

    width: 100%;

    text-align: center;

    background: var(--footer-bg);

    color: var(--muted);

    font-size: 0.75em;

    opacity: 1;
}

.footer-bottom p {
    margin: 0;
}


/* =========================================================
   VERSION
   ========================================================= */

#id_version {
    position: absolute;

    font-family: var(--font-ui);

    bottom: 0.5%;

    right: 5%;

    color: var(--muted);

    font-size: 0.75em;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 2px solid var(--green);

    outline-offset: 2px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 30px;
    }

    nav ul {
        display: none;
    }

    .container {
        width: 92%;
    }

    .toolbar-brand {
        font-size: 26px;
    }

    .toolbar-brand sup {
        font-size: 9px;
    }

    .logo {
        font-size: 26px;
    }

    .logo-text {
        font-size: 26px;
    }

    .button {
        min-height: 40px;

        height: 40px;

        padding: 0 16px;

        font-size: 14px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .toolbar-brand {
        font-size: 24px;
    }

    .toolbar-brand sup {
        font-size: 9px;
    }

    .logo {
        font-size: 24px;
    }

    .logo-text {
        font-size: 24px;
    }

    .button {
        min-height: 40px;

        height: 40px;

        padding: 0 12px;

        font-size: 13px;
    }
}

/* =========================
   FOOTER
   ========================= */

footer {
    width: 100%;
    background: var(--footer-bg);
    color: var(--muted);
    padding: 50px 0;
    margin-top: auto;
    border-top: 1px solid var(--border);
    text-align: left;
}

.main-footer {
    width: 100%;
    padding: 20px 0;
    background: var(--footer-bg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 0;
}

.footer-logo,
.footer-heading {
    margin: 0;
    padding: 0;
    color: var(--green);
    background: none;
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 1.4em;
    line-height: 1.2;
}

.footer-heading {
    font-size: 1.2em;
    margin-bottom: 12px;
}

.footer-about {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 5px;

    color: var(--muted);
    font-family: var(--font-ui);
    font-size: 0.8em;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.footer-links i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    color: var(--green);
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--green-ink);
    font-family: var(--font-ui);
    font-size: 0.75em;
    line-height: 1.6;
    text-decoration: none;

    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: var(--green);
    opacity: 0.75;
}

/* Footer bottom */

.footer-bottom {
    width: 100%;
    padding: 12px 0;

    background: var(--footer-bg);
    border-top: 1px solid var(--border);

    color: var(--muted);
    font-family: var(--font-ui);
    font-size: 0.75em;
    text-align: center;

    opacity: 1;
}

.footer-bottom p {
    margin: 0;
}

/* Version */

#id_version {
    position: absolute;
    right: 5%;
    bottom: 0.5%;

    margin: 0;

    color: var(--muted);
    font-family: var(--font-ui);
    font-size: 0.75em;
}


/* =========================
   FOOTER RESPONSIVE
   ========================= */

@media (max-width: 768px) {

    footer {
        padding: 35px 0 20px;
    }

    .main-footer {
        padding: 15px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-logo {
        font-size: 1.3em;
    }

    .footer-heading {
        font-size: 1.1em;
    }

    .footer-about {
        font-size: 0.8em;
    }

    .footer-links a {
        font-size: 0.8em;
    }

    .footer-bottom {
        padding: 10px 0;
        font-size: 0.7em;
    }

    #id_version {
        position: static;
        margin-top: 5px;
        text-align: center;
    }
}

@media (max-width: 380px) {

    footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-logo {
        font-size: 1.2em;
    }

    .footer-heading {
        font-size: 1em;
    }

    .footer-about {
        font-size: 0.75em;
    }

    .footer-links a {
        font-size: 0.75em;
    }

    .footer-bottom {
        font-size: 0.68em;
    }
}
