
/* =================================
   P_TECH PRODUCTS PAGE
================================= */

.products-page {
    background: #080809;
    color: #f7f7f8;
}


/* HEADER */

.products-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(8, 8, 9, .90);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255,255,255,.08);
    z-index: 1000;
}

.products-header .brand img {
    height: 55px;
    width: auto;
    display: block;
    object-fit: contain;
}


/* COMMON */

.products-page section {
    scroll-margin-top: 75px;
}

.products-section-label {
    color: #e63946;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.products-page h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.products-page h2 span {
    color: #e63946;
}


/* HERO */

.products-hero {
    min-height: 100vh;
    padding: 150px clamp(28px, 8vw, 120px) 90px;

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 55px;

    background:
        radial-gradient(circle at 80% 45%,
        rgba(230,57,70,.13), transparent 35%),
        #080809;
}

.products-hero-content {
    max-width: 700px;
}

.products-eyebrow {
    color: #e63946;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 25px;
}

.products-hero h1 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .99;
    letter-spacing: -3px;
}

.products-hero h1 span {
    display: block;
    color: #e63946;
}

.products-hero-description {
    max-width: 520px;
    margin: 28px 0;
    color: #c4c4c8;
    font-size: 15px;
    line-height: 1.9;
}

.products-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.products-primary-button,
.products-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 21px;
    border-radius: 5px;

    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;

    transition: .25s ease;
    cursor: pointer;
}

.products-primary-button {
    background: #e63946;
    color: #fff;
    border: 0;
}

.products-primary-button:hover {
    background: #c92c39;
    transform: translateY(-3px);
}

.products-secondary-button {
    background: #fff;
    color: #e63946;
    border: 1px solid rgba(255,255,255,.25);
}

.products-secondary-button:hover {
    border-color: #e63946;
    color: #e63946;
    transform: translateY(-3px);
}


/* HERO PRODUCT VISUAL */

.products-hero-visual {
    display: flex;
    justify-content: center;
}

.products-visual-card {
    width: 100%;
    max-width: 470px;
    padding: 28px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 30px;

    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        #151518;

    background-size: 35px 35px;

    border: 1px solid rgba(230,57,70,.45);
    border-radius: 12px;

    box-shadow: 0 20px 80px rgba(230,57,70,.09);
}

.products-visual-header,
.products-visual-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    color: #858585;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.products-visual-status {
    color: #65d69a;
}

.products-visual-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.products-visual-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px;

    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px;

    transition: .25s ease;
}

.products-visual-item:hover {
    background: rgba(230,57,70,.07);
    border-color: rgba(230,57,70,.4);
    transform: translateX(4px);
}

.products-visual-item > div:nth-child(2) {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.products-visual-item strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
}

.products-visual-item small {
    color: #858585;
    font-size: 10px;
}

.products-visual-item > span {
    color: #858585;
    font-size: 11px;
}

.products-visual-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.excel-icon {
    color: #65d69a;
    background: rgba(101,214,154,.12);
    border: 1px solid rgba(101,214,154,.3);
}

.business-icon {
    color: #ffadb3;
    background: rgba(230,57,70,.12);
    border: 1px solid rgba(230,57,70,.3);
}

.website-icon {
    color: #8db5ff;
    background: rgba(100,151,255,.12);
    border: 1px solid rgba(100,151,255,.3);
}


/* INTRODUCTION */

.products-intro {
    padding: 110px clamp(28px, 8vw, 120px);
    background: #101012;
}

.products-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.products-intro-content h2 {
    margin: 0;
}

.products-intro-content > p {
    color: #c4c4c8;
    font-size: 15px;
    line-height: 2;
    max-width: 580px;
}


/* PRODUCT CATEGORIES */

.products-categories {
    padding: 110px clamp(28px, 8vw, 120px);
    background: #080809;
}

.products-section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.products-section-heading h2 {
    margin: 0;
}

.products-section-heading > p:last-child {
    color: #c4c4c8;
    line-height: 1.8;
    margin-top: 20px;
}

.products-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.products-category-card {
    position: relative;
    min-height: 430px;
    padding: 30px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    background: #202124;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;

    transition: .3s ease;
}

.products-category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230,57,70,.6);
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
}

.products-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.products-card-number {
    color: #858585;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
}

.products-category-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.products-category-type {
    color: #e63946;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin: 0 0 12px;
}

.products-category-card h3 {
    margin: 0 0 15px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
}

.products-category-description {
    color: #c4c4c8;
    font-size: 12px;
    line-height: 1.9;
    margin: 0 0 20px;
}

.products-category-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.products-category-card li {
    position: relative;
    padding-left: 18px;
    color: #c4c4c8;
    font-size: 12px;
}

.products-category-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #e63946;
}

.products-category-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    width: fit-content;
    margin-top: auto;

    color: #f7f7f8;
    font-size: 12px;
    font-weight: 600;

    transition: .25s ease;
}

.products-category-link span {
    color: #e63946;
    transition: .25s ease;
}

.products-category-link:hover {
    color: #e63946;
}

.products-category-link:hover span {
    transform: translateX(5px);
}


/* BENEFITS */

.products-benefits {
    padding: 110px clamp(28px, 8vw, 120px);
    background: #101012;
}

.products-benefits .products-section-heading {
    margin-bottom: 55px;
}

.products-benefits .products-section-heading h2 {
    margin: 0;
}

