/* =========================================================
   QUICKTRACK — FUTURISTIC FREELANCER WORKSPACE
   File: css/index.css
   Theme: Red / Black / White
   Fonts: Orbitron + Space Grotesk
   Responsive: Mobile, Tablet, Laptop, Desktop, 4K
   Compatible with the existing index.js
========================================================= */


/* =========================================================
   1. DESIGN SYSTEM
========================================================= */

:root {
    color-scheme: dark;

    --bg: #070707;
    --bg-secondary: #0c0c0c;
    --surface: #101010;
    --surface-light: #161616;
    --surface-hover: #1c1c1c;

    --red: #ff2020;
    --red-bright: #ff3838;
    --red-dark: #b80000;
    --red-soft: rgba(255, 32, 32, 0.12);
    --red-border: rgba(255, 32, 32, 0.35);

    --white: #ffffff;
    --text: #eeeeee;
    --text-muted: #a4a4a4;
    --text-dark: #747474;

    --border: rgba(255, 255, 255, 0.09);
    --border-hover: rgba(255, 32, 32, 0.55);

    --font-heading: "Orbitron", sans-serif;
    --font-body: "Space Grotesk", sans-serif;

    --container-width: 1200px;
    --container-padding: clamp(18px, 4vw, 40px);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --shadow-red: 0 0 35px rgba(255, 32, 32, 0.12);
    --shadow-card: 0 15px 45px rgba(0, 0, 0, 0.32);

    --transition: 0.25s ease;
}


/* =========================================================
   2. RESET AND GLOBAL STYLES
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;

    background:
        radial-gradient(
            ellipse at 12% 8%,
            rgba(255, 32, 32, 0.055),
            transparent 32%
        ),
        radial-gradient(
            ellipse at 90% 45%,
            rgba(255, 32, 32, 0.035),
            transparent 28%
        ),
        var(--bg);

    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
    font-family: var(--font-body);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

a,
button {
    touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--red-bright);
    outline-offset: 5px;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

p {
    margin: 0 0 18px;
    color: var(--text-muted);
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--white);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

h1,
h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.045em;
}

h3 {
    font-weight: 700;
}

::selection {
    color: var(--white);
    background: var(--red-dark);
}

section[id] {
    scroll-margin-top: 100px;
}

.container {
    width: min(
        calc(100% - var(--container-padding) * 2),
        var(--container-width)
    );
    margin-inline: auto;
}


/* =========================================================
   3. RED ACCENTS
========================================================= */

.accent {
    color: var(--red);
}

.status-dot,
.live-indicator {
    display: inline-block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 12px rgba(255, 32, 32, 0.8);
}

.status-dot {
    margin-right: 7px;
    animation: qt-pulse 2s infinite;
}

.live-indicator {
    margin-right: 7px;
}

@keyframes qt-pulse {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 32, 32, 0.4);
    }

    50% {
        opacity: 0.75;
        box-shadow: 0 0 0 7px rgba(255, 32, 32, 0);
    }
}


/* =========================================================
   4. NAVIGATION
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(7, 7, 7, 0.88);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;

    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-icon {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border: 1px solid var(--red);
    border-radius: 11px;

    background: linear-gradient(
        145deg,
        #ff3535,
        #a90000
    );

    color: var(--white);
    font-size: 1.3rem;

    box-shadow: 0 0 22px rgba(255, 32, 32, 0.18);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(17px, 2.4vw, 32px);
}

.nav-links > a:not(.nav-cta) {
    position: relative;
    padding: 10px 0;

    color: #c1c1c1;
    font-size: 0.91rem;
    font-weight: 500;

    transition: color var(--transition);
}

.nav-links > a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;

    height: 2px;
    content: "";
    background: var(--red);

    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-links > a:not(.nav-cta):hover {
    color: var(--white);
}

.nav-links > a:not(.nav-cta):hover::after {
    transform: scaleX(1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 11px 17px;

    border: 1px solid var(--red);
    border-radius: var(--radius-sm);

    background: var(--red);
    color: var(--white);

    font-size: 0.88rem;
    font-weight: 700;

    transition:
        background var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.nav-cta:hover {
    background: var(--red-dark);
    box-shadow: 0 0 22px rgba(255, 32, 32, 0.25);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    background: var(--surface);
    color: var(--white);

    font-size: 1.5rem;
    cursor: pointer;
    transition: border-color var(--transition);
}

.mobile-menu-toggle:hover {
    border-color: var(--red);
}


/* =========================================================
   5. HERO SECTION
========================================================= */

