/* Landing-page presentation only; shared header and account styles stay intact. */
/* Match Dashboard's ad strip without loading its global page styles.
   Visibility and rotation remain controlled by the existing header script. */
.home-page .header .dashboard-ad {
    box-sizing: border-box;
    width: 80%;
    margin: 15px auto;
    padding: 10px 20px;
    background: #222a39;
    border: 1px solid #2d8cff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.home-page .header .ad-label {
    box-sizing: border-box;
    background: #2d8cff;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: .75rem;
    font-weight: bold;
}

.home-page .header .ad-text {
    box-sizing: border-box;
    flex: 1;
    color: #d0d7e5;
}

.home-page .header .ad-button {
    box-sizing: border-box;
    background: #2d8cff;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
}

.home-page .hero-section {
    position: relative;
    isolation: isolate;
    padding: 64px 24px 48px;
}

.home-page .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: url("/assets/images/backgroundbanner.png") center top / cover no-repeat;
    opacity: .2;
    pointer-events: none;
    z-index: -1;
}

.home-page .hero-logo {
    display: block;
    width: 112px;
    height: 112px;
    margin: 0 auto 18px;
    object-fit: contain;
}

.home-page .hero-section h1 {
    color: #008cff;
    font-size: clamp(44px, 6vw, 68px);
    line-height: 1.1;
    margin-bottom: 10px;
}

.home-page .home-ownership {
    margin: 0 0 28px;
    color: #aaaaaa;
    font-size: 13px;
}

.home-page .home-tagline {
    margin: 0 0 14px;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
}

.home-page .home-video {
    width: 50vw;
    max-width: 100%;
    margin: 24px auto 28px;
    overflow: hidden;
    border-radius: 12px;
    background: #000000;
}

.home-page .home-video iframe {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    aspect-ratio: 16 / 9;
    border: 0;
}

.home-page .home-beta-release {
    margin: 0 auto 24px;
    color: #d4af37;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.home-page .hero-text {
    max-width: 760px;
    margin-bottom: 28px;
    font-size: 19px;
}

.home-page .home-actions,
.home-page .home-highlights {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.home-page .home-secondary-button,
.home-page .home-plan-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 22px;
    border: 1px solid #3c536c;
    border-radius: 10px;
    color: #e3efff;
    background: #1f1f1f;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.home-page .home-secondary-button:hover,
.home-page .home-plan-link:hover {
    background: #20344a;
    border-color: #008cff;
}

.home-page .hero-small {
    font-size: 13px;
}

.home-page .home-highlights {
    margin-top: 30px;
    gap: 8px;
}

.home-page .home-highlights span {
    padding: 6px 12px;
    border: 1px solid #2f2f2f;
    border-radius: 20px;
    color: #b9c9dd;
    font-size: 12px;
}

.home-page .content-section {
    max-width: 1320px;
    margin: 64px auto;
    padding: 0 24px;
}

.home-page .home-eyebrow {
    color: #65b5ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.home-page .content-section h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.25;
}

.home-page .home-section-intro {
    max-width: 740px;
    font-size: 17px;
}

.home-page .home-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.home-page .feature-card {
    padding: 26px;
}

.home-page .home-feature-tier {
    display: inline-block;
    color: #b9c9dd;
    font-size: 12px;
    margin-bottom: 12px;
}

.home-page .feature-card h3 {
    color: #65b5ff;
    font-size: 20px;
    line-height: 1.35;
}

.home-page .home-system-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: none;
    margin: 24px 0 30px;
    padding: 0;
    list-style: none;
}

.home-page .home-system-list li {
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #3c536c;
    border-radius: 10px;
    color: #e3efff;
    background: #1f1f1f;
    font-size: 15px;
}

