.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #0f172a;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.landing-brand__logo {
    display: block;
    height: 3.5rem;
    width: auto;
    max-width: 17rem;
    min-height: 2.75rem;
    object-fit: contain;
    flex-shrink: 0;
}

.header .landing-brand__logo,
.offcanvas-head .landing-brand__logo,
.navbar-logo .landing-brand__logo {
    height: 4rem;
    max-width: 20rem;
}

@media (min-width: 992px) {
    .header .landing-brand__logo,
    .navbar-logo .landing-brand__logo {
        height: 4.75rem;
        max-width: 24rem;
    }
}

.footer-one .landing-brand__logo {
    height: 3.5rem;
    max-width: 18rem;
}

.landing-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #fff;
    font-size: 1.2rem;
}

.landing-brand__name {
    max-width: 14rem;
    line-height: 1.2;
}

.header .landing-brand,
.offcanvas-head .landing-brand {
    color: #0f172a;
}

.footer-one .landing-brand,
.landing-brand--dark {
    color: #fff;
}

.landing-brand--dark .landing-brand__name {
    color: #fff;
}

.footer-one .landing-brand__mark {
    background: rgba(255, 255, 255, 0.14);
}

.app-screenshot {
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.hero-section .app-screenshot {
    width: 100%;
}

.tabs .tab-content img.app-screenshot {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: top left;
}

.feature-img .app-screenshot {
    width: 100%;
}

.landing-cta-strip {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%);
    border-radius: 1.25rem;
    padding: 3rem 2rem;
}

.landing-showcase {
    padding: 4rem 0;
}

.landing-showcase__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.landing-showcase__card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.landing-showcase__card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: top center;
    background: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.landing-showcase__body {
    padding: 1.25rem 1.35rem 1.5rem;
}

.landing-showcase__body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tabs .tab-content img.app-screenshot {
    object-fit: contain;
    background: #f8fafc;
}

.landing-auth-card {
    position: relative;
    overflow: visible;
    scroll-margin-top: 5.5rem;
    border-radius: 1.35rem;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow:
        0 28px 64px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.45) inset;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.landing-auth-card__glow {
    position: absolute;
    inset: -40% -20% auto -20%;
    height: 55%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.22) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.landing-auth-card__inner {
    position: relative;
    z-index: 1;
    padding: 1.85rem 1.75rem 1.65rem;
}

.landing-auth-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.25rem;
}

.landing-auth-card__logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 4.75rem;
    max-width: 14rem;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

@media (min-width: 576px) {
    .landing-auth-card__logo {
        max-height: 5.25rem;
        max-width: 16rem;
    }
}

.landing-auth-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.landing-auth-card__sub {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}

