﻿/* =========================================================
   AIZaac Webtoon Beach Landing Theme
   Text is HTML-based. The background image should contain no text.
========================================================= */

:root {
    --az-ink: #101326;
    --az-muted: #5d6478;
    --az-white: #ffffff;
    --az-line: rgba(255, 255, 255, 0.62);
    --az-glass: rgba(255, 255, 255, 0.62);
    --az-glass-strong: rgba(255, 255, 255, 0.78);
    --az-cyan: #2fd8ff;
    --az-blue: #2d91ff;
    --az-purple: #8957ff;
    --az-shadow: 0 26px 80px rgba(38, 88, 145, 0.24);
    --az-soft-shadow: 0 16px 50px rgba(18, 39, 76, 0.16);
    --az-radius-xl: 34px;
    --az-radius-lg: 24px;
    --az-radius-md: 18px;
    --az-max: 1380px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--az-ink);
    background: #eef8ff;
}

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

.az-header {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 30;
    padding: 0 28px;
}

.az-header__inner {
    width: min(var(--az-max), 100%);
    min-height: 78px;
    margin: 0 auto;
    padding: 0 26px 0 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 18px 50px rgba(31, 82, 143, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.az-logo {
    display: inline-flex;
    align-items: baseline;
    font-weight: 900;
    letter-spacing: -0.06em;
    font-size: clamp(32px, 3.2vw, 54px);
    line-height: 1;
    white-space: nowrap;
}

.az-logo__ai {
    background: linear-gradient(120deg, var(--az-purple), var(--az-blue), var(--az-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.az-logo__zaac {
    color: #111528;
}

.az-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.az-nav__link {
    position: relative;
    padding: 12px 20px;
    border-radius: 999px;
    color: #12172b;
    font-size: 16px;
    font-weight: 750;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.az-nav__link::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    width: 1px;
    height: 18px;
    transform: translateY(-50%);
    background: rgba(26, 52, 92, 0.2);
}

.az-nav__link:last-child::after {
    display: none;
}

.az-nav__link:hover {
    color: #0e5cff;
    background: rgba(255, 255, 255, 0.66);
    transform: translateY(-1px);
}

.az-page {
    min-height: 100vh;
}

.az-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 150px 28px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.az-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* background-image: url("/iBoard/Theme/AIZAAC/images/main02.jpg");*/
    background-size: cover;
    background-position: center center;
    transform: scale(1.02);
    transition: background-image 0.4s ease, opacity 0.4s ease;
}

.az-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    /*
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.72) 27%, rgba(255, 255, 255, 0.22) 58%, rgba(255, 255, 255, 0.04) 100%),
        linear-gradient(180deg, rgba(232, 248, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.55) 100%);
    */
    pointer-events: none;
}

.az-hero__content {
    position: relative;
    z-index: 3;
    width: min(var(--az-max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: 42px;
}

.az-copy {
    max-width: 620px;
    padding: 24px 0;
}

.az-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 10px 16px;
    border: 1px solid rgba(45, 145, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: #2365c8;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(65, 128, 200, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.az-eyebrow::before {
    content: "✦";
    color: var(--az-purple);
}

.az-title {
    margin: 0;
    color: #101326;
    font-size: clamp(48px, 6.7vw, 92px);
    line-height: 0.98;
    letter-spacing: -0.075em;
    font-weight: 950;
    text-shadow: 0 10px 34px rgba(255, 255, 255, 0.4);
}

.az-title span {
    background: linear-gradient(120deg, var(--az-purple), var(--az-blue), var(--az-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.az-subtitle {
    max-width: 590px;
    margin: 24px 0 0;
    color: #4f596f;
    font-size: clamp(17px, 1.25vw, 21px);
    line-height: 1.75;
    font-weight: 520;
}

.az-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.az-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 30px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 850;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.az-btn--primary {
    color: white;
    background: linear-gradient(120deg, var(--az-purple), var(--az-blue));
    box-shadow: 0 18px 42px rgba(57, 129, 255, 0.34);
}

.az-btn--primary::before {
    content: "✦";
    margin-right: 10px;
}

.az-btn--ghost {
    color: #1d273d;
    border: 1px solid rgba(24, 43, 70, 0.24);
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.az-btn--ghost::before {
    content: "◉";
    margin-right: 10px;
    color: #355d9f;
}

.az-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(39, 95, 168, 0.28);
}

.az-panel {
    width: min(640px, 100%);
    justify-self: center;
    padding: 28px;
    border: 1px solid rgba(154, 244, 255, 0.72);
    border-radius: var(--az-radius-xl);
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.30), rgba(69, 201, 255, 0.16)),
        rgba(255, 255, 255, 0.18);
    box-shadow:
        0 0 42px rgba(55, 223, 255, 0.25),
        0 30px 90px rgba(76, 63, 197, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: perspective(900px) rotateY(-7deg) rotateX(2deg);
}

.az-panel__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.az-panel__label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 800;
}

.az-panel__top strong {
    display: block;
    color: white;
    font-size: 28px;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 18px rgba(10, 65, 126, 0.28);
}

.az-panel__mini-btn {
    padding: 10px 16px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.16);
}

.az-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.az-stat {
    min-height: 116px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.az-stat span,
.az-stat small {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 750;
}

.az-stat strong {
    display: block;
    margin: 8px 0 4px;
    color: white;
    font-size: 32px;
    letter-spacing: -0.05em;
}

.az-stat small {
    color: #83ffe7;
}

.az-chart {
    position: relative;
    height: 166px;
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 22px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        rgba(255, 255, 255, 0.12);
    background-size: 100% 36px, 72px 100%, auto;
}

.az-chart__line {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 26px;
    height: 92px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 10% 82%, #70efff 0 7px, transparent 8px),
        radial-gradient(circle at 28% 52%, #70efff 0 7px, transparent 8px),
        radial-gradient(circle at 48% 38%, #c28bff 0 7px, transparent 8px),
        radial-gradient(circle at 67% 62%, #c28bff 0 7px, transparent 8px),
        radial-gradient(circle at 88% 26%, #70efff 0 7px, transparent 8px),
        linear-gradient(140deg, transparent 0 9%, #6eefff 10% 30%, #bd8cff 44% 68%, #6eefff 78% 100%);
    clip-path: polygon(0 80%, 13% 66%, 27% 48%, 42% 36%, 57% 70%, 72% 53%, 88% 26%, 100% 34%, 100% 100%, 0 100%);
    opacity: 0.88;
}

.az-tools {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.az-tools span {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.13);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.az-feature-row {
    position: relative;
    z-index: 4;
    width: min(var(--az-max), 100%);
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.az-card {
    min-height: 154px;
    padding: 24px 24px 22px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--az-radius-lg);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: var(--az-soft-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.az-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    color: var(--az-purple);
    border-radius: 14px;
    background: rgba(138, 87, 255, 0.1);
    font-size: 24px;
}

.az-card h2 {
    margin: 0 0 8px;
    color: #181e34;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.az-card p {
    margin: 0;
    color: #5b6374;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 520;
}

.az-footer {
    position: relative;
    z-index: 5;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.82);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.az-footer__inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.az-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.az-footer__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 40px;
    text-decoration: none;
    flex: 0 0 auto;
}

.az-footer__logo-img {
    display: block;
    width: auto;
    height: 32px;
    max-width: 130px;
    object-fit: contain;
}

.az-footer__text {
    display: flex;
    align-items: center;
    min-width: 0;
}

.az-footer__text span {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.az-footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.az-footer__links a {
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.az-footer__links a:hover,
.az-footer__links a.is-active {
    color: #2563eb;
}

.az-footer__copy {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.az-footer__copy span + span::before {
    content: "|";
    margin-right: 8px;
    color: #cbd5e1;
}

/* Mobile */
@media (max-width: 768px) {
    .az-footer {
        padding: 18px 16px;
    }

    .az-footer__inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .az-footer__brand {
        justify-content: center;
        flex-direction: column;
        gap: 6px;
    }

    .az-footer__logo {
        height: 36px;
    }

    .az-footer__logo-img {
        height: 28px;
        max-width: 115px;
    }

    .az-footer__links {
        flex-wrap: wrap;
        gap: 14px;
    }

    .az-footer__copy {
        flex-wrap: wrap;
        justify-content: center;
        white-space: normal;
        font-size: 12px;
    }
}

/* =========================================================
   AIZaac SPA Slide Transition
========================================================= */

.az-main {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 150px);
    z-index: 2;
}

.az-page {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 150px);
    opacity: 1;
    transform: translateX(0);
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.35s ease;
    will-change: transform, opacity;
}

.az-page.is-leaving {
    opacity: 0;
    transform: translateX(-90px);
}

.az-page.is-entering {
    opacity: 0;
    transform: translateX(120px);
}

.az-page.is-active {
    opacity: 1;
    transform: translateX(0);
}

.az-spa-view {
    position: relative;
    min-height: calc(100vh - 150px);
}

.az-subpage {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
    padding: 145px 0 120px;
}

.az-subpage__card {
    padding: 48px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.az-subpage__eyebrow {
    margin: 0 0 14px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.az-subpage__title {
    margin: 0 0 20px;
    color: #0f172a;
    font-size: clamp(42px, 5vw, 78px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.az-subpage__desc {
    max-width: 760px;
    margin: 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
}

.az-subpage__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.az-subpage__item {
    padding: 26px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
}

.az-subpage__item h2 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 21px;
    font-weight: 800;
}

.az-subpage__item p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
}

.az-nav__link.is-active {
    color: #2563eb;
    font-weight: 800;
}

.az-nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8b5cf6, #38bdf8);
    transform: translateX(-50%);
}

@media (max-width: 820px) {
    .az-subpage {
        width: min(100% - 28px, 1080px);
        padding: 110px 0 80px;
    }

    .az-subpage__card {
        padding: 30px;
        border-radius: 26px;
    }

    .az-subpage__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   AIZaac Iframe Popup Panel
========================================================= */

.az-frame-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 32px 42px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease;
}

.az-frame-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.az-frame-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.18), transparent 34%),
        radial-gradient(circle at 85% 20%, rgba(139, 92, 246, 0.20), transparent 32%),
        rgba(15, 23, 42, 0.30);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.az-frame-panel {
    position: relative;
    width: min(1180px, 100%);
    height: min(760px, calc(100vh - 140px));
    border-radius: 34px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        0 34px 100px rgba(15, 23, 42, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    transform: translateX(90px) scale(0.98);
    opacity: 0;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease;
}

.az-frame-overlay.is-open .az-frame-panel {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.az-frame-header {
    height: 78px;
    padding: 18px 22px 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(239, 246, 255, 0.72));
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.az-frame-eyebrow {
    margin: 0 0 3px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.az-frame-title {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.az-frame-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: #0f172a;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

.az-frame-close:hover {
    transform: scale(1.06);
    background: #ffffff;
}

.az-frame-body {
    position: relative;
    width: 100%;
    height: calc(100% - 78px);
    background: rgba(255, 255, 255, 0.50);
}

.az-frame {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.az-frame-loading {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    color: #2563eb;
    font-size: 18px;
    font-weight: 800;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(239, 246, 255, 0.74));
}

.az-frame-loading.is-hidden {
    display: none;
}

body.az-frame-open {
    overflow: hidden;
}

.az-nav__link.is-active {
    color: #2563eb;
    font-weight: 800;
}

.az-nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8b5cf6, #38bdf8);
    transform: translateX(-50%);
}

@media (max-width: 820px) {
    .az-frame-overlay {
        padding: 82px 14px 24px;
    }

    .az-frame-panel {
        height: calc(100vh - 110px);
        border-radius: 24px;
    }

    .az-frame-header {
        height: 68px;
        padding: 14px 16px 12px 20px;
    }

    .az-frame-title {
        font-size: 20px;
    }

    .az-frame-body {
        height: calc(100% - 68px);
    }
}

/* =========================================================
   AIZaac Main Layer Popup
========================================================= */

.az-main {
    position: relative;
}

.az-hero {
    position: relative;
    overflow: hidden;
}

.az-layer {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 28px 48px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease;
}

.az-layer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.az-layer__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(56, 189, 248, 0.18), transparent 34%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.18), transparent 30%),
        rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.az-layer__panel {
    position: relative;
    width: min(1360px, calc(100vw - 72px));
    height: min(820px, calc(100vh - 120px));
    border-radius: 36px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.80);
    box-shadow:
        0 38px 110px rgba(15, 23, 42, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    transform: translateY(24px) scale(0.96);
    opacity: 0;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.26s ease;
}

.az-layer.is-open .az-layer__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.az-layer__header {
    height: 76px;
    padding: 17px 22px 15px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(239, 246, 255, 0.76));
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.az-layer__eyebrow {
    margin: 0 0 3px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.az-layer__title {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.az-layer__close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: #0f172a;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.13);
    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

.az-layer__close:hover {
    transform: scale(1.06);
    background: #ffffff;
}

.az-layer__body {
    position: relative;
    width: 100%;
    height: calc(100% - 76px);
    background: rgba(255, 255, 255, 0.60);
}

.az-layer__frame {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.az-layer__loading {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    color: #2563eb;
    font-size: 18px;
    font-weight: 800;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.80));
}

.az-layer__loading.is-hidden {
    display: none;
}

.az-nav__link.is-active {
    color: #2563eb;
    font-weight: 800;
}

.az-nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8b5cf6, #38bdf8);
    transform: translateX(-50%);
}

@media (max-width: 820px) {
    .az-layer {
        padding: 70px 10px 24px;
    }

    .az-layer__panel {
        width: calc(100vw - 20px);
        height: calc(100vh - 94px);
        border-radius: 24px;
    }

    .az-layer__header {
        height: 68px;
        padding: 14px 16px 12px 20px;
    }

    .az-layer__title {
        font-size: 20px;
    }

    .az-layer__body {
        height: calc(100% - 68px);
    }
}

/* =========================================================
   AIZaac Footer - Simple Clean Style
========================================================= */

.az-footer {
    position: relative;
    z-index: 5;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.82);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.az-footer__inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.az-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.az-footer__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.az-footer__logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.az-footer__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.az-footer__text strong {
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.az-footer__text span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.az-footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.az-footer__links a {
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.az-footer__links a:hover,
.az-footer__links a.is-active {
    color: #2563eb;
}

.az-footer__copy {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.az-footer__copy span + span::before {
    content: " | ";
    color: #cbd5e1;
}

/* Simple mobile layout */
@media (max-width: 768px) {
    .az-footer__inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 14px;
    }

    .az-footer__brand {
        justify-content: center;
    }

    .az-footer__links {
        flex-wrap: wrap;
        gap: 14px;
    }

    .az-footer__copy {
        white-space: normal;
    }
}

/* =========================================================
   AIZaac Header Logo Size Fix
========================================================= */

.az-header {
    position: relative;
    z-index: 20;
}

.az-header__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.az-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    text-decoration: none;
    flex: 0 0 auto;
}

.az-logo__img {
    display: block;
    width: auto;
    height: 42px;
    max-width: 160px;
    object-fit: contain;
}

.az-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.az-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.az-nav__link:hover,
.az-nav__link.is-active {
    color: #2563eb;
    background: rgba(255, 255, 255, 0.68);
}

/* Mobile */
@media (max-width: 768px) {
    .az-header__inner {
        min-height: 64px;
        gap: 12px;
    }

    .az-logo {
        height: 46px;
    }

    .az-logo__img {
        height: 34px;
        max-width: 130px;
    }

    .az-nav {
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .az-nav__link {
        min-height: 38px;
        padding: 0 11px;
        font-size: 13px;
    }
}

/* =========================================================
   AIZaac Mobile Responsive Override
   Add this block at the very bottom of aizaac-home.css
========================================================= */

/* Prevent horizontal overflow */
html,
body {
    width: 100%;
    max-width: 100%;
    /* overflow-x: hidden;*/
}

img,
iframe {
    max-width: 100%;
}

/* Restore floating header behavior */
.az-header {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 28px;
}

/* Header desktop safety */
.az-header__inner {
    width: min(var(--az-max), 100%);
    margin: 0 auto;
}

/* Logo image safety */
.az-logo__img {
    display: block;
    width: auto;
    height: 42px;
    max-width: 160px;
    object-fit: contain;
}

/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1024px) {
    .az-header {
        top: 14px;
        padding: 0 18px;
    }

    .az-header__inner {
        min-height: 68px;
        padding: 0 18px;
        gap: 14px;
        border-radius: 24px;
    }

    .az-logo__img {
        height: 36px;
        max-width: 135px;
    }

    .az-nav {
        flex: 1;
        justify-content: flex-end;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .az-nav::-webkit-scrollbar {
        display: none;
    }

    .az-nav__link {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 0 12px;
        font-size: 13px;
    }

    .az-nav__link::after {
        display: none;
    }

    .az-hero {
        min-height: auto;
        padding: 120px 20px 38px;
        justify-content: flex-start;
    }

    .az-hero__content {
        display: block;
        width: 100%;
    }

    .az-copy {
        max-width: 620px;
        padding: 28px 0 12px;
    }

    .az-title {
        font-size: clamp(42px, 8vw, 68px);
        line-height: 1.02;
    }

    .az-subtitle {
        font-size: 17px;
        line-height: 1.65;
    }

    .az-feature-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-top: 28px;
    }
}

/* =========================================================
   Mobile
========================================================= */

@media (max-width: 768px) {
    .az-header {
        top: 10px;
        padding: 0 10px;
    }

    .az-header__inner {
        width: 100%;
        min-height: auto;
        padding: 10px 10px 8px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 8px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.82);
    }

    .az-logo {
        width: 100%;
        height: auto;
        justify-content: center;
    }

    .az-logo__img {
        height: 34px;
        max-width: 130px;
    }

    .az-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 4px;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .az-nav::-webkit-scrollbar {
        display: none;
    }

    .az-nav__link {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0 11px;
        font-size: 12px;
        line-height: 1;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.52);
    }

    .az-nav__link::after,
    .az-nav__link.is-active::after {
        display: none;
    }

    .az-main {
        min-height: auto;
        overflow: visible;
    }

    .az-page,
    .az-spa-view {
        min-height: auto;
    }

    .az-hero {
        min-height: auto;
        padding: 132px 14px 34px;
        display: block;
        overflow: hidden;
    }

    .az-hero__bg {
        background-position: center top;
        transform: none;
    }

    .az-hero__shade {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.64) 100%);
    }

    .az-hero__content {
        display: block;
        width: 100%;
    }

    .az-copy {
        max-width: none;
        width: 100%;
        padding: 22px 0 8px;
        text-align: center;
    }

    .az-eyebrow {
        margin-bottom: 14px;
        padding: 8px 12px;
        font-size: 11px;
    }

    .az-title {
        font-size: clamp(38px, 12vw, 54px);
        line-height: 1.04;
        letter-spacing: -0.055em;
    }

    .az-subtitle {
        max-width: none;
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.65;
    }

    .az-actions {
        justify-content: center;
        gap: 10px;
        margin-top: 24px;
    }

    .az-btn {
        width: 100%;
        min-height: 50px;
        padding: 0 18px;
        font-size: 14px;
    }

    .az-feature-row {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
    }

    .az-card {
        min-height: auto;
        padding: 18px 18px 16px;
        border-radius: 20px;
        text-align: left;
    }

    .az-card__icon {
        width: 38px;
        height: 38px;
        margin-bottom: 10px;
        font-size: 21px;
    }

    .az-card h2 {
        font-size: 17px;
    }

    .az-card p {
        font-size: 14px;
        line-height: 1.55;
    }

    .az-layer {
        position: fixed;
        inset: 0;
        z-index: 9999;
        padding: 116px 10px 18px;
        align-items: stretch;
    }

    .az-layer__panel {
        width: 100%;
        height: 100%;
        border-radius: 22px;
    }

    .az-layer__header {
        height: 62px;
        padding: 12px 14px;
    }

    .az-layer__eyebrow {
        font-size: 10px;
    }

    .az-layer__title {
        font-size: 18px;
    }

    .az-layer__close {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .az-layer__body {
        height: calc(100% - 62px);
    }

    .az-footer {
        padding: 18px 14px;
    }

    .az-footer__inner {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .az-footer__brand {
        flex-direction: column;
        justify-content: center;
        gap: 6px;
    }

    .az-footer__logo-img {
        width: auto;
        height: 28px;
        max-width: 115px;
    }

    .az-footer__links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 14px;
    }

    .az-footer__links a {
        font-size: 13px;
    }

    .az-footer__copy {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        white-space: normal;
        font-size: 12px;
    }
}

/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 420px) {
    .az-header__inner {
        padding: 9px 8px 7px;
        border-radius: 18px;
    }

    .az-logo__img {
        height: 30px;
        max-width: 118px;
    }

    .az-nav__link {
        min-height: 32px;
        padding: 0 10px;
        font-size: 11.5px;
    }

    .az-hero {
        padding-top: 122px;
    }

    .az-title {
        font-size: 38px;
    }

    .az-subtitle {
        font-size: 14px;
    }

    .az-card {
        padding: 16px;
    }
}

/* =========================================================
   Time-based Hero Readability
========================================================= */

.az-hero__shade {
    pointer-events: none;
    transition: background 0.35s ease;
}

/* Morning */
.az-hero.az-hero--morning .az-hero__shade {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.68) 0%,
            rgba(255, 255, 255, 0.42) 34%,
            rgba(255, 255, 255, 0.08) 64%,
            rgba(255, 255, 255, 0.02) 100%
        );
}

/* Afternoon */
.az-hero.az-hero--afternoon .az-hero__shade {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.62) 0%,
            rgba(255, 255, 255, 0.34) 34%,
            rgba(255, 255, 255, 0.06) 64%,
            rgba(255, 255, 255, 0.02) 100%
        );
}

/* Night - text readability fix */
.az-hero.az-hero--night .az-hero__shade {
    background:
        radial-gradient(
            circle at 22% 40%,
            rgba(255, 255, 255, 0.72) 0%,
            rgba(255, 255, 255, 0.48) 28%,
            rgba(255, 255, 255, 0.18) 48%,
            rgba(8, 12, 30, 0.18) 72%,
            rgba(8, 12, 30, 0.42) 100%
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.76) 0%,
            rgba(255, 255, 255, 0.58) 30%,
            rgba(255, 255, 255, 0.18) 58%,
            rgba(8, 12, 30, 0.24) 100%
        );
}

/* Night - copy area becomes glass card */
.az-hero.az-hero--night .az-copy {
    padding: 30px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.56);
    box-shadow: 0 24px 70px rgba(5, 10, 30, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Night - title and paragraph contrast */
.az-hero.az-hero--night .az-title {
    color: #080c1f;
    text-shadow: 0 2px 18px rgba(255, 255, 255, 0.55);
}

.az-hero.az-hero--night .az-subtitle {
    color: rgba(16, 19, 38, 0.82);
    font-weight: 650;
}

/* Night - eyebrow stronger */
.az-hero.az-hero--night .az-eyebrow {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(255, 255, 255, 0.72);
    color: #245ed4;
}

/* Night - bottom cards slightly brighter */
.az-hero.az-hero--night .az-card {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(255, 255, 255, 0.78);
}

/* Mobile night readability */
@media (max-width: 768px) {
    .az-hero.az-hero--night .az-hero__shade {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.90) 0%,
                rgba(255, 255, 255, 0.78) 46%,
                rgba(255, 255, 255, 0.62) 100%
            );
    }

    .az-hero.az-hero--night .az-copy {
        padding: 22px 18px;
        border-radius: 26px;
    }
}

/* =========================================================
   Hero Background Image Position Adjust
   Move background image down about 100px
========================================================= */

.az-hero__bg {
    background-position: center calc(50% + 10px);
}

/* =========================================================
   AIZaac Low Resolution Compact Mode
   Reduces oversized typography and spacing on small screens.
   Add this block at the very bottom of aizaac-home.css.
========================================================= */

/* Desktop / laptop with lower resolution */
@media (max-width: 1366px), (max-height: 820px) {
    :root {
        --az-radius-xl: 28px;
        --az-radius-lg: 20px;
        --az-radius-md: 14px;
    }

    .az-header {
        top: 14px;
        padding: 0 20px;
    }

    .az-header__inner {
        min-height: 62px;
        padding: 0 18px 0 22px;
        gap: 14px;
        border-radius: 22px;
    }

    .az-logo {
        height: 44px;
    }

    .az-logo__img {
        height: 32px;
        max-width: 130px;
    }

    .az-nav {
        gap: 5px;
    }

    .az-nav__link {
        min-height: 34px;
        padding: 0 10px;
        font-size: 12.5px;
        font-weight: 700;
    }

    .az-hero {
        padding: 105px 22px 30px;
        justify-content: center;
    }

    .az-hero__content {
        gap: 28px;
    }

    .az-copy {
        max-width: 540px;
        padding: 16px 0;
    }

    .az-eyebrow {
        margin-bottom: 12px;
        padding: 7px 12px;
        font-size: 10.5px;
        gap: 7px;
    }

    .az-title {
        font-size: clamp(40px, 5.2vw, 66px);
        line-height: 1.01;
        letter-spacing: -0.06em;
    }

    .az-subtitle {
        max-width: 520px;
        margin-top: 16px;
        font-size: clamp(14px, 1.05vw, 17px);
        line-height: 1.55;
    }

    .az-actions {
        gap: 12px;
        margin-top: 24px;
    }

    .az-btn {
        min-height: 46px;
        padding: 0 22px;
        font-size: 13.5px;
    }

    .az-feature-row {
        margin-top: 24px;
        gap: 12px;
    }

    .az-card {
        min-height: 118px;
        padding: 18px 18px 16px;
        border-radius: 20px;
    }

    .az-card__icon {
        width: 34px;
        height: 34px;
        margin-bottom: 9px;
        border-radius: 11px;
        font-size: 18px;
    }

    .az-card h2 {
        margin-bottom: 6px;
        font-size: 15.5px;
        line-height: 1.15;
    }

    .az-card p {
        font-size: 12.5px;
        line-height: 1.45;
    }

    .az-footer {
        padding: 14px 20px;
    }

    .az-footer__inner {
        gap: 16px;
    }

    .az-footer__logo-img {
        height: 26px;
        max-width: 110px;
    }

    .az-footer__text span,
    .az-footer__copy {
        font-size: 11.5px;
    }

    .az-footer__links {
        gap: 12px;
    }

    .az-footer__links a {
        font-size: 12.5px;
    }
}

/* Very short screens: 1366x768, 1280x720, browser zoomed screens */
@media (max-height: 760px) and (min-width: 821px) {
    .az-header {
        top: 10px;
        padding: 0 18px;
    }

    .az-header__inner {
        min-height: 56px;
        padding: 0 16px 0 18px;
        border-radius: 20px;
    }

    .az-logo__img {
        height: 28px;
        max-width: 118px;
    }

    .az-nav__link {
        min-height: 30px;
        padding: 0 9px;
        font-size: 12px;
    }

    .az-hero {
        padding: 86px 20px 24px;
    }

    .az-copy {
        max-width: 500px;
        padding: 12px 0;
    }

    .az-eyebrow {
        margin-bottom: 10px;
        padding: 6px 10px;
        font-size: 10px;
    }

    .az-title {
        font-size: clamp(34px, 4.8vw, 58px);
        line-height: 1;
    }

    .az-subtitle {
        max-width: 480px;
        margin-top: 13px;
        font-size: 14px;
        line-height: 1.5;
    }

    .az-actions {
        margin-top: 18px;
    }

    .az-btn {
        min-height: 40px;
        padding: 0 18px;
        font-size: 12.5px;
    }

    .az-feature-row {
        margin-top: 18px;
        gap: 10px;
    }

    .az-card {
        min-height: 96px;
        padding: 14px 15px 13px;
        border-radius: 18px;
    }

    .az-card__icon {
        width: 30px;
        height: 30px;
        margin-bottom: 7px;
        font-size: 16px;
    }

    .az-card h2 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .az-card p {
        font-size: 11.5px;
        line-height: 1.38;
    }

    .az-footer {
        padding: 10px 18px;
    }

    .az-footer__links a,
    .az-footer__text span,
    .az-footer__copy {
        font-size: 11px;
    }
}

/* Low width desktop/tablet: keep it cleaner, not huge */
@media (max-width: 1024px) {
    .az-title {
        font-size: clamp(34px, 7vw, 54px);
    }

    .az-subtitle {
        font-size: 14.5px;
        line-height: 1.55;
    }

    .az-card h2 {
        font-size: 15px;
    }

    .az-card p {
        font-size: 12.5px;
    }
}

/* =========================================================
   AIZaac Layer - Low Resolution Width Adjust
   Reduce iframe popup width on lower resolution screens.
   Add this block at the very bottom of aizaac-home.css.
========================================================= */

/* Normal desktop popup size */
.az-layer__panel {
    width: min(1280px, calc(100vw - 96px)) !important;
}

/* 1366px laptop / lower desktop resolution */
@media (max-width: 1366px) and (min-width: 1101px) {
    .az-layer__panel {
        width: min(1080px, calc(100vw - 140px)) !important;
    }
}

/* 1280px width screens */
@media (max-width: 1280px) and (min-width: 1101px) {
    .az-layer__panel {
        width: min(980px, calc(100vw - 150px)) !important;
    }
}

/* Low height screens such as 1366x768 / 1280x720 */
@media (max-height: 820px) and (min-width: 1101px) {
    .az-layer__panel {
        width: min(1040px, calc(100vw - 160px)) !important;
    }
}

/* Very low height screens */
@media (max-height: 740px) and (min-width: 1101px) {
    .az-layer__panel {
        width: min(960px, calc(100vw - 170px)) !important;
    }
}

/* Tablet / narrow iframe */
@media (max-width: 1100px) {
    .az-layer__panel {
        width: calc(100vw - 48px) !important;
    }
}

/* Mobile */
@media (max-width: 680px) {
    .az-layer__panel {
        width: calc(100vw - 20px) !important;
    }
}

/* =========================================================
   AIZaac Layout Width Alignment
   Header, hero content, and card row use the same side spacing.
   Add this block at the very bottom of aizaac-home.css.
========================================================= */

:root {
    --az-layout-max: 1280px;
    --az-layout-gutter: 96px;
}

/* Common horizontal width */
.az-header__inner,
.az-hero__content,
.az-feature-row {
    width: min(var(--az-layout-max), calc(100vw - var(--az-layout-gutter))) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Header outer area */
.az-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Header inner spacing */
.az-header__inner {
    padding-left: 34px !important;
    padding-right: 34px !important;
}

/* Keep menu from sticking to the right edge */
.az-nav {
    padding-left: 10px !important;
    padding-right: 4px !important;
}

/* Give each menu item enough breathing room */
.az-nav__link {
    padding-left: 14px !important;
    padding-right: 14px !important;
}

/* User login button spacing */
.az-user-live {
    margin-right: 8px !important;
}

/* =========================================================
   Lower Resolution Desktop
========================================================= */

@media (max-width: 1600px), (max-height: 900px) {
    :root {
        --az-layout-max: 1180px;
        --az-layout-gutter: 120px;
    }

    .az-header__inner {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .az-nav__link {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* 1366px / 1280px laptop screens */
@media (max-width: 1366px), (max-height: 780px) {
    :root {
        --az-layout-max: 1080px;
        --az-layout-gutter: 110px;
    }

    .az-header__inner {
        padding-left: 26px !important;
        padding-right: 26px !important;
    }

    .az-nav {
        gap: 4px !important;
    }

    .az-nav__link {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Very narrow desktop / tablet */
@media (max-width: 1100px) {
    :root {
        --az-layout-max: 100%;
        --az-layout-gutter: 40px;
    }

    .az-header__inner,
    .az-hero__content,
    .az-feature-row {
        width: calc(100vw - var(--az-layout-gutter)) !important;
    }

    .az-header__inner {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --az-layout-gutter: 20px;
    }

    .az-header__inner,
    .az-hero__content,
    .az-feature-row {
        width: calc(100vw - var(--az-layout-gutter)) !important;
    }

    .az-header__inner {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* =========================================================
   AIZaac Layer - Fixed Centered Iframe Popup
   Popup stays centered in viewport, independent from parent scroll.
   Add this block at the very bottom of aizaac-home.css.
========================================================= */

/* Layer must be fixed to browser viewport, not parent hero/page */
.az-layer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    overflow: hidden !important;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Open state */
.az-layer.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Backdrop also fixed to viewport */
.az-layer__backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
}

/* Popup panel is always centered */
.az-layer__panel {
    position: relative !important;
    z-index: 1 !important;

    width: min(1180px, calc(100vw - 120px)) !important;
    height: min(760px, calc(100vh - 120px)) !important;

    display: flex !important;
    flex-direction: column !important;

    margin: 0 auto !important;
    overflow: hidden !important;

    border-radius: 34px !important;
    transform: none !important;
}

/* Keep header fixed inside popup */
.az-layer__header {
    flex: 0 0 76px !important;
    height: 76px !important;
}

/* Iframe area fills remaining space */
.az-layer__body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
}

/* Iframe itself fills panel body */
.az-layer__frame {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border: 0 !important;
}

/* Loading overlay does not affect layout */
.az-layer__loading {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
}

/* =========================================================
   Low Resolution Width / Height
========================================================= */

@media (max-width: 1366px), (max-height: 820px) {
    .az-layer__panel {
        width: min(1040px, calc(100vw - 150px)) !important;
        height: min(680px, calc(100vh - 100px)) !important;
        border-radius: 28px !important;
    }

    .az-layer__header {
        flex-basis: 64px !important;
        height: 64px !important;
        padding: 13px 18px 12px 22px !important;
    }

    .az-layer__title {
        font-size: 21px !important;
    }

    .az-layer__close {
        width: 42px !important;
        height: 42px !important;
        font-size: 30px !important;
    }
}

/* Very short screens: 1280x720 / 1366x768 */
@media (max-height: 760px) and (min-width: 821px) {
    .az-layer__panel {
        width: min(960px, calc(100vw - 170px)) !important;
        height: min(620px, calc(100vh - 76px)) !important;
        border-radius: 24px !important;
    }

    .az-layer__header {
        flex-basis: 56px !important;
        height: 56px !important;
        padding: 10px 16px !important;
    }

    .az-layer__eyebrow {
        font-size: 10px !important;
        margin-bottom: 1px !important;
    }

    .az-layer__title {
        font-size: 18px !important;
    }

    .az-layer__close {
        width: 38px !important;
        height: 38px !important;
        font-size: 28px !important;
    }
}

/* Tablet */
@media (max-width: 1100px) {
    .az-layer__panel {
        width: calc(100vw - 48px) !important;
        height: calc(100vh - 96px) !important;
    }
}

/* Mobile */
@media (max-width: 680px) {
    .az-layer__panel {
        width: calc(100vw - 20px) !important;
        height: calc(100vh - 110px) !important;
        border-radius: 22px !important;
    }

    .az-layer__header {
        flex: 0 0 62px !important;
        height: 62px !important;
    }
}

