:root {
    --primary: #1263e6;
    --primary-dark: #0b4fbd;
    --primary-soft: #eef4ff;

    --background: #f6f8fc;
    --surface: #ffffff;

    --text: #071433;
    --muted: #667085;

    --border: #d8dce5;

    --success: #067647;
    --success-soft: #ecfdf3;

    --warning: #9a6700;
    --warning-soft: #fff8e6;

    --danger: #b42318;
    --danger-soft: #fef3f2;

    --shadow:
        0 20px 50px rgba(0, 0, 0, 0.08);
}


/* =====================================================
   GLOBAL
===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color:
        transparent;
}

h1,
h2,
h3 {
    color: var(--text);
}

p {
    line-height: 1.6;
}


/* =====================================================
   BUTTONS
===================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 20px;

    border: none;
    border-radius: 14px;

    background: var(--primary);
    color: #ffffff;

    font-size: 16px;
    font-weight: 800;

    text-decoration: none;
    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 19px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: #ffffff;
    color: var(--text);

    font-size: 16px;
    font-weight: 800;

    text-decoration: none;
    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #b8c1ce;
    transform: translateY(-1px);
}

.full-button {
    width: 100%;
}


/* =====================================================
   SITE HEADER
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom:
        1px solid rgba(
            216,
            220,
            229,
            0.9
        );

    background:
        rgba(
            255,
            255,
            255,
            0.96
        );

    backdrop-filter:
        blur(12px);
}

.nav-container {
    max-width: 1220px;
    min-height: 76px;

    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--text);

    font-size: 19px;
    font-weight: 900;
    letter-spacing: 0.04em;

    text-decoration: none;
}

.brand-icon {
    font-size: 25px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-navigation a {
    color: #344054;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.main-navigation a:hover {
    color: var(--primary);
}

.main-navigation .nav-login {
    padding: 11px 16px;

    border-radius: 12px;

    background: var(--primary);
    color: #ffffff;
}

.main-navigation .nav-login:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

.mobile-menu-button {
    display: none;

    padding: 8px 12px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #ffffff;
    color: var(--text);

    font-size: 22px;
    cursor: pointer;
}


/* =====================================================
   HERO
===================================================== */

.hero-section{
    max-width:1220px;
    margin:0 auto;
    padding:35px 24px 25px;
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
    align-items:center;
    gap:45px;
}

.eyebrow {
    margin: 0 0 14px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.hero-content h1{

    max-width:700px;

    margin:0;

    font-size:58px;

    line-height:1.08;

    letter-spacing:-2px;

}

.hero-description{

    max-width:620px;

    margin-top:18px;

    font-size:17px;

    line-height:1.7;

}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 32px;
}

.install-instructions {
    min-height: 24px;

    margin-top: 16px;

    color: var(--muted);
    font-size: 14px;
}

.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.care-mode-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;

    align-items: center;

    padding: 16px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: var(--surface);

    box-shadow:
        0 16px 36px
        rgba(0, 0, 0, 0.05);
}

.care-mode-card .mode-icon {
    font-size: 34px;
    text-align: center;
}

.care-mode-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.care-mode-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.care-mode-card.companion {
    border-color: #b7ebca;
    background: #f5fff8;
}

.care-mode-card.care {
    border-color: #c7d7f5;
    background: #f8faff;
}

.care-mode-card.emergency {
    border-color: #f3b7b2;
    background: #fff8f7;
}


/* =====================================================
   CONTENT SECTIONS
===================================================== */

.content-section {
    padding: 35px 24px;
}

.alternate-section {
    background: #eef3fb;
}

.section-heading {
    max-width: 760px;

    margin: 0 auto 44px;

    text-align: center;
}

.section-heading h2 {
    margin: 0;

    font-size:
        clamp(
            32px,
            4vw,
            46px
        );

    line-height: 1.14;
    letter-spacing: -0.03em;
}

.section-heading p:not(.eyebrow) {
    margin: 18px 0 0;

    color: var(--muted);

    font-size: 18px;
}

.feature-grid {
    max-width: 1160px;

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 20px;
}

.feature-card {
    padding: 26px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: var(--surface);
}

.feature-card > span {
    display: block;
    margin-bottom: 16px;
    font-size: 32px;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}


/* =====================================================
   STEPS
===================================================== */

.steps-grid {
    max-width: 1160px;

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    gap: 16px;
}

.step-card {
    padding: 22px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: #ffffff;
}

.step-number {
    display: inline-flex;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 50%;

    background: var(--primary);
    color: #ffffff;

    font-weight: 900;
}

.step-card h3 {
    margin: 0 0 10px;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}


/* =====================================================
   TWO-COLUMN SECTIONS
===================================================== */

.two-column-section {
    max-width: 1160px;

    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(320px, 0.8fr);

    gap: 50px;

    align-items: center;
}

.two-column-section h2 {
    margin: 0;

    font-size:
        clamp(
            32px,
            4vw,
            46px
        );

    letter-spacing: -0.03em;
}

.two-column-section > div > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
}

