/* ==========================================================================
   ToolGator: AI Founder Directory, Single & Registration Styles
   Author: Aidweb Solutions LLP
   ========================================================================== */

.aidweb-founders-archive-wrapper,
.aidweb-founder-single-wrapper {
    background-color: #080c16;
    color: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 40px 0 80px;
    min-height: 100vh;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.aidweb-founders-hero {
    background: radial-gradient(circle at 40% 30%, #151d33 0%, #080c16 75%);
    padding: 60px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.founders-hero-pill {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 9999px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #a78bfa;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.founders-hero-title {
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.founders-hero-subtitle {
    font-size: 16.5px;
    color: #94a3b8;
    max-width: 600px;
    line-height: 1.6;
}

.founders-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 520px;
}

.founders-search-input-wrap svg {
    position: absolute;
    left: 18px;
    color: #64748b;
    pointer-events: none;
}

.founders-search-input {
    width: 100%;
    padding: 13px 110px 13px 48px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: #ffffff;
    font-size: 14.5px;
    outline: none;
    transition: all 0.2s;
}

.founders-search-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.founders-search-btn {
    position: absolute;
    right: 6px;
    padding: 8px 18px;
    background: #8b5cf6;
    border: none;
    border-radius: 9999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.founders-search-btn:hover {
    background: #7c3aed;
}

/* CTA Card in Hero */
.founders-cta-box {
    background: linear-gradient(135deg, #131c31 0%, #1a1b38 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    text-align: left;
}

.cta-box-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #c084fc;
    margin-bottom: 8px;
}

.founders-cta-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.founders-cta-box p {
    font-size: 13.5px;
    color: #94a3b8;
    margin-bottom: 18px;
    line-height: 1.5;
}

.btn-open-founder-modal {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-open-founder-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* ==========================================================================
   MODERN CARDS ARCHIVE LISTING
   ========================================================================== */
.aidweb-founders-listing-section {
    padding: 40px 0;
}

.founders-total-count {
    font-size: 14px;
    color: #94a3b8;
}

.btn-register-inline {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c084fc;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-register-inline:hover {
    background: #8b5cf6;
    color: #ffffff;
}

/* FOUNDER CARD */
.aidweb-founder-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.22s ease-in-out;
    position: relative;
}

.aidweb-founder-card:hover {
    transform: translateY(-4px);
    background: #131d33;
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.founder-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.founder-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.founder-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.2);
}

.founder-verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid #0f172a;
}

.founder-meta-header {
    flex: 1;
}

.founder-card-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.founder-card-name a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.founder-card-name a:hover {
    color: #a78bfa;
}

.founder-card-role {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.founder-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.founder-product-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 12px;
    color: #cbd5e1;
}

.founder-product-badge .badge-label {
    color: #64748b;
}

.founder-product-badge .badge-company {
    color: #60a5fa;
}

.founder-product-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 18px;
    flex: 1;
}

.founder-card-actions {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.founder-btn-view {
    font-size: 13.5px;
    font-weight: 600;
    color: #a78bfa;
    text-decoration: none;
    transition: color 0.2s;
}

.founder-btn-view:hover {
    color: #c084fc;
}

.founder-icon-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #94a3b8;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
}

.founder-icon-btn:hover {
    background: #8b5cf6;
    color: #ffffff;
    border-color: #8b5cf6;
}

/* ==========================================================================
   STYLISH SINGLE AI FOUNDER PROFILE
   ========================================================================== */
.aidweb-founder-profile-hero {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.founder-hero-avatar-frame {
    position: relative;
    display: inline-block;
}

.founder-hero-avatar {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #8b5cf6;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.founder-hero-badge-verified {
    position: absolute;
    bottom: 6px;
    right: 12px;
    padding: 4px 12px;
    background: #10b981;
    color: #ffffff;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.founder-hero-pill {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 9999px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.founder-hero-name {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.founder-hero-headline {
    font-size: 17px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.founder-hero-company {
    color: #60a5fa;
}

.btn-founder-website {
    padding: 10px 22px;
    background: var(--fh-accent-primary, #3b82f6);
    color: #ffffff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s, transform 0.1s;
}

.btn-founder-website:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-1px);
}

.founder-social-circle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s;
}

.founder-social-circle:hover {
    background: #8b5cf6;
    color: #ffffff;
}

/* BIO CARD & PRODUCT SHOWCASE */
.founder-bio-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
}

.section-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.founder-bio-text {
    font-size: 16px;
    line-height: 1.7;
    color: #cbd5e1;
}

.founder-interview-card {
    background: linear-gradient(135deg, #131c31 0%, #1c1a3b 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 16px;
    padding: 26px;
}

.interview-card-badge {
    font-size: 11px;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 8px;
}

.founder-interview-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.founder-interview-card p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 14px;
}

.btn-read-interview {
    font-size: 13px;
    font-weight: 600;
    color: #38bdf8;
    text-decoration: none;
}

/* PRODUCT SHOWCASE BOX */
.founder-product-showcase-box {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.showcase-header {
    background: linear-gradient(135deg, #131d33 0%, #1e1b4b 100%);
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-tag {
    font-size: 11px;
    font-weight: 700;
    color: #facc15;
    letter-spacing: 0.5px;
}

.showcase-company {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 6px;
    margin-bottom: 0;
}

.showcase-body {
    padding: 26px;
}

.showcase-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.showcase-desc-box {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #8b5cf6;
    padding: 16px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    color: #e2e8f0;
    line-height: 1.6;
}

.btn-showcase-visit {
    display: block;
    padding: 13px 20px;
    background: #8b5cf6;
    color: #ffffff;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-showcase-visit:hover {
    background: #7c3aed;
    color: #ffffff;
}

.showcase-footer-notes {
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 18px;
}

.btn-all-founders-link {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
}
.btn-all-founders-link:hover {
    color: #ffffff;
}

/* ==========================================================================
   REGISTRATION FORM & MODAL DIALOG
   ========================================================================== */
.aidweb-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.aidweb-modal-dialog {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.aidweb-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.aidweb-modal-close:hover {
    color: #ffffff;
}

.aidweb-founder-reg-container {
    padding: 36px 32px;
}

.reg-form-header {
    margin-bottom: 24px;
    text-align: center;
}

.reg-badge {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #a78bfa;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.reg-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.reg-subtitle {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
    max-width: 560px;
    margin: 0 auto;
}

.aidweb-founder-form label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.aidweb-founder-form label .req {
    color: #f43f5e;
}

.reg-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.reg-field-col,
.reg-field-full {
    margin-bottom: 16px;
}

.reg-input,
.reg-textarea {
    width: 100%;
    padding: 10px 14px;
    background: #080c16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
}

.reg-input:focus,
.reg-textarea:focus {
    border-color: #8b5cf6;
}

.field-hint {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    margin-top: 4px;
}

/* File upload styling */
.photo-upload-box {
    position: relative;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 10px;
    background: #080c16;
    text-align: center;
    cursor: pointer;
}

.photo-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.photo-preview-placeholder {
    font-size: 12px;
    color: #94a3b8;
    pointer-events: none;
}

.upload-icon {
    display: block;
    font-size: 18px;
    margin-bottom: 2px;
}

.btn-reg-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-reg-submit:hover {
    opacity: 0.92;
}

.reg-form-feedback {
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    display: none;
}
.reg-form-feedback.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}
.reg-form-feedback.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

@media (max-width: 768px) {
    .reg-grid-row {
        grid-template-columns: 1fr;
    }
    .aidweb-modal-dialog {
        padding: 10px;
    }
    .aidweb-founder-reg-container {
        padding: 24px 16px;
    }
}
