/* =========================
   FONTS
========================= */

@font-face {
    font-family: "Cooper Black";
    src:
        url("fonts/CooperBlack.woff2") format("woff2"),
        url("fonts/CooperBlack.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* =========================
   GLOBAL RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 100px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background:
    radial-gradient(
        1200px 800px at 50% 0%,
        rgba(30,60,120,0.15),
        transparent 60%
    ),
    linear-gradient(
        180deg,
        #0b111a 0%,
        #0d1117 60%
    );
        color: #e6edf3;
        -webkit-font-smoothing: antialiased;
}
h1, h2 {
    font-family: "Cooper Black", serif;
}

h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

html {
    scroll-behavior: smooth;
}


section {
    scroll-margin-top: 100px;
}

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

main {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

#hero {
    padding: 80px 0 60px 0;
}

/* =========================
   TYPOGRAPHY
========================= */

h1, h2 {
    font-family: "Cooper Black", serif;
    letter-spacing: -0.5px;
}

h1 {
    font-family: "Cooper Black", serif;
    font-size: 3.4rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 25px;
}

h2 {
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 30px;
}

h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    color: #9da7b3;
}

ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

/* =========================
   SECTION DEPTH (SUBTLE SEPARATORS)
========================= */


/* =========================
   NAVBAR (GLASS + BUTTONS)
========================= */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    /* Glass background */
    background: rgba(15, 20, 30, 0.45);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);

    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
header nav {
    position: relative;
    z-index: 5;
}


nav {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

    height: 80px;

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

    gap: 20px;
}

.nav-links {
    list-style: none;
    align-items: center;
    display: flex;
    gap:27px;
}
.nav-links li a {
    white-space: nowrap;
}


.nav-links a {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 14px;

    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #e6edf3;

    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

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

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.25),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 6px 20px rgba(0,0,0,0.4);

    transition: all 0.25s ease;
}

/* Orange hover */
.nav-links a:hover {
    background: rgba(240, 90, 40, 0.15);
    border: 1px solid rgba(240, 90, 40, 0.5);
    color: #ffffff;

    box-shadow:
        0 0 20px rgba(240, 90, 40, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.35);

    transform: translateY(-2px);
}

/* Active tab */
.nav-links a.active {
    border: 1px solid #f05a28;
    box-shadow: 0 0 20px rgba(240, 90, 40, 0.35);
}

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

.logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo a {
    display: block;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
}

/* =========================
   BUTTONS
========================= */

.primary-button {
    background: #f05a28;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    transition: 0.25s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 90, 40, 0.3);
}


.secondary-link {
    color: #9da7b3;
    text-decoration: none;
    transition: 0.2s ease;
}

.secondary-link:hover {
    color: #f05a28;
}

.hero-version {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #f05a28;
}
/* =========================
   GLASS ARROW DOWNLOAD BUTTON
========================= */

.glass-arrow-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 32px;
    border-radius: 40px;

    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;

    color: #ffffff;
    background: #f05a28;

    border: 1px solid #f05a28;

    box-shadow:
        0 15px 45px rgba(240, 90, 40, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.25);

    transition: all 0.3s ease;
    position: relative;
}

.glass-arrow-button:hover {
    background: #ff6f3c;
    border: 1px solid #ff6f3c;

    box-shadow:
        0 20px 60px rgba(240, 90, 40, 0.5),
        inset 0 1px 0 rgba(255,255,255,0.35);

    transform: translateY(-3px);
}
.glass-arrow-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 40px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.25) 0%,
        rgba(255,255,255,0.05) 40%,
        rgba(255,255,255,0.02) 100%
    );
    pointer-events: none;
}
.glass-arrow-button .arrow {
    transition: transform 0.3s ease;
}

.glass-arrow-button:hover .arrow {
    transform: translateX(6px);
}

/* =========================
   FINANCIAL SECTION
========================= */

.cost-breakdown {
    max-width: 1100px;
    margin: 120px auto;
    padding: 70px;
    background: linear-gradient(145deg, #0e1626, #0b1220);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.cost-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.cost-left {
    flex: 1;
}

.cost-subtext {
    color: #9da7b3;
    margin: 20px 0 50px 0;
}

.cost-list {
    list-style: none;
    padding: 0;
}

.cost-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    color: #cbd5e1;
    font-size: 1rem;
}

.cost-list li span:last-child {
    font-weight: 600;
    color: #ffffff;
}

.cost-list small {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    margin-left: 4px;
}

/* Right totals column */

