/* =====================================================
   GRANTS PAGE STYLES
   ===================================================== */

.grants-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(0, 212, 255, 0.1));
}

/* Grants Info Section */
.grants-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.intro-content > p {
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.grant-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.highlight-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--dark-200);
    border: 1px solid var(--dark-400);
    border-radius: var(--radius-lg);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 50%;
    flex-shrink: 0;
}

.highlight-icon svg {
    color: var(--success);
}

.highlight-content h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 4px;
}

.highlight-content p {
    font-size: 0.9rem;
    color: var(--light-500);
}

/* Checker Section */
.checker-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 1024px) {
    .checker-wrapper {
        grid-template-columns: 1fr;
    }

    .checker-sidebar {
        order: -1;
    }
}

.checker-form-container {
    background: var(--dark-200);
    border: 1px solid var(--dark-400);
    border-radius: var(--radius-lg);
    padding: 50px;
}

@media (max-width: 640px) {
    .checker-form-container {
        padding: 30px 20px;
    }
}

.checker-header {
    text-align: center;
    margin-bottom: 40px;
}

.checker-header h2 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.checker-header p {
    color: var(--light-500);
}

/* Grant Steps */
.grant-step {
    display: none;
}

.grant-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.grant-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--light);
}

.step-note {
    font-size: 0.9rem;
    color: var(--light-500);
    margin-bottom: 24px;
}

/* Property Options */
.property-options,
.ownership-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.property-option input,
.ownership-option input,
.income-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 30px;
    background: var(--dark-300);
    border: 2px solid var(--dark-400);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
}

.option-box:hover {
    border-color: var(--dark-500);
}

.property-option input:checked + .option-box,
.ownership-option input:checked + .option-box,
.income-option input:checked + .option-box {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.option-box svg {
    color: var(--light-400);
}

.property-option input:checked + .option-box svg,
.ownership-option input:checked + .option-box svg {
    color: var(--success);
}

.option-box span {
    font-weight: 500;
    color: var(--light);
}

/* Income Options */
.income-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

@media (max-width: 640px) {
    .income-options {
        grid-template-columns: 1fr;
    }
}

.income-range {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Benefits Checklist */
.benefits-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.benefit-check,
.consent-check {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--dark-300);
    border: 1px solid var(--dark-400);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
}

.benefit-check:hover {
    border-color: var(--dark-500);
}

.benefit-check input,
.consent-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-box {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border: 2px solid var(--dark-500);
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition-base);
}

.benefit-check input:checked + .check-box,
.consent-check input:checked + .check-box {
    background: var(--success);
    border-color: var(--success);
}

.benefit-check input:checked + .check-box::after,
.consent-check input:checked + .check-box::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.benefit-check span:last-child {
    color: var(--light);
    font-weight: 500;
}

.consent-check {
    background: transparent;
    border: none;
    padding: 0;
}

.consent-check span:last-child {
    font-size: 0.9rem;
    color: var(--light-500);
}

.consent-check a {
    color: var(--primary);
}

/* Contact Fields */
.contact-fields {
    margin-bottom: 30px;
}

.contact-fields .form-group {
    margin-bottom: 20px;
}

.contact-fields label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light);
}

.contact-fields input {
    width: 100%;
    padding: 14px 18px;
    background: var(--dark-300);
    border: 2px solid var(--dark-400);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--light);
    transition: var(--transition-fast);
}

.contact-fields input::placeholder {
    color: var(--light-500);
}

.contact-fields input:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-fields .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 640px) {
    .contact-fields .form-row {
        grid-template-columns: 1fr;
    }
}

/* Step Buttons */
.step-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.step-buttons .btn {
    min-width: 140px;
}

/* Results */
.results-content {
    text-align: center;
}

.results-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.results-icon.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(0, 212, 255, 0.2));
}

.results-icon svg {
    color: var(--success);
}

.results-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--success);
}

.results-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Eligible Grants */
.eligible-grants {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.grant-card {
    padding: 30px;
    background: var(--dark-300);
    border: 1px solid var(--dark-400);
    border-radius: var(--radius-lg);
    text-align: left;
}

.grant-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 8px;
}

.grant-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 12px;
}

.grant-card p {
    font-size: 0.9rem;
    color: var(--light-500);
}

/* Next Steps */
.next-steps {
    text-align: left;
    padding: 30px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.next-steps h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.next-steps ol {
    margin: 0;
    padding-left: 20px;
}

.next-steps li {
    padding: 8px 0;
    color: var(--light-400);
}

/* Results Actions */
.results-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sidebar */
.checker-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    padding: 30px;
    background: var(--dark-200);
    border: 1px solid var(--dark-400);
    border-radius: var(--radius-lg);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--light);
}

.energy-benefits {
    list-style: none;
}

.energy-benefits li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--dark-400);
}

.energy-benefits li:last-child {
    border-bottom: none;
}

.energy-benefits svg {
    color: var(--primary);
    flex-shrink: 0;
}

.energy-benefits strong {
    display: block;
    font-size: 0.95rem;
    color: var(--light);
    margin-bottom: 4px;
}

.energy-benefits p {
    font-size: 0.85rem;
    color: var(--light-500);
}

/* Trust Card */
.sidebar-card.trust {
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 16px;
}

.trust-badges .badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trust-badges svg {
    color: var(--success);
}

.trust-badges span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--light);
}

.sidebar-card.trust p {
    font-size: 0.85rem;
    color: var(--light-500);
}

/* FAQ Section */
.grants-faq .faq-list {
    max-width: 800px;
    margin: 0 auto;
}
