/* GabaTech public storefront theme.
 * Kept outside Blade templates so public pages share one visual system.
 */

body.site-light {
    background: #f4f7fb;
    color: #172033;
    color-scheme: light;
}

body.site-light header {
    border-color: #dbe4ee;
    background: rgba(255, 255, 255, 0.94);
    color: #172033;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

body.site-light header a,
body.site-light header summary {
    color: #475569;
}

body.site-light header a:hover,
body.site-light header summary:hover {
    color: #111827;
}

body.site-light header a {
    border-color: #dbe4ee;
}

body.site-light header [data-product-navigation],
body.site-light header [data-product-navigation-mobile] {
    border-color: #dbe4ee;
    background: #ffffff;
    color: #334155;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

body.site-light header [data-current-product="true"],
body.site-light header [aria-current="page"] {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #111827;
}

body.site-light header summary span {
    background: #334155;
}

body.site-light header .text-xl,
body.site-light header .font-semibold {
    color: #172033;
}

body.site-light footer {
    border-color: #dbe4ee;
    background: #ffffff;
    color: #64748b;
}

body.site-light footer > div:last-child {
    border-color: #e2e8f0;
}

body.site-light footer a,
body.site-light footer .text-white {
    color: #334155;
}

body.site-light footer a:hover {
    color: #c65d0e;
}

body.site-light footer .text-orange-200 {
    color: #c65d0e;
}

body.site-light footer .text-slate-400,
body.site-light footer .text-slate-500 {
    color: #64748b;
}

.site-eyebrow {
    color: #c65d0e;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-button-primary,
.site-button-secondary {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-button-primary {
    background: linear-gradient(135deg, #fdba74, #f97316);
    color: #17120d;
    box-shadow: 0 16px 34px rgba(249, 115, 22, 0.18);
}

.site-button-secondary {
    border: 1px solid #d6e0ea;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.site-button-primary:hover,
.site-button-secondary:hover {
    transform: translateY(-2px);
}

.site-button-secondary:hover {
    border-color: #fdba74;
    background: #fff7ed;
    color: #9a3412;
}

.home-hero,
.info-hero {
    background:
        radial-gradient(circle at 8% 14%, rgba(249, 115, 22, 0.10), transparent 28rem),
        radial-gradient(circle at 92% 82%, rgba(59, 130, 246, 0.08), transparent 30rem),
        linear-gradient(135deg, #fbfdff 0%, #f2f7fb 56%, #fff8f1 100%);
}

body.site-light .hero-mesh::before {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
}

body.site-light .hero-glow--left {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.11), transparent 68%);
}

body.site-light .hero-glow--right {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 70%);
}

.home-section {
    padding-block: 36px;
}

.home-trust-card {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    border: 1px solid #dbe4ee;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    padding: 14px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.home-trust-icon,
.home-product-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 800;
}

.home-trust-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 0.7rem;
}

.home-product-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1rem;
}

.home-shot-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    z-index: 10;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: rgba(255, 247, 237, 0.96);
    padding: 6px 11px;
    color: #9a3412;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(154, 52, 18, 0.10);
}

.home-hero-shot {
    border: 1px solid #d7e2ec;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
}

.home-product-card,
.home-updates-shell,
.info-card,
.info-side-card {
    border: 1px solid #dbe4ee;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.065);
}

.home-product-card {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.30);
    box-shadow: 0 20px 52px rgba(15, 23, 42, 0.10);
}

.home-product-aside {
    background: #f8fafc;
}

.home-principle-card {
    min-height: 200px;
    border: 1px solid #dbe4ee;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    padding: 22px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.045);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-principle-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.30);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.home-principle-number {
    display: inline-grid;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    border: 1px solid #fed7aa;
    border-radius: 13px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.home-updates-shell {
    background:
        radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.06), transparent 24rem),
        #ffffff;
}

.home-release-row {
    padding: 24px;
}

.home-release-row + .home-release-row {
    border-top: 1px solid #e2e8f0;
}

.home-release-date,
.info-pill {
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    background: #f8fafc;
    padding: 6px 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.info-card {
    border-radius: 24px;
    padding: 24px;
}

.info-side-card {
    border-radius: 22px;
    padding: 22px;
}

.info-side-card--accent {
    border-color: #fed7aa;
    background:
        radial-gradient(circle at 100% 0%, rgba(249, 115, 22, 0.08), transparent 18rem),
        #ffffff;
}

.info-list-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    padding: 12px 14px;
}

.info-list-item > span:first-child {
    color: #c65d0e;
    font-weight: 700;
}

