/* =================================================================
   microsoft-office356.com  —  HiAware phishing-simulation mockup
   -----------------------------------------------------------------
   Layer 1: Microsoft 365 Copilot landing page look-alike (bait)
   Layer 2: HiAware magenta warning overlay (covers bait at t=2s)
   ================================================================= */

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #1a1a1a;
    font-family: "Segoe UI", "Segoe UI Web (West European)",
                 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* -----------------------------------------------------------------
   TOP NAVIGATION
   ----------------------------------------------------------------- */

.nav {
    border-bottom: 1px solid #f1f1f1;
    background: #ffffff;
}

.nav__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13.5px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__logo {
    width: 22px;
    height: 22px;
    display: block;
}

.nav__brandname {
    color: #5e5e5e;
    font-size: 15px;
    font-weight: 400;
}

.nav__divider {
    width: 1px;
    height: 20px;
    background: #d6d6d6;
    margin: 0 4px;
}

.nav__product {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

.nav__links {
    display: flex;
    gap: 22px;
    margin-left: 14px;
}

.nav__links a {
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
}
.nav__links a:hover { color: #0067b8; }

.chev {
    width: 9px;
    height: 6px;
    color: #1a1a1a;
}

.nav__buy {
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    padding: 7px 14px;
    font-weight: 600;
    font-size: 13px;
    color: #1a1a1a;
    background: #ffffff;
}
.nav__buy:hover { background: #f5f5f5; }

.nav__right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav__all,
.nav__signin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a1a1a;
    font-size: 13.5px;
}

.nav__avatar {
    width: 26px;
    height: 26px;
    color: #1a1a1a;
}

/* mobile nav collapse */
@media (max-width: 1024px) {
    .nav__links, .nav__buy, .nav__all { display: none; }
}
@media (max-width: 600px) {
    .nav__inner { padding: 12px 16px; gap: 12px; }
    .nav__product { font-size: 13px; }
}

/* -----------------------------------------------------------------
   HERO
   ----------------------------------------------------------------- */

.hero {
    padding: 96px 28px 64px;
    text-align: center;
    max-width: 1180px;
    margin: 0 auto;
}

.hero__title {
    margin: 0 0 22px;
    font-weight: 700;
    color: #0e0e0e;
    font-size: clamp(36px, 5.8vw, 76px);
    line-height: 1.06;
    letter-spacing: -0.01em;
    font-family: "Segoe UI", "Segoe UI Variable", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.hero__line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.18em 0.28em;
}

.hero__with {
    font-weight: 700;
    color: #0e0e0e;
}

.hero__appicon {
    width: 0.85em;
    height: 0.85em;
    vertical-align: middle;
    display: inline-block;
    border-radius: 0.16em;
}

.hero__appicon--copilot {
    width: 0.95em;
    height: 0.95em;
    border-radius: 0;
}

.hero__lede {
    max-width: 720px;
    margin: 0 auto 36px;
    color: #2b2b2b;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.55;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.btn {
    font-family: inherit;
    border-radius: 4px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    min-width: 150px;
    height: 46px;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.btn--black {
    background: #0e0e0e;
    color: #ffffff;
    border: 1px solid #0e0e0e;
}
.btn--black:hover { background: #2a2a2a; }

.btn--outline {
    background: #ffffff;
    color: #0e0e0e;
    border: 1px solid #0e0e0e;
}
.btn--outline:hover { background: #f5f5f5; }

/* -----------------------------------------------------------------
   APPS GRID
   ----------------------------------------------------------------- */

.apps {
    padding: 64px 28px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.apps__title {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    margin: 0 0 28px;
    color: #0e0e0e;
}

.apps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.app-card {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
    transition: box-shadow 140ms ease, transform 140ms ease;
}

.app-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.app-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: block;
}

.app-card__title {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #0e0e0e;
}

.app-card__sub {
    margin: 0;
    color: #2b2b2b;
    font-size: 14px;
    line-height: 1.45;
    flex-grow: 1;
}

.app-card__link {
    margin-top: 6px;
    color: #0e0e0e;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.app-card__link:hover { color: #0067b8; }

.apps__viewall {
    margin-top: 22px;
    text-align: right;
    font-size: 14px;
}
.apps__viewall a {
    color: #0e0e0e;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .apps__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .apps__grid { grid-template-columns: 1fr; }
    .hero { padding: 56px 18px 36px; }
    .apps { padding: 36px 18px 56px; }
}

/* -----------------------------------------------------------------
   PAGE FOOTER (mockup disclaimer)
   ----------------------------------------------------------------- */

.page-foot {
    border-top: 1px solid #f1f1f1;
    background: #fafafa;
    padding: 22px 28px;
    text-align: center;
}

.page-foot p {
    margin: 0;
    color: #5e5e5e;
    font-size: 12.5px;
    line-height: 1.55;
    max-width: 880px;
    margin: 0 auto;
}

.page-foot a {
    color: #0067b8;
    text-decoration: underline;
}

.page-foot strong { color: #1a1a1a; }

/* -----------------------------------------------------------------
   WARNING OVERLAY — HiAware magenta panel (matches hi-blogg.com)
   ----------------------------------------------------------------- */

.hia-overlay[hidden] { display: none !important; }

.hia-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 42, 90, 0.62);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 9999;
    animation: hia-fade 220ms ease-out;
}

@keyframes hia-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hia-modal {
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    position: relative;
    animation: hia-pop 280ms cubic-bezier(.2,.9,.3,1.1);
}

@keyframes hia-pop {
    from { transform: translateY(14px) scale(.98); opacity: 0; }
    to   { transform: translateY(0)    scale(1);   opacity: 1; }
}

.hia-modal__head {
    position: relative;
    background: #e5187b; /* HiAware magenta */
    color: #ffffff;
    padding: 22px 26px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.hia-modal__icon {
    font-size: 32px;
    line-height: 1;
    flex: 0 0 auto;
    margin-top: 2px;
}

.hia-modal__title {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    padding-right: 120px;
}

.hia-modal__body {
    padding: 22px 26px 8px;
    font-size: 14.5px;
    line-height: 1.55;
    color: #1f2a44;
}

.hia-modal__body p { margin: 0 0 14px; }

.hia-callout {
    background: #fff4f9;
    border-left: 4px solid #e5187b;
    padding: 12px 14px;
    border-radius: 0 4px 4px 0;
    color: #1f2a44;
}

.hia-checklist {
    margin: 6px 0 18px;
    padding-left: 22px;
}
.hia-checklist li { margin: 4px 0; }

.hia-mono {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    background: #f1f3f7;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.93em;
    color: #0f2a5a;
}

.hia-link {
    color: #e5187b;
    text-decoration: none;
    font-weight: 600;
}
.hia-link:hover { text-decoration: underline; }

.hia-modal__foot {
    padding: 16px 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #eef1f6;
    background: #fafbfd;
}

.hia-btn-primary {
    display: inline-block;
    align-self: flex-start;
    background: #e5187b;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 120ms ease;
}
.hia-btn-primary:hover { background: #c41368; }

.hia-foot-meta {
    font-size: 12px;
    color: #6b7280;
}

.hia-brand {
    position: absolute;
    top: 18px;
    right: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.95;
}
.hia-brand__mark {
    background: #ffffff;
    color: #e5187b;
    padding: 3px 6px;
    border-radius: 3px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .hia-modal__head { padding: 18px 18px; }
    .hia-modal__title { font-size: 15.5px; padding-right: 84px; }
    .hia-modal__body { padding: 18px 18px 6px; font-size: 14px; }
    .hia-modal__foot { padding: 14px 18px 18px; }
    .hia-brand { top: 14px; right: 14px; }
}
