@import url("../../../../assets/css/main.css");

/* Project-specific overrides for Final-Qyra. */
body {
    background: #231f19;
    margin: 0;
}

.hero-stage {
    position: relative;
    height: 100vh;
    overflow: visible;
}

.hero-wrap {
    position: relative;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.hero-blur {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: blur(70px);
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    transform: scale(1.08);
    transform-origin: center;
}

.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    opacity: 1;
}

.hero-badge {
    position: absolute;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-badge img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.hero-badge-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    bottom: 50%;
    transform: translateY(50%) translateX(6px);
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #f4efe8;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.hero-badge:hover .hero-badge-tooltip {
    opacity: 1;
    transform: translateY(50%) translateX(0);
}

.glass-card {
    width: min(900px, 80vw);
    position: absolute;
    top: 50vh;
    left: 6vw;
    transform: translateY(-50%);
    padding: 56px 64px 60px;
    border-radius: 28px;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: left;
    z-index: 2;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    transition: box-shadow 240ms ease;
}

.glass-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}


.glass-logo {
    display: block;
    width: min(360px, 70vw);
    height: auto;
    margin: 0 0 22px;
}

.glass-copy {
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    line-height: 1.5;
    color: #f4efe8;
}

.logo-block {
    margin-top: 0;
    padding: 20vh 12vw 12vh;
}

.logo-block-image {
    display: block;
    width: min(520px, 70vw);
    height: auto;
}

.logo-block-text {
    margin-top: 24px;
    max-width: 720px;
    color: #f4efe8;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.6;
}

.logo-block-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
    gap: 40px;
    align-items: center;
}

.logo-block-viewer {
    width: 100%;
    height: min(546px, 60vh);
    min-height: 416px;
}

.logo-block-viewer img {
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: block;
    object-fit: contain;
    transform: scale(1.3);
}

@media (max-width: 900px) {
    .logo-block-content {
        grid-template-columns: 1fr;
    }

    .logo-block-viewer {
        height: 468px;
    }
}

.gate-section {
    padding: 10vh 12vw 14vh;
}

.gate-section--what {
    position: relative;
    z-index: 0;
    overflow: visible;
}

.gate-section--how {
    padding-top: 20vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.gate-section--how .gate-content {
    width: 100%;
}
.gate-section--what::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/rock-backdrop.webp") center / cover no-repeat;
    z-index: -1;
}

.gate-section--what::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/rock-backdrop.webp") center / cover no-repeat;
    filter: blur(80px);
    opacity: 0.9;
    z-index: -2;
}

.gate-section--what .gate-content {
    position: relative;
    z-index: 1;
}

.gate-section--how {
    position: relative;
    z-index: 2;
}

.gate-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 48px;
}

.gate-content--single {
    grid-template-columns: minmax(0, 1fr);
}

.gate-content--how {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
}

.gate-sketch {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.gate-sketch img {
    width: min(640px, 75vw);
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.35));
}

.gate-block {
    color: #f4efe8;
}

.gate-block--what {
    padding-right: clamp(16px, 4vw, 56px);
}

.gate-block--how {
    grid-column: 1 / -1;
}

.gate-block h2 {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    margin: 0 0 16px;
}

.gate-block p {
    margin: 0 0 16px;
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    line-height: 1.6;
}

.inline-logo {
    height: 1.5em;
    width: auto;
    vertical-align: middle;
    margin: 0 0.18em;
}

.gate-list {
    list-style: none;
    margin: 32px 0 36px;
    padding: 0;
    display: grid;
    gap: 24px;
}

.gate-list--compact {
    margin: 0 0 18px;
    gap: 10px;
}

.gate-list--icon-top {
    display: flex;
    gap: 48px;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.gate-list--icon-top li {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    flex: 1 1 0;
    padding: 26px 20px;
    border-radius: 24px;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    max-width: 260px;
}

.gate-list--icon-top li > img {
    margin: 0 auto;
    display: block;
    width: 33px;
    height: 33px;
    filter: drop-shadow(0 0 10px rgba(244, 239, 232, 0.35));
    transition: filter 0.7s ease, transform 0.7s ease;
}

.gate-list--icon-top li:hover > img {
    filter: drop-shadow(0 0 28px rgba(244, 239, 232, 0.9));
    transform: scale(1.2);
}

.gate-list--icon-top li > span {
    display: block;
    text-align: center;
}

.gate-list--inline {
    display: flex;
    gap: 72px;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
}

.gate-list--inline li {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1 1 0;
    transition: color 0.45s ease;
    cursor: default;
    padding: 28px 18px 22px;
    border-radius: 24px;
    position: relative;
    background: transparent;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    aspect-ratio: 1 / 1;
    text-align: center;
    max-width: 270px;
    color: #f4efe8;
}

.gate-list--inline li > img:not(.tile-backdrop),
.gate-list--inline li > span {
    position: relative;
    z-index: 1;
}

.gate-list--inline .tile-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    filter: blur(15px);
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.gate-list--inline li:nth-child(1) .tile-backdrop { object-position: 20% 30%; }
.gate-list--inline li:nth-child(2) .tile-backdrop { object-position: 70% 35%; }
.gate-list--inline li:nth-child(3) .tile-backdrop { object-position: 35% 65%; }
.gate-list--inline li:nth-child(4) .tile-backdrop { object-position: 80% 70%; }

.gate-list--inline li > img:not(.tile-backdrop) {
    width: 63px !important;
    height: 63px !important;
    margin: 0;
    filter: drop-shadow(0 0 12px rgba(73, 217, 200, 0.6));
}

.gate-list--inline li > span {
    margin-top: 10px;
    display: block;
    width: 100%;
    text-align: center;
}

.gate-list--inline li > img {
    align-self: center;
    filter: drop-shadow(0 0 12px rgba(244, 239, 232, 0.35));
    transition: filter 0.7s ease, transform 0.7s ease;
}

.gate-list--inline li:hover > img:not(.tile-backdrop) {
    filter: drop-shadow(0 0 42px rgba(73, 217, 200, 0.9));
    transform: scale(1.2);
}

.gate-list--full {
    grid-column: 1 / -1;
}

@media (max-width: 700px) {
    .gate-list--inline {
        flex-wrap: wrap;
    }
}

.gate-list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
}

