/**
 * Network AI - Logged-Out User Styles
 * Styles specific to logged-out user experience
 */

/* Logged-out button styles */
.btn-card-outline {
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}


/* Logged-out marketing pages (Network AI sections) */
.na-lo-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 24px;
}

.na-lo-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.na-lo-hero-left {
    min-width: 0;
}

.na-lo-hero-right {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.na-lo-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.na-lo-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin: 0;
}

.na-lo-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-top: 8px;
    max-width: 900px;
    line-height: 1.7;
}

.na-lo-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.na-lo-icon-badge i {
    width: 22px;
    height: 22px;
    color: #fff;
}

.na-lo-icon-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.22);
}

.na-lo-icon-indigo {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.22);
}

.na-lo-icon-sky {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 14px 30px rgba(2, 132, 199, 0.22);
}

.na-lo-icon-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.22);
}

.na-lo-icon-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.na-lo-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.na-lo-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
}

.na-lo-card-title {
    font-weight: 900;
    color: #0f172a;
    font-size: 1.8rem;
}

.na-lo-card-text {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
    line-height: 1.6;
}

.na-lo-card-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.na-lo-mini-icon {
    width: 18px;
    height: 18px;
}

.na-lo-mini-icon-purple {
    color: #7c3aed;
}

.na-lo-mini-icon-indigo {
    color: #4f46e5;
}

.na-lo-mini-icon-sky {
    color: #0284c7;
}

.na-lo-mini-icon-green {
    color: #059669;
}

.na-lo-cta-panel {
    margin-top: 18px;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.na-lo-cta-green {
    background: linear-gradient(135deg, #ecfdf5 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}

.na-lo-cta-green .na-lo-cta-text {
    color: #14532d;
}

.na-lo-cta-text {
    font-size: 14px;
    line-height: 1.6;
}

.na-lo-split {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 14px;
    align-items: start;
}

.na-lo-soft-purple {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1px solid #ddd6fe;
}

.na-lo-soft-purple .na-lo-soft-title,
.na-lo-soft-purple .na-lo-soft-text {
    color: #4c1d95;
}

.na-lo-soft-title {
    font-weight: 900;
}

.na-lo-soft-text {
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.6;
}

.na-lo-mini-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.na-lo-mini-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.na-lo-mini-item-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.4rem;
}

.na-lo-mini-item-text {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.na-lo-btn-row {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .na-lo-feature-grid {
        grid-template-columns: 1fr;
    }
    .na-lo-split {
        grid-template-columns: 1fr;
    }
}

/* Stats bar for social proof */
.na-lo-stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.na-lo-stat-item {
    text-align: center;
}

.na-lo-stat-number {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.na-lo-stat-label {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
}

/* How it works section */
.na-lo-how-it-works {
    margin-top: 48px;
}

.na-lo-section-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 32px;
}

.na-lo-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.na-lo-step-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    position: relative;
}

.na-lo-step-number {
    position: absolute;
    top: -12px;
    left: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.na-lo-step-title {
    font-weight: 800;
    color: #0f172a;
    margin-top: 8px;
    margin-bottom: 8px;
}

.na-lo-step-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* Use cases section */
.na-lo-use-cases {
    margin-top: 48px;
}

.na-lo-use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.na-lo-use-case-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
}

.na-lo-use-case-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.na-lo-use-case-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.na-lo-use-case-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 16px;
}

.na-lo-use-case-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* Benefits grid */
.na-lo-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.na-lo-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.na-lo-benefit-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.na-lo-benefit-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* Testimonial card */
.na-lo-testimonial {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid #fde047;
    border-radius: 16px;
    padding: 24px;
    margin-top: 32px;
}

.na-lo-testimonial-quote {
    font-size: 16px;
    color: #713f12;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}

.na-lo-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.na-lo-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #fff;
}

.na-lo-testimonial-name {
    font-weight: 800;
    color: #713f12;
}

.na-lo-testimonial-role {
    font-size: 13px;
    color: #92400e;
}

/* Full-width CTA section */
.na-lo-cta-section {
    margin-top: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: #fff;
}

.na-lo-cta-section-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
}

