:root {
    --lineapp-navy: #071a3d;
    --lineapp-blue: #1d57e5;
    --lineapp-cyan: #22c6e7;
    --lineapp-ink: #12223d;
    --lineapp-muted: #617087;
    --lineapp-soft: #eef4fb;
}

html {
    scroll-behavior: smooth;
}

body.institutional-login {
    min-height: 100vh;
    height: auto;
    margin: 0;
    overflow-x: hidden;
    color: var(--lineapp-ink);
    background: #f5f8fc;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.institutional-login *,
.institutional-login *::before,
.institutional-login *::after {
    box-sizing: border-box;
}

body.institutional-login > .login-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.institutional-login main.company-showcase {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
}

body.institutional-login header.showcase-header {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    z-index: auto !important;
}

body.institutional-login aside.login-sidebar {
    width: 100%;
    max-width: none;
    margin: 0;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(340px, 1fr);
}

.company-showcase {
    min-width: 0;
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    padding: 0 4.4vw 42px;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 11%, rgba(34, 198, 231, .19), transparent 26%),
        radial-gradient(circle at 4% 34%, rgba(29, 87, 229, .35), transparent 26%),
        linear-gradient(145deg, #06132f 0%, #0a2858 48%, #0e5e8b 100%);
}

.showcase-header {
    position: static;
    width: auto;
    min-height: 92px;
    padding: 0;
    background: transparent;
    z-index: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.lineapp-brand,
.showcase-nav a,
.hero-actions a,
.contact-strip a,
.login-contact a {
    text-decoration: none;
}

.lineapp-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
}

.lineapp-brand img,
.login-brand img {
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, .38);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.lineapp-brand span,
.login-brand span {
    display: flex;
    flex-direction: column;
}

.lineapp-brand strong {
    font-size: 23px;
    letter-spacing: .17em;
}

.lineapp-brand small {
    margin-top: 3px;
    color: #a9d5eb;
    font-size: 11px;
    letter-spacing: .07em;
}

.showcase-nav {
    display: flex;
    gap: 28px;
}

.showcase-nav a {
    color: #d8e8f4;
    font-size: 13px;
    font-weight: 600;
}

.showcase-nav a:hover {
    color: #fff;
}

.showcase-hero {
    min-height: calc(100vh - 92px);
    display: grid;
    grid-template-columns: minmax(350px, 1.05fr) minmax(370px, .95fr);
    align-items: center;
    gap: clamp(36px, 5vw, 90px);
    padding: 50px 0 72px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 21px;
    color: #bceaf5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow i {
    color: var(--lineapp-cyan);
    font-size: 7px;
    box-shadow: 0 0 14px var(--lineapp-cyan);
}

.hero-copy h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(43px, 4.4vw, 76px);
    line-height: .99;
    letter-spacing: -.055em;
}

.hero-copy > p {
    max-width: 680px;
    margin: 25px 0 0;
    color: #c8ddec;
    font-size: clamp(16px, 1.15vw, 20px);
    line-height: 1.62;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 31px;
}

.primary-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--lineapp-navy);
    background: #fff;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
}

.text-action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    color: #e5f3fa;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    font-size: 11px;
}

.hero-highlights i {
    color: var(--lineapp-cyan);
}

.app-composition {
    position: relative;
    width: min(100%, 540px);
    min-height: 610px;
    margin: 0 auto;
}

.visual-glow {
    position: absolute;
    inset: 16% 8% 10%;
    border-radius: 50%;
    background: rgba(34, 198, 231, .24);
    filter: blur(65px);
}

.phone-shot {
    position: absolute;
    overflow: hidden;
    margin: 0;
    border: 8px solid #14213b;
    border-radius: 34px;
    background: #14213b;
    box-shadow: 0 34px 65px rgba(0, 0, 0, .36);
}

