/* TNID Custom Styles */

:root {
    --primary-color: #3B82F6;
    --secondary-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #374151;
    font-weight: 400;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2563EB;
    border-color: #2563EB;
}

.card {
    border: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid #E5E7EB;
    font-weight: 600;
}

.badge-channel {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
}

.badge-email { background-color: #3B82F6; }
.badge-sms { background-color: #10B981; }
.badge-voice { background-color: #8B5CF6; }

.subscription-card {
    transition: transform 0.2s;
}

.subscription-card:hover {
    transform: translateY(-2px);
}

.reputation-score {
    font-size: 2rem;
    font-weight: 700;
}

.lead-score {
    font-size: 1.25rem;
    font-weight: 600;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563EB 100%);
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.blog-post-card {
    transition: box-shadow 0.3s;
}

.blog-post-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

footer {
    background-color: var(--dark-color);
    color: #D1D5DB;
}

footer a {
    color: #9CA3AF;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

.alert {
    border: none;
    border-radius: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: #374151;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.table-hover tbody tr:hover {
    background-color: #F9FAFB;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Features Section */
.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
    border: 2px solid #E5E7EB;
    border-radius: 1rem;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    background-color: #F9FAFB;
    min-height: calc(100vh - 56px);
    padding: 2rem 1rem;
}

.dashboard-sidebar .nav-link {
    color: #6B7280;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background-color: white;
    color: var(--primary-color);
}

/* Loading States */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Illustration Styling */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.hero img {
    filter: brightness(1.1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Feature Illustrations */
.text-center img {
    transition: transform 0.3s ease;
}

.text-center:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .dashboard-sidebar {
        min-height: auto;
        margin-bottom: 2rem;
    }

    .hero img {
        max-height: 250px !important;
        margin-top: 2rem;
    }

    .text-center img {
        max-height: 150px !important;
    }
}
