/* ======================================================================= */
/*                      KEYSHARE PAGE SPECIFIC STYLES                      */
/* ======================================================================= */

/* Tombstone: Removed inline styles from keyshare.html - moved here */

/* Section spacing adjustments */
.keyshare-page section {
    padding: 1.7rem 0 !important;
    margin: 0 !important;
}

.keyshare-logo-section { 
    margin: 0 !important; 
    padding: 0 !important; 
}

.keyshare-page .logo-display-container { 
    margin-top: 0; 
    padding-top: 0.12rem !important; 
    padding-bottom: 0rem !important; 
}

.keyshare-logo-standalone { 
    margin-bottom: 0 !important; 
    margin-top: 0 !important; 
    max-height: 80px !important; 
    height: 80px !important;
}

.keyshare-page h2 { 
    margin-top: 0 !important; 
    margin-bottom: 1rem !important;
}

.keyshare-page .section-subtitle { 
    margin-top: -1rem !important; 
    margin-bottom: 1.2rem !important;
}

.keyshare-page #overview { 
    padding-top: 0 !important; 
}

.keyshare-page .overview-content { 
    margin-top: 0.6rem !important; 
}

/* Feature card fixes */
.feature-grid > div:not(.feature-card) {
    background: var(--background-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-left: 5px solid #6f42c1;
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.keyshare-page section:last-child {
    margin-bottom: 0; 
    padding-bottom: 1.2rem !important;
}

/* Hero section background and positioning */
#keyshare-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.14)), 
        url("/keyshare_hero_bg_rental.png") center/cover no-repeat;
    color: #fff;
    text-align: center;
    position: relative;
    padding: 5.5rem 1.2rem 2.3rem;
    overflow: hidden;
}

#keyshare-hero .hero-content {
    z-index: 2;
    max-width: 700px;
    margin: auto;
    padding: 2rem 1rem 2rem 1rem;
    background: rgba(0, 0, 0, 0.08); 
    border-radius: 12px;
    box-shadow: 0 4px 22px 0 rgba(90,58,170,0.09);
    color: #fff;
}

#keyshare-hero .hero-tagline {
    font-size: 2.45rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.9rem;
    margin-top: 0;
}

#keyshare-hero .hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #e7eaff;
    margin-bottom: 0rem;
}

/* Mobile responsive adjustments */
@media (max-width: 900px) {
    .keyshare-page section {
        padding: 1.1rem 0 !important;
    }
    
    .keyshare-page .feature-grid {
        margin-top: 0.7rem !important;
    }
    
    .keyshare-page .logo-display-container img {
        height: 65px !important;
    }
    
    #keyshare-hero .hero-tagline {
        font-size: 1.45rem !important;
    }
    
    #keyshare-hero {
        padding: 4rem 0.7rem 1.1rem;
    }
}

@media (max-width: 700px) {
    .keyshare-page .logo-display-container img {
        height: 70px !important;
    }
}