/* Custom Fonts */
@font-face {
    font-family: "Geologica";
    src: url("/assets/Geologica-VariableFont-5c3e33f8.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: "AlphaLyrae";
    src:
        url("/assets/AlphaLyrae-Medium-12b8769a.woff2") format("woff2"),
        url("/assets/AlphaLyrae-Medium-e3bccec7.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Tiny5";
    src: url("/assets/Tiny5-Regular-ac5cea62.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

:root {
    --pico-background-color: #000000;
    --pico-color: #ffffff;
    --pico-font-family: "Geologica", sans-serif;
}

* {
    box-sizing: border-box;
}

section {
    margin-bottom: 0 !important;
}

body {
    background-color: #000000 !important;
    color: #ffffff !important;
    font-family: "Geologica", sans-serif !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main.main-content {
    flex: 1;
    background-color: #000000;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

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

a:hover,
a:active {
    text-decoration: none;
}

/* Header Styles */
.site-header {
    height: 190px;
    width: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    border-bottom: none;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
}

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

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.menu-text {
    display: none;
    font-family: "Geologica", sans-serif;
    font-weight: 100;
    font-size: 24px;
    line-height: 1;
    color: #ffffff;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .menu-text {
        display: inline-block;
    }
}

.burger-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

.burger-img {
    width: 54px;
    height: auto;
    display: block;
}

/* Custom Dotted Separators (Figma: thickness 2px, round caps, dash 0.25, gap 6) */
.hero-section,
.recently-section,
.why-how-section,
.counters-section,
.app-category,
.static-page-section,
.login-page {
    position: relative;
    border-bottom: none !important;
    margin: 0 !important;
}

.hero-section::after,
.recently-section::after,
.why-how-section::after,
.counters-section::after,
.app-category::after,
.product-details::after,
.suggestions-section::after,
.static-page-section::after,
.login-page::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6.25' height='2'%3E%3Cline x1='1' y1='1' x2='1.25' y2='1' stroke='rgba(255, 255, 255, 0.45)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom left;
    pointer-events: none;
}

/* Hero Section Styles */
.hero-section {
    width: 100%;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.hero-img,
.recently-photo {
    filter: url(#desaturate) grayscale(100%);
    transition: filter 0.3s ease;
}

.hero-visual:hover .hero-img,
.hero-img:hover,
.recently-photo-wrapper:hover .recently-photo,
.recently-photo:hover {
    filter: none;
}

.hero-title {
    font-family: "Tiny5", sans-serif;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 24px 0 !important;
    padding-top: 0 !important;
    line-height: 1.05;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-family: "Geologica", sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 40px 0;
    max-width: 520px;
}

.hero-btn {
    width: 256px;
    height: 60px;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    text-decoration: none !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.hero-btn:hover,
.hero-btn:active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none !important;
}

.hero-btn-icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.hero-visual {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Mobile (< 768px): 48px */
@media (max-width: 767px) {
    .hero-section {
        padding: 0 0 48px !important;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .hero-visual {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .hero-content {
        order: 2;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 48px;
    }
}

/* Tablet (~960 / 768px to 1279px): 64px */
@media (min-width: 768px) and (max-width: 1279px) {
    .hero-section {
        padding: 0 0 60px !important;
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: flex-start;
        gap: 32px;
    }

    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-visual {
        order: 2;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 64px;
    }
}

/* Desktop (1280px+): 96px */
@media (min-width: 1280px) {
    .hero-section {
        padding: 0 0 80px !important;
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: flex-start;
        gap: 48px;
    }

    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-visual {
        order: 2;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 96px;
    }
}

/* Recently Released Section Styles */
.recently-section {
    width: 100%;
    position: relative;
    padding: 80px 0;
    overflow: visible;
}

.recently-header-vertical {
    display: none;
}

.cassette-illustration {
    display: none;
}

.recently-header-horizontal {
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 28px;
    color: #ffffff;
    margin: 0 0 32px 0;
    letter-spacing: 0.03em;
}

.recently-photo {
    display: block;
}

.product-title {
    font-family: "Geologica", sans-serif;
    font-weight: 400;
    font-size: 32px;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.04em;
}

.product-title-underline {
    width: 48px;
    height: 3px;
    background-color: #ffffff;
    margin-top: 12px;
    margin-bottom: 32px;
}

.recently-section .product-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.spec-icon {
    width: 22px;
    height: 22px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    margin-top: 2px;
}

.spec-text {
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.4;
    color: #ffffff;
}

.spec-label {
    color: rgba(255, 255, 255, 0.55);
}

.buy-btn,
.buy-btn:visited {
    width: 256px;
    height: 60px;
    background-color: #ffffff;
    color: #000000 !important;
    border: 1px solid #ffffff;
    font-family: "Geologica", sans-serif;
    font-weight: 400;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    text-decoration: none !important;
    transition:
        background-color 0.2s ease,
        opacity 0.2s ease;
}

.buy-btn span,
.buy-btn i,
.buy-btn-icon {
    color: #000000 !important;
}

.buy-btn:hover,
.buy-btn:active {
    background-color: #e5e5e5;
    color: #000000 !important;
    text-decoration: none !important;
}

.buy-btn-icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.detailed-link {
    color: rgba(255, 255, 255, 0.65);
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 4px;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.detailed-link:hover,
.detailed-link:active {
    color: #ffffff;
    text-decoration: none;
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .recently-section {
        padding: 48px 0;
    }

    .recently-header-horizontal {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .recently-content {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .recently-info {
        display: contents;
    }

    .product-title-block {
        order: 1;
    }

    .product-title-underline {
        margin-bottom: 16px;
    }

    .recently-photo-wrapper {
        order: 2;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .recently-photo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .recently-section .product-details {
        order: 3;
        gap: 14px;
        margin-top: 24px;
    }

    .recently-actions {
        order: 4;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 12px;
    }
}

/* Tablet (~960 / 768px to 1279px) */
@media (min-width: 768px) and (max-width: 1279px) {
    .recently-section {
        padding: 60px 0;
    }

    .recently-content {
        display: flex;
        align-items: flex-start;
        gap: 40px;
    }

    .recently-photo-wrapper {
        flex-shrink: 0;
        width: 256px;
        height: 384px;
    }

    .recently-photo {
        width: 256px;
        height: 384px;
        object-fit: cover;
    }

    .recently-info {
        display: flex;
        flex-direction: column;
    }

    .recently-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 36px;
    }
}

/* Desktop (1280px+) */
@media (min-width: 1280px) {
    .recently-section {
        padding: 100px 0;
    }

    .recently-header-horizontal {
        display: none;
    }

    .recently-header-vertical {
        display: block;
        position: absolute;
        right: 100%;
        margin-right: 24px;
        top: 64%;
        transform: translateY(-50%) rotate(180deg);
        writing-mode: vertical-rl;
        white-space: nowrap;
        font-family: "Geologica", sans-serif;
        font-weight: 200;
        font-size: 32px;
        color: #ffffff;
        letter-spacing: 0.05em;
    }

    .cassette-illustration {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 480px;
        width: auto;
        pointer-events: none;
    }

    .recently-content {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 64px;
    }

    .recently-photo-wrapper {
        position: relative;
        flex-shrink: 0;
        margin-left: 64px;
        width: 320px;
        height: 480px;
    }

    .recently-photo {
        width: 320px;
        height: 480px;
        object-fit: cover;
    }

    .recently-info {
        height: 480px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        max-width: 480px;
    }

    .product-title-underline {
        margin-bottom: 0;
    }

    .recently-section .product-details {
        padding-top: 50px;
    }

    .recently-actions {
        display: flex;
        align-items: center;
        gap: 32px;
        margin-top: auto;
    }
}

/* Why and How Section Styles */
.why-how-section {
    width: 100%;
    padding: 80px 0;
}

.why-how-img {
    display: block;
    height: auto;
}

.why-how-title {
    font-family: "Geologica", sans-serif;
    font-weight: 400;
    font-size: 32px;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.04em;
}

.why-how-underline {
    width: 48px;
    height: 3px;
    background-color: #ffffff;
    margin-top: 12px;
    margin-bottom: 32px;
}

.why-how-text {
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 24px 0;
}

.why-how-link {
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.read-link {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition:
        opacity 0.2s ease,
        text-decoration 0.2s ease;
}

.read-link:hover,
.read-link:active {
    opacity: 0.8;
    text-decoration: none !important;
}

/* Counters Section Styles */
.counters-section {
    width: 100%;
    padding: 80px 0;
}

.counters-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.counter-value {
    font-family: "Tiny5", sans-serif;
    font-weight: 400;
    font-size: 42px;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 8px;
}

.counter-label {
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.3;
}

.counter-divider-v {
    width: 2px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='6.25'%3E%3Cline x1='1' y1='1' x2='1' y2='1.25' stroke='rgba(255, 255, 255, 0.45)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: repeat-y;
    background-position: center;
}

.counter-divider-h {
    grid-column: 1 / -1;
    width: 100%;
    height: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6.25' height='2'%3E%3Cline x1='1' y1='1' x2='1.25' y2='1' stroke='rgba(255, 255, 255, 0.45)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    margin: 40px 0;
}

.desktop-only {
    display: none !important;
}

/* Mobile (< 768px): 275px image */
@media (max-width: 767px) {
    .why-how-section {
        padding: 48px 0;
    }

    .why-how-container {
        display: flex;
        flex-direction: column;
        gap: 36px;
    }

    .why-how-img {
        width: 275px;
    }

    .why-how-title {
        font-size: 28px;
    }
}

/* Tablet (~960 / 768px to 1279px): 240px image */
@media (min-width: 768px) and (max-width: 1279px) {
    .why-how-section {
        padding: 60px 0;
    }

    .why-how-container {
        display: flex;
        flex-direction: column;
        gap: 48px;
    }

    .why-how-img {
        width: 240px;
    }
}

@media (min-width: 768px) {
    .counter-value {
        font-size: 72px;
    }

    .counter-divider-v {
        height: 100px;
    }
}

/* Desktop (1280px+): 390px image */
@media (min-width: 1280px) {
    .why-how-section {
        padding: 100px 0;
    }

    .why-how-container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 80px;
    }

    .why-how-img {
        width: 390px;
    }

    .counters-section {
        padding: 100px 0;
    }

    .counters-grid {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    }

    .counter-divider-h {
        display: none !important;
    }

    .desktop-only {
        display: block !important;
    }

    br.wrap-below-1280 {
        display: none;
    }
}

/* Large Desktop (> 1535px) */
@media (min-width: 1536px) {
    .why-how-container {
        align-items: flex-start;
    }

    .why-how-title {
        line-height: 1;
    }
}

/* Footer Styles */
.site-footer {
    width: 100%;
    background-color: #000000;
    border-top: none;
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
}

.site-footer .footer-container {
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links-left,
.footer-copyright,
.footer-links-right {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-link,
.footer-link:visited {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 16px;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.footer-link:hover,
.footer-link:active {
    opacity: 0.75;
    text-decoration: none;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.65);
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 16px;
}

.copyright-write-us {
    color: rgba(255, 255, 255, 0.65);
}

.email-link,
.email-link:visited {
    color: #707070;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 200;
    transition: color 0.2s ease;
}

.email-link:hover,
.email-link:active {
    color: #ffffff;
    text-decoration: none;
}

/* Responsive Footer Layouts */

/* Mobile: <= 767px (e.g. 375px window) */
@media (max-width: 767px) {
    .site-footer {
        height: 285px;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 22px;
    }

    .footer-copyright {
        order: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .footer-links-left {
        order: 2;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }

    .footer-links-right {
        order: 3;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }
}

/* Tablet: 768px to 1279px (e.g. 768px and 960px windows) */
@media (min-width: 768px) and (max-width: 1279px) {
    .site-footer {
        height: 215px;
    }

    .footer-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px 24px;
    }

    .footer-copyright {
        width: 100%;
        text-align: center;
        order: 1;
    }

    .footer-links-left {
        display: flex;
        gap: 24px;
        order: 2;
    }

    .footer-links-right {
        display: flex;
        gap: 24px;
        order: 3;
    }
}

/* Desktop: >= 1280px */
@media (min-width: 1280px) {
    .site-footer {
        height: 160px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
    }

    .footer-links-left {
        display: flex;
        gap: 28px;
        justify-content: flex-start;
    }

    .footer-copyright {
        text-align: center;
    }

    .footer-links-right {
        display: flex;
        gap: 28px;
        justify-content: flex-end;
    }
}

/* Navigation Menu Popup Overlay */
.menu-overlay {
    position: fixed;
    top: 8px;
    left: 8px;
    right: 8px;
    width: calc(100% - 16px);
    background-color: #111111;
    z-index: 9999;
    padding-top: 115px;
    padding-bottom: 44px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-img {
    width: 20px;
    height: 20px;
    display: block;
}

.menu-overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.menu-link {
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 24px;
    line-height: 1;
    color: #ffffff !important;
    text-decoration: underline !important;
    text-underline-offset: 6px;
    transition:
        opacity 0.2s ease,
        text-decoration 0.2s ease;
}

.menu-link:hover,
.menu-link:active,
.menu-link.active,
.footer-link.active {
    opacity: 0.8;
    text-decoration: none !important;
}

.menu-overlay-footer {
    margin-top: 44px;
    margin-bottom: 0;
    padding: 0;
    text-align: center;
}

.menu-copyright {
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.menu-mail {
    color: rgba(255, 255, 255, 0.45) !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    transition:
        color 0.2s ease,
        text-decoration 0.2s ease;
}

.menu-mail:hover,
.menu-mail:active {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Apps Category Sections */
.app-category {
    width: 100%;
    padding: 80px 0;
    background-color: #000000;
}

.category-default {
    padding-top: 0 !important;
}

.app-category-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.app-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.app-category-title {
    font-family: "Tiny5", sans-serif;
    font-size: 48px;
    line-height: 1;
    color: #ffffff;
    margin: 0;
    max-width: 400px;
    text-wrap: balance;
}

.app-category-icon {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    flex-shrink: 0;
}

.app-category-icon-dark {
    background-color: #262626;
}
@media (max-width: 640px) {
    .app-category-icon,
    .app-category-icon-dark,
    .product-icon-square {
        display: none !important;
    }
}
.app-category-desc {
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 22px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.app-icon-desktop {
    display: none;
}

.app-divider-v {
    display: none;
}

.footer-spacer {
    display: none;
}

.app-static-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.app-card {
    position: relative;
    background-color: #1a1a1a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    min-height: 380px;
}

.app-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(120%);
    opacity: 0.45;
    transition:
        transform 0.4s ease,
        filter 0.4s ease,
        opacity 0.4s ease;
    z-index: 1;
}

.app-card:hover .app-card-bg {
    transform: scale(1.04);
    filter: grayscale(0%) contrast(100%);
    opacity: 0.6;
}

.app-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
}

.app-card-title {
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 28px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.app-card-line {
    width: 32px;
    height: 2px;
    background-color: #ffffff;
    margin: 12px 0;
}

.app-card-subtitle {
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 18px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

.app-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

.app-card .price-btn {
    height: 60px;
    background-color: #ffffff !important;
    color: #000000 !important;
    font-family: "Geologica", sans-serif;
    font-weight: 400;
    font-size: 18px;
    padding: 0 24px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: opacity 0.2s ease;
}

.app-card .price-btn span,
.app-card .price-btn i,
.app-card .price-btn .buy-btn-icon {
    color: #000000 !important;
}

.app-card .price-btn:hover {
    opacity: 0.85;
}

/* Embla Gallery Specifics */
.embla,
.embla:focus,
.embla:focus-visible,
.embla:active,
.embla__container,
.embla__container:focus,
.embla__container:focus-visible,
.embla__slide,
.embla__slide:focus,
.embla__slide:focus-visible {
    outline: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.embla {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.embla__container {
    display: flex;
}

.embla__slide {
    flex: 0 0 100%;
    min-width: 0;
}

.gallery-arrow-btn {
    position: absolute;
    right: 32px;
    bottom: 32px;
    z-index: 20;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
    padding: 0 !important;
    outline: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none;
}

.gallery-arrow-btn::-moz-focus-inner {
    border: 0 !important;
    padding: 0 !important;
}

.gallery-arrow-btn:hover,
.gallery-arrow-btn:focus,
.gallery-arrow-btn:focus-visible,
.gallery-arrow-btn:active {
    outline: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    border-color: #ffffff !important;
}

.gallery-arrow-btn:hover {
    transform: scale(1.05);
}

.app-section-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 4px;
}

.app-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-dot {
    width: 8px;
    height: 8px;
    background-color: #333333;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.app-dot.active {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
}

.app-platform {
    font-family: "Geologica", sans-serif;
    font-weight: 100;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.65);
}

.category-reversed .app-static-cards .app-card .app-card-content .app-card-top {
    text-align: left !important;
}

/* Responsive Queries */
@media (max-width: 1279px) {
    .category-reversed .app-col-static {
        order: 1;
    }
    .category-reversed .app-col-gallery {
        order: 2;
    }
    .category-reversed .app-gallery-footer {
        flex-direction: row-reverse;
    }
}

@media (max-width: 767px) {
    .app-static-cards {
        display: none !important;
    }

    .app-category-desc {
        line-height: 1.3;
    }

    .app-category-container {
        gap: 80px;
    }

    .app-col-gallery {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .app-col-gallery .app-gallery-card,
    .app-col-gallery .embla__slide {
        min-height: unset;
        height: auto;
        aspect-ratio: 4 / 5.7;
        width: 100%;
    }

    .app-col-gallery .app-card {
        min-height: unset;
        height: 100%;
    }

    .app-gallery-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 4px;
    }
}

@media (min-width: 768px) and (max-width: 959px) {
    .app-category-title {
        font-size: 48px;
    }

    .app-category-desc {
        line-height: 1.3;
    }

    .app-col-static {
        display: flex;
        flex-direction: column;
        gap: 80px;
    }

    .app-category-container {
        gap: 24px;
    }

    .app-static-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .app-static-cards .app-card {
        min-height: unset;
        height: auto;
        aspect-ratio: 4 / 5.7;
    }

    .app-col-gallery {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .app-col-gallery .app-gallery-card,
    .app-col-gallery .embla__slide {
        min-height: unset;
        height: auto;
        aspect-ratio: 1 / 1;
        width: 100%;
    }

    .app-col-gallery .app-card {
        min-height: unset;
        height: 100%;
    }

    .app-gallery-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 4px;
    }
}

@media (min-width: 960px) {
    .app-category-title {
        font-size: 64px;
    }
}

@media (min-width: 960px) and (max-width: 1279px) {
    .app-category-desc {
        line-height: 1.3;
    }

    .app-col-static {
        display: flex;
        flex-direction: column;
        gap: 80px;
    }

    .app-category-container {
        gap: 24px;
    }

    .app-static-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .app-static-cards .app-card {
        min-height: unset;
        height: auto;
        aspect-ratio: 4 / 5;
    }

    .app-col-gallery {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .app-col-gallery .app-gallery-card,
    .app-col-gallery .embla__slide {
        min-height: unset;
        height: auto;
        aspect-ratio: 3 / 2.4;
        width: 100%;
    }

    .app-col-gallery .app-card {
        min-height: unset;
        height: 100%;
    }

    .app-gallery-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 4px;
    }
}

@media (min-width: 1280px) {
    .app-category-container {
        display: grid;
        grid-template-columns: 1fr auto 520px;
        align-items: start;
        gap: 40px;
    }

    .app-col-static {
        display: flex;
        flex-direction: column;
        gap: 48px;
    }

    .app-static-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: start;
    }

    .category-default .app-static-cards .app-card:nth-child(1) {
        min-height: unset;
        height: auto;
        aspect-ratio: 3 / 3.25;
    }

    .category-default .app-static-cards .app-card:nth-child(2) {
        min-height: unset;
        height: auto;
        aspect-ratio: 3 / 4.35;
    }

    .app-divider-v {
        display: block;
        width: 2px;
        align-self: stretch;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='6.25'%3E%3Cline x1='1' y1='1' x2='1' y2='1.25' stroke='rgba(255, 255, 255, 0.45)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: repeat-y;
        background-position: top center;
    }

    .app-col-gallery {
        width: 520px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .app-col-gallery .app-gallery-card {
        width: 520px;
        height: 680px;
        min-height: 680px;
    }

    .app-col-gallery .embla__slide {
        height: 680px;
    }

    .app-col-gallery .app-card {
        height: 100%;
        min-height: unset;
    }

    .app-gallery-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 4px;
    }

    /* Reversed Category Desktop Overrides */
    .category-reversed .app-category-container {
        grid-template-columns: 520px auto 1fr;
    }

    .category-reversed .app-col-static {
        text-align: right;
    }

    .category-reversed .app-header-row {
        flex-direction: row-reverse;
    }

    .category-reversed .app-static-cards .app-card:nth-child(1) {
        min-height: unset;
        height: auto;
        aspect-ratio: 3 / 4.35;
    }

    .category-reversed .app-static-cards .app-card:nth-child(2) {
        min-height: unset;
        height: auto;
        aspect-ratio: 3 / 3.25;
    }
}

/* Product Details Section */
.product-details {
    position: relative;
    width: 100%;
    padding: 0 0 80px 0;
    background-color: #000000;
}

.product-details-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.product-title {
    font-family: "Tiny5", sans-serif;
    font-size: 48px;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

.product-icon-square {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    flex-shrink: 0;
}

.product-desc {
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 22px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Gallery Section */
.product-gallery-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.product-gallery-card {
    position: relative;
    width: 100%;
    background: repeating-linear-gradient(
        -45deg,
        #1b1b1b,
        #1b1b1b 3px,
        #111111 3px,
        #111111 10px
    );
    padding: 24px;
}

.product-carousel {
    overflow: hidden;
    width: 100%;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.product-carousel .embla__container {
    display: flex;
}

.product-carousel .embla__slide {
    flex: 0 0 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.product-gallery-arrow-btn {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 20;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    padding: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none;
}

.product-gallery-arrow-btn::-moz-focus-inner {
    border: 0 !important;
    padding: 0 !important;
}

.product-gallery-arrow-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.product-gallery-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

/* Specs Block */
.product-specs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-family: "Geologica", sans-serif;
    font-weight: 200;
    font-size: 20px;
    line-height: 1.4;
    color: #ffffff;
}

.product-spec-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #ffffff;
    opacity: 0.8;
    margin-top: 1px;
}

.spec-label {
    color: rgba(255, 255, 255, 0.5);
}

.spec-value {
    color: #ffffff;
}

/* Actions Block */
.product-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin-top: 32px;
}

.product-buy-btn {
    height: 60px;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-family: "Geologica", sans-serif;
    font-weight: 400;
    font-size: 18px;
    padding: 0 24px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: opacity 0.2s ease;
}

.product-buy-btn span,
.product-buy-btn i,
.product-buy-btn .buy-btn-icon {
    color: #ffffff !important;
}

.product-buy-btn:hover {
    opacity: 0.85;
}

.product-manual-link {
    font-family: "Geologica", sans-serif;
    font-weight: 100;
    font-size: 18px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline !important;
    align-self: flex-start;
    transition: color 0.2s ease;
}

.product-manual-link:hover {
    color: #ffffff;
}

.product-divider-v {
    display: none;
}

@media (min-width: 768px) {
    .product-actions {
        flex-direction: row;
        align-items: center;
        gap: 32px;
    }

    .product-buy-btn {
        display: inline-flex;
        min-width: 240px;
    }

    .product-manual-link {
        align-self: center;
        margin: 0;
    }

    .product-gallery-card {
        padding: 36px;
    }
}

@media (min-width: 960px) {
    .product-title {
        font-size: 64px;
    }
}

@media (min-width: 1280px) {
    /*.product-details {
        margin-top: 40px;
    }*/
    .product-details-grid {
        display: grid;
        grid-template-columns: 1fr auto 520px;
        column-gap: 40px;
        row-gap: 48px;
        align-items: start;
    }

    .product-intro {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .product-divider-v {
        display: block;
        width: 2px;
        align-self: stretch;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='6.25'%3E%3Cline x1='1' y1='1' x2='1' y2='1.25' stroke='rgba(255, 255, 255, 0.45)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: repeat-y;
        background-position: top center;
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }

    .product-gallery-section {
        grid-column: 3 / 4;
        grid-row: 1 / 3;
    }

    .product-details-info {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .product-gallery-card {
        padding: 48px;
    }
}

/* Suggestions Section */
.suggestions-section {
    position: relative;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 0 !important;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.suggestions-title {
    font-family: "Tiny5", sans-serif;
    font-size: 48px;
    line-height: 1;
    color: #ffffff;
    margin: 0 0 32px 0;
    text-transform: uppercase;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.suggestions-grid .app-card {
    min-height: unset;
    height: auto;
    aspect-ratio: 3 / 4.25;
}

/* On mobile (<768px), show only 1 card */
.suggestions-grid .app-card:nth-child(n + 2) {
    display: none;
}

@media (min-width: 768px) {
    .suggestions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .suggestions-grid .app-card {
        aspect-ratio: 3 / 4.25;
    }

    .suggestions-grid .app-card:nth-child(2) {
        display: flex;
    }

    .suggestions-grid .app-card:nth-child(n + 3) {
        display: none;
    }
}

@media (min-width: 960px) {
    .suggestions-title {
        font-size: 64px;
        margin-bottom: 40px;
    }

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

    .suggestions-grid .app-card {
        aspect-ratio: 4 / 5;
    }
}

@media (min-width: 1280px) {
    .suggestions-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .suggestions-grid .app-card:nth-child(n) {
        display: flex;
        aspect-ratio: 3 / 4;
    }
}

/* Login Page Styles */
.login-page {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    min-height: calc(100vh - 190px - 80px);
}

.login-container {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
}

.login-title {
    font-family: "Tiny5", sans-serif;
    font-size: 64px;
    line-height: 1;
    color: #ffffff;
    margin: 0 0 36px 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
@media (max-width: 960px) {
    .login-title {
        font-size: 48px;
    }
}

.login-intro {
    font-family: "Geologica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 48px 0;
    max-width: 520px;
}

.login-flash {
    font-family: "Geologica", sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
    padding: 12px 16px;
    margin-bottom: 24px;
    max-width: 520px;
    text-transform: uppercase;
}

.login-form {
    max-width: 520px;
    width: 100%;
}

.login-field {
    margin-bottom: 36px;
}

.login-label {
    display: block;
    font-family: "Geologica", sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.login-input {
    width: 100%;
    max-width: 520px;
    height: 56px;
    background-color: #0c0c0c !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-family: "Geologica", sans-serif !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.login-input:focus {
    border-color: #ffffff !important;
    background-color: #000000 !important;
    box-shadow: 0 0 0 1px #ffffff !important;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
    font-weight: 200 !important;
    text-transform: uppercase;
}

.login-actions {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-top: 40px;
}

.login-submit-btn {
    width: 180px !important;
    height: 56px;
    border: 1px solid #ffffff !important;
    background-color: transparent !important;
    color: #ffffff !important;
    font-family: "Geologica", sans-serif !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 24px !important;
    border-radius: 0 !important;
    cursor: pointer;
    text-transform: uppercase;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
    margin: 0 !important;
    text-decoration: none !important;
}

.login-submit-btn span,
.login-submit-btn i,
.login-submit-btn svg,
.login-submit-btn .login-btn-icon {
    color: inherit !important;
    stroke: currentColor !important;
}

.login-submit-btn:hover,
.login-submit-btn:active {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.login-btn-icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
    transition: stroke 0.2s ease;
}

.login-remember-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0 !important;
}

.login-checkbox {
    width: 20px !important;
    height: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    margin: 0 !important;
    cursor: pointer;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-checkbox:checked {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.login-remember-text {
    font-family: "Geologica", sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    user-select: none;
}

.login-spacer {
    flex: 1;
    min-height: 80px;
}

/* Static Page Styles */
.static-page-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    min-height: calc(100vh - 190px - 80px);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
}

.static-page-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

.static-page-title {
    font-family: "Tiny5", sans-serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
    margin: 0 0 30px 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
@media (max-width: 960px) {
    .static-page-title {
        font-size: 48px;
    }
}

.static-page-section .page-content {
    font-family: "Geologica", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}
.static-page-section .page-content p {
    font-weight: 200 !important;
}

.static-page-spacer {
    flex: 1;
    min-height: 80px;
}

.product-details.product-details-last {
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-spacer {
    flex: 1;
    min-height: 80px;
}