.hero {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(40px, 6vw, 85px);

    min-height: 670px;
    padding-top: 85px;
    padding-bottom: 100px;
}

.hero::before {
    position: absolute;
    top: 70px;
    left: -100px;

    width: 260px;
    height: 260px;

    border: 1px solid rgba(255, 32, 32, 0.08);
    border-radius: 50%;

    content: "";
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 22px;

    color: #d0d0d0;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.6;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 25px;

    font-size: clamp(2.65rem, 5.2vw, 4.75rem);
    line-height: 1.14;
    letter-spacing: -0.065em;
}

.hero-description {
    max-width: 590px;
    margin-bottom: 30px;

    font-size: clamp(1rem, 1.3vw, 1.08rem);
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;

    margin-bottom: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    min-height: 49px;
    padding: 13px 21px;

    border: 1px solid transparent;
    border-radius: 9px;

    font-size: 0.93rem;
    font-weight: 700;
    text-align: center;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);

    box-shadow: 0 8px 25px rgba(255, 32, 32, 0.13);
}

.button-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    box-shadow: 0 10px 30px rgba(255, 32, 32, 0.23);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.19);
    color: var(--white);
}

.button-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--red);
}

.hero-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    color: #a3a3a3;
    font-size: 0.78rem;
}

.hero-note > span:first-child {
    color: var(--red);
    font-weight: 800;
}

.note-divider {
    color: var(--red);
}


/* =========================================================
   6. FUTURISTIC WORKSPACE PREVIEW
========================================================= */

.hero-visual {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 510px;
    justify-self: end;

    padding: 13px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.008)
        ),
        #0a0a0a;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(255, 32, 32, 0.07);

    isolation: isolate;
}

.hero-visual::before {
    position: absolute;
    inset: -1px;
    z-index: -1;

    border-radius: inherit;
    padding: 1px;

    background: linear-gradient(
        135deg,
        rgba(255, 32, 32, 0.55),
        transparent 35%,
        rgba(255, 255, 255, 0.08) 65%,
        rgba(255, 32, 32, 0.2)
    );

    content: "";
    pointer-events: none;
}

.visual-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    min-height: 38px;
    padding: 0 8px 12px;

    border-bottom: 1px solid var(--border);
}

.window-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #555;
}

.window-dots span:first-child {
    background: var(--red);
}

.window-dots span:nth-child(2) {
    background: #888;
}

.window-dots span:nth-child(3) {
    background: #d8d8d8;
}

.visual-label {
    color: #999;
    font-family: var(--font-heading);
    font-size: 0.57rem;
    letter-spacing: 0.07em;
    text-align: right;
}

.timer-card {
    position: relative;
    z-index: 1;

    margin-top: 13px;
    padding: clamp(17px, 2.4vw, 27px);

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 17px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255, 32, 32, 0.09),
            transparent 40%
        ),
        #0d0d0d;
}

.timer-card-header {
    display: flex;
    align-items: center;
    gap: 5px;

    color: #bdbdbd;
    font-family: var(--font-heading);
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.065em;
}

.timer-symbol {
    margin-left: auto;
    color: var(--red);
    font-size: 1.3rem;
}

.preview-time {
    margin: 23px 0 7px;

    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;

    overflow-wrap: anywhere;
}

.preview-time span {
    text-shadow: 0 0 28px rgba(255, 255, 255, 0.1);
    font-variant-numeric: tabular-nums;
}

.preview-caption {
    margin-bottom: 22px;
    font-size: 0.82rem;
}

.preview-divider {
    height: 1px;
    margin-bottom: 20px;
    background: var(--border);
}

