@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700&display=swap');

:root {
    --blue: #1264ec;
    --ink: #13213b;
    --muted: #66748c;
    --line: #e6eaf2;
    --bg: #f6f8fc
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Prompt, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: white
}

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

.container {
    width: min(1160px, calc(100% - 48px));
    margin: auto
}

.nav {
    height: 76px;
    background: white;
    border-bottom: 1px solid #edf0f6;
    position: sticky;
    top: 0;
    z-index: 10
}

.nav-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 600
}

.brand b,
.brand-mark span {
    color: var(--blue)
}

.brand-mark {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -8px;
    font-style: italic;
    padding-right: 9px;
    color: #5d677a
}

.nav nav {
    display: flex;
    gap: 34px;
    align-items: center;
    font-size: 14px
}

.nav nav a {
    padding: 26px 0;
    border-bottom: 3px solid transparent
}

.nav nav a.selected,
.nav nav a:hover {
    color: var(--blue);
    border-color: var(--blue)
}

.hero {
    background: linear-gradient(120deg, #060d1d, #09254c 65%, #051123);
    color: white;
    overflow: hidden
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.04fr;
    align-items: center;
    gap: 50px;
    min-height: 530px;
    padding: 70px 0
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.4px;
    color: #60b9ff
}

.eyebrow.blue {
    color: var(--blue)
}

.hero h1 {
    font-size: clamp(35px, 4vw, 62px);
    line-height: 1.24;
    margin: 18px 0;
    font-weight: 700;
    letter-spacing: -1.5px
}

.hero-lead {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px
}

.hero-lead span {
    font-size: 14px;
    font-weight: 500;
    color: #66b9ff
}

.hero-desc {
    font-size: 15px;
    line-height: 1.9;
    color: #b8c8df;
    max-width: 480px
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    color: var(--blue);
    border: 1px solid #d5e2ff;
    border-radius: 11px;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer
}

.btn.primary {
    background: var(--blue);
    color: white;
    border-color: var(--blue)
}

.btn.primary:hover {
    background: #0053d8
}

.btn.outline {
    background: transparent;
    color: white;
    border-color: #6582aa
}

.btn.small {
    padding: 8px 16px;
    font-size: 12px
}

.tiny {
    font-size: 11px;
    color: #9ab0cf;
    margin-top: 18px
}

.hero-media {
    position: relative
}

.hero-media img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 80px #0008;
    border: 1px solid #244b75
}

.hero-media-label {
    position: absolute;
    bottom: 18px;
    left: 22px;
    background: #05132ddc;
    border: 1px solid #335e8e;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 12px
}

.hero-media-label strong {
    color: #58baff;
    font-size: 18px;
    margin-left: 8px
}

.section {
    padding: 74px 0
}

.section-heading {
    text-align: center;
    margin-bottom: 30px
}

.section-heading h1,
.section-heading h2 {
    font-size: clamp(25px, 3vw, 34px);
    margin: 8px 0 6px
}

.section-heading p {
    color: var(--muted);
    margin: 0;
    font-size: 14px
}

.features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px
}

.features article {
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 24px 16px;
    border-radius: 16px;
    text-align: center
}

.features h3 {
    font-size: 15px;
    margin: 8px 0
}

.features p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0
}

.feature-icon {
    color: var(--blue);
    font-size: 38px;
    line-height: 1.2
}

.details-bg {
    background: #f7f9fd
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px
}

.detail-grid h2 {
    font-size: 30px;
    line-height: 1.5
}

.ticks {
    list-style: none;
    padding: 0;
    margin: 20px 0
}

.ticks li {
    margin: 10px 0;
    font-size: 14px
}

.ticks li:before {
    content: '✓';
    background: var(--blue);
    color: white;
    border-radius: 50%;
    padding: 0px 6px;
    margin-right: 12px
}

.text-link {
    color: var(--blue);
    font-weight: 600;
    font-size: 14px
}

.detail-photo img {
    width: 100%;
    border-radius: 17px;
    box-shadow: 0 12px 35px #10264824
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.cta h2 {
    font-size: 24px;
    margin: 0
}

.cta p {
    font-size: 13px;
    color: var(--muted)
}

footer {
    background: #f5f7fa;
    border-top: 1px solid var(--line);
    color: #79869b;
    font-size: 12px
}

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

.footer-inner a {
    color: var(--blue)
}

.downloads-main {
    padding: 60px 0 80px;
    min-height: 70vh;
    max-width: 920px
}

.section-heading.left {
    text-align: left
}

.section-heading.left h1 {
    font-size: 38px
}

.download-groups {
    display: grid;
    gap: 16px
}

.download-group {
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 22px #14243b08
}

.download-group summary {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 20px 24px;
    list-style: none
}

.download-group summary::-webkit-details-marker {
    display: none
}

.folder {
    font-size: 28px;
    color: var(--blue)
}

.download-group summary strong {
    font-size: 16px
}

.count {
    margin-left: auto;
    color: #8390a6;
    font-size: 12px
}

.chevron {
    font-size: 24px;
    color: #77879e
}

.download-group[open] .chevron {
    transform: rotate(180deg)
}

.download-items {
    padding: 0 24px 8px
}

.download-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 0;
    border-top: 1px solid var(--line)
}

