﻿
/* =========================================
   SERLIZTECH APPLICATIONS PAGE
   ========================================= */

.apps-page {
    --apps-bg: #080c16;
    --apps-panel: #101727;
    --apps-border: rgba(148, 163, 184, .16);
    --apps-text: #f3f6ff;
    --apps-muted: #a5b1c8;
    --apps-cyan: #48d9ff;
    --apps-purple: #a78bfa;
    color: var(--apps-text);
    background: radial-gradient(ellipse at 15% 0%, rgba(43, 87, 175, .13), transparent 38%), var(--apps-bg);
    border-radius: 20px;
    overflow: hidden;
}

    .apps-page *,
    .apps-page *::before,
    .apps-page *::after {
        box-sizing: border-box;
    }

    .apps-page a {
        text-decoration: none;
    }

/* Hero */

.apps-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 32px;
    min-height: 450px;
    padding: clamp(32px, 6vw, 76px);
    overflow: hidden;
    border: 1px solid var(--apps-border);
    border-radius: 20px;
    background: linear-gradient(125deg, #0e1729, #10162b 52%, #15102b);
}

.apps-hero-content,
.hero-visual {
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--apps-cyan);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.eyebrow {
    padding: 9px 13px;
    border: 1px solid rgba(72, 217, 255, .24);
    border-radius: 30px;
    background: rgba(72, 217, 255, .06);
}

.apps-hero h1 {
    margin: 25px 0 18px;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1.07;
    letter-spacing: -.045em;
    font-weight: 850;
}

    .apps-hero h1 span {
        color: var(--apps-cyan);
        background: linear-gradient(90deg, #48d9ff, #b5a0ff);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.apps-hero-content > p {
    max-width: 590px;
    color: var(--apps-muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

.hero-actions,
.support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.apps-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .apps-button:hover {
        transform: translateY(-2px);
    }

.apps-button-primary {
    color: #06121d;
    background: linear-gradient(100deg, #48d9ff, #8de8ff);
    box-shadow: 0 8px 25px rgba(72, 217, 255, .15);
}

    .apps-button-primary:hover {
        color: #06121d;
        box-shadow: 0 12px 32px rgba(72, 217, 255, .27);
    }

.apps-button-outline {
    color: var(--apps-text);
    border-color: rgba(148, 163, 184, .27);
    background: rgba(255, 255, 255, .025);
}

    .apps-button-outline:hover {
        color: var(--apps-cyan);
        border-color: rgba(72, 217, 255, .55);
    }

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 17px 23px;
    margin-top: 34px;
}

    .hero-highlights > div {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #c5cee0;
        font-size: .79rem;
    }

    .hero-highlights i,
    .tool-platform i {
        color: var(--apps-cyan);
    }

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-one {
    top: -180px;
    left: 15%;
    background: rgba(36, 163, 255, .2);
}

.hero-glow-two {
    right: 2%;
    bottom: -200px;
    background: rgba(142, 92, 255, .2);
}

/* Hero illustration */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 330px;
}

.visual-orbit {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(72, 217, 255, .15);
    border-radius: 50%;
}

.orbit-two {
    width: 210px;
    height: 210px;
    border-color: rgba(167, 139, 250, .25);
}

.visual-main-icon {
    display: grid;
    place-items: center;
    width: 135px;
    height: 135px;
    border: 1px solid rgba(72, 217, 255, .4);
    border-radius: 35px;
    color: var(--apps-cyan);
    background: linear-gradient(145deg, rgba(72, 217, 255, .16), rgba(167, 139, 250, .13));
    box-shadow: 0 0 70px rgba(72, 217, 255, .12);
    font-size: 3.6rem;
    transform: rotate(-8deg);
}

.floating-tool {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 13px;
    background: rgba(13, 21, 39, .94);
    box-shadow: 0 12px 38px rgba(0, 0, 0, .25);
}

    .floating-tool > i {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        color: var(--apps-cyan);
        background: rgba(72, 217, 255, .1);
    }

    .floating-tool strong,
    .floating-tool span {
        display: block;
    }

    .floating-tool strong {
        font-size: .8rem;
    }

    .floating-tool span {
        margin-top: 4px;
        color: var(--apps-muted);
        font-size: .7rem;
    }

.floating-download {
    top: 22%;
    left: -2%;
}

.floating-transcript {
    right: -3%;
    bottom: 19%;
}

.visual-caption {
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--apps-muted);
    font-size: .77rem;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #58e6a5;
    box-shadow: 0 0 10px rgba(88, 230, 165, .5);
}

/* Product introduction */

.apps-intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    padding: 65px 0 30px;
}

    .apps-intro h2,
    .workflow-heading h2,
    .support-copy h2 {
        margin: 10px 0;
        font-size: clamp(1.8rem, 3vw, 2.55rem);
        font-weight: 800;
        letter-spacing: -.035em;
    }

    .apps-intro p,
    .workflow-heading > p,
    .support-copy > p {
        max-width: 670px;
        margin: 0;
        color: var(--apps-muted);
        line-height: 1.75;
    }

