/* ========================================
   MTIMER — SHARED STYLES
======================================== */


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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: var(--bg);
    color: var(--text);

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================
   VARIABLES
========================= */

:root {
    --bg: #070a0f;
    --bg2: #0b1017;

    --panel: #10161e;
    --panel2: #0d131a;

    --line: rgba(255, 255, 255, 0.08);

    --text: #f4f7fa;
    --muted: #9aa5b1;
    --muted2: #6f7b87;

    --accent: #ff6a00;
    --accent2: #ff8a22;

    --max: 1120px;
}


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

.container {
    width: min(
        var(--max),
        calc(100% - 40px)
    );

    margin: 0 auto;
}


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

header {
    height: 74px;

    position: sticky;
    top: 0;

    z-index: 100;

    background:
        rgba(7, 10, 15, 0.88);

    backdrop-filter: blur(14px);

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

.header-inner {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 21px;

    font-weight: 800;

    letter-spacing: -0.7px;
}

.logo span {
    color: var(--accent);
}


/* MAIN NAVIGATION */

nav {
    display: flex;

    align-items: center;

    gap: 30px;

    color: var(--muted);

    font-size: 14px;
}

nav a {
    transition:
        color 0.2s ease;
}

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


/* BACK LINK */

.back-link {
    color: var(--muted);

    font-size: 14px;

    transition:
        color 0.2s ease;
}

.back-link:hover {
    color: var(--text);
}


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

.hero {
    min-height: 720px;

    display: flex;
    align-items: center;

    position: relative;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    right: -120px;
    top: 50%;

    transform:
        translateY(-50%);

    background: var(--accent);

    opacity: 0.07;

    filter: blur(150px);

    border-radius: 50%;

    pointer-events: none;
}

.hero-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;

    position: relative;

    z-index: 1;
}

.eyebrow {
    margin-bottom: 22px;

    color: var(--accent2);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

h1 {
    max-width: 650px;

    margin-bottom: 28px;

    font-size:
        clamp(48px, 6vw, 76px);

    line-height: 0.98;

    letter-spacing: -3px;
}

h1 span {
    color: var(--accent);
}

.hero-text {
    max-width: 540px;

    margin-bottom: 34px;

    color: var(--muted);

    font-size: 19px;
}

.buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.button {
    min-height: 48px;

    padding: 0 23px;

    display: inline-flex;

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

    border-radius: 10px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.button-primary {
    background: var(--accent);

    color: #ffffff;
}

.button-primary:hover {
    background: var(--accent2);

    transform:
        translateY(-2px);
}

.button-secondary {
    border:
        1px solid var(--line);

    background:
        rgba(255, 255, 255, 0.03);
}

.button-secondary:hover {
    background:
        rgba(255, 255, 255, 0.07);
}

.hero-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 10px 18px;

    margin-top: 24px;

    color: var(--muted);

    font-size: 13px;
}


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

.timer-stage {
    min-height: 420px;

    display: flex;

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

    position: relative;
}

.timer-glow {
    position: absolute;

    width: 330px;
    height: 180px;

    background: var(--accent);

    opacity: 0.14;

    filter: blur(80px);

    border-radius: 50%;
}

.timer-display-area {
    width: 430px;
    height: 260px;

    position: relative;

    display: flex;

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

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    border-radius: 22px;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 106, 0, 0.06),
            transparent 65%
        ),
        rgba(255, 255, 255, 0.015);

    box-shadow:
        0 35px 90px
        rgba(0, 0, 0, 0.35),

        inset 0 1px
        rgba(255, 255, 255, 0.03);
}

.timer-display-area::before {
    content: "";

    position: absolute;

    width: 80px;
    height: 3px;

    top: 22px;
    left: 50%;

    transform:
        translateX(-50%);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.08);
}

.timer-screenshot {
    width: 150px;
    height: 50px;

    position: relative;

    flex-shrink: 0;
}

.timer-screenshot img {
    width: 150px;
    height: 50px;

    object-fit: contain;

    border-radius: 5px;

    box-shadow:
        0 18px 40px
        rgba(0, 0, 0, 0.55),

        0 0 35px
        rgba(255, 106, 0, 0.12);
}

.timer-caption {
    position: absolute;

    bottom: 22px;

    left: 0;
    right: 0;

    text-align: center;

    color: var(--muted2);

    font-size: 11px;

    letter-spacing: 0.8px;

    text-transform: uppercase;
}


/* ========================================================
   FEATURES
======================================================== */

.features {
    padding: 110px 0;

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

.section-heading {
    max-width: 650px;

    margin-bottom: 55px;
}

.section-heading h2 {
    margin-bottom: 15px;

    font-size: 42px;

    line-height: 1.05;

    letter-spacing: -1.5px;
}

.section-heading p {
    color: var(--muted);

    font-size: 17px;
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.feature {
    padding: 28px;

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

    border-radius: 16px;

    background: var(--panel);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

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

    border-color:
        rgba(255, 106, 0, 0.25);
}

.feature-icon {
    width: 42px;
    height: 42px;

    margin-bottom: 22px;

    display: flex;

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

    border-radius: 10px;

    background:
        rgba(255, 106, 0, 0.10);

    color: var(--accent);

    font-size: 18px;
}

.feature h3 {
    margin-bottom: 9px;

    font-size: 17px;
}

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

    font-size: 14px;
}


/* ========================================================
   SCREENSHOTS
======================================================== */

.screenshots {
    padding: 110px 0;

    background: var(--bg2);

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

.showcase {
    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    gap: 22px;

    margin-top: 55px;
}

.shot {
    overflow: hidden;

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

    border-radius: 18px;

    background: var(--panel2);
}


/* MAIN SCREENSHOT */

.shot.large {
    min-height: 430px;

    padding: 25px;

    display: flex;

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

.shot.large img {
    width: 100%;
    height: auto;

    max-height: 380px;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.45);
}


/* SMALL SCREENSHOTS */

.right-shots {
    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 22px;
}

.shot.small {
    min-height: 190px;

    padding: 30px;

    display: flex;

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

.shot.small img {
    width: auto;
    height: auto;

    max-width: 100%;

    display: block;

    border-radius: 6px;

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.45),

        0 0 30px
        rgba(255, 106, 0, 0.08);
}


/* ========================================================
   SIMPLE SECTION
======================================================== */

.simple {
    padding: 120px 0;
}

.simple-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 100px;

    align-items: center;
}

.simple h2 {
    margin-bottom: 22px;

    font-size: 44px;

    line-height: 1.05;

    letter-spacing: -1.5px;
}

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

    font-size: 17px;
}