.phone-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.phone-shot-main {
    z-index: 3;
    top: 16px;
    right: 12%;
    width: 265px;
    aspect-ratio: 9 / 20;
    transform: rotate(3deg);
}

.phone-shot-back {
    z-index: 2;
    top: 65px;
    left: 7%;
    width: 230px;
    aspect-ratio: 9 / 20;
    opacity: .74;
    transform: rotate(-8deg);
}

.floating-data {
    z-index: 5;
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    width: 185px;
    padding: 13px;
    color: var(--lineapp-ink);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.floating-data i {
    display: grid;
    flex: 0 0 38px;
    height: 38px;
    place-items: center;
    color: var(--lineapp-blue);
    border-radius: 11px;
    background: #e9f0ff;
}

.floating-data span {
    color: var(--lineapp-muted);
    font-size: 10px;
    line-height: 1.25;
}

.floating-data strong {
    display: block;
    margin-bottom: 2px;
    color: var(--lineapp-ink);
    font-size: 13px;
}

.floating-data-top {
    top: 35px;
    right: -3%;
}

.floating-data-bottom {
    bottom: 32px;
    left: -2%;
}

.solutions-section,

.platform-section {
    padding: 88px 0;
    border-top: 1px solid rgba(255, 255, 255, .11);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 40px;
}

.section-heading > span,
.platform-copy > span {
    color: var(--lineapp-cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-heading h2,
.platform-copy h2 {
    margin: 11px 0 13px;
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.section-heading p,
.platform-copy p {
    margin: 0;
    color: #bcd2e2;
    font-size: 15px;
    line-height: 1.65;
}

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

.solution-card {
    min-height: 190px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 18px;
    background: rgba(255, 255, 255, .065);
    transition: transform .2s ease, background .2s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .1);
}

.solution-card > i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--lineapp-cyan);
    border-radius: 13px;
    background: rgba(34, 198, 231, .12);
}

.solution-card h3 {
    margin: 20px 0 8px;
    font-size: 17px;
}

.solution-card p {
    margin: 0;
    color: #b9cfdf;
    font-size: 12px;
    line-height: 1.55;
}
.platform-section {
    display: grid;
    grid-template-columns: minmax(280px, .7fr) minmax(450px, 1.3fr);
    align-items: center;
    gap: clamp(38px, 5vw, 78px);
}

.platform-copy ul {
    display: grid;
    gap: 13px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
    color: #d9e9f3;
    font-size: 13px;
}

.platform-copy li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-copy li i {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: var(--lineapp-navy);
    border-radius: 50%;
    background: var(--lineapp-cyan);
    font-size: 10px;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 16px;
}

.screenshot-gallery figure {
    margin: 0;
}

.screenshot-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 20;
    object-fit: cover;
    object-position: top;
    border: 5px solid rgba(255, 255, 255, .9);
    border-radius: 20px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, .3);
}

.screenshot-gallery figcaption {
    margin-top: 11px;
    color: #d5e5ef;
    font-size: 11px;
    text-align: center;
}

.contact-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px 32px;
    padding: 24px 27px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 19px;
    background: rgba(255, 255, 255, .08);
}

.contact-strip > div {
    display: flex;
    flex: 1 1 270px;
    flex-direction: column;
    gap: 4px;
}

.contact-strip span {
    color: #b9d2e1;
    font-size: 11px;
}

.contact-strip strong {
    font-size: 18px;
}

.contact-strip a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.contact-strip a i {
    color: var(--lineapp-cyan);
}

.login-sidebar {
    position: sticky;
    z-index: 20;
    top: 0;
    height: 100vh;
    display: grid;
    place-items: center;
    padding: 34px clamp(24px, 2.1vw, 40px);
    background: rgba(255, 255, 255, .98);
    box-shadow: -14px 0 45px rgba(2, 14, 40, .18);
}

.login-panel {
    width: 100%;
    max-width: 390px;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5eaf1;
}