.cost-right {
    flex: 0 0 320px;
    padding-left: 50px;
    border-left: 1px solid rgba(255,255,255,0.06);
}

.totals-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.total-block {
    display: flex;
    flex-direction: column;
}

.total-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9da7b3;
    margin-bottom: 8px;
}

.total-amount {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #f05a28;
    line-height: 1.1;
}
.cost-breakdown {
    transition: transform 0.2s ease, box-shadow 0.1s ease;
}

.cost-breakdown:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

/* =========================
   WORKFLOW SECTION
========================= */

.workflow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-top: 50px;
    text-align: center;
}

.workflow-step {
    padding: 20px;
}
.workflow-step p {
    max-width: 220px;
    margin: 0 auto;
}
#workflow h2 {
    text-align: center;
    margin-bottom: 50px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: rgba(240,90,40,0.12);
    border: 1px solid rgba(240,90,40,0.6);

    color: #f05a28;
    font-weight: 700;
    font-size: 0.9rem;

    margin-bottom: 16px;
}

/* =========================
   SHOWCASE
========================= */

.showcase-image img {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 60px auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
}

.feature-grid article {
    padding: 25px;
    border-radius: 12px;
    transition: 0.2s ease;
}

.feature-grid article:hover {
    background-color: rgba(255, 255, 255, 0.03);
}
.feature-grid article:hover .feature-badge {
    box-shadow: 0 0 14px rgba(240,90,40,0.6);
}

/* =========================
   FEATURE BADGES
========================= */

.feature-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;

    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;

    color: #ffffff;
    background: #f05a28;

    border-radius: 999px;

    vertical-align: middle;

    box-shadow: 0 0 10px rgba(240,90,40,0.35);
}

/* =========================
   TRUST SECTION
========================= */

.trust-columns {
    display: flex;
    gap: 80px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* =========================
   WHO SUBTRACK IS FOR
========================= */

#who {
    padding: 80px 20px;
    text-align: center;
}

.persona-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.persona-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 25px;
    border-radius: 12px;
}

.persona-card h3 {
    margin-bottom: 10px;
}

/* =========================
   SYSTEM REQUIREMENTS
========================= */

#requirements {
    padding: 80px 20px;
    text-align: center;
}

.requirements-list {
    list-style: none;
    margin-top: 30px;
    font-size: 18px;
    line-height: 2;
}
.requirements-box {
    margin-top: 30px;
    display: inline-block;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 25px 40px;
    border-radius: 12px;
}

.requirements-box ul {
    list-style: none;
}

.requirements-box li {
    padding: 6px 0;
}
/* =========================
   CTA SECTION
========================= */

#cta {
    background: linear-gradient(145deg, #141923, #101620);
    padding: 100px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.hero-github {
    margin-top: 15px;
    font-size: 0.9rem;
}

.version {
    font-size: 0.9rem;
    color: #7d8792;
    margin-top: 15px;
}

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

footer {
    text-align: center;
    padding: 50px 0;
    color: #7d8792;
    font-size: 0.9rem;
}
@media (max-width: 900px) {

    #hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-preview {
        margin-top: 40px;
    }

    .trust-columns {
        flex-direction: column;
        gap: 40px;
    }

}
.footer-links {
    margin-top: 8px;
}

.footer-link {
    margin: 0 8px;
    color: #9da7b3;
    text-decoration: none;
    transition: 0.2s ease;
}

.footer-link:hover {
    color: #f05a28;
}
/* =========================
   SUPPORT PAGE
========================= */

.support-hero {
    padding: 120px 0 20px 0;
    text-align: center;
}

.support-hero h1 {
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: -0.5px;
}

.support-subtext {
    color: #9da7b3;
    margin-top: 10px;
    font-size: 1rem;
}

/* =========================
   SUPPORT ACTION CARDS
========================= */

.support-actions {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 100px;
}

.bug-report,
.support-contact {

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 420px;
    margin: 0 auto;

    text-align: center;

    background: linear-gradient(145deg, #141923, #101620);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;

    padding: 45px 40px;
    min-height: 300px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.35);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bug-report:hover,
.support-contact:hover {
    box-shadow:
        0 30px 80px rgba(0,0,0,0.5),
        0 0 40px rgba(240,90,40,0.08);
}

.bug-report h2,
.support-contact h2 {
    margin-bottom: 18px;
}


.bug-report p,
.support-contact p {
    color: #9da7b3;
    line-height: 1.7;
    margin-bottom: 30px;
}

.bug-report .primary-button,
.support-contact .primary-button {
    align-self: center;
}

/* =========================
   ORANGE GLASS SECTION HEADERS
========================= */

.doc-section-header {
    margin-bottom: 25px;
}

.doc-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.4px;
    margin-bottom: 5px;
}
.doc-section-header::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #f05a28;
    margin-top: 8px;
    opacity: 0.7;
}