.intro-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid var(--apps-border);
    border-radius: 10px;
    color: #c5cee0;
    background: rgba(255, 255, 255, .025);
    font-size: .8rem;
    white-space: nowrap;
}

    .intro-label i {
        color: var(--apps-purple);
    }

/* Product cards */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
}

.tool-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--apps-border);
    border-radius: 18px;
    background: linear-gradient(155deg, #111a2b, #0d1422 75%);
    transition: transform .25s ease, border-color .25s ease;
}

    .tool-card:hover {
        transform: translateY(-4px);
        border-color: rgba(72, 217, 255, .38);
    }

.tool-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 23px 25px 0;
}

.tool-icon {
    display: grid;
    place-items: center;
    width: 51px;
    height: 51px;
    border: 1px solid var(--apps-border);
    border-radius: 14px;
    font-size: 1.35rem;
}

.download-icon {
    color: var(--apps-cyan);
    background: rgba(72, 217, 255, .09);
}

.transcription-icon {
    color: var(--apps-purple);
    background: rgba(167, 139, 250, .1);
}

.tool-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid var(--apps-border);
    border-radius: 20px;
    color: #c2cde0;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.tool-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 225px;
    margin: 18px 25px 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .1);
    border-radius: 13px;
    background: radial-gradient(ellipse at center, rgba(72, 217, 255, .1), transparent 68%), #0b1322;
}

.transcription-illustration {
    flex-direction: column;
    gap: 24px;
    background: radial-gradient(ellipse at center, rgba(167, 139, 250, .11), transparent 68%), #0b1322;
}

/* Downloader illustration */

.illustration-window {
    position: relative;
    width: 190px;
    height: 145px;
    padding: 12px;
    border: 1px solid rgba(72, 217, 255, .3);
    border-radius: 12px;
    background: #111d30;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .25);
    transform: rotate(-3deg);
}

.window-top {
    display: flex;
    gap: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(148, 163, 184, .13);
}

    .window-top span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #53647d;
    }

.download-file-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 12px auto 8px;
    color: var(--apps-cyan);
    font-size: 1.8rem;
}

.illustration-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

    .illustration-lines span {
        width: 70%;
        height: 4px;
        border-radius: 4px;
        background: rgba(148, 163, 184, .17);
    }

        .illustration-lines span:last-child {
            width: 42%;
        }

.download-arrow {
    position: absolute;
    right: -14px;
    bottom: 22px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(72, 217, 255, .4);
    border-radius: 12px;
    color: var(--apps-cyan);
    background: #102439;
    font-size: 1.1rem;
}

/* Transcription illustration */

.waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 56px;
}

    .waveform span {
        width: 5px;
        height: 14px;
        border-radius: 5px;
        background: linear-gradient(180deg, #c4b5fd, #818cf8);
    }

        .waveform span:nth-child(4n + 1) {
            height: 28px;
        }

        .waveform span:nth-child(3n) {
            height: 42px;
        }

        .waveform span:nth-child(5n) {
            height: 52px;
        }

        .waveform span:nth-child(7n) {
            height: 21px;
        }

.transcript-preview {
    width: min(82%, 300px);
    padding: 13px 15px;
    border: 1px solid rgba(167, 139, 250, .25);
    border-radius: 10px;
    background: rgba(19, 25, 46, .95);
}

.transcript-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: #ddd6fe;
    font-size: .72rem;
    font-weight: 700;
}

.transcript-line {
    width: 100%;
    height: 5px;
    margin-top: 7px;
    border-radius: 5px;
    background: rgba(196, 181, 253, .19);
}

.short-line {
    width: 58%;
}

/* Product text and actions */

.tool-content {
    padding: 25px;
}

.tool-kicker {
    color: var(--apps-cyan);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.tool-card-transcription .tool-kicker {
    color: #c4b5fd;
}

.tool-content h3 {
    margin: 10px 0 12px;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -.025em;
}

.tool-content > p {
    min-height: 84px;
    margin: 0;
    color: var(--apps-muted);
    font-size: .92rem;
    line-height: 1.8;
}

.tool-features {
    display: grid;
    gap: 12px;
    margin: 23px 0;
    padding: 0;
    list-style: none;
}

    .tool-features li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: #d0d9e9;
        font-size: .84rem;
        line-height: 1.5;
    }

    .tool-features i {
        margin-top: 3px;
        color: var(--apps-cyan);
    }

.tool-card-transcription .tool-features i {
    color: #c4b5fd;
}

.tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 19px;
    border-top: 1px solid var(--apps-border);
}

.tool-platform {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--apps-muted);
    font-size: .77rem;
}

.tool-card-transcription .tool-platform i {
    color: #c4b5fd;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--apps-cyan);
    font-size: .85rem;
    font-weight: 800;
}

.tool-card-transcription .tool-link {
    color: #c4b5fd;
}

.tool-link i {
    transition: transform .2s ease;
}

.tool-link:hover i {
    transform: translateX(4px);
}

/* Workflow */

.workflow-section {
    margin-top: 70px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid var(--apps-border);
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(20, 30, 49, .95), rgba(14, 17, 36, .95));
}

.workflow-heading {
    text-align: center;
}

    .workflow-heading > p {
        margin: 0 auto;
    }

.workflow-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
}

.workflow-step {
    position: relative;
    text-align: center;
}

.workflow-number {
    position: absolute;
    top: -13px;
    right: calc(50% - 58px);
    color: rgba(148, 163, 184, .15);
    font-size: 2.5rem;
    font-weight: 900;
}

.workflow-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border: 1px solid rgba(72, 217, 255, .25);
    border-radius: 17px;
    color: var(--apps-cyan);
    background: rgba(72, 217, 255, .07);
    font-size: 1.35rem;
}

.workflow-step h3 {
    margin: 0 0 9px;
    font-size: 1rem;
    font-weight: 750;
}

.workflow-step p {
    max-width: 240px;
    margin: 0 auto;
    color: var(--apps-muted);
    font-size: .82rem;
    line-height: 1.7;
}

.workflow-connector {
    color: rgba(72, 217, 255, .55);
    font-size: 1.3rem;
}

/* Desktop app */

.desktop-app-section {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 25px;
    padding: 28px;
    border: 1px solid rgba(167, 139, 250, .2);
    border-radius: 16px;
    background: linear-gradient(110deg, rgba(167, 139, 250, .08), rgba(72, 217, 255, .035));
}

.desktop-app-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border: 1px solid rgba(167, 139, 250, .3);
    border-radius: 19px;
    color: #c4b5fd;
    background: rgba(167, 139, 250, .1);
    font-size: 2rem;
}