.preview-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;

    margin-bottom: 22px;
}

.preview-details > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.preview-details span {
    color: #898989;
    font-family: var(--font-heading);
    font-size: 0.57rem;
    letter-spacing: 0.06em;
}

.preview-details strong {
    color: #ededed;
    font-size: 0.87rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.workspace-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;

    margin-bottom: 16px;
}

.workspace-mini-grid a {
    display: flex;
    align-items: center;
    gap: 11px;

    min-width: 0;
    min-height: 58px;
    padding: 12px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.025);
    color: #d4d4d4;

    font-size: 0.8rem;
    font-weight: 500;

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.workspace-mini-grid a > span:first-child {
    display: grid;
    place-items: center;

    min-width: 30px;
    height: 30px;
    padding: 3px;

    border-radius: 8px;
    background: var(--red-soft);
    color: var(--red);

    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
}

.workspace-mini-grid a:hover {
    transform: translateY(-2px);
    border-color: var(--red-border);
    background: rgba(255, 32, 32, 0.055);
}

.preview-start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 47px;
    padding: 12px 16px;

    border: 1px solid var(--red);
    border-radius: 9px;

    background: var(--red);
    color: var(--white);

    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;

    transition:
        background var(--transition),
        box-shadow var(--transition);
}

.preview-start:hover {
    background: var(--red-dark);
    box-shadow: 0 0 22px rgba(255, 32, 32, 0.18);
}

.preview-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 17px;
    color: #777;

    font-family: var(--font-heading);
    font-size: 0.53rem;
    letter-spacing: 0.08em;
}

.visual-glow {
    position: absolute;
    right: 5%;
    bottom: -35px;
    left: 5%;
    z-index: -1;

    height: 80px;
    border-radius: 50%;

    background: rgba(255, 32, 32, 0.17);
    filter: blur(45px);
    pointer-events: none;
}


/* =========================================================
   7. BENEFITS STRIP
========================================================= */

.benefits-strip {
    position: relative;
    padding: 30px 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.018);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-width: 0;
}

.benefit-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;

    width: 45px;
    height: 45px;

    border: 1px solid var(--red-border);
    border-radius: 12px;

    background: var(--red-soft);
    color: var(--red);

    font-size: 1.35rem;
}

.benefit-item strong {
    display: block;
    margin-bottom: 4px;

    color: var(--white);
    font-size: 0.92rem;
}

.benefit-item p {
    margin-bottom: 0;
    font-size: 0.8rem;
    line-height: 1.65;
}


/* =========================================================
   8. SECTION HEADINGS
========================================================= */

.features-section {
    position: relative;
    padding: 105px 0;
}

.features-section + .features-section {
    padding-top: 65px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading .eyebrow {
    justify-content: center;
}

.section-heading h2 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.28;
}

.section-heading p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.9;
}


/* =========================================================
   9. TOOL AND FEATURE CARDS
========================================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 100%;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008)
        ),
        var(--surface);

    box-shadow: var(--shadow-card);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.feature-card::before {
    position: absolute;
    top: 0;
    left: 28px;

    width: 45px;
    height: 2px;

    background: var(--red);
    box-shadow: 0 0 12px rgba(255, 32, 32, 0.3);

    content: "";
    opacity: 0.7;

    transition: width var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);

    border-color: var(--border-hover);

    background:
        linear-gradient(
            145deg,
            rgba(255, 32, 32, 0.055),
            transparent 70%
        ),
        var(--surface);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.35),
        var(--shadow-red);
}

.feature-card:hover::before {
    width: 75px;
    opacity: 1;
}

.feature-icon {
    display: grid;
    place-items: center;

    width: 54px;
    height: 54px;
    margin-bottom: 23px;

    border: 1px solid var(--red-border);
    border-radius: 15px;

    background: var(--red-soft);
    color: var(--red);

    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;

    transition:
        background var(--transition),
        transform var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    background: rgba(255, 32, 32, 0.18);
}

.feature-card h3 {
    margin-bottom: 13px;
    font-size: 1.12rem;
    line-height: 1.4;
}

.feature-card p {
    margin-bottom: 23px;
    font-size: 0.9rem;
    line-height: 1.85;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: auto;

    color: var(--red-bright);
    font-size: 0.86rem;
    font-weight: 700;

    transition:
        color var(--transition),
        gap var(--transition);
}

.text-link:hover {
    gap: 13px;
    color: var(--white);
}

.text-link span {
    font-size: 1.05rem;
}


/* =========================================================
   10. TOOLBOX FOOTER
========================================================= */

