:root {
    color-scheme: dark;
    --bg: #080b12;
    --panel: #101622;
    --line: #263247;
    --text: #f6f8fc;
    --muted: #a5b0c2;
    --blue: #3984ff;
}
* { box-sizing: border-box; }
body {
    margin: 0; min-height: 100vh; padding: 28px 18px;
    background: var(--bg); color: var(--text);
    font: 15px/1.6 system-ui, -apple-system, sans-serif;
}
a { color: #8db7ff; }
.wrap { width: min(760px, 100%); margin: 0 auto; }
.brand { font-weight: 800; letter-spacing: .12em; }
.brand span { color: var(--blue); }
.panel {
    margin-top: 32px; padding: clamp(22px, 5vw, 38px);
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 18px;
}
h1 { margin: 0 0 8px; font-size: clamp(30px, 5vw, 42px); line-height: 1.15; letter-spacing: -.04em; }
.muted { color: var(--muted); }
label { display: block; margin: 17px 0 6px; font-weight: 650; }
input, select, textarea {
    width: 100%; padding: 12px 13px; border-radius: 10px;
    border: 1px solid var(--line); background: #090e18;
    color: var(--text); font: inherit;
}
button, .button {
    display: inline-block; margin-top: 22px; padding: 12px 18px;
    border: 0; border-radius: 10px; background: var(--blue);
    color: white; font: inherit; font-weight: 750; cursor: pointer;
    text-decoration: none;
}
.button.secondary { background: transparent; border: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.notice { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; margin: 16px 0; }
.error { color: #ffb4b4; }
nav { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
small { color: var(--muted); }
@media (max-width: 540px) { .row { grid-template-columns: 1fr; gap: 0; } }

/* ==========================================
   PIXFLOW VOIP HOMEPAGE
   Homepage-only styles: .home-page
   ========================================== */

.home-page {
    --home-bg: #09090b;
    --home-panel: #101014;
    --home-panel-2: #15151b;
    --home-border: rgba(255,255,255,.09);
    --home-text: #f7f7fa;
    --home-muted: #9999a8;
    --home-blue: #6575ff;
    --home-blue-bright: #8290ff;
    background: var(--home-bg);
    color: var(--home-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

.home-page a {
    text-decoration: none;
}

.home-nav {
    min-height: 84px;
    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-bottom: 1px solid var(--home-border);
}

.home-brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: white;
    flex-shrink: 0;
}

.home-logo {
    display: block;
    width: 148px;
    height: auto;
    max-height: 45px;
    object-fit: contain;
    object-position: left center;
}

.brand-divider {
    height: 25px;
    width: 1px;
    background: rgba(255,255,255,.2);
}

.brand-product {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.3px;
}

.home-nav-links,
.home-nav-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.home-nav-links a,
.home-login {
    color: #b7b7c3;
    font-size: 13px;
    transition: color .2s ease;
}

.home-nav-links a:hover,
.home-login:hover {
    color: white;
}

.home-button {
    min-height: 49px;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    background: var(--home-blue);
    color: white !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 5px 24px rgba(101,117,255,.14);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.home-button:hover {
    background: #5364f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(101,117,255,.24);
}

.home-button-small {
    min-height: 40px;
    padding: 0 15px;
    gap: 12px;
    font-size: 12px;
}

.home-hero {
    position: relative;
    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
    padding: 100px 0 82px;
    text-align: center;
}

.hero-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #a5a5b5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--home-blue-bright);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(130,144,255,.65);
}

.home-hero h1 {
    margin: 28px 0 23px;
    font-size: clamp(48px, 7.3vw, 88px);
    font-weight: 750;
    letter-spacing: -.075em;
    line-height: .99;
}

.home-hero h1 span,
.section-heading h2 span,
.home-cta h2 span {
    color: var(--home-blue-bright);
}

.hero-description {
    max-width: 570px;
    margin: 0 auto;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.home-secondary-button {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 19px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    color: #e5e5ed !important;
    font-size: 13px;
    font-weight: 600;
    transition: border-color .2s ease, background .2s ease;
}

.home-secondary-button:hover {
    border-color: rgba(130,144,255,.5);
    background: rgba(255,255,255,.035);
}

.hero-note {
    margin-top: 24px;
    color: #9292a1;
    font-size: 11px;
}

.note-check {
    color: var(--home-blue-bright);
    font-weight: 800;
}

.note-separator {
    margin: 0 9px;
    color: #555562;
}

.hero-visual {
    position: relative;
    isolation: isolate;
    max-width: 1000px;
    margin: 70px auto 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    overflow: hidden;
    text-align: left;
    background: #0d0d12;
    box-shadow: 0 35px 100px rgba(0,0,0,.4);
}

.visual-topbar {
    position: relative;
    z-index: 1;
    min-height: 48px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--home-border);
    background: #101015;
    color: #777786;
    font-size: 9px;
    letter-spacing: 1.2px;
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #44444e;
}

.window-dots i:first-child {
    background: #ed7777;
}

.window-dots i:nth-child(2) {
    background: #d9b56c;
}

.window-dots i:nth-child(3) {
    background: #76c99a;
}

.visual-secure {
    color: #8c8ca0;
    font-size: 8px;
}

.visual-secure:first-letter {
    color: #7c8cff;
}

.visual-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 195px minmax(0, 1fr);
    min-height: 350px;
}

.visual-sidebar {
    padding: 23px 13px;
    border-right: 1px solid var(--home-border);
    background: rgba(255,255,255,.012);
}

.visual-mark {
    margin: 0 0 28px 12px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -2px;
}

.visual-mark span {
    color: var(--home-blue-bright);
}

.side-item {
    padding: 12px 10px;
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    color: #9696a7;
    font-size: 10px;
}

.side-item b {
    width: 15px;
    color: #8a8a9b;
    font-size: 14px;
    text-align: center;
}

.side-active {
    background: rgba(101,117,255,.13);
    color: white;
}

.side-active b {
    color: var(--home-blue-bright);
}

.visual-main {
    min-width: 0;
    padding: 28px 28px 20px;
}

.visual-greeting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.visual-kicker {
    color: #818191;
    font-size: 8px;
    letter-spacing: 1.7px;
}

.visual-greeting h2 {
    margin: 9px 0 6px;
    color: #f4f4f8;
    font-size: clamp(17px, 2.2vw, 24px);
    letter-spacing: -.8px;
}

.visual-greeting p {
    margin: 0;
    color: #888898;
    font-size: 10px;
}

.visual-avatar {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(130,144,255,.35);
    border-radius: 9px;
    background: rgba(101,117,255,.13);
    color: #b7beff;
    font-size: 13px;
    font-weight: 800;
}

.visual-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 29px;
}

.visual-card {
    position: relative;
    min-height: 133px;
    padding: 17px 13px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: linear-gradient(145deg, #15151d, #101015);
}

.visual-card > span {
    display: block;
    color: #888898;
    font-size: 8px;
    letter-spacing: .7px;
}

.visual-card strong {
    display: block;
    margin-top: 22px;
    color: #f4f4f8;
    font-size: 13px;
}

.visual-card small {
    display: block;
    margin-top: 7px;
    color: #898999;
    font-size: 9px;
    line-height: 1.5;
}

.mini-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #9ca6ff;
    font-size: 16px;
}

.visual-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 25px;
    padding-top: 16px;
    border-top: 1px solid var(--home-border);
    color: #777787;
    font-size: 8px;
    letter-spacing: .7px;
}

.visual-bottom i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: #8290ff;
}

.visual-glow {
    position: absolute;
    z-index: 0;
    width: 360px;
    height: 200px;
    right: 5%;
    bottom: -150px;
    background: rgba(86,101,255,.16);
    filter: blur(65px);
    pointer-events: none;
}

.hero-caption {
    margin-top: 20px;
    color: #737381;
    font-size: 10px;
    letter-spacing: .4px;
}

.home-features {
    padding: 100px 32px 110px;
    border-top: 1px solid var(--home-border);
    background: #0c0c10;
}

.section-heading {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading h2,
.home-cta h2 {
    margin: 20px 0 16px;
    font-size: clamp(39px, 5vw, 62px);
    font-weight: 750;
    letter-spacing: -.065em;
    line-height: 1.05;
}

.section-heading > p,
.home-cta > p {
    max-width: 510px;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.9;
}

.feature-grid {
    max-width: 1200px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.feature-card {
    position: relative;
    min-height: 260px;
    padding: 27px;
    border: 1px solid var(--home-border);
    border-radius: 10px;
    background: linear-gradient(145deg, #131319, #0e0e12);
    transition: border-color .2s ease, transform .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(130,144,255,.4);
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(130,144,255,.23);
    border-radius: 9px;
    background: rgba(101,117,255,.1);
    color: #a8b0ff;
    font-size: 20px;
}

.feature-number {
    display: block;
    margin-top: 26px;
    color: #858594;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.feature-card h3 {
    margin: 12px 0 10px;
    color: #f5f5f8;
    font-size: 18px;
    letter-spacing: -.5px;
}

.feature-card p {
    max-width: 300px;
    margin: 0;
    color: #9696a5;
    font-size: 12px;
    line-height: 1.8;
}

.feature-arrow {
    position: absolute;
    top: 29px;
    right: 27px;
    color: #777787;
}

.home-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 95px 24px 105px;
    border-top: 1px solid var(--home-border);
    text-align: center;
}

.home-cta .section-kicker {
    justify-content: center;
}

.home-cta h2 {
    font-size: clamp(48px, 6vw, 76px);
}

.home-cta > p {
    margin: 0 auto;
}

.home-cta .hero-actions {
    position: relative;
    z-index: 1;
}

.cta-orb {
    position: absolute;
    z-index: -1;
    top: -180px;
    left: 50%;
    width: 500px;
    height: 400px;
    transform: translateX(-50%);
    background: rgba(89,101,255,.12);
    filter: blur(100px);
    pointer-events: none;
}

.home-footer {
    padding: 35px max(32px, calc((100% - 1200px) / 2));
    border-top: 1px solid var(--home-border);
    background: #08080a;
}

.footer-brand img {
    display: block;
    width: 130px;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

.footer-brand span {
    color: #c0c4ff;
    font-size: 12px;
    font-weight: 700;
}

.home-footer > p {
    margin: 13px 0 22px;
    color: #81818f;
    font-size: 11px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 28px;
}

.footer-links a,
.footer-bottom a {
    color: #aaaab8;
    font-size: 11px;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--home-border);
    color: #777785;
    font-size: 10px;
}

@media (min-width: 1500px) {
    .home-hero {
        padding-top: 120px;
    }
}

@media (max-width: 760px) {
    .home-nav {
        width: calc(100% - 36px);
        min-height: 72px;
        gap: 12px;
    }

    .home-logo {
        width: 112px;
        max-height: 35px;
    }

    .home-nav-links {
        display: none;
    }

    .home-nav-actions {
        gap: 15px;
    }

    .home-login {
        font-size: 12px;
    }

    .home-button-small {
        min-height: 37px;
        padding: 0 11px;
    }

    .home-hero {
        width: calc(100% - 36px);
        padding: 76px 0 65px;
    }

    .home-hero h1 {
        font-size: clamp(46px, 10vw, 70px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-visual {
        margin-top: 48px;
    }

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

    .visual-sidebar {
        display: none;
    }

    .visual-main {
        padding: 22px 15px 16px;
    }

    .visual-topbar {
        padding: 0 12px;
        font-size: 8px;
    }

    .visual-secure {
        display: none;
    }

    .visual-stats {
        gap: 7px;
    }

    .visual-card {
        min-height: 125px;
        padding: 13px 9px;
    }

    .visual-card > span {
        font-size: 7px;
    }

    .visual-card strong {
        font-size: 11px;
        overflow-wrap: anywhere;
    }

    .visual-card small {
        font-size: 8px;
    }

    .mini-icon {
        display: none;
    }

    .visual-bottom {
        font-size: 7px;
    }

    .home-features {
        padding: 75px 18px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 35px;
    }

    .feature-card {
        min-height: 220px;
    }

    .home-cta {
        padding: 75px 20px;
    }

    .home-footer {
        padding: 30px 20px;
    }
}

@media (max-width: 380px) {
    .home-logo {
        width: 90px;
    }

    .home-brand {
        gap: 8px;
    }

    .brand-product {
        font-size: 12px;
    }

    .home-nav-actions {
        gap: 10px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions > a {
        width: 100%;
    }

    .visual-bottom span:last-child {
        display: none;
    }
}