.landing-auth-card__note {
    color: #64748b;
    font-size: 0.78rem;
    text-align: center;
    margin-top: 1.15rem;
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.landing-auth-card__switch {
    text-align: center;
    color: #64748b;
    font-size: 0.82rem;
    margin-top: 0.85rem;
    margin-bottom: 0;
}

.landing-auth-card__switch a {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
}

.landing-auth-card__switch a:hover {
    text-decoration: underline;
}

.landing-auth-card .auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    margin-bottom: 1.15rem;
    padding: 0.35rem;
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.landing-auth-card .auth-tabs--single {
    grid-template-columns: 1fr;
}

.landing-auth-card .auth-tab {
    display: block;
    text-align: center;
    text-decoration: none;
    border-radius: 0.6rem;
    padding: 0.6rem 0.75rem;
    font-weight: 600;
    font-size: 0.88rem;
    border: 1px solid transparent;
    color: #475569;
    background: transparent;
}

.landing-auth-card .auth-tab:hover:not(.active) {
    color: #1d4ed8;
    background: rgba(255, 255, 255, 0.5);
}

.landing-auth-card .auth-tab.active {
    border-color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: none;
}

.landing-auth-card .form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

.landing-auth-card .form-control,
.landing-auth-card .form-select {
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.65rem;
    padding: 0.62rem 0.85rem;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.landing-auth-card .form-control-lg,
.landing-auth-card .form-select.form-control-lg {
    min-height: 2.85rem;
    padding: 0.75rem 1.05rem;
    font-size: 0.98rem;
    border-radius: 0.7rem;
}

.landing-auth-card .form-control::placeholder {
    color: #94a3b8;
}

.landing-auth-card .form-control:focus,
.landing-auth-card .form-select:focus {
    background: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.landing-auth-card .btn-primary {
    border: none;
    border-radius: 0.65rem;
    padding: 0.72rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.landing-auth-card .btn-primary:hover,
.landing-auth-card .btn-primary:focus,
.landing-auth-card .btn-primary:active {
    transform: none;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.landing-auth-card .auth-form {
    display: none;
    position: relative;
    z-index: 1;
}

.landing-auth-card .auth-form.active {
    display: block;
}

.landing-auth-card .landing-google-btn {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #1f2937;
    font-weight: 600;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.landing-auth-card .landing-google-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.landing-auth-card .landing-auth-divider {
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

.landing-auth-card--has-signup {
    width: 100%;
}

.landing-auth-card--has-signup .landing-auth-card__inner {
    padding: 1.85rem 1.9rem 1.55rem;
}

@media (min-width: 992px) {
    .landing-auth-card--has-signup {
        min-width: 100%;
    }
}

.landing-auth-card .auth-form__row {
    margin-bottom: 0;
}

.landing-auth-card .auth-form__row--stacked > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
}

.landing-auth-card .auth-form__row--wide > [class*="col-"] {
    min-width: 0;
}

.landing-auth-card .auth-form--signup .auth-form__grid {
    margin-top: 0.15rem;
}

.landing-auth-card .auth-form--signup .auth-form__row--wide .col-12 .form-control {
    width: 100%;
}

.landing-auth-card .auth-form .mb-3:last-of-type {
    margin-bottom: 1rem !important;
}

.landing-auth-card .form-feedback {
    margin-top: 0.75rem;
    border-radius: 0.6rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.82rem;
    line-height: 1.45;
    display: none;
    backdrop-filter: blur(8px);
}

.landing-auth-card .form-feedback.show {
    display: block;
}

.landing-auth-card .form-feedback.info {
    background: rgba(239, 246, 255, 0.9);
    border: 1px solid rgba(191, 219, 254, 0.9);
    color: #1e40af;
}

.landing-auth-card .form-feedback.success {
    background: rgba(236, 253, 245, 0.92);
    border: 1px solid rgba(134, 239, 172, 0.9);
    color: #166534;
}

.landing-auth-card .form-feedback.error {
    background: rgba(254, 242, 242, 0.92);
    border: 1px solid rgba(254, 202, 202, 0.9);
    color: #991b1b;
}

.hero-section .col-lg-6:has(.landing-auth-card) {
    display: flex;
    justify-content: center;
}

@media (min-width: 992px) {
    .hero-section .col-lg-6:has(.landing-auth-card) {
        justify-content: flex-end;
    }

    .hero-section .landing-auth-card {
        width: 100%;
        max-width: 26.5rem;
    }
}

#signup-form .mb-3 {
    margin-bottom: 0.85rem !important;
}

.tenant-type-price {
    font-size: 0.875rem;
    color: #1e40af;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.tenant-type-price .text-muted {
    color: #64748b !important;
}

@media (max-width: 991.98px) {
    .landing-auth-card {
        margin-top: 0.75rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .landing-auth-card__inner {
        padding: 1.5rem 1.35rem 1.35rem;
    }

    .hero-section .col-lg-7 {
        order: 2;
    }

    .hero-section .col-lg-5 {
        order: 1;
    }
}

/* Pricing plans (from admin pricing template, adapted for landing) */
.landing-pricing-section {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.landing-pricing-card {
    border: 1px solid #e8eef6;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.landing-pricing-card--featured {
    border-color: #2563eb;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.landing-pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: #2563eb;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
}

.landing-pricing-head .landing-pricing-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
}

.landing-pricing-toggle .form-check-input {
    width: 2.75rem;
    height: 1.35rem;
    cursor: pointer;
}

.landing-pricing-section .pricing-content {
    background: #f1f5f9 !important;
}