.tools-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;

    margin-top: 45px;
    padding: 27px 30px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.025);
}

.tools-footer p {
    max-width: 530px;
    margin: 0;
    font-size: 0.9rem;
}


/* =========================================================
   11. ABOUT QUICKTRACK
========================================================= */

.about-section {
    display: grid;
    grid-template-columns: minmax(150px, 0.65fr) minmax(0, 1.35fr);
    align-items: start;
    gap: clamp(35px, 7vw, 100px);

    padding-top: 75px;
    padding-bottom: 110px;
}

.about-mark {
    position: sticky;
    top: 125px;

    display: grid;
    place-items: center;

    width: min(100%, 230px);
    aspect-ratio: 1;

    border: 1px solid rgba(255, 32, 32, 0.3);
    border-radius: 30px;

    background:
        radial-gradient(
            circle,
            rgba(255, 32, 32, 0.13),
            transparent 68%
        ),
        #0b0b0b;

    box-shadow: inset 0 0 45px rgba(255, 32, 32, 0.04);
}

.about-mark > span:first-child {
    color: var(--red);
    font-family: var(--font-heading);
    font-size: clamp(5rem, 9vw, 8rem);
    font-weight: 800;
    text-shadow: 0 0 40px rgba(255, 32, 32, 0.24);
}

.about-mark-line {
    position: absolute;
    bottom: 22%;
    width: 35%;
    height: 3px;
    background: var(--red);
    box-shadow: 0 0 15px rgba(255, 32, 32, 0.6);
}

.about-content {
    max-width: 740px;
    min-width: 0;
}

.about-content h2 {
    margin-bottom: 27px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.about-content p {
    font-size: 0.96rem;
    line-height: 1.95;
}

.about-content .text-link {
    margin-top: 5px;
}


/* =========================================================
   12. PRIVACY SECTION
========================================================= */

.privacy-section {
    margin-bottom: 100px;
}

.privacy-content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 25px;

    padding: clamp(25px, 5vw, 48px);

    border: 1px solid rgba(255, 32, 32, 0.28);
    border-radius: var(--radius-xl);

    background:
        radial-gradient(
            ellipse at 0% 0%,
            rgba(255, 32, 32, 0.09),
            transparent 55%
        ),
        #0d0d0d;
}

.privacy-icon {
    display: grid;
    place-items: center;

    width: 58px;
    height: 58px;

    border: 1px solid var(--red-border);
    border-radius: 16px;

    background: var(--red-soft);
    color: var(--red);

    font-size: 2rem;
}

.privacy-content h2 {
    margin-bottom: 17px;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.privacy-content p {
    max-width: 850px;
    font-size: 0.92rem;
    line-height: 1.9;
}

.privacy-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 25px;

    margin-top: 24px;
}

.privacy-links a {
    color: #e6e6e6;
    font-size: 0.85rem;
    font-weight: 600;

    transition: color var(--transition);
}

.privacy-links a:hover {
    color: var(--red-bright);
}


/* =========================================================
   13. FINAL CALL TO ACTION
========================================================= */

.cta-section {
    position: relative;
    overflow: hidden;

    margin-bottom: 100px;
    padding: clamp(40px, 7vw, 85px) 25px;

    border: 1px solid rgba(255, 32, 32, 0.25);
    border-radius: var(--radius-xl);

    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(255, 32, 32, 0.15),
            transparent 60%
        ),
        linear-gradient(
            145deg,
            #111111,
            #080808
        );

    text-align: center;
}