/* =========================
   FAQ ITEMS
========================= */

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(240, 90, 40, 0.08);
    border: 1px solid rgba(240, 90, 40, 0.25);
    border-radius: 12px;

    padding: 16px 20px;
    margin-bottom: 14px;

    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;

    cursor: pointer;
    transition: 0.25s ease;
}

.faq-question:hover {
    background: rgba(240, 90, 40, 0.15);
    border-color: rgba(240, 90, 40, 0.4);
}

.faq-arrow {
    font-size: 1.2rem;
    color: #f05a28;
    transition: transform 0.25s ease;
}

.faq-question.active .faq-arrow {
    transform: rotate(90deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 10px 5px 20px 5px;
    color: #9da7b3;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================
   FAQ SEARCH
========================= */

.faq-search {
    max-width: 600px;
    margin: 40px auto 80px auto;
    text-align: center;
}

.faq-search input {

    width: 100%;
    padding: 16px 20px;

    font-size: 1rem;
    color: #ffffff;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 12px;

    outline: none;

    transition: 0.25s ease;
}

.faq-search input:focus {

    border-color: rgba(240,90,40,0.6);

    box-shadow:
        0 0 0 2px rgba(240,90,40,0.15),
        0 6px 30px rgba(0,0,0,0.5);
}

/* =========================
   CONTACT SECTION
========================= */

.support-contact {
    text-align: center;
    margin: 80px auto 100px auto;
    max-width: 700px;
}

.support-contact h2 {
    margin-bottom: 20px;
}

.support-contact p {
    color: #9da7b3;
    margin-bottom: 30px;
}

/* =========================
   CHANGELOG PAGE
========================= */

.page-header {
    text-align: center;
    padding: 120px 20px 60px;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.page-header p {
    color: #9aa4b2;
}

.changelog-container {
    max-width: 800px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.version-block {
    margin-bottom: 60px;
}
.version-block:first-child {
    border: 1px solid rgba(240,90,40,0.4);
    padding: 25px;
    border-radius: 12px;
    background: rgba(240,90,40,0.03);
}

.version-block h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

.version-date {
    color: #9aa4b2;
    font-size: 14px;
}

.version-block h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #ffffff;
}

.version-block ul {
    list-style: disc;
    padding-left: 20px;
    line-height: 1.8;
    color: #cfd8e3;
}

hr {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 60px 0;
}


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

.legal-hero {
    padding: 180px 0 40px 0;
    text-align: center;
}

.legal-hero h1 {
    margin-bottom: 10px;
}

.legal-content {
    max-width: 900px;
    margin: 40px auto 120px auto;
    padding: 0 20px;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 10px;
    color: #f05a28;
}

.legal-content p {
    line-height: 1.7;
    color: #c9d1d9;
}
/* =========================
   RESPONSIVE OPTIMIZATION
========================= */

/* -------- Tablets -------- */
@media (max-width: 1024px) {

    .cost-content {
        gap: 40px;
    }

    .cost-right {
        flex: 0 0 260px;
        padding-left: 30px;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }
}


/* -------- Small Tablets / Large Phones -------- */
@media (max-width: 900px) {

    nav {
        height: auto;
        padding: 15px 0;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    #hero {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hero-preview {
        margin-top: 40px;
    }

    .cost-content {
        flex-direction: column;
        gap: 50px;
    }

    .cost-right {
        border-left: none;
        padding-left: 0;
        width: 100%;
    }

    .totals-stack {
        align-items: center;
    }

    .total-block {
        align-items: center;
    }

    .feature-grid {
        gap: 40px;
    }
}


/* -------- Mobile Phones -------- */
@media (max-width: 600px) {

    body {
        padding-top: 90px;
    }

    main {
        width: 92%;
    }

    section {
        padding: 100px 0;
        position: relative;
    }   

    h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.8rem;
    }

    .cost-breakdown {
        padding: 35px;
        margin: 80px auto;
    }

    .cost-list li {
        font-size: 0.95rem;
    }

    .total-amount {
        font-size: 1.8rem;
    }

    .nav-links a {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .glass-arrow-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    footer {
        padding: 40px 0;
        font-size: 0.8rem;
    }
}