.gate-list img {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    filter: drop-shadow(0 0 8px rgba(244, 239, 232, 0.35));
}

.gate-list--how li {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.6;
}

.gate-list--how img {
    width: 27px;
    height: 27px;
    margin-top: 0;
    transition: filter 0.6s ease, transform 0.6s ease;
}

.gate-list--how li:hover img {
    filter: drop-shadow(0 0 28px rgba(244, 239, 232, 0.8));
    transform: scale(1.1);
}

.gate-list--benefits img {
    width: 18px;
    height: 18px;
    margin-top: 0;
    transition: filter 0.6s ease, transform 0.6s ease;
}

.gate-list--benefits li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    line-height: 1.6;
    text-align: center;
    flex: 1 1 0;
}

.gate-list--stacked {
    display: grid;
    gap: 24px;
}

.gate-list--stacked li {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 12px;
}

.gate-list--benefits li:hover img {
    filter: drop-shadow(0 0 28px rgba(244, 239, 232, 0.8));
    transform: scale(1.1);
}

@media (max-width: 900px) {
    .gate-section {
        padding: 8vh 10vw 12vh;
    }

    .gate-content {
        grid-template-columns: 1fr;
    }

    .gate-list--inline,
    .gate-list--icon-top {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        justify-content: center;
    }

    .gate-list--inline li,
    .gate-list--icon-top li {
        max-width: none;
        width: 100%;
    }

    .gate-list--inline li,
    .gate-list--inline li > img:not(.tile-backdrop) {
        transition: none;
    }

    .gate-list--icon-top li > img,
    .gate-list--benefits li > img,
    .gate-list--how li > img {
        transition: none;
    }

    .gate-list--inline li:hover > img:not(.tile-backdrop) {
        filter: drop-shadow(0 0 12px rgba(73, 217, 200, 0.6));
        transform: none;
    }

    .gate-list--icon-top li:hover > img {
        filter: drop-shadow(0 0 10px rgba(244, 239, 232, 0.35));
        transform: none;
    }

    .gate-list--benefits li:hover img,
    .gate-list--how li:hover img {
        filter: drop-shadow(0 0 8px rgba(244, 239, 232, 0.35));
        transform: none;
    }
}

.logo-block-text p {
    margin: 0 0 16px;
}

.gate-section--beige {
    background: #fff4e6;
    color: #231f19;
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 30px;
}

.gate-content--beige {
    grid-template-columns: minmax(0, 1fr) minmax(0, 40vw);
    align-items: center;
    width: 100%;
    flex: 1;
}

.gate-media--beige {
    display: flex;
    justify-content: flex-start;
    position: relative;
    width: 100%;
}

.gate-media--beige img {
    width: min(840px, 90%);
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 900px) {
    .gate-content--beige {
        grid-template-columns: 1fr;
    }

    .gate-media--beige {
        justify-content: flex-start;
    }
}

.beige-badge {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.beige-badge-icon {
    width: 28px;
    height: 28px;
    display: block;
    fill: #231f19;
}

.beige-badge-tooltip {
    position: absolute;
    left: calc(100% + 10px);
    bottom: 50%;
    transform: translateY(50%) translateX(-6px);
    background: transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #231f19;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.beige-badge:hover .beige-badge-tooltip {
    opacity: 1;
    transform: translateY(50%) translateX(0);
}

.gate-accuracy {
    font-weight: 600;
    font-size: clamp(2.25rem, 4.2vw, 3.15rem);
    color: #231f19;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.gate-accuracy-main {
    margin-top: auto;
    margin-bottom: auto;
}

.gate-accuracy span {
    font-size: clamp(3rem, 7.2vw, 4.8rem);
    font-weight: 900;
    color: #16c661;
    text-shadow: none;
    transition: text-shadow 0.7s ease, transform 0.7s ease;
}

.gate-accuracy-sub {
    margin-top: 16px;
    font-weight: 600;
    font-size: clamp(2.25rem, 4.2vw, 3.15rem);
    color: #231f19;
    line-height: 1.2;
}

.gate-accuracy-sub span {
    font-size: clamp(3rem, 7.2vw, 4.8rem);
    font-weight: 900;
    color: #16c661;
    text-shadow: none;
    transition: text-shadow 0.7s ease, transform 0.7s ease;
}

.gate-accuracy:hover span {
    text-shadow: 0 0 90px rgba(22, 198, 97, 0.98);
    transform: scale(1.15);
}

.gate-accuracy-note {
    margin-top: 12px;
    font-size: clamp(0.9rem, 1.6vw, 1.1rem);
    color: #231f19;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .gate-content--beige {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