.info-nav-link {
    display: block;
    border-radius: 12px;
    padding: 10px 12px;
    color: #475569;
    transition: background 160ms ease, color 160ms ease;
}

.info-nav-link:hover,
.info-nav-link--active {
    background: #fff7ed;
    color: #9a3412;
}

@media (min-width: 640px) {
    .info-card {
        padding: 30px;
    }
}

.article-code-block {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    margin-block: 1.5rem;
    overflow: hidden;
    border: 1px solid #dbe4ee;
    border-left: 4px solid #f97316;
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.article-code-block > pre {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0 !important;
    overflow-x: auto;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0.55rem 1rem 1rem !important;
    color: #1e293b !important;
    box-shadow: none !important;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.article-code-block > pre code {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    color: inherit !important;
    text-shadow: none !important;
}

.article-code-block > pre::-webkit-scrollbar {
    height: 8px;
}

.article-code-block > pre::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.article-code-block > pre::-webkit-scrollbar-thumb {
    border: 2px solid #f1f5f9;
    border-radius: 999px;
    background: #cbd5e1;
}

.article-code-block > pre::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.article-code-copy {
    position: static;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    margin: 0.6rem 0.65rem 0.2rem;
    border: 1px solid #d6e0ea;
    border-radius: 8px;
    background: #ffffff;
    padding: 0.4rem 0.7rem;
    color: #475569;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition:
        border-color 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.article-code-copy:hover {
    border-color: #fdba74;
    background: #fff7ed;
    color: #9a3412;
}

.article-code-copy:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

.article-code-copy:disabled {
    cursor: default;
}

.article-code-copy.is-copied {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.article-code-copy.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

@media (max-width: 639px) {
    .article-code-block {
        margin-block: 1.25rem;
        border-radius: 10px;
    }

    .article-code-block > pre {
        padding: 0.45rem 0.85rem 0.85rem !important;
    }

    .article-code-copy {
        margin: 0.5rem 0.55rem 0.15rem;
        padding: 0.38rem 0.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-button-primary,
    .site-button-secondary,
    .home-product-card,
    .home-principle-card {
        transition: none;
    }

    .site-button-primary:hover,
    .site-button-secondary:hover,
    .home-product-card:hover,
    .home-principle-card:hover {
        transform: none;
    }
}

/* Article anchors and lightbox */
.article-content h2[id],
.article-content h3[id],
#article-feedback,
#comment-form {
    scroll-margin-top: 7rem;
}

.article-content img[data-monitor-lightbox-trigger],
[data-article-cover-lightbox] {
    cursor: zoom-in;
    transition: opacity 160ms ease, box-shadow 160ms ease;
}

.article-content img[data-monitor-lightbox-trigger]:hover,
[data-article-cover-lightbox]:hover {
    opacity: 0.94;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.article-lightbox {
    position: fixed;
    inset: 0;
    width: fit-content;
    height: fit-content;
    max-width: 96vw;
    max-height: 96vh;
    margin: auto;
    overflow: visible;
    border: 0;
    background: transparent;
    padding: 0;
    color: #fff;
}

.article-lightbox::backdrop {
    background: rgba(15, 23, 42, 0.92);
}

.article-lightbox__inner {
    position: relative;
    display: flex;
    width: fit-content;
    max-width: 96vw;
    max-height: 96vh;
    margin: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.article-lightbox__image {
    display: block;
    width: auto;
    height: auto;
    max-width: 96vw;
    max-height: 88vh;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.article-lightbox__caption {
    max-width: 80rem;
    margin: 12px 48px 0;
    color: #e2e8f0;
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
}

.article-lightbox__close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.article-lightbox__close:hover {
    background: rgba(194, 65, 12, 0.95);
}

@media (max-width: 639px) {
    .article-lightbox__image {
        max-width: 94vw;
        max-height: 84vh;
        border-radius: 12px;
    }

    .article-lightbox__caption {
        margin-right: 12px;
        margin-left: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .article-content img[data-monitor-lightbox-trigger],
    [data-article-cover-lightbox] {
        transition: none;
    }
}

/* Footer social links */
.site-footer-socials {
    margin-top: 1.5rem;
}

.site-footer-socials__title {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer-socials__links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.site-footer-social-link {
    display: inline-flex;
    width: 2.625rem;
    height: 2.625rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe4ee;
    border-radius: 0.75rem;
    background: #f8fafc;
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.site-footer-social-link img {
    display: block;
    width: 1.375rem;
    height: 1.375rem;
}

.site-footer-social-link:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.site-footer-social-link:focus-visible {
    outline: 2px solid #c65d0e;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .site-footer-social-link {
        transition: none;
    }

    .site-footer-social-link:hover {
        transform: none;
    }
}