.login-brand strong {
    color: var(--lineapp-navy);
    font-size: 19px;
    letter-spacing: .14em;
}

.login-brand small {
    margin-top: 3px;
    color: #7a899b;
    font-size: 10px;
}

.login-heading {
    margin: 45px 0 31px;
}

.login-heading > span {
    color: var(--lineapp-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.login-heading h2 {
    margin: 8px 0;
    color: var(--lineapp-navy);
    font-size: clamp(26px, 2vw, 34px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.login-heading p {
    margin: 0;
    color: var(--lineapp-muted);
    font-size: 12px;
    line-height: 1.5;
}

.institutional-login #login-form label {
    display: block;
    margin: 17px 0 7px;
    color: #34445c;
    font-size: 11px;
    font-weight: 800;
}

.institutional-login .input-container {
    position: relative;
    width: 100%;
    margin: 0;
}

.institutional-login .input-container span.icon {
    left: 14px;
    color: #6c7c92;
    font-size: 15px;
}

.institutional-login input[type="text"],
.institutional-login input[type="password"] {
    width: 100%;
    height: 49px;
    padding: 10px 13px 10px 42px;
    color: var(--lineapp-ink);
    border: 1px solid #d7dee8;
    border-radius: 11px;
    outline: none;
    background: #f8fafc;
    font-size: 13px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.institutional-login input:focus {
    border-color: var(--lineapp-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(29, 87, 229, .1);
}

.institutional-login .login_button {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0 0;
    padding: 0 18px;
    color: #fff;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #1d57e5, #147fae);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 13px 28px rgba(29, 87, 229, .24);
}

.institutional-login .login_button:hover {
    background: linear-gradient(135deg, #164bc9, #106d98);
    transform: translateY(-1px);
}

.institutional-login .forgot-password {
    display: block;
    margin-top: 18px;
    color: var(--lineapp-blue);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.login-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 42px;
    padding-top: 21px;
    border-top: 1px solid #e5eaf1;
    text-align: center;
}

.login-contact span {
    margin-bottom: 3px;
    color: #8b97a8;
    font-size: 10px;
}

.login-contact a {
    color: #46566d;
    font-size: 11px;
    font-weight: 600;
}

@media (max-width: 1240px) {
    .company-showcase {
        padding-inline: 35px;
    }

    .showcase-hero {
        grid-template-columns: minmax(330px, 1fr) minmax(310px, .85fr);
        gap: 25px;
    }

    .phone-shot-main {
        right: 3%;
    }

    .phone-shot-back {
        left: 0;
    }

    .floating-data {
        display: none;
    }
}

@media (max-width: 980px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-sidebar {
        position: relative;
        height: auto;
        min-height: 700px;
        grid-row: 1;
    }

    .company-showcase {
        grid-row: 2;
    }
}

@media (max-width: 760px) {
    .company-showcase {
        padding: 0 22px 28px;
    }

    .showcase-header {
        min-height: 78px;
    }

    .showcase-nav {
        display: none;
    }

    .showcase-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 52px 0 60px;
    }

    .hero-copy h1 {
        font-size: 43px;
    }

    .app-composition {
        min-height: 540px;
    }

    .phone-shot-main {
        right: 7%;
        width: 230px;
        aspect-ratio: 9 / 20;
    }

    .phone-shot-back {
        top: 60px;
        left: 4%;
        width: 200px;
        aspect-ratio: 9 / 20;
    }

    .solutions-section,
    .platform-section {
        padding: 65px 0;
    }

    .solution-grid,
    .platform-section {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: 0;
    }
    .platform-section {
        gap: 46px;
    }

    .screenshot-gallery {
        gap: 8px;
    }

    .screenshot-gallery img {
        border-width: 3px;
        border-radius: 13px;
    }

    .screenshot-gallery figcaption {
        display: none;
    }

    .contact-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .solution-card,
    .institutional-login .login_button {
        transition: none;
    }
}