.na-lo-cta-section-text {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.na-lo-cta-section-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Feature comparison */
.na-lo-comparison {
    margin-top: 48px;
}

.na-lo-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.na-lo-comparison-col {
    padding: 24px;
    border-radius: 16px;
}

.na-lo-comparison-col.negative {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
}

.na-lo-comparison-col.positive {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}

.na-lo-comparison-title {
    font-weight: 800;
    margin-bottom: 16px;
}

.na-lo-comparison-col.negative .na-lo-comparison-title {
    color: #991b1b;
}

.na-lo-comparison-col.positive .na-lo-comparison-title {
    color: #14532d;
}

.na-lo-comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.na-lo-comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.na-lo-comparison-col.negative .na-lo-comparison-list li {
    color: #7f1d1d;
}

.na-lo-comparison-col.positive .na-lo-comparison-list li {
    color: #14532d;
}

@media (max-width: 768px) {
    .na-lo-container {
        padding: 0 16px;
    }
    .na-lo-hero {
        flex-direction: column;
    }
    .na-lo-hero-right {
        width: 100%;
    }
    .na-lo-cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }
    .na-lo-use-case-grid,
    .na-lo-benefits-grid,
    .na-lo-comparison-grid {
        grid-template-columns: 1fr;
    }
    .na-lo-stats-bar {
        grid-template-columns: 1fr;
    }
}

.btn-card-outline:hover {
    background: #f9fafb;
    border-color: #4f46e5;
    color: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.btn-card-outline .btn-icon {
    width: 18px;
    height: 18px;
}

.btn-login-required {
    position: relative;
}

.btn-login-required:hover::after {
    content: 'Login required';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    opacity: 0;
    animation: tooltipFadeIn 0.2s ease forwards;
}

@keyframes tooltipFadeIn {
    to {
        opacity: 1;
    }
}

/* Sidebar auth CTAs */
.sidebar-auth-ctas {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.sidebar-auth-btn {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-login-btn {
    background: white;
    border: 2px solid #e5e7eb;
    color: #374151;
}

.sidebar-login-btn:hover {
    background: #f9fafb;
    border-color: #4f46e5;
    color: #4f46e5;
    text-decoration: none;
}

.sidebar-signup-btn {
    background: #4f46e5;
    border: 2px solid #4f46e5;
    color: white;
}

.sidebar-signup-btn:hover {
    background: #4338ca;
    border-color: #4338ca;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Header logged-out styles */
.header-auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-login-btn,
.header-signup-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-login-btn {
    background: white;
    border: 2px solid #e5e7eb;
    color: #374151;
}

.header-login-btn:hover {
    background: #f9fafb;
    border-color: #4f46e5;
    color: #4f46e5;
    text-decoration: none;
}

.header-signup-btn {
    background: #4f46e5;
    border: 2px solid #4f46e5;
    color: white;
}

.header-signup-btn:hover {
    background: #4338ca;
    border-color: #4338ca;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .header-auth-buttons {
        gap: 8px;
    }
    
    .header-login-btn,
    .header-signup-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
}

/* Logged-out CTA widget (for bottom of sidebar) */
.sidebar-login-widget {
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    margin: 12px;
}

.sidebar-login-widget h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
}

.sidebar-login-widget p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 16px 0;
    opacity: 0.95;
}

.sidebar-login-widget-buttons {
    display: flex;
    gap: 8px;
}

.sidebar-login-widget-buttons .sidebar-auth-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
}

/* Discovery search gating */
.discovery-login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 10;
}

.discovery-login-message {
    text-align: center;
    padding: 32px;
}

.discovery-login-message h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.discovery-login-message p {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 24px 0;
}

.discovery-login-message .btn {
    padding: 12px 32px;
    font-size: 16px;
}

/* Marketing CTA Cards */
.home-marketing-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.marketing-cta-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.marketing-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.marketing-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: #e5e7eb;
}

.marketing-cta-card:hover::before {
    opacity: 1;
}

.cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.cta-icon-expert {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cta-icon-business {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.cta-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.cta-description {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 20px 0;
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
    margin-bottom: 10px;
}

.cta-benefits li:last-child {
    margin-bottom: 0;
}

.cta-benefits i {
    color: #10b981;
    flex-shrink: 0;
}

.cta-button {
    width: 100%;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.cta-btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.cta-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(240, 147, 251, 0.4);
    color: white;
    text-decoration: none;
}

.cta-btn-tertiary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.cta-btn-tertiary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(79, 172, 254, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .home-marketing-cta-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .marketing-cta-card {
        padding: 24px;
    }
    
    .cta-icon {
        width: 56px;
        height: 56px;
    }
    
    .cta-title {
        font-size: 20px;
    }
    
    .cta-description {
        font-size: 14px;
    }
}