.cta-section::before,
.cta-section::after {
    position: absolute;

    width: 180px;
    height: 180px;

    border: 1px solid rgba(255, 32, 32, 0.1);
    border-radius: 50%;

    content: "";
    pointer-events: none;
}

.cta-section::before {
    top: -115px;
    left: -65px;
}

.cta-section::after {
    right: -65px;
    bottom: -125px;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-section .eyebrow {
    justify-content: center;
}

.cta-section h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4.8vw, 3.5rem);
}

.cta-section > p {
    max-width: 660px;
    margin: 0 auto 27px;
    font-size: 1rem;
    line-height: 1.9;
}

.cta-section .hero-actions {
    justify-content: center;
    margin-bottom: 0;
}


/* =========================================================
   14. FOOTER
========================================================= */

.site-footer {
    border-top: 1px solid var(--border);
    background: #050505;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding-top: 55px;
    padding-bottom: 25px;

    text-align: center;
}

.footer-brand {
    margin-bottom: 18px;
}

.footer-content > p {
    max-width: 510px;
    margin-bottom: 28px;
    font-size: 0.88rem;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 25px;

    width: 100%;
    margin-bottom: 19px;
}

.footer-links a {
    color: #a6a6a6;
    font-size: 0.83rem;

    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--red-bright);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 25px;

    width: 100%;
    margin-top: 22px;
    padding-top: 22px;

    border-top: 1px solid var(--border);

    color: #777;
    font-size: 0.76rem;
}


/* =========================================================
   15. OPTIONAL SCROLL REVEAL SUPPORT
   Compatible with JavaScript using .reveal / .is-visible
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(22px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   16. OPTIONAL LOADER SUPPORT
   Does not replace the loader created by index.js
========================================================= */

.qt-loader,
#qt-loader,
.quicktrack-loader {
    color: var(--white);
    font-family: var(--font-body);
}

.qt-loader button,
#qt-loader button,
.quicktrack-loader button {
    cursor: pointer;
}


/* =========================================================
   17. LARGE SCREENS
========================================================= */

@media (min-width: 1500px) {
    :root {
        --container-width: 1320px;
    }

    .hero {
        min-height: 740px;
    }

    .hero h1 {
        font-size: clamp(4.2rem, 5vw, 5.4rem);
    }

    .feature-card {
        padding: 32px;
    }
}


/* =========================================================
   18. LAPTOPS AND SMALL DESKTOPS
========================================================= */

@media (max-width: 1100px) {
    :root {
        --container-padding: 28px;
    }

    .hero {
        gap: 35px;
        min-height: 610px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 5vw, 4rem);
    }

    .nav-links {
        gap: 18px;
    }

    .features-grid {
        gap: 16px;
    }

    .feature-card {
        padding: 23px;
    }

    .feature-card::before {
        left: 23px;
    }

    .about-section {
        gap: 50px;
    }
}


/* =========================================================
   19. TABLETS
========================================================= */

