/* Modern Resources Section - Google-Inspired Design */

.resources-modern {
    background: #f8f9fa;
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

/* No background pattern */
.resources-modern::before {
    display: none;
}

/* Badge */
.resources-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(26, 115, 232, 0.1);
    color: #1a73e8;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Title */
.resources-title {
    font-size: 36px;
    font-weight: 400;
    color: #202124;
    line-height: 1.3;
    margin-bottom: 16px;
}

.resources-subtitle {
    font-size: 18px;
    color: #5f6368;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Benefits */
.resources-benefit {
    text-align: center;
    padding: 24px;
}

.resources-benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    border-radius: 12px;
}

.resources-benefit-icon i {
    font-size: 24px;
    color: #ffffff;
}

.resources-benefit-title {
    font-size: 18px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 8px;
}

.resources-benefit-desc {
    font-size: 14px;
    color: #5f6368;
    margin: 0;
}

/* Form Card */
.resources-form-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.resources-form-title {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 24px;
    text-align: center;
}

/* Form Group */
.resources-form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.resources-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    color: #202124;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
}

.resources-input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.1);
}

.resources-input::placeholder {
    color: #80868b;
}

.resources-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background: #1a73e8;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
}

.resources-btn:hover {
    background: #1557b0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.resources-btn:active {
    background: #1557b0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
}

.resources-btn i {
    font-size: 18px;
}

/* Privacy Text */
.resources-privacy {
    text-align: center;
    font-size: 14px;
    color: #5f6368;
    margin: 0;
}

.resources-privacy i {
    color: #1a73e8;
    margin-right: 4px;
}

/* Responsive Design */
@media (max-width: 767px) {
    .resources-modern {
        padding: var(--section-padding-sm) 0;
    }
    
    .resources-title {
        font-size: 28px;
    }
    
    .resources-subtitle {
        font-size: 16px;
    }
    
    .resources-form-card {
        padding: 24px;
    }
    
    .resources-form-group {
        flex-direction: column;
    }
    
    .resources-btn {
        width: 100%;
        justify-content: center;
    }
    
    .resources-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Accessibility */
.resources-input:focus-visible,
.resources-btn:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

/* Loading State */
.resources-btn:disabled {
    background: #dadce0;
    color: #80868b;
    cursor: not-allowed;
}

/* ============================================
   RESOURCES / LEAD MAGNET Overrides
   (Merged from custom.css)
   ============================================ */
.resources {
    position: relative;
    overflow: hidden;
    padding: var(--section-padding) 0;
    background: #ffffff;
    /* Match Hero section - pure white */
}

/* Ambient Background Glow - Removed for cleaner look like Hero */
.resources::before {
    display: none;
}

/* Glass Card - Now lighter for light mode */
.resource-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--sn-primary);
}

/* "Shine" Effect on Card - Subtle */
.resource-card::after {
    display: none;
    /* Removing shine for cleaner look */
}

/* Icon / Graphic */
.resource-icon-wrapper {
    /* ... existing icon styles ... */
    background: #f1f5f9;
    border-color: #e2e8f0;
}

/* Benefit Icons (3-column grid) */
.resource-benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sn-primary);
    font-size: 1.5rem;
}

/* Typography - DARK MODE on LIGHT BG */
.resource-title {
    color: #1e293b;
    /* Dark Slate */
    font-weight: 800;
}

.resource-desc {
    color: #64748b;
    /* Slate 500 */
    font-size: 1.05rem;
    line-height: 1.6;
}

.resource-headline {
    color: #0f172a;
    font-weight: 800;
}

/* Tech Input Field - Light Mode */
.tech-input {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

.tech-input:focus {
    background: #ffffff !important;
    border-color: var(--sn-primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.tech-input::placeholder {
    color: #94a3b8 !important;
}

/* Submit Button */
.btn-tech-submit {
    background: var(--sn-primary);
    background: linear-gradient(135deg, var(--sn-primary) 0%, var(--sn-primary-dark) 100%);
    border: none;
    padding: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    width: 100%;
}

.btn-tech-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.5);
    filter: brightness(1.1);
}

/* Value List */
.resource-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.resource-list-icon {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #10b981;
}

.resource-headline-highlight {
    background: linear-gradient(120deg, #60a5fa 0%, #3b82f6 100%);
    background-clip: text;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
