/* Phase 2: Modern Grid Layouts & Trust Signals */

/* Two-column answer-first grid for FAQs and content */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 30px;
    align-items: start;
}

.faq-grid {
    margin-bottom: 30px;
}

.faq-row {
    margin-bottom: 25px;
    clear: both;
}

.faq-row::after {
    content: "";
    display: table;
    clear: both;
}

.faq-row h3 {
    float: left;
    width: 30%;
    margin-top: 0;
    font-size: 1.1em;
    color: #333;
    border-left: 3px solid #28a745;
    padding-left: 10px;
    box-sizing: border-box;
}

.faq-row > *:not(h3) {
    margin-left: 33%;
}

@media (max-width: 768px) {
    .grid-2col {
        grid-template-columns: 1fr;
    }
    .faq-row h3 {
        float: none;
        width: 100%;
        margin-bottom: 10px;
    }
    .faq-row > *:not(h3) {
        margin-left: 0;
    }
}

/* Three-column grid for features, guidelines, trust signals */
.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .grid-3col {
        grid-template-columns: 1fr;
    }
}

/* Bin comparison table styles (responsive) */
.bin-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.bin-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.1);
}

.bin-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.bin-card h4 {
    margin-bottom: 10px;
    color: #333;
}

.bin-card p {
    font-size: 0.9em;
    color: #666;
}

/* Security Trust Signals */
.trust-signals {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #f0f8ff;
    border: 1px solid #cce7ff;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
    padding: 10px;
}

.trust-item svg, .trust-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    fill: #0056b3;
}

.trust-item strong {
    display: block;
    color: #0056b3;
    font-size: 1.1em;
}

/* Visual Guidelines */
.guidelines-section {
    background: #eef9ee;
    border-left: 5px solid #28a745;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.guidelines-section h3 {
    margin-top: 0;
    color: #28a745;
}

.guidelines-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.guidelines-list li {
    position: relative;
    padding-left: 30px;
}

.guidelines-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .guidelines-list {
        grid-template-columns: 1fr;
    }
}
