/* 1. Global Safeguard: Prevents the screen from expanding sideways */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

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

/* Scannable, High-Conversion Value Proposition Section */
.value-prop-section {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 20px;
    text-align: center;
}
.value-prop-section h1 {
    font-size: 2.8rem;
    color: var(--brand-blue, #2b6cb0);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.value-prop-section > p.subtitle {
    font-size: 1.25rem;
    color: #718096;
    margin-bottom: 3rem;
    font-weight: 500;
}

/* Easy-to-read, clickable feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer; /* Indicates the card is a button */
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.feature-card h3 {
    font-size: 1.3rem;
    color: var(--brand-red, #e53e3e);
    margin-bottom: 0.75rem;
}
.feature-card p {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}
.learn-more-text {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--brand-blue);
    font-weight: bold;
    text-transform: uppercase;
}

/* Products Wrapper & Hardware Columns */
.products-wrapper {
    background-color: #f8fafc;
    padding: 4rem 20px;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.hardware-col {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}
.hardware-col:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Fixed Logo Sizing */
.hardware-col img {
    max-width: 100%; /* Prevents horizontal bleeding */
    height: auto;
    max-height: 65px; /* Controls vertical size */
    margin: 0 auto 1.5rem auto;
    display: block;
    object-fit: contain; /* Ensures the logo scales proportionally */
}

/* Replaces the heading border */
.hardware-divider {
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    margin-bottom: 1.5rem;
}

.hardware-col ul {
    margin-left: 1.5rem;
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.7;
    flex-grow: 1;
}
.hardware-col li {
    margin-bottom: 0.5rem;
}

/* Callout Box Safety Overrides */
.callout-box {
    width: 92%;
    max-width: 800px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 2.5rem 1.5rem !important;
    background-color: #ffffff;
    border-radius: 12px;
}

/* Mobile Device Adjustments for Home Page */
@media (max-width: 768px) {
    .value-prop-section {
        margin-bottom: 2.5rem;
    }
    .value-prop-section h1 {
        font-size: 2rem;
    }
    .value-prop-section > p.subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .feature-grid {
        grid-template-columns: 1fr; /* Force 1 column on smaller screens */
        gap: 1.25rem;
    }
    .products-wrapper {
        padding: 2.5rem 15px; /* Less padding on mobile */
    }
    .hardware-grid {
        grid-template-columns: 1fr; /* Force 1 column on smaller screens */
        gap: 1.25rem;
    }
    .hardware-col {
        padding: 1.75rem 1.25rem; /* Tighter padding for mobile cards */
    }
    .callout-box {
        padding: 2rem 1.25rem !important;
        margin-top: 3rem !important;
    }
    .callout-box p {
        font-size: 1.05rem !important;
    }
}