.products-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.products-benefit-item {
    padding: 25px 20px;
    border-top: 2px solid #e63946;
    background: #202124;
}

.products-benefit-item > span {
    color: #e63946;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
}

.products-benefit-item h3 {
    margin: 25px 0 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
}

.products-benefit-item p {
    color: #c4c4c8;
    font-size: 12px;
    line-height: 1.9;
}


/* CONTACT */

.products-contact {
    padding: 110px 25px;
    text-align: center;

    background:
        radial-gradient(circle at center,
        rgba(230,57,70,.13), transparent 55%),
        #080809;
}

.products-contact h2 {
    margin: 0;
}

.products-contact > p:not(.products-section-label) {
    color: #c4c4c8;
    line-height: 1.8;
    margin: 25px auto 30px;
    max-width: 550px;
}

.products-contact .products-primary-button {
    margin: 0 auto;
}


/* FOOTER */

.products-footer {
    min-height: 110px;
    padding: 25px clamp(24px, 5vw, 70px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;

    background: #080809;
    border-top: 1px solid rgba(255,255,255,.10);
}

.products-footer .brand img {
    height: 42px;
    width: auto;
}

.products-footer p,
.products-footer span {
    color: #858585;
    font-size: 17px;
}

.products-footer > a:not(.brand) {
    color: #c4c4c8;
    font-size: 12px;
}


/* TAGLINE */

.footer-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #F7F7F8;
    margin: 12px 0;
}

.footer-tagline span {
    color: #E63946;
    font-size: inherit;
}


/* PRODUCT ENQUIRY POPUP */

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(8px);
}

.product-modal.active {
    display: flex;
}

.product-modal-content {
    position: relative;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;

    padding: 40px;
    box-sizing: border-box;

    background: #151518;
    border: 1px solid rgba(230,57,70,.35);
    border-radius: 12px;

    box-shadow: 0 25px 90px rgba(0,0,0,.6);
    animation: productModalOpen .25s ease;
}

@keyframes productModalOpen {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;

    width: 35px;
    height: 35px;

    border: 0;
    background: transparent;
    color: #c4c4c8;
    font-size: 30px;
    cursor: pointer;
}

.product-modal-close:hover {
    color: #e63946;
}

.product-modal-content h2 {
    margin: 0;
    font-size: clamp(30px, 5vw, 42px);
}

.product-modal-content h2 span {
    color: #e63946;
}

.product-modal-description {
    color: #c4c4c8;
    font-size: 13px;
    line-height: 1.8;
    margin: 15px 0 28px;
}

.product-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product-form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.product-form-group.full-width {
    grid-column: 1 / -1;
}

.product-form-group label {
    color: #f7f7f8;
    font-size: 12px;
    font-weight: 600;
}

.product-form-group input,
.product-form-group select,
.product-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;

    background: #202124;
    color: #f7f7f8;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 5px;
    outline: none;

    font-family: 'Inter', sans-serif;
    font-size: 12px;
}

.product-form-group input:focus,
.product-form-group select:focus,
.product-form-group textarea:focus {
    border-color: #e63946;
}

.product-form-group input::placeholder,
.product-form-group textarea::placeholder {
    color: #858585;
}

.product-form-group select {
    cursor: pointer;
}

.product-form-group select option {
    background: #202124;
    color: #f7f7f8;
}

.product-form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.product-submit-button {
    width: 100%;
    margin-top: 25px;
    padding: 15px;

    background: #e63946;
    color: #fff;

    border: 0;
    border-radius: 5px;

    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
}

.product-submit-button:hover {
    background: #c92c39;
}

.product-submit-button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.product-submit-button span {
    margin-left: 8px;
}

.product-form-status {
    min-height: 18px;
    margin: 12px 0 0;
    font-size: 12px;
    text-align: center;
}

.product-form-status.success {
    color: #65d69a;
}

.product-form-status.error {
    color: #ff6b75;
}

.product-privacy-note {
    color: #858585;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
    margin-top: 15px;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .products-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 1000px) {

    .products-hero {
        grid-template-columns: 1fr;
    }

    .products-hero-visual {
        justify-content: flex-start;
    }

    .products-visual-card {
        max-width: 100%;
    }

}


@media (max-width: 760px) {

    .products-header {
        min-height: 70px;
    }

    .products-header .brand img {
        height: 42px;
    }

    .products-intro-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .products-category-grid {
        grid-template-columns: 1fr;
    }

    .products-category-card {
        min-height: auto;
    }

}


@media (max-width: 600px) {

    .products-visual-card {
        padding: 20px;
        gap: 22px;
    }

    .products-visual-item {
        padding: 13px;
        gap: 12px;
    }

    .products-visual-item strong {
        font-size: 12px;
    }

    .product-modal-content {
        padding: 30px 20px;
    }

    .product-form-grid {
        grid-template-columns: 1fr;
    }

    .product-form-group.full-width {
        grid-column: auto;
    }

    .products-benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-tagline {
        font-size: 19px;
    }

}


@media (max-width: 480px) {

    .products-hero {
        padding: 125px 23px 70px;
    }

    .products-hero h1 {
        font-size: 47px;
    }

    .products-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .products-primary-button,
    .products-secondary-button {
        width: 100%;
        box-sizing: border-box;
    }

    .products-page h2 {
        font-size: 39px;
    }

    .products-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .products-visual-header,
    .products-visual-footer {
        font-size: 8px;
    }

}