/* ========================================================
   MINI UI
======================================================== */

.mini-ui {
    padding: 25px 30px;

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

    border-radius: 18px;

    background: var(--panel);

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.25);
}

.mini-row {
    min-height: 65px;

    display: flex;

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

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

.mini-row:last-child {
    border-bottom: none;
}

.mini-label {
    color: var(--text);

    font-size: 14px;
}

.mini-description {
    margin-top: 3px;

    color: var(--muted2);

    font-size: 12px;
}

.mini-status {
    color: var(--accent2);

    font-size: 13px;

    font-weight: 600;
}


/* ========================================================
   DOWNLOAD
======================================================== */

.download {
    padding: 120px 0;

    text-align: center;

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

    position: relative;

    overflow: hidden;
}

.download::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 300px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    background: var(--accent);

    opacity: 0.08;

    filter: blur(120px);

    border-radius: 50%;
}

.download-content {
    position: relative;

    z-index: 1;
}

.download h2 {
    margin-bottom: 18px;

    font-size: 52px;

    letter-spacing: -2px;
}

.download p {
    max-width: 600px;

    margin:
        0 auto 32px;

    color: var(--muted);
}


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

footer {
    padding: 30px 0;

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

    color: var(--muted);

    font-size: 13px;
}

.footer-inner {
    min-height: 80px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* COPYRIGHT */

.footer-copyright {
    color: var(--muted);
}


/* GITHUB + PATREON */

.footer-social {
    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    display: flex;

    align-items: center;

    gap: 22px;
}

.footer-social a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--muted);

    transition:
        color 0.2s ease;
}

.footer-social a:hover {
    color: var(--text);
}


/* SEPARATOR */

.footer-social-separator {
    color: var(--muted2);

    font-size: 13px;
}


/* PATREON */

.patreon-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;
}

.patreon-icon {
    width: 17px;
    height: 17px;

    fill: currentColor;

    flex-shrink: 0;
}


/* LEGAL LINKS */

.footer-legal {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 5px;
}

.footer-legal a {
    color: var(--muted2);

    transition:
        color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--text);
}


/* ========================================================
   LEGAL PAGES
======================================================== */

.legal-page {
    max-width: 900px;

    margin: 0 auto;

    padding:
        90px 0 120px;
}

.legal-header {
    margin-bottom: 55px;
}

.legal-eyebrow {
    margin-bottom: 18px;

    color: var(--accent2);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.legal-header h1 {
    margin-bottom: 18px;

    font-size:
        clamp(42px, 6vw, 64px);

    line-height: 1;

    letter-spacing: -2.5px;
}

.legal-updated {
    color: var(--muted2);

    font-size: 13px;
}

.legal-content {
    padding: 40px;

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

    border-radius: 18px;

    background: var(--panel);
}

.legal-content h2 {
    margin-top: 38px;

    margin-bottom: 14px;

    font-size: 23px;

    line-height: 1.2;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 16px;

    color: var(--muted);

    font-size: 16px;
}

.legal-content ul {
    margin:
        0 0 18px 22px;

    color: var(--muted);
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--text);
}


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

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .hero {
        padding: 80px 0;
    }

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

        gap: 60px;
    }

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

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

        gap: 50px;
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .container {
        width:
            calc(100% - 28px);
    }


    /* HERO */

    h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .hero-text {
        font-size: 17px;
    }


    /* FEATURES */

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

    .hero-meta {
        gap: 8px 14px;
    }


    /* TIMER */

    .timer-display-area {
        width: 100%;

        height: 220px;
    }


    /* HEADINGS */

    .section-heading h2 {
        font-size: 36px;
    }

    .simple h2 {
        font-size: 38px;
    }

    .download h2 {
        font-size: 40px;
    }


    /* FOOTER */

    .footer-inner {
        min-height: auto;

        flex-direction: column;

        gap: 22px;

        text-align: center;
    }

    .footer-copyright {
        order: 1;
    }

    .footer-social {
        position: static;

        transform: none;

        order: 2;
    }

    .footer-legal {
        order: 3;

        align-items: center;
    }


    /* SCREENSHOTS */

    .shot.large {
        min-height: 280px;

        padding: 15px;
    }

    .shot.small {
        min-height: 150px;

        padding: 20px;
    }


    /* LEGAL PAGES */

    .legal-page {
        padding:
            60px 0 80px;
    }

    .legal-content {
        padding:
            25px 20px;
    }

    .legal-header h1 {
        font-size: 44px;
    }

}