.check-list {
    margin: 24px 0 30px;
    padding: 0;

    list-style: none;
}

.check-list li {
    position: relative;

    margin: 12px 0;
    padding-left: 30px;

    line-height: 1.5;
}

.check-list li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--success);
    font-weight: 900;
}

.pilot-panel,
.investor-panel {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 16px 36px
        rgba(0, 0, 0, 0.05);
}

.pilot-panel h3,
.investor-panel h3 {
    margin-top: 0;
}

.small-text {
    color: var(--muted);
    font-size: 13px;
}

.panel-label {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.stage-flow {
    margin-top: 22px;
    padding: 16px;

    border-radius: 14px;

    background: var(--primary-soft);
    color: var(--primary-dark);

    font-weight: 900;
    text-align: center;
}

.stage-flow span {
    margin: 0 8px;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    max-width: 1160px;

    margin: 0 auto;
    padding: 74px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.contact-section h2 {
    margin: 0;
    font-size: 38px;
}

.contact-section p:not(.eyebrow) {
    color: var(--muted);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    padding: 38px 24px;

    border-top: 1px solid var(--border);

    background: #071433;
    color: #ffffff;

    text-align: center;
}

.site-footer strong {
    font-size: 20px;
    letter-spacing: 0.05em;
}

.site-footer p {
    color: #c7d0df;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 22px;

    margin: 22px 0;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.copyright {
    font-size: 13px;
}


/* =====================================================
   SHARED PILOT PAGE ELEMENTS
===================================================== */

.login-body {
    min-height: 100vh;
    background: var(--background);
}

.login-page {
    min-height: 100vh;

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

    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 470px;

    padding: 40px;

    border-radius: 24px;

    background: #ffffff;

    box-shadow: var(--shadow);
}

.logo {
    text-align: center;
    font-size: 48px;
}

.subtitle {
    color: var(--muted);
}

.message {
    margin-top: 16px;
}

.small {
    color: var(--muted);
    font-size: 14px;
}


/* =====================================================
   DASHBOARD STATUS CLASSES
===================================================== */

.schedule-completed {
    background: var(--success-soft) !important;
    color: var(--success) !important;
}

.schedule-alert {
    background: var(--danger-soft) !important;
    color: var(--danger) !important;
}

.schedule-pending {
    background: var(--warning-soft) !important;
    color: var(--warning) !important;
}

.mode-companion {
    background: var(--success-soft);
    color: var(--success);
}

.mode-care {
    background: var(--warning-soft);
    color: var(--warning);
}

.mode-emergency {
    background: var(--danger-soft);
    color: var(--danger);
}

.status-good {
    color: var(--success);
}

.status-care {
    color: var(--warning);
}

.status-emergency {
    color: var(--danger);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1050px) {
    .main-navigation {
        gap: 14px;
    }

    .main-navigation a {
        font-size: 13px;
    }

    .feature-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .steps-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }
}

@media (max-width: 900px) {
    .mobile-menu-button {
        display: inline-flex;
    }

    .main-navigation {
        position: absolute;
        top: 76px;
        left: 16px;
        right: 16px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 18px;

        border: 1px solid var(--border);
        border-radius: 18px;

        background: #ffffff;

        box-shadow: var(--shadow);
    }

    .main-navigation.navigation-open {
        display: flex;
    }

    .main-navigation a {
        padding: 11px 8px;
    }

    .main-navigation .nav-login {
        text-align: center;
    }

    .hero-section,
    .two-column-section {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 62px;
    }

    .hero-panel {
        max-width: 700px;
    }

    .steps-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

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

@media (max-width: 620px) {
    .nav-container {
        padding: 0 16px;
    }

    .brand {
        font-size: 16px;
    }

    .hero-section {
        padding:
            48px
            18px
            58px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

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

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

    .hero-actions a,
    .hero-actions button,
    .contact-actions a {
        width: 100%;
    }

    .feature-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding:
            64px
            18px;
    }

    .care-mode-card {
        grid-template-columns: 48px 1fr;
        padding: 18px;
    }

    .contact-section {
        padding:
            58px
            18px;
    }

    .contact-section h2 {
        font-size: 32px;
    }

    .login-page {
        padding: 0;
    }

    .login-card {
        min-height: 100vh;
        max-width: none;

        padding:
            32px
            20px;

        border-radius: 0;
    }
}
.brand-logo-link{
    display:flex;
    align-items:center;
}

.brand-logo-image{
    width:210px;
    height:auto;
    display:block;
}
.hero-family-image{

    width:100%;

    height:310px;

    object-fit:cover;

    border-radius:22px;

    display:block;

    margin-bottom:18px;

}
.pricing-section{

    padding:80px 20px;

    background:#f7f9fc;

    text-align:center;

}

.pricing-card{

    max-width:420px;

    margin:40px auto;

    background:#fff;

    border-radius:24px;

    padding:40px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.price{

    font-size:54px;

    font-weight:700;

    color:#1263e6;

    margin:25px 0;

}

.pricing-card ul{

    list-style:none;

    padding:0;

    text-align:left;

    line-height:2;

}