.file-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    background: #e8f1ff;
    border-radius: 10px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700
}

.file-icon.pdf {
    background: #fff0ef;
    color: #ed4242
}

.file-info {
    flex: 1;
    min-width: 0
}

.file-info strong {
    font-size: 14px;
    display: block
}

.file-info small {
    color: var(--muted);
    font-size: 12px;
    display: block;
    margin-top: 3px;
    overflow-wrap: anywhere
}

.notice {
    margin-top: 25px;
    background: #eef5ff;
    border: 1px solid #d7e7ff;
    padding: 22px;
    border-radius: 14px
}

.notice strong {
    color: #1159c4
}

.notice p {
    margin: 4px 0 0;
    color: #52647e;
    font-size: 12px;
    line-height: 1.8
}

.empty {
    padding: 35px;
    border: 1px dashed #ccd7e8;
    border-radius: 14px;
    margin-bottom: 18px;
    text-align: center
}

.empty p,
.no-files {
    color: var(--muted);
    font-size: 13px
}

.admin-body {
    background: #f6f8fc
}

.admin-main {
    max-width: 1060px;
    padding: 42px 0 100px
}

.admin-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px
}

.admin-head h1 {
    margin: 10px 0 0
}

.admin-head p {
    color: var(--muted)
}

.admin-panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0
}

.admin-panel h2 {
    margin: 0 0 15px
}

.admin-panel h3 {
    font-size: 15px;
    margin-top: 30px
}

.admin-form {
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap
}

.admin-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: #66748c;
    flex: 1;
    min-width: 140px
}

.admin-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dbe1eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    color: #172742
}

.admin-form input[type=file] {
    max-width: 270px
}

.admin-form label.check {
    flex: none;
    flex-direction: row;
    align-items: center
}

.admin-form label.check input {
    width: auto
}

.admin-category {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.admin-category span,
.file-meta {
    color: #8894a8;
    font-size: 12px
}

.admin-files {
    margin-top: 20px
}

.admin-file {
    padding: 16px 0;
    border-top: 1px solid var(--line)
}

.file-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px
}

.danger {
    background: #fff0f0;
    border: 1px solid #ffd2d2;
    color: #bc3333;
    padding: 7px 14px;
    border-radius: 7px;
    cursor: pointer
}

.btn.outline.light {
    color: var(--blue);
    border-color: #c7d7f7
}

@media(max-width:800px) {
    .nav {
        height: auto
    }

    .nav-inner {
        flex-direction: column;
        padding: 12px 0
    }

    .nav nav {
        gap: 23px
    }

    .nav nav a {
        padding: 10px 0
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 55px 0
    }

    .hero h1 {
        font-size: 40px
    }

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

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

    .cta {
        flex-direction: column;
        align-items: flex-start
    }

    .footer-inner {
        gap: 15px;
        flex-wrap: wrap;
        padding: 20px 0
    }

    .download-group summary {
        padding: 15px
    }

    .download-items {
        padding: 0 15px 8px
    }

    .download-item {
        gap: 10px
    }

    .download-item .btn {
        padding: 8px 9px;
        font-size: 11px
    }

    .file-info strong {
        font-size: 12px
    }

    .file-info small {
        font-size: 10px
    }
}

@media(max-width:480px) {
    .container {
        width: calc(100% - 28px)
    }

    .features {
        gap: 9px
    }

    .features article {
        padding: 18px 10px
    }

    .hero-lead span {
        display: block;
        margin-top: 4px
    }

    .admin-head {
        display: block
    }
}

.brand-logo {
    display: block;
    width: 165px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .brand-logo {
        width: 125px;
    }
}

/* Class-Audio Header Logo */
.nav .brand-logo {
    display: block;
    width: 140px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .nav .brand-logo {
        width: 110px;
    }
}


/* DSP Feature Cards */
.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 54px;
    color: var(--blue);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    display: block;
}

@media (max-width: 800px) {
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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