.desktop-app-copy {
    flex: 1;
    min-width: 0;
}

    .desktop-app-copy h2 {
        margin: 8px 0;
        font-size: 1.5rem;
        font-weight: 800;
    }

    .desktop-app-copy p {
        margin: 0;
        color: var(--apps-muted);
        font-size: .9rem;
        line-height: 1.7;
    }

/* Support */

.apps-support {
    position: relative;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 65px;
    padding: clamp(25px, 4vw, 43px);
    overflow: hidden;
    border: 1px solid rgba(72, 217, 255, .2);
    border-radius: 18px;
    background: linear-gradient(110deg, #10243a, #14152c);
}

.support-decoration {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    flex-shrink: 0;
    border: 1px solid rgba(72, 217, 255, .24);
    border-radius: 20px;
    color: var(--apps-cyan);
    background: rgba(72, 217, 255, .08);
    font-size: 2rem;
}

.support-copy {
    flex: 1;
}

    .support-copy h2 {
        font-size: clamp(1.45rem, 2.5vw, 2rem);
    }

    .support-copy > p {
        font-size: .9rem;
    }

/* Footer */

.apps-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 25px 0 5px;
    color: #7f8da7;
    font-size: .77rem;
}

/* Responsive */

@media (max-width: 1000px) {
    .apps-hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 300px;
        margin-top: 10px;
    }

    .floating-download {
        left: 8%;
    }

    .floating-transcript {
        right: 8%;
    }

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

    .workflow-grid {
        gap: 12px;
    }

    .desktop-app-section {
        flex-wrap: wrap;
    }

    .desktop-app-action {
        width: 100%;
    }

    .apps-support {
        flex-wrap: wrap;
    }

    .support-copy {
        flex-basis: calc(100% - 110px);
    }

    .support-actions {
        margin-left: 99px;
    }
}

@media (max-width: 700px) {
    .apps-page {
        border-radius: 12px;
    }

    .apps-hero {
        gap: 15px;
        padding: 30px 22px;
        border-radius: 12px;
    }

        .apps-hero h1 {
            font-size: clamp(2.2rem, 10vw, 3.3rem);
        }

    .hero-highlights {
        flex-direction: column;
        gap: 13px;
    }

    .hero-visual {
        min-height: 270px;
        transform: scale(.9);
    }

    .visual-orbit {
        width: 235px;
        height: 235px;
    }

    .orbit-two {
        width: 180px;
        height: 180px;
    }

    .floating-download {
        top: 10%;
        left: -1%;
    }

    .floating-transcript {
        right: -1%;
        bottom: 13%;
    }

    .floating-tool {
        padding: 9px;
    }

        .floating-tool > i {
            width: 32px;
            height: 32px;
        }

        .floating-tool strong {
            font-size: .7rem;
        }

        .floating-tool span {
            font-size: .62rem;
        }

    .apps-intro {
        padding-top: 45px;
    }

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

    .tool-illustration {
        height: 200px;
        margin-right: 17px;
        margin-left: 17px;
    }

    .tool-content {
        padding: 22px 18px;
    }

        .tool-content > p {
            min-height: 0;
        }

    .workflow-section {
        margin-top: 45px;
        padding: 28px 20px;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .workflow-connector {
        display: none;
    }

    .workflow-step p {
        max-width: 300px;
    }

    .desktop-app-section {
        gap: 17px;
        padding: 22px 18px;
    }

    .desktop-app-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .desktop-app-copy {
        flex-basis: calc(100% - 75px);
    }

    .apps-support {
        margin-top: 45px;
        padding: 25px 20px;
    }

    .support-decoration {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .support-copy {
        flex-basis: calc(100% - 80px);
    }

    .support-actions {
        width: 100%;
        margin-left: 0;
    }

    .apps-footer {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .apps-page *,
    .apps-page *::before,
    .apps-page *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
