:root {
    --background: #07101d;
    --background-soft: #0a1525;
    --panel: #101c2d;
    --panel-light: #15243a;
    --border: rgba(168, 188, 216, 0.16);
    --text-primary: #f4f7fb;
    --text-secondary: #9aa9bc;
    --text-dark: #101926;
    --blue: #176fd1;
    --blue-light: #55a5ff;
    --blue-soft: rgba(34, 126, 227, 0.15);
    --white: #ffffff;
    --page-light: #f3f6fa;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-primary);
    background: var(--background);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 16, 29, 0.82);
    backdrop-filter: blur(20px);
}

.header-container {
    width: min(1480px, calc(100% - 64px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 42px;
}

.site-brand {
    width: 220px;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
}

.header-logo {
    width: 220px;
    height: 62px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.desktop-navigation {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

    .desktop-navigation a {
        position: relative;
        color: #a8b4c4;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        transition: color 180ms ease;
    }

        .desktop-navigation a::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: -11px;
            left: 0;
            height: 1px;
            background: var(--blue-light);
            transform: scaleX(0);
            transition: transform 180ms ease;
        }

        .desktop-navigation a:hover {
            color: var(--white);
        }

            .desktop-navigation a:hover::after {
                transform: scaleX(1);
            }

.header-actions {
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-login,
.header-cta {
    min-height: 42px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-login {
    color: #d2dbe7;
    border: 1px solid transparent;
}

    .header-login:hover {
        color: var(--white);
        border-color: var(--border);
    }

.header-cta {
    color: var(--white);
    border: 1px solid #2c7dd5;
    background: linear-gradient(135deg, #176fd1, #0e58a8);
    box-shadow: 0 10px 30px rgba(23, 111, 209, 0.25);
}

    .header-cta:hover {
        transform: translateY(-1px);
        background: linear-gradient(135deg, #2181e8, #1264be);
    }

.hero-section {
    position: relative;
    min-height: 880px;
    padding: 170px 0 105px;
    overflow: hidden;
    background: radial-gradient( circle at 75% 32%, rgba(28, 106, 193, 0.18), transparent 31% ), linear-gradient(145deg, #07101d 0%, #0a1728 55%, #07101d 100%);
}

.hero-background-grid {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: linear-gradient( rgba(122, 163, 210, 0.08) 1px, transparent 1px ), linear-gradient( 90deg, rgba(122, 163, 210, 0.08) 1px, transparent 1px );
    background-size: 56px 56px;
    mask-image: linear-gradient( to bottom, black, transparent 90% );
}

.hero-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.hero-light-left {
    top: 140px;
    left: -180px;
    width: 420px;
    height: 420px;
    background: rgba(21, 91, 172, 0.18);
}

.hero-light-right {
    right: -160px;
    bottom: 60px;
    width: 430px;
    height: 430px;
    background: rgba(65, 111, 167, 0.13);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: min(1480px, calc(100% - 96px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 690px;
}

.hero-eyebrow {
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #68adf5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.eyebrow-line {
    width: 36px;
    height: 1px;
    background: #68adf5;
}

.hero-content h1 {
    margin: 0;
    color: #f7f9fc;
    font-size: clamp(58px, 5.5vw, 88px);
    font-weight: 650;
    line-height: 0.99;
    letter-spacing: -0.058em;
}

    .hero-content h1 span {
        display: block;
        color: #738399;
    }

.hero-description {
    max-width: 620px;
    margin: 31px 0 0;
    color: #a2afbf;
    font-size: 19px;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.primary-button,
.secondary-button {
    min-height: 54px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.primary-button {
    color: var(--white);
    border: 1px solid #2d83df;
    background: linear-gradient(135deg, #176fd1, #0d5aaf);
    box-shadow: 0 14px 38px rgba(17, 104, 197, 0.28);
}

    .primary-button:hover {
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 19px 44px rgba(17, 104, 197, 0.36);
    }

.button-arrow {
    font-size: 20px;
    font-weight: 400;
}

.secondary-button {
    color: #d9e1eb;
    border: 1px solid rgba(180, 199, 222, 0.22);
    background: rgba(255, 255, 255, 0.035);
}

    .secondary-button:hover {
        color: var(--white);
        transform: translateY(-2px);
        border-color: rgba(180, 199, 222, 0.42);
        background: rgba(255, 255, 255, 0.07);
    }

.hero-details {
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8392a5;
    font-size: 13px;
}

.detail-check {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 154, 240, 0.42);
    border-radius: 50%;
    color: #61adff;
    font-size: 10px;
}

.hero-visual {
    position: relative;
    min-width: 0;
    perspective: 1300px;
}

.software-window {
    overflow: hidden;
    border: 1px solid rgba(161, 185, 215, 0.23);
    border-radius: 12px;
    background: #111d2d;
    box-shadow: 0 50px 110px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    transform: rotateY(-3deg) rotateX(1deg);
}

.software-titlebar {
    height: 49px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(167, 189, 214, 0.14);
    background: #162437;
}

.window-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #b8c4d3;
    font-size: 12px;
}

.window-icon {
    width: 17px;
    height: 17px;
    border: 1px solid #4794e7;
    border-radius: 4px;
    background: linear-gradient( 135deg, rgba(84, 167, 255, 0.45), rgba(27, 92, 170, 0.15) );
}

.window-controls {
    display: flex;
    gap: 12px;
}

    .window-controls span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #66788e;
    }

.software-body {
    min-height: 495px;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
}

.software-sidebar {
    padding: 25px 20px;
    border-right: 1px solid rgba(167, 189, 214, 0.13);
    background: #101b2a;
}

.sidebar-title {
    margin-bottom: 30px;
    color: #6f8299;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.sidebar-group {
    margin-bottom: 21px;
}

.sidebar-label {
    width: 73px;
    height: 6px;
    margin-bottom: 9px;
    display: block;
    border-radius: 3px;
    background: #475b74;
}

    .sidebar-label.short {
        width: 49px;
    }

    .sidebar-label.medium {
        width: 62px;
    }

.sidebar-input {
    height: 30px;
    display: block;
    border: 1px solid #273a52;
    border-radius: 4px;
    background: #132238;
}

.sidebar-button {
    height: 34px;
    margin-top: 30px;
    border-radius: 4px;
    background: linear-gradient(135deg, #1a72cf, #0f589f);
}

.drawing-canvas {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient( rgba(74, 111, 154, 0.11) 1px, transparent 1px ), linear-gradient( 90deg, rgba(74, 111, 154, 0.11) 1px, transparent 1px ), #0b1522;
    background-size: 24px 24px;
}

.canvas-toolbar {
    position: absolute;
    top: 18px;
    left: 20px;
    display: flex;
    gap: 8px;
}

    .canvas-toolbar span {
        width: 25px;
        height: 25px;
        border: 1px solid #263a53;
        border-radius: 4px;
        background: #112036;
    }

.elevator-plan {
    width: 78%;
    height: 78%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shaft-frame {
    position: relative;
    width: 305px;
    height: 360px;
    border: 2px solid #6a7d92;
}

.cabin-frame {
    position: absolute;
    top: 72px;
    right: 58px;
    bottom: 68px;
    left: 58px;
    border: 2px solid #3189e8;
    background: rgba(35, 124, 222, 0.08);
}

.cabin-door {
    position: absolute;
    right: 37px;
    bottom: -2px;
    left: 37px;
    height: 10px;
    border: 2px solid #65aaf4;
}

.guide-rail {
    position: absolute;
    top: 42px;
    bottom: 42px;
    width: 4px;
    background: #7a899b;
}

.guide-rail-left {
    left: 32px;
}

.guide-rail-right {
    right: 32px;
}

.counterweight {
    position: absolute;
    top: 105px;
    right: -18px;
    width: 27px;
    height: 130px;
    border: 2px solid #8794a5;
}

.measurement {
    position: absolute;
    color: #77b5f7;
    font-size: 9px;
    letter-spacing: 0.05em;
}

.measurement-top {
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
}

.measurement-side {
    top: 50%;
    right: -34px;
    transform: translateY(-50%) rotate(90deg);
}

.canvas-status {
    position: absolute;
    right: 18px;
    bottom: 14px;
    left: 18px;
    display: flex;
    justify-content: space-between;
    color: #647990;
    font-size: 9px;
}

.floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(162, 187, 218, 0.2);
    border-radius: 8px;
    background: rgba(18, 32, 51, 0.94);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
}

.floating-card-top {
    top: 62px;
    right: -29px;
    padding: 13px 17px;
}

.floating-card-bottom {
    bottom: 45px;
    left: -35px;
    padding: 14px 17px;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    color: #dce5f0;
    font-size: 12px;
}

.floating-card small {
    margin-top: 4px;
    color: #788da5;
    font-size: 9px;
}

.floating-icon {
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #73b7ff;
    background: rgba(52, 139, 234, 0.15);
}

.floating-chart {
    width: 48px;
    height: 24px;
    display: block;
    border-bottom: 1px solid #347ecb;
    background: linear-gradient( 135deg, transparent 32%, #347ecb 33%, #347ecb 37%, transparent 38%, transparent 53%, #5aa8f7 54%, #5aa8f7 58%, transparent 59% );
}

.hero-bottom-line {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient( 90deg, transparent, rgba(76, 141, 211, 0.46), transparent );
}

.stats-section {
    border-bottom: 1px solid var(--border);
    background: #081322;
}

.stats-container {
    width: min(1320px, calc(100% - 80px));
    min-height: 140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 35px;
}

.stat-item {
    text-align: center;
}

    .stat-item strong {
        display: block;
        color: #dbe5f1;
        font-size: 15px;
        font-weight: 600;
    }

    .stat-item span {
        margin-top: 8px;
        display: block;
        color: #708198;
        font-size: 12px;
    }

.stat-divider {
    width: 1px;
    height: 38px;
    background: var(--border);
}

.features-section {
    padding: 125px 0;
    color: var(--text-dark);
    background: var(--page-light);
}

.section-container {
    width: min(1320px, calc(100% - 80px));
    margin: 0 auto;
}

.section-introduction {
    max-width: 760px;
}

.section-label {
    margin-bottom: 19px;
    color: #176ac2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.section-introduction h2 {
    margin: 0;
    color: #111a26;
    font-size: clamp(44px, 4.5vw, 68px);
    font-weight: 650;
    line-height: 1.03;
    letter-spacing: -0.05em;
}

    .section-introduction h2 span {
        color: #7e8996;
    }

.section-introduction p {
    max-width: 670px;
    margin: 25px 0 0;
    color: #66717e;
    font-size: 18px;
    line-height: 1.75;
}

.features-grid {
    margin-top: 65px;
    display: grid;
    grid-template-columns: 1.35fr 0.825fr;
    gap: 20px;
}

.feature-card {
    min-height: 290px;
    padding: 31px;
    display: flex;
    flex-direction: column;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #ffffff;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        border-color: #b6c9df;
        box-shadow: 0 20px 45px rgba(26, 52, 79, 0.09);
    }

.feature-card-large {
    grid-row: span 2;
    min-height: 600px;
    background: radial-gradient( circle at 80% 95%, rgba(45, 131, 224, 0.13), transparent 31% ), #ffffff;
}

.feature-top {
    display: flex;
    justify-content: space-between;
}

.feature-index {
    color: #176fd1;
    font-size: 12px;
    font-weight: 700;
}

.feature-icon {
    color: #68809a;
    font-size: 26px;
}

.feature-content {
    margin-top: auto;
}

.feature-card-large .feature-content {
    margin-top: 115px;
}

.feature-content h3 {
    margin: 0;
    color: #152131;
    font-size: 25px;
    font-weight: 650;
    letter-spacing: -0.025em;
}

.feature-content p {
    max-width: 580px;
    margin: 15px 0 0;
    color: #6d7885;
    line-height: 1.7;
}

.parameter-preview {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}

    .parameter-preview div {
        padding: 15px;
        border: 1px solid #dce5ef;
        border-radius: 5px;
        background: rgba(244, 248, 252, 0.85);
    }

    .parameter-preview span,
    .parameter-preview strong {
        display: block;
    }

    .parameter-preview span {
        color: #7c8895;
        font-size: 10px;
    }

    .parameter-preview strong {
        margin-top: 7px;
        color: #25354a;
        font-size: 14px;
    }

.site-footer {
    padding: 55px 0;
    border-top: 1px solid var(--border);
    background: #07101d;
}

.footer-container {
    width: min(1320px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 65px;
    align-items: center;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    width: 210px;
    height: 72px;
    display: block;
    object-fit: contain;
}

.footer-brand p {
    margin: 13px 0 0;
    color: #74859a;
    font-size: 13px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 25px;
}

    .footer-links a {
        color: #8999ad;
        font-size: 13px;
        text-decoration: none;
    }

        .footer-links a:hover {
            color: var(--white);
        }

.footer-copyright {
    color: #68798e;
    font-size: 12px;
}

@media (max-width: 1180px) {
    .desktop-navigation {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 75px;
    }

    .hero-content {
        max-width: 780px;
    }

    .hero-visual {
        max-width: 900px;
    }
}

@media (max-width: 850px) {
    .header-container,
    .hero-container,
    .section-container,
    .stats-container,
    .footer-container {
        width: min(100% - 40px, 1320px);
    }

    .header-login {
        display: none;
    }

    .site-brand,
    .header-logo {
        width: 175px;
    }

    .software-body {
        grid-template-columns: 145px minmax(0, 1fr);
    }

    .stats-container {
        padding: 35px 0;
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-row: auto;
        min-height: 520px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .site-header {
        position: absolute;
    }

    .header-container {
        min-height: 70px;
    }

    .site-brand,
    .header-logo {
        width: 145px;
        height: 52px;
    }

    .header-cta {
        min-height: 38px;
        padding: 0 14px;
        font-size: 12px;
    }

    .hero-section {
        min-height: auto;
        padding: 130px 0 80px;
    }

    .hero-container {
        gap: 55px;
    }

    .hero-content h1 {
        font-size: 49px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-details {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .software-body {
        min-height: 365px;
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .software-sidebar {
        padding: 18px 12px;
    }

    .shaft-frame {
        width: 185px;
        height: 245px;
    }

    .cabin-frame {
        top: 50px;
        right: 36px;
        bottom: 46px;
        left: 36px;
    }

    .floating-card {
        display: none;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .section-introduction h2 {
        font-size: 42px;
    }

    .parameter-preview {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   SADE NASIL ÇALIŞIR BÖLÜMÜ
   ========================================================= */

.process-section {
    padding: 105px 0;
    color: #152131;
    border-top: 1px solid #dfe6ee;
    background: #ffffff;
}

.process-heading {
    max-width: 760px;
}

    .process-heading h2 {
        margin: 0;
        color: #111a26;
        font-size: clamp(40px, 4vw, 62px);
        font-weight: 650;
        line-height: 1.04;
        letter-spacing: -0.048em;
    }

        .process-heading h2 span {
            color: #7d8997;
        }

.process-grid {
    position: relative;
    margin-top: 58px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

    .process-grid::before {
        content: "";
        position: absolute;
        top: 41px;
        right: 8%;
        left: 8%;
        height: 1px;
        background: linear-gradient(90deg, transparent, #bdd3e8 10%, #bdd3e8 90%, transparent);
    }

.process-card {
    position: relative;
    z-index: 2;
    min-height: 225px;
    padding: 25px 24px 27px;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    background: #fbfdff;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

    .process-card:hover {
        transform: translateY(-4px);
        border-color: #a9c8e5;
        box-shadow: 0 18px 40px rgba(30, 71, 108, 0.08);
    }

.process-number {
    color: #176fd1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.process-icon {
    width: 48px;
    height: 48px;
    margin-top: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c7dcef;
    border-radius: 7px;
    color: #176fd1;
    background: #eef6fd;
    font-size: 21px;
}

.process-card h3 {
    margin: 24px 0 0;
    color: #172537;
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.process-card p {
    margin: 11px 0 0;
    color: #71808f;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 950px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

        .process-grid::before {
            display: none;
        }
}

@media (max-width: 560px) {
    .process-section {
        padding: 78px 0;
    }

    .process-heading h2 {
        font-size: 39px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .process-card {
        min-height: 190px;
    }
}

/* =========================================================
   FİYATLANDIRMA SAYFASI
   ========================================================= */

.pricing-hero {
    position: relative;
    min-height: 100vh;
    padding: 155px 0 110px;
    overflow: hidden;
    color: #f4f7fb;
    background: radial-gradient( circle at 50% 13%, rgba(30, 113, 207, 0.2), transparent 30% ), linear-gradient( 145deg, #07101d 0%, #0a1728 55%, #07101d 100% );
}

.pricing-background-grid {
    position: absolute;
    inset: 0;
    opacity: 0.21;
    pointer-events: none;
    background-image: linear-gradient( rgba(122, 163, 210, 0.08) 1px, transparent 1px ), linear-gradient( 90deg, rgba(122, 163, 210, 0.08) 1px, transparent 1px );
    background-size: 56px 56px;
    mask-image: linear-gradient( to bottom, black, transparent 88% );
}

.pricing-light {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}

.pricing-light-left {
    top: 260px;
    left: -210px;
    width: 460px;
    height: 460px;
    background: rgba(27, 105, 195, 0.15);
}

.pricing-light-right {
    right: -210px;
    bottom: 160px;
    width: 480px;
    height: 480px;
    background: rgba(43, 93, 153, 0.14);
}

.pricing-page-container {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100% - 80px));
    margin: 0 auto;
}

.pricing-heading {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.pricing-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #68adf5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

    .pricing-eyebrow > span {
        width: 34px;
        height: 1px;
        background: #68adf5;
    }

.pricing-heading h1 {
    margin: 25px 0 0;
    color: #f5f8fc;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 650;
    line-height: 1.02;
    letter-spacing: -0.052em;
}

    .pricing-heading h1 span {
        display: block;
        color: #75859a;
    }

.pricing-heading > p {
    max-width: 650px;
    margin: 24px auto 0;
    color: #9aa9bc;
    font-size: 17px;
    line-height: 1.7;
}

.billing-switch {
    width: max-content;
    margin: 35px auto 0;
    padding: 5px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(154, 184, 218, 0.19);
    border-radius: 8px;
    background: rgba(13, 26, 43, 0.85);
    backdrop-filter: blur(15px);
}

.billing-option {
    position: relative;
    min-width: 130px;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 5px;
    color: #788ba1;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

    .billing-option.active {
        color: #ffffff;
        background: linear-gradient( 135deg, #176fd1, #0d5aaf );
        box-shadow: 0 8px 22px rgba(18, 103, 195, 0.25);
    }

.billing-discount {
    position: absolute;
    top: -24px;
    right: -20px;
    padding: 4px 7px;
    border: 1px solid rgba(80, 166, 255, 0.24);
    border-radius: 4px;
    color: #78bbff;
    background: #10233a;
    font-size: 8px;
    white-space: nowrap;
}

.pricing-grid {
    margin-top: 75px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    min-width: 0;
    padding: 33px;
    border: 1px solid rgba(154, 184, 218, 0.17);
    border-radius: 10px;
    background: linear-gradient( 155deg, rgba(19, 35, 56, 0.96), rgba(11, 23, 39, 0.96) );
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.012) inset;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

    .pricing-card:hover {
        transform: translateY(-5px);
        border-color: rgba(92, 166, 240, 0.33);
        box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.018) inset;
    }

.pricing-card-featured {
    border-color: rgba(55, 144, 236, 0.58);
    background: radial-gradient( circle at 50% 0, rgba(41, 128, 222, 0.15), transparent 35% ), linear-gradient( 155deg, rgba(20, 39, 63, 0.98), rgba(11, 24, 41, 0.98) );
    box-shadow: 0 32px 85px rgba(0, 0, 0, 0.3), 0 0 40px rgba(26, 112, 206, 0.09);
    transform: translateY(-12px);
}

    .pricing-card-featured:hover {
        transform: translateY(-17px);
    }

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    padding: 8px 15px;
    border: 1px solid #368ce6;
    border-radius: 20px;
    color: #ffffff;
    background: linear-gradient( 135deg, #1e7ed8, #105ba7 );
    box-shadow: 0 9px 22px rgba(17, 104, 197, 0.28);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.09em;
    white-space: nowrap;
    transform: translateX(-50%);
}

.pricing-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pricing-plan-icon {
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(80, 159, 241, 0.25);
    border-radius: 7px;
    background: rgba(34, 126, 227, 0.1);
}

.user-icon {
    position: relative;
    width: 13px;
    height: 13px;
    border: 1.5px solid #69b2fc;
    border-radius: 50%;
}

    .user-icon::after {
        content: "";
        position: absolute;
        top: 16px;
        left: 50%;
        width: 22px;
        height: 11px;
        border: 1.5px solid #69b2fc;
        border-bottom: 0;
        border-radius: 13px 13px 0 0;
        transform: translateX(-50%);
    }

.team-icon {
    position: relative;
    width: 26px;
    height: 23px;
}

    .team-icon::before,
    .team-icon::after {
        content: "";
        position: absolute;
        border: 1.5px solid #69b2fc;
        border-radius: 50%;
    }

    .team-icon::before {
        top: 0;
        left: 50%;
        width: 10px;
        height: 10px;
        transform: translateX(-50%);
    }

    .team-icon::after {
        right: 0;
        bottom: 0;
        left: 0;
        height: 10px;
        border-radius: 12px 12px 4px 4px;
    }

.team-icon-ten {
    transform: scale(1.08);
}

.pricing-plan-name > span {
    color: #5ca9f7;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.pricing-plan-name h2 {
    margin: 5px 0 0;
    color: #edf3fa;
    font-size: 21px;
    font-weight: 650;
    letter-spacing: -0.025em;
}

.pricing-description {
    min-height: 70px;
    margin: 25px 0 0;
    color: #8293a8;
    font-size: 13px;
    line-height: 1.65;
}

.pricing-price {
    min-height: 133px;
    margin-top: 23px;
}

.price-line {
    display: flex;
    align-items: flex-start;
}

.price-currency {
    margin-top: 9px;
    color: #88a1b9;
    font-size: 18px;
}

.price-amount {
    margin-left: 5px;
    color: #f5f8fc;
    font-size: 57px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: -0.055em;
    transition: opacity 120ms ease, transform 120ms ease;
}

    .price-amount.changing {
        opacity: 0;
        transform: translateY(5px);
    }

.price-period {
    margin-top: 7px;
    display: block;
    color: #7c90a6;
    font-size: 12px;
}

.price-equivalent {
    margin-top: 10px;
    color: #647b92;
    font-size: 10px;
}

.pricing-button {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

    .pricing-button:hover {
        color: #ffffff;
        transform: translateY(-2px);
    }

.pricing-button-primary {
    color: #ffffff;
    border: 1px solid #338ce7;
    background: linear-gradient( 135deg, #1b78d5, #105ca9 );
    box-shadow: 0 12px 28px rgba(17, 104, 197, 0.25);
}

    .pricing-button-primary:hover {
        box-shadow: 0 17px 35px rgba(17, 104, 197, 0.34);
    }

.pricing-button-secondary {
    color: #d6e0eb;
    border: 1px solid rgba(147, 179, 214, 0.22);
    background: rgba(255, 255, 255, 0.035);
}

    .pricing-button-secondary:hover {
        border-color: rgba(94, 166, 240, 0.42);
        background: rgba(255, 255, 255, 0.065);
    }

.pricing-button > span {
    font-size: 17px;
    font-weight: 400;
}

.pricing-divider {
    height: 1px;
    margin: 29px 0;
    background: linear-gradient( 90deg, rgba(147, 179, 214, 0.2), transparent );
}

.pricing-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .pricing-features li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: #98a8ba;
        font-size: 12px;
        line-height: 1.5;
    }

        .pricing-features li + li {
            margin-top: 15px;
        }

        .pricing-features li > span {
            width: 19px;
            height: 19px;
            flex: 0 0 19px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(63, 151, 241, 0.31);
            border-radius: 50%;
            color: #65aff9;
            background: rgba(34, 126, 227, 0.09);
            font-size: 8px;
        }

.pricing-enterprise {
    margin-top: 65px;
    padding: 35px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    border: 1px solid rgba(146, 179, 215, 0.17);
    border-radius: 9px;
    background: linear-gradient( 120deg, rgba(20, 38, 61, 0.92), rgba(10, 23, 39, 0.92) );
}

    .pricing-enterprise > div {
        max-width: 770px;
    }

        .pricing-enterprise > div > span {
            color: #5ca9f7;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 0.14em;
        }

    .pricing-enterprise h3 {
        margin: 10px 0 0;
        color: #eef4fa;
        font-size: 24px;
        font-weight: 620;
    }

    .pricing-enterprise p {
        margin: 11px 0 0;
        color: #7f92a7;
        font-size: 13px;
        line-height: 1.65;
    }

    .pricing-enterprise > a {
        min-width: 160px;
        min-height: 47px;
        padding: 0 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid rgba(89, 164, 241, 0.35);
        border-radius: 6px;
        color: #dce8f4;
        background: rgba(30, 108, 191, 0.12);
        font-size: 11px;
        font-weight: 700;
        text-decoration: none;
    }

        .pricing-enterprise > a:hover {
            color: #ffffff;
            border-color: #398fe9;
            background: rgba(30, 108, 191, 0.22);
        }

        .pricing-enterprise > a span {
            font-size: 16px;
        }

.pricing-notes {
    margin-top: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

    .pricing-notes > div {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #72859b;
        font-size: 10px;
    }

        .pricing-notes > div > span {
            color: #5eaaf7;
        }

@media (max-width: 1000px) {
    .pricing-grid {
        max-width: 680px;
        margin-right: auto;
        margin-left: auto;
        grid-template-columns: 1fr;
    }

    .pricing-card-featured,
    .pricing-card-featured:hover {
        transform: none;
    }

    .pricing-description {
        min-height: auto;
    }

    .pricing-enterprise {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 650px) {
    .pricing-hero {
        padding: 130px 0 80px;
    }

    .pricing-page-container {
        width: calc(100% - 40px);
    }

    .pricing-heading h1 {
        font-size: 43px;
    }

    .billing-switch {
        width: 100%;
    }

    .billing-option {
        min-width: 0;
        flex: 1;
    }

    .billing-discount {
        right: 0;
    }

    .pricing-card {
        padding: 27px 23px;
    }

    .price-amount {
        font-size: 50px;
    }

    .pricing-enterprise {
        padding: 29px 24px;
    }

        .pricing-enterprise > a {
            width: 100%;
        }

    .pricing-notes {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }


}
.shaft-designer {
    width: 100%;
    height: calc(100vh - 82px);
    min-height: 650px;
    margin-top: 82px;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    overflow: hidden;
    background: #08111f;
}

.shaft-settings {
    padding: 34px 28px;
    overflow-y: auto;
    border-right: 1px solid rgba(168, 188, 216, 0.15);
    background: #0d1929;
}

.settings-eyebrow {
    color: #55a5ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.settings-header h1 {
    margin: 9px 0 8px;
    color: #f4f7fb;
    font-size: 25px;
}

.settings-header p {
    margin: 0;
    color: #91a0b4;
    font-size: 13px;
    line-height: 1.6;
}

.form-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(168, 188, 216, 0.13);
}

    .form-section h2 {
        margin: 0 0 17px;
        color: #dce5f0;
        font-size: 13px;
    }

.field {
    margin-bottom: 15px;
    display: block;
}

    .field > span {
        margin-bottom: 7px;
        display: block;
        color: #91a0b4;
        font-size: 12px;
    }

.input-unit {
    display: flex;
    align-items: center;
    border: 1px solid rgba(168, 188, 216, 0.18);
    border-radius: 6px;
    background: #111f31;
}

    .input-unit:focus-within {
        border-color: #2e83df;
        box-shadow: 0 0 0 3px rgba(46, 131, 223, 0.12);
    }

    .input-unit input {
        width: 100%;
        height: 42px;
        padding: 0 12px;
        color: #edf4fc;
        border: 0;
        outline: 0;
        background: transparent;
        font: inherit;
    }

    .input-unit span {
        padding-right: 12px;
        color: #6f8095;
        font-size: 11px;
    }

.field select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    color: #edf4fc;
    border: 1px solid rgba(168, 188, 216, 0.18);
    border-radius: 6px;
    outline: 0;
    background: #111f31;
}

.switch-field {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b8c4d3;
    font-size: 13px;
    cursor: pointer;
}

    .switch-field input {
        display: none;
    }

.switch-control {
    position: relative;
    width: 38px;
    height: 21px;
    border-radius: 999px;
    background: #344154;
    transition: background 160ms ease;
}

    .switch-control::after {
        position: absolute;
        top: 3px;
        left: 3px;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        content: "";
        background: white;
        transition: transform 160ms ease;
    }

.switch-field input:checked + .switch-control {
    background: #176fd1;
}

    .switch-field input:checked + .switch-control::after {
        transform: translateX(17px);
    }

.fit-button {
    width: 100%;
    height: 44px;
    margin-top: 26px;
    color: white;
    border: 1px solid #2c7dd5;
    border-radius: 6px;
    background: linear-gradient(135deg, #176fd1, #0e58a8);
    cursor: pointer;
}

.drawing-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #e9eef5;
}

.drawing-toolbar {
    min-height: 72px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1a2737;
    border-bottom: 1px solid #cbd4df;
    background: #f8fafc;
}

    .drawing-toolbar strong {
        display: block;
        font-size: 14px;
    }

    .drawing-toolbar div > span {
        margin-top: 4px;
        display: block;
        color: #77869a;
        font-size: 12px;
    }

.live-badge {
    padding: 7px 10px;
    color: #176fd1;
    border: 1px solid rgba(23, 111, 209, 0.25);
    border-radius: 4px;
    background: rgba(23, 111, 209, 0.07);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.drawing-viewport {
    min-height: 0;
    flex: 1;
    padding: 36px;
    overflow: hidden;
    background-image: linear-gradient(rgba(25, 55, 88, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(25, 55, 88, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}

#shaftSvg {
    width: 100%;
    height: 100%;
    min-height: 680px;
    display: block;
}

.concrete-wall {
    fill: #d2d8df;
    stroke: #24364b;
    stroke-width: 9px;
}

.steel-wall {
    fill: #dce7f1;
    stroke: #176fd1;
    stroke-width: 9px;
}

.shaft-space,
.opening-mask {
    fill: #ffffff;
}

.cad-line,
.door-edge {
    fill: none;
    stroke: #182b41;
    stroke-width: 9px;
}

.door-opening {
    fill: none;
    stroke: #176fd1;
    stroke-width: 13px;
}

.center-line {
    fill: none;
    stroke: #6694bd;
    stroke-width: 4px;
    stroke-dasharray: 35 18 7 18;
}

.dimension-line {
    fill: none;
    stroke: #6c7d91;
    stroke-width: 4px;
}

.cad-text,
.dimension-text,
.door-text,
.shaft-label,
.shaft-size {
    text-anchor: middle;
    dominant-baseline: middle;
    font-family: "Segoe UI", Arial, sans-serif;
}

.dimension-text {
    fill: #4d5f74;
    font-size: 46px;
}

.door-text {
    fill: #176fd1;
    font-size: 42px;
    font-weight: 700;
}

.shaft-label {
    fill: #283b51;
    font-size: 54px;
    font-weight: 700;
    letter-spacing: 5px;
}

.shaft-size {
    fill: #718197;
    font-size: 42px;
}

@media (max-width: 900px) {
    .shaft-designer {
        grid-template-columns: 1fr;
    }

    .shaft-settings {
        border-right: 0;
        border-bottom: 1px solid rgba(168, 188, 216, 0.15);
    }

    .drawing-viewport {
        min-height: 600px;
    }
}
/* ===== Account / Checkout / Customer Portal ===== */
.header-logout-form{margin:0}.header-logout{border:0;background:transparent;color:#d7e2f3;font:inherit;cursor:pointer;padding:10px 4px}.header-logout:hover{color:#fff}
.account-shell,.portal-shell{min-height:calc(100vh - 150px);padding:110px 24px 72px;background:radial-gradient(circle at 15% 20%,rgba(31,111,235,.14),transparent 30%),radial-gradient(circle at 85% 15%,rgba(0,198,255,.10),transparent 28%),#07101d;color:#eef5ff}.account-card{width:min(560px,100%);margin:0 auto;background:rgba(12,26,45,.94);border:1px solid rgba(143,177,220,.18);box-shadow:0 25px 80px rgba(0,0,0,.35);border-radius:22px;padding:34px}.account-card-wide{width:min(860px,100%)}.account-kicker{font-size:.75rem;letter-spacing:.18em;color:#66b7ff;font-weight:800;margin-bottom:10px}.account-card h1,.portal-heading h1{font-size:clamp(2rem,4vw,3rem);margin:0 0 12px}.account-card h2{margin-top:0}.account-card>p,.portal-heading p,.portal-card p{color:#9fb1c7;line-height:1.7}.account-form{display:grid;gap:18px;margin-top:28px}.account-form label{display:block;font-size:.84rem;font-weight:700;color:#cbd8e8;margin-bottom:8px}.account-form input,.account-form select{width:100%;background:#091525;border:1px solid rgba(139,174,218,.22);color:#fff;border-radius:12px;padding:13px 14px;outline:none}.account-form input:focus,.account-form select:focus{border-color:#3c97ff;box-shadow:0 0 0 3px rgba(60,151,255,.12)}.form-grid{display:grid;gap:16px}.form-grid.two{grid-template-columns:1fr 1fr}.form-grid .full{grid-column:1/-1}.account-form span.field-validation-error,.form-error{color:#ff8895;font-size:.82rem}.account-primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:12px;background:linear-gradient(135deg,#1687ff,#0068d9);color:#fff;text-decoration:none;font-weight:800;padding:13px 18px;cursor:pointer;box-shadow:0 14px 30px rgba(0,105,217,.24)}.account-primary.compact{padding:11px 16px;width:auto}.account-footer{text-align:center;color:#8fa1b7;margin-top:24px}.account-footer a,.back-link{color:#66b7ff;text-decoration:none}.back-link{display:inline-block;margin-top:18px}.notice{border-radius:12px;padding:13px 15px;margin:18px 0}.notice.success{background:rgba(41,182,115,.13);border:1px solid rgba(41,182,115,.28);color:#8ff0b8}.notice.error{background:rgba(235,71,88,.13);border:1px solid rgba(235,71,88,.28);color:#ff9aa5}.field-help{display:block;color:#7f93aa;margin-top:7px;line-height:1.5}.checkout-grid{width:min(1050px,100%);margin:auto;display:grid;grid-template-columns:1.15fr .85fr;gap:24px}.checkout-grid .account-card{width:100%;margin:0}.checkout-summary-row,.checkout-total{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.08);color:#a7b7ca}.checkout-summary-row strong{color:#fff}.checkout-total{border-bottom:0;font-size:1.2rem;padding-top:22px}.checkout-total strong{font-size:1.8rem;color:#fff}.checkout-note{font-size:.9rem;background:rgba(45,119,220,.10);padding:14px;border-radius:12px}.portal-shell{padding-left:max(24px,calc((100vw - 1180px)/2));padding-right:max(24px,calc((100vw - 1180px)/2))}.portal-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.portal-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.portal-stats article,.portal-card,.empty-license{background:rgba(12,26,45,.94);border:1px solid rgba(143,177,220,.18);border-radius:18px;padding:22px}.portal-stats span{display:block;color:#6f86a1;font-size:.72rem;letter-spacing:.12em;font-weight:800}.portal-stats strong{display:block;font-size:1.35rem;margin:9px 0;color:#fff}.portal-stats small{color:#91a4bb}.portal-card{padding:0;overflow:hidden}.portal-card-head{display:flex;justify-content:space-between;padding:24px 26px 10px}.portal-card-head h2{margin:0}.portal-table-wrap{overflow-x:auto}.portal-table{width:100%;border-collapse:collapse}.portal-table th{font-size:.72rem;letter-spacing:.08em;color:#6f86a1;text-align:left;padding:14px 24px;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06)}.portal-table td{padding:17px 24px;border-bottom:1px solid rgba(255,255,255,.05);color:#c7d4e4}.portal-table td:first-child strong,.portal-table td:first-child span{display:block}.portal-table td:first-child span{color:#7990aa;font-size:.85rem;margin-top:4px}.status-pill{display:inline-block;padding:5px 9px;border-radius:999px;background:rgba(39,182,114,.12);color:#8ee9b6;font-size:.78rem}.empty-license{text-align:center;padding:54px 24px}.empty-license h2{font-size:1.8rem;margin-top:0}.pricing-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.pricing-card{min-width:0}
@media(max-width:1000px){.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.portal-stats{grid-template-columns:repeat(2,1fr)}.checkout-grid{grid-template-columns:1fr}}
@media(max-width:680px){.account-shell,.portal-shell{padding-top:88px}.account-card{padding:24px}.form-grid.two{grid-template-columns:1fr}.portal-heading{align-items:flex-start;flex-direction:column}.portal-stats{grid-template-columns:1fr}.pricing-grid{grid-template-columns:1fr!important}.header-logout{padding:8px 2px}}

/* ===== LiftDraw customer portal v2 ===== */
.password-input-wrap{position:relative}.password-input-wrap input{padding-right:52px}.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:10px;background:transparent;color:#8fa8c4;cursor:pointer;display:grid;place-items:center}.password-toggle:hover{background:rgba(102,183,255,.10);color:#bfe0ff}.eye-icon{width:20px;height:14px;border:1.8px solid currentColor;border-radius:50% 50% 48% 48%;position:relative;display:block}.eye-icon:after{content:"";position:absolute;width:5px;height:5px;border:1.8px solid currentColor;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.password-toggle.is-visible .eye-icon:before{content:"";position:absolute;width:24px;height:2px;background:currentColor;left:-3px;top:6px;transform:rotate(-35deg);border-radius:2px}.login-options{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:-4px}.remember-check{display:flex!important;align-items:center;gap:9px;margin:0!important;cursor:pointer;color:#cbd8e8!important}.remember-check input{width:17px!important;height:17px;margin:0;accent-color:#1687ff}.login-hint{font-size:.75rem;color:#6f86a1;text-align:right}.portal-subnav{display:flex;gap:8px;flex-wrap:wrap;margin:-44px 0 34px;padding:7px;background:rgba(12,26,45,.74);border:1px solid rgba(143,177,220,.14);border-radius:14px;width:max-content;max-width:100%}.portal-subnav a{padding:9px 13px;border-radius:9px;color:#8fa3bb;text-decoration:none;font-weight:700;font-size:.86rem}.portal-subnav a:hover{color:#dcecff;background:rgba(255,255,255,.04)}.portal-subnav a.active{background:rgba(22,135,255,.16);color:#7ec2ff}.portal-action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 20px}.portal-action-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;padding:20px;background:rgba(12,26,45,.94);border:1px solid rgba(143,177,220,.18);border-radius:16px;text-decoration:none;transition:.2s ease}.portal-action-card:hover{transform:translateY(-2px);border-color:rgba(65,151,255,.48);background:rgba(15,33,57,.98)}.portal-action-card strong{display:block;color:#f1f7ff;margin-bottom:5px}.portal-action-card small{display:block;color:#8196af;line-height:1.45}.portal-action-card b{color:#66b7ff;font-size:1.15rem}.portal-action-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:rgba(22,135,255,.10);border:1px solid rgba(65,151,255,.18);font-size:1rem}.portal-text-link{color:#66b7ff;text-decoration:none;font-weight:700;align-self:center;white-space:nowrap}.portal-actions-cell{text-align:right;white-space:nowrap}.danger-button{border:1px solid rgba(244,87,103,.35);background:rgba(235,71,88,.10);color:#ff9ca6;border-radius:9px;padding:8px 11px;font-weight:700;cursor:pointer}.danger-button:hover{background:rgba(235,71,88,.18)}.owner-badge{display:inline-block;padding:6px 9px;border-radius:999px;background:rgba(64,139,236,.11);color:#91c7ff;font-size:.75rem}.portal-inline-note{margin-top:16px;padding:14px 16px;border-radius:12px;background:rgba(45,119,220,.08);border:1px solid rgba(65,151,255,.14);color:#9eb2ca}.portal-inline-note a{color:#66b7ff}.portal-form-card{margin:0!important}.license-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.license-card{overflow:visible}.license-form,.license-card-body{padding:6px 26px 26px}.license-form label{display:block;color:#cbd8e8;font-weight:700;margin-bottom:9px}.seat-stepper{display:grid;grid-template-columns:48px 1fr 48px;gap:9px;margin-bottom:6px}.seat-stepper button{border:1px solid rgba(139,174,218,.22);background:#0b192b;color:#dcecff;border-radius:10px;font-size:1.3rem;cursor:pointer}.seat-stepper input{width:100%;background:#091525;border:1px solid rgba(139,174,218,.22);color:#fff;border-radius:10px;padding:12px;text-align:center;font-size:1.05rem}.license-form .account-primary{margin-top:18px}.portal-card-message{padding:10px 26px 26px;color:#91a4bb}.pricing-hidden-note,.pricing-availability{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(22,135,255,.10);border:1px solid rgba(65,151,255,.18);color:#8bc9ff;font-weight:700}.pricing-hidden-note{padding:9px 14px;margin-top:18px;font-size:.86rem}.pricing-availability{padding:7px 11px;margin:4px 0 22px;font-size:.8rem}.checkout-price-hidden{display:flex;flex-direction:column;gap:5px;padding:18px 0;color:#fff}.checkout-price-hidden span{font-size:.85rem;color:#8297b0;line-height:1.5}
@media(max-width:900px){.portal-action-grid,.license-grid{grid-template-columns:1fr}.login-options{align-items:flex-start;flex-direction:column}.login-hint{text-align:left}.portal-subnav{margin-top:-30px}}
.status-pill.muted{background:rgba(139,160,184,.10);color:#8fa1b7}.company-summary{display:grid;gap:14px}.company-summary>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.06)}.company-summary>div:last-child{border-bottom:0}.company-summary span{color:#7f93aa}.company-summary strong{color:#fff}.future-feature{padding:16px;border-radius:12px;background:rgba(45,119,220,.08);border:1px solid rgba(65,151,255,.14);color:#9eb2ca;line-height:1.6}

/* Customer portal V3 */
.user-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.user-row-actions form{margin:0}.secondary-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(65,151,255,.28);background:rgba(22,135,255,.08);color:#8bc9ff;border-radius:9px;padding:8px 11px;font-weight:700;text-decoration:none;white-space:nowrap}.secondary-button:hover{background:rgba(22,135,255,.15);color:#cce9ff}.package-switch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.package-switch-grid form{margin:0}.package-switch{width:100%;text-align:left;border:1px solid rgba(139,174,218,.20);background:#0a1728;color:#eaf4ff;border-radius:12px;padding:14px 15px;cursor:pointer}.package-switch strong,.package-switch span{display:block}.package-switch span{margin-top:5px;color:#7f95af;font-size:.78rem}.package-switch:hover:not(:disabled){border-color:rgba(65,151,255,.50);background:#0d1e34}.package-switch.current{border-color:rgba(41,182,115,.32);background:rgba(41,182,115,.08)}.package-switch:disabled{cursor:not-allowed;opacity:.58}@media(max-width:680px){.package-switch-grid{grid-template-columns:1fr}.user-row-actions{align-items:flex-end;flex-direction:column}}

/* ===== LiftDraw V4.3 compact portal + device security ===== */
.portal-shell{
    padding-top:48px;
    min-height:calc(100vh - 120px);
}
.portal-subnav{
    display:flex;
    gap:24px;
    flex-wrap:wrap;
    margin:0 0 22px;
    padding:0;
    width:100%;
    max-width:100%;
    background:transparent;
    border:0;
    border-bottom:1px solid rgba(143,177,220,.16);
    border-radius:0;
}
.portal-subnav a{
    position:relative;
    padding:0 0 12px;
    border-radius:0;
    background:transparent;
    color:#8196af;
    font-size:.85rem;
}
.portal-subnav a:hover{
    background:transparent;
    color:#dbeaff;
}
.portal-subnav a.active{
    background:transparent;
    color:#74bdff;
}
.portal-subnav a.active::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:2px;
    border-radius:2px;
    background:#1687ff;
}
.portal-heading{
    align-items:center;
    margin-bottom:20px;
}
.portal-heading h1{
    font-size:clamp(1.9rem,3.3vw,2.55rem);
    margin-bottom:6px;
}
.portal-heading p{
    margin:0;
    line-height:1.5;
}
.portal-stats article{
    padding:18px 20px;
}
.portal-action-card{
    padding:17px 18px;
}
.blocked-badge{
    display:inline-block;
    margin-left:8px;
    padding:4px 8px;
    border-radius:999px;
    background:rgba(235,71,88,.12);
    border:1px solid rgba(244,87,103,.28);
    color:#ff9ca6;
    font-size:.72rem;
    font-weight:800;
}
.admin-confirm-button{
    width:100%;
    padding:13px 18px;
    font-size:.95rem;
}
@media(max-width:680px){
    .portal-shell{padding-top:28px}
    .portal-subnav{gap:15px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:1px}
    .portal-subnav a{white-space:nowrap}
}

/* ===== LiftDraw Admin - user filtered device history ===== */
.device-history-card{
    margin-top:18px;
    scroll-margin-top:24px;
}
.history-card-head{
    align-items:flex-end;
    gap:20px;
    flex-wrap:wrap;
    padding-bottom:18px;
}
.history-card-head>div:first-child{
    min-width:220px;
}
.history-filter-bar{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:7px;
    max-width:100%;
}
.history-filter{
    appearance:none;
    border:1px solid rgba(100,170,235,.28);
    background:rgba(10,35,60,.38);
    color:#a9d3ff;
    border-radius:8px;
    padding:7px 12px;
    font:inherit;
    font-size:.78rem;
    font-weight:700;
    cursor:pointer;
    transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease;
}
.history-filter:hover{
    border-color:rgba(75,160,255,.65);
    background:rgba(30,110,190,.14);
    color:#d9edff;
    transform:translateY(-1px);
}
.history-filter.active{
    background:#147df5;
    color:#fff;
    border-color:#147df5;
    box-shadow:0 6px 18px rgba(20,125,245,.18);
}
.history-user-link{
    appearance:none;
    padding:0;
    border:0;
    background:none;
    color:#f3f7fc;
    font:inherit;
    font-weight:800;
    cursor:pointer;
    text-align:left;
}
.history-user-link:hover{
    color:#66b7ff;
    text-decoration:underline;
    text-underline-offset:3px;
}
.table-subtext{
    display:block;
    margin-top:4px;
    color:#7f97b2;
    font-size:.78rem;
    line-height:1.4;
    font-weight:400;
}
.device-cell-name{
    display:block;
    margin-bottom:6px;
}
.history-table{
    table-layout:fixed;
    min-width:900px;
}
.history-table th:nth-child(1){width:118px}
.history-table th:nth-child(2){width:210px}
.history-table th:nth-child(3){width:150px}
.history-table th:nth-child(4){width:auto}
.history-table th:nth-child(5){width:145px}
.history-table th:nth-child(6){width:90px}
.history-table td{
    vertical-align:top;
    line-height:1.45;
}
.history-date strong,
.history-date span,
.history-main-text,
.history-event,
.history-device-name,
.history-actor,
.history-version{
    display:block;
}
.history-date strong{
    color:#eaf4ff;
    font-weight:700;
}
.history-date span{
    margin-top:3px;
    color:#8eb3d5;
    font-size:.8rem;
}
.history-main-text{
    color:#edf5ff;
    font-weight:750;
}
.history-device-name{
    color:#d5e2f1;
    overflow-wrap:anywhere;
}
.history-event{
    color:#eef6ff;
    font-weight:750;
}
.history-note{
    max-width:420px;
    color:#9aafc6;
}
.history-actor{
    color:#d9e6f5;
}
.history-version{
    color:#b9cee5;
    white-space:nowrap;
}
@media(max-width:900px){
    .history-card-head{align-items:flex-start;flex-direction:column}
    .history-filter-bar{justify-content:flex-start}
}