.home-page .home-open-sheet {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 32px;
    padding: 32px;
    border: 1px solid #008cff;
    border-radius: 16px;
    background: linear-gradient(135deg, #152235, #1f1f1f);
}

.home-page .home-open-sheet h3 {
    margin-bottom: 16px;
    color: #65b5ff;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.25;
}

.home-page .home-open-sheet-intro p {
    max-width: none;
    margin: 12px 0;
    text-align: left;
    font-size: 17px;
}

.home-page .home-open-sheet-intro .home-eyebrow {
    color: #65b5ff;
    font-size: 12px;
}

.home-page .home-open-sheet-features {
    max-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .home-open-sheet-features li {
    margin: 0;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid #3c536c;
    border-radius: 0;
    background: transparent;
}

.home-page .home-open-sheet-features li:last-child {
    border-bottom: 0;
}

.home-page .home-open-sheet-features strong {
    display: block;
    color: #65b5ff;
    font-size: 17px;
    margin-bottom: 6px;
}

.home-page .home-open-sheet-features span {
    display: block;
    color: #cccccc;
    font-size: 15px;
}

.home-page #home-plans {
    scroll-margin-top: 72px;
}

.home-page .home-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    margin-top: 30px;
}

.home-page .home-plan-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    border: 1px solid #333333;
    border-radius: 16px;
    background: #1f1f1f;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.home-page .home-plan-featured {
    border-color: #008cff;
}

.home-page .home-plan-elite {
    border-color: #d4af37;
}

.home-page .home-plan-audience {
    margin: 0 0 12px;
    min-height: 38px;
    text-align: left;
    color: #b9c9dd;
    font-size: 12px;
}

.home-page .home-plan-card h3 {
    margin-bottom: 4px;
    font-size: 28px;
}

.home-page .home-plan-price {
    margin: 0 0 20px;
    text-align: left;
    font-size: 36px;
    font-weight: 700;
    color: #65b5ff;
    white-space: nowrap;
}

.home-page .home-plan-price span {
    color: #aaaaaa;
    font-size: 13px;
    font-weight: 400;
}

.home-page .home-plan-limits {
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
}

.home-page .home-plan-limits > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
}

.home-page .home-plan-limits dt {
    color: #cccccc;
}

.home-page .home-plan-limits dd {
    margin: 0;
    font-weight: 700;
    white-space: nowrap;
}

.home-page .home-plan-card h4 {
    margin: 20px 0 10px;
    color: #eeeeee;
    font-size: 14px;
}

.home-page .home-plan-features {
    max-width: none;
    margin: 0 0 24px;
    padding-left: 18px;
    list-style: disc;
}

.home-page .home-plan-features li {
    padding: 4px 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #cccccc;
    font-size: 14px;
}

.home-page .home-plan-features li::marker {
    color: #65b5ff;
}

.home-page .home-plan-link {
    margin-top: auto;
}

.home-page .home-plan-note {
    margin-top: 24px;
    max-width: 900px;
    color: #aaaaaa;
    font-size: 14px;
}

.home-page .home-community {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.home-page .home-community h2,
.home-page .home-community p {
    text-align: left;
}

.home-page .home-community-links {
    display: grid;
    gap: 12px;
}

.home-page .cta-section {
    padding: 60px 24px;
}

.home-page .cta-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.25;
}

.home-page .home-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.6;
}

.home-page .home-footer-links a {
    color: #aaaaaa;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-page .home-footer-links a:hover {
    color: #65b5ff;
}

.home-page .home-footer-links a:focus-visible {
    outline: 3px solid #8bc9ff;
    outline-offset: 4px;
}

.home-page main :is(a, button):focus-visible {
    outline: 3px solid #8bc9ff;
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    .home-page .home-plan-grid,
    .home-page .home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .home-page .hero-section {
        padding: 40px 20px 32px;
    }

    .home-page .home-video {
        width: 100%;
    }

    .home-page .content-section {
        padding: 0 20px;
        margin: 44px auto;
    }

    .home-page .home-plan-grid,
    .home-page .home-feature-grid,
    .home-page .home-community,
    .home-page .home-open-sheet {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-page .home-open-sheet {
        padding: 24px;
        gap: 20px;
    }

    .home-page .home-plan-audience {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .hero-button,
    .home-page .feature-card {
        transition: none;
        transform: none;
    }
}