@media (max-width: 900px) {
    .navbar {
        min-height: 74px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        position: relative;
        z-index: 1002;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        z-index: 1001;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;

        max-height: calc(100vh - 90px);
        max-height: calc(100dvh - 90px);
        overflow-y: auto;

        padding: 18px var(--container-padding) 24px;

        border-bottom: 1px solid var(--border);

        background: rgba(7, 7, 7, 0.98);

        box-shadow: 0 22px 35px rgba(0, 0, 0, 0.35);

        visibility: hidden;
        opacity: 0;
        pointer-events: none;

        transform: translateY(-8px);

        transition:
            opacity var(--transition),
            transform var(--transition),
            visibility var(--transition);
    }

    /*
       Your existing JavaScript can toggle .active or .open.
       The aria-expanded selector also supports button-driven menus.
    */

    .nav-links.active,
    .nav-links.open,
    .nav-links.is-open,
    .nav-links.show,
    .nav-links[aria-expanded="true"],
    .site-header:has(.mobile-menu-toggle[aria-expanded="true"]) .nav-links {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links > a:not(.nav-cta) {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    }

    .nav-links > a:not(.nav-cta)::after {
        display: none;
    }

    .nav-cta {
        margin-top: 9px;
        min-height: 46px;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 55px;

        min-height: auto;
        padding-top: 75px;
        padding-bottom: 80px;
    }

    .hero-content {
        max-width: 750px;
    }

    .hero h1 {
        max-width: 680px;
        font-size: clamp(3rem, 7vw, 4.7rem);
    }

    .hero-visual {
        justify-self: center;
        max-width: 560px;
    }

    .preview-time {
        font-size: clamp(2.5rem, 7vw, 3.6rem);
    }

    .benefits-grid {
        gap: 20px;
    }

    .benefit-item {
        gap: 11px;
    }

    .benefit-icon {
        width: 39px;
        height: 39px;
        font-size: 1.15rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .about-section {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 35px;
    }

    .about-mark {
        width: 180px;
    }

    .about-mark > span:first-child {
        font-size: 6rem;
    }

    .privacy-section {
        margin-bottom: 80px;
    }
}


/* =========================================================
   20. MOBILE PHONES
========================================================= */

@media (max-width: 600px) {
    :root {
        --container-padding: 19px;
        --radius-lg: 17px;
        --radius-xl: 22px;
    }

    body {
        font-size: 15px;
        line-height: 1.7;
    }

    html {
        scroll-padding-top: 80px;
    }

    section[id] {
        scroll-margin-top: 80px;
    }

    .navbar {
        min-height: 68px;
        gap: 12px;
    }

    .brand {
        gap: 8px;
        font-size: 1.02rem;
    }

    .brand-icon {
        width: 37px;
        height: 37px;
        border-radius: 9px;
        font-size: 1.15rem;
    }

    .mobile-menu-toggle {
        width: 41px;
        height: 41px;
        font-size: 1.35rem;
    }

    .hero {
        gap: 39px;
        padding-top: 55px;
        padding-bottom: 58px;
    }

    .eyebrow {
        margin-bottom: 17px;
        font-size: 0.64rem;
        letter-spacing: 0.09em;
    }

    .hero h1 {
        margin-bottom: 20px;
        font-size: clamp(2.45rem, 10vw, 3.6rem);
        line-height: 1.17;
    }

    .hero-description {
        margin-bottom: 24px;
        font-size: 0.95rem;
        line-height: 1.85;
    }

    .hero-actions {
        align-items: stretch;
        gap: 10px;
    }

    .hero-actions .button {
        flex: 1 1 100%;
        width: 100%;
        min-height: 48px;
        padding: 12px 15px;
    }

    .hero-note {
        gap: 6px;
        font-size: 0.7rem;
        line-height: 1.8;
    }

    .hero-visual {
        padding: 9px;
        border-radius: 19px;
    }

    .visual-topbar {
        padding: 0 5px 10px;
    }

    .visual-label {
        font-size: 0.48rem;
    }

    .timer-card {
        padding: 17px 13px;
        border-radius: 13px;
    }

    .timer-card-header {
        font-size: 0.54rem;
    }

    .preview-time {
        margin-top: 21px;
        font-size: clamp(1.85rem, 9vw, 2.8rem);
        letter-spacing: 0.015em;
    }

    .preview-caption {
        font-size: 0.76rem;
    }

    .preview-details {
        gap: 10px;
    }

    .preview-details span {
        font-size: 0.48rem;
    }

    .preview-details strong {
        font-size: 0.77rem;
    }

    .workspace-mini-grid {
        gap: 8px;
    }

    .workspace-mini-grid a {
        gap: 8px;
        min-height: 53px;
        padding: 9px 8px;
        font-size: 0.73rem;
    }

    .workspace-mini-grid a > span:first-child {
        min-width: 27px;
        height: 27px;
        font-size: 0.78rem;
    }

    .preview-start {
        min-height: 44px;
        font-size: 0.79rem;
    }

    .preview-footer {
        font-size: 0.46rem;
    }

    .benefits-strip {
        padding: 26px 0;
    }

    .benefits-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 21px;
    }

    .benefit-item {
        align-items: center;
        gap: 14px;
    }

    .benefit-item p {
        font-size: 0.78rem;
    }

    .features-section {
        padding: 72px 0;
    }

    .features-section + .features-section {
        padding-top: 38px;
    }

    .section-heading {
        margin-bottom: 34px;
        text-align: left;
    }

    .section-heading .eyebrow {
        justify-content: flex-start;
    }

    .section-heading h2 {
        margin-bottom: 18px;
        font-size: clamp(1.8rem, 7.7vw, 2.6rem);
    }

    .section-heading p {
        font-size: 0.91rem;
        line-height: 1.85;
    }

    .features-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .feature-card {
        padding: 24px 21px;
    }

    .feature-card::before {
        left: 21px;
    }

    .feature-icon {
        width: 49px;
        height: 49px;
        margin-bottom: 19px;
        border-radius: 13px;
    }

    .feature-card h3 {
        font-size: 1.07rem;
    }

    .feature-card p {
        margin-bottom: 20px;
        font-size: 0.87rem;
    }

    .tools-footer {
        align-items: stretch;
        padding: 23px 20px;
    }

    .tools-footer p {
        font-size: 0.85rem;
    }

    .tools-footer .button {
        width: 100%;
    }

    .about-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;

        padding-top: 40px;
        padding-bottom: 75px;
    }

    .about-mark {
        position: relative;
        top: auto;

        width: 125px;
        border-radius: 22px;
    }

    .about-mark > span:first-child {
        font-size: 4.5rem;
    }

    .about-content h2 {
        margin-bottom: 22px;
        font-size: clamp(1.8rem, 7.5vw, 2.5rem);
    }

    .about-content p {
        font-size: 0.9rem;
        line-height: 1.9;
    }

    .privacy-section {
        margin-bottom: 65px;
    }

    .privacy-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 24px 20px;
    }

    .privacy-icon {
        width: 49px;
        height: 49px;
        font-size: 1.7rem;
    }

    .privacy-content h2 {
        font-size: 1.55rem;
    }

    .privacy-content p {
        font-size: 0.86rem;
    }

    .privacy-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .cta-section {
        margin-bottom: 65px;
        padding: 43px 21px;
    }

    .cta-section .eyebrow {
        justify-content: center;
        font-size: 0.59rem;
    }

    .cta-section h2 {
        font-size: clamp(1.8rem, 7.5vw, 2.6rem);
        line-height: 1.3;
    }

    .cta-section > p {
        font-size: 0.9rem;
        line-height: 1.85;
    }

    .footer-content {
        padding-top: 42px;
    }

    .footer-content > p {
        font-size: 0.82rem;
    }

    .footer-links {
        gap: 12px 18px;
        margin-bottom: 23px;
    }

    .footer-links a {
        font-size: 0.77rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 0.73rem;
    }
}


