/* ==============================================================================
   AURA MATCHMAKING - SPECIALIZED COMPONENTS STYLESHEET
   Chat, In-Chat Date Scheduler, Side-by-Side Comparator, Survey & Matchmaker Dossier
   ============================================================================== */

/* --- 1. Hero & Marketing Components --- */
.hero-section {
    padding: 5rem 0 4rem;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--color-gold-light);
    color: var(--color-gold-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    max-width: 860px;
    margin: 0 auto 1.25rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 620px;
    margin: 0 auto 2.25rem;
    line-height: 1.6;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    margin-top: 3.5rem;
}

.process-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: left;
    position: relative;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
}

.process-step-num {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* --- 2. Subscription Pricing Cards --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.pricing-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}

.pricing-card.featured {
    border: 2px solid var(--color-gold);
    box-shadow: var(--shadow-gold);
    transform: scale(1.02);
}

.pricing-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-subtle);
}

.pricing-price {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0.5rem 0;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    color: var(--color-text-main);
}

.pricing-features li .check-icon {
    color: var(--color-gold-dark);
    font-weight: bold;
}

/* --- Onboarding & Growth Method Callouts --- */
.onboarding-banner {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, rgba(26, 38, 57, 0.04) 100%);
    border: 1.5px solid var(--color-border-gold);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.growth-philosophy-card {
    background: white;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-gold);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.concierge-card {
    background: linear-gradient(135deg, #111827 0%, #1a2333 100%);
    border: 1.5px solid var(--color-gold);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2.25rem;
    color: white;
    box-shadow: var(--shadow-gold);
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.concierge-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.badge-concierge {
    background: linear-gradient(135deg, #c5a059 0%, #b38b3a 100%);
    color: #111827;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.35);
}

/* --- 3. Discovery & Profile Showcase --- */
.discovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.member-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.member-card-photo {
    height: 280px;
    width: 100%;
    object-fit: cover;
    display: block;
    background-color: #f3f4f6;
}

.member-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.primary-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.85rem 0 1rem;
}

/* --- 4. Side-by-Side Comparison Studio (Matchmaker) --- */
.compare-studio-header {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.compare-profile-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.compare-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold);
    margin-bottom: 1rem;
}

.attribute-row {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-subtle);
}

.attribute-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.attribute-value {
    font-size: 0.95rem;
    color: var(--color-navy);
}

.matchmaker-note-box {
    background: var(--color-gold-light);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-top: 2rem;
}

/* --- 5. Supervised Chat & In-Chat Date Scheduler --- */
.chat-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    min-height: 680px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.chat-sidebar {
    border-right: 1px solid var(--color-border);
    background: #FAF8F5;
    display: flex;
    flex-direction: column;
}

.chat-sidebar-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--color-navy);
}

.conversation-list {
    list-style: none;
    overflow-y: auto;
    flex: 1;
}

.conversation-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border-subtle);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.conversation-item:hover, .conversation-item.active {
    background: white;
}

.conversation-item.active {
    border-left: 3px solid var(--color-gold);
}

.chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
}

.chat-matchmaker-banner {
    background: #FFFDF9;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding: 1rem 1.75rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.chat-matchmaker-seal {
    width: 36px;
    height: 36px;
    background: var(--color-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.chat-messages-area {
    flex: 1;
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #FDFCFB;
}

.chat-bubble {
    max-width: 70%;
    padding: 0.85rem 1.15rem;
    border-radius: 16px;
    font-size: 0.925rem;
    line-height: 1.5;
    position: relative;
}

.chat-bubble.sent {
    align-self: flex-end;
    background: var(--color-navy);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-bubble.received {
    align-self: flex-start;
    background: #EDE8DF;
    color: var(--color-navy);
    border-bottom-left-radius: 4px;
}

.chat-bubble-time {
    font-size: 0.7rem;
    margin-top: 0.35rem;
    opacity: 0.7;
    display: block;
    text-align: right;
}

/* In-Chat Date Scheduler Widget */
.in-chat-date-card {
    align-self: center;
    width: 100%;
    max-width: 520px;
    background: white;
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin: 1rem 0;
    text-align: center;
}

.chat-input-bar {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid var(--color-border);
    background: white;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* --- 6. 24-Hour Post-Date Survey --- */
.survey-header-banner {
    background: linear-gradient(135deg, var(--color-navy), #1e293b);
    color: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.survey-clock-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.5);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    text-align: center;
}

.survey-countdown-ticker {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.05em;
}

.star-rating-group {
    display: flex;
    gap: 0.5rem;
    font-size: 1.75rem;
    color: #D1D5DB;
    cursor: pointer;
}

.star-rating-group .star.active, .star-rating-group .star:hover {
    color: #F59E0B;
}

/* --- 7. Matchmaker Dossier & Analytics --- */
.dossier-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0.25rem 0;
}

@media (max-width: 860px) {
    .compare-grid {
        grid-template-columns: 1fr;
    }
    .chat-container {
        grid-template-columns: 1fr;
    }
    .chat-sidebar {
        display: none;
    }
}