/* =========================================================
   21. VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {
    :root {
        --container-padding: 15px;
    }

    .brand {
        font-size: 0.94rem;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero-note {
        font-size: 0.66rem;
    }

    .workspace-mini-grid a {
        gap: 6px;
        padding: 8px 6px;
        font-size: 0.68rem;
    }

    .workspace-mini-grid a > span:first-child {
        min-width: 24px;
        height: 24px;
    }

    .preview-time {
        font-size: 1.75rem;
    }

    .feature-card {
        padding: 21px 17px;
    }

    .feature-card::before {
        left: 17px;
    }

    .privacy-content {
        padding: 21px 16px;
    }
}


/* =========================================================
   22. REDUCED MOTION ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}


/* =========================================================
   23. PRINT STYLES
========================================================= */

@media print {
    :root {
        color-scheme: light;
    }

    body {
        background: #ffffff !important;
        color: #111111 !important;
    }

    .site-header,
    .mobile-menu-toggle,
    .hero-actions,
    .cta-section,
    .site-footer {
        display: none !important;
    }

    .hero,
    .features-section,
    .about-section,
    .privacy-section {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .feature-card,
    .timer-card,
    .privacy-content {
        break-inside: avoid;
        box-shadow: none;
    }

    h1,
    h2,
    h3,
    p {
        color: #111111 !important;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
