/* ============================================================================
   PeoplePerfect Marketing Site - Custom Styles
   Built with Bootstrap 5.3.2 and Bootstrap Icons 1.11.3
   ============================================================================ */

/* CSS Variables for Easy Customization */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

/* ============================================================================
   Typography
   ============================================================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #212529;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.display-3, .display-4, .display-5 {
    font-weight: 800;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* ============================================================================
   Custom Gradient Backgrounds
   ============================================================================ */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-light {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* ============================================================================
   Hero Section
   ============================================================================ */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

    .hero-section h1 {
        line-height: 1.2;
    }

/* ============================================================================
 Feature Cards with Hover Effects
   ============================================================================ */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
    }

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

/* ============================================================================
   Screenshot Cards
   ============================================================================ */
.screenshot-card img {
    transition: transform 0.3s ease;
}

.screenshot-card:hover img {
    transform: scale(1.02);
}

/* ============================================================================
   Enhanced Buttons
   ============================================================================ */
.btn {
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.3);
    }

.btn-outline-primary:hover {
    transform: translateY(-2px);
}

/* ============================================================================
   Card Styling
   ============================================================================ */
.card {
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* ============================================================================
 Navigation Bar
   ============================================================================ */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    color: #6c757d;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: var(--primary-color);
    }

    .nav-link.active {
        color: var(--primary-color);
    }

/* ============================================================================
   Footer Styling
   ============================================================================ */
footer {
    background-color: #212529;
}

    footer a {
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: var(--primary-color) !important;
        }

/* ============================================================================
   Pricing Cards
   ============================================================================ */
.pricing-card {
    position: relative;
}

.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

/* ============================================================================
   Stats Grid
   ============================================================================ */
.stats-grid {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

/* ============================================================================
   Form Elements
   ============================================================================ */
.form-control, .form-select {
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* ============================================================================
   Alert Messages
   ============================================================================ */
.alert {
    border-radius: 0.5rem;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #0f5132;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #842029;
}

.alert-info {
    background-color: rgba(13, 202, 240, 0.1);
    color: #055160;
}

/* ============================================================================
   Accordion Components
   ============================================================================ */
.accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

    .accordion-button:not(.collapsed) {
        background-color: rgba(13, 110, 253, 0.1);
        color: var(--primary-color);
    }

    .accordion-button:focus {
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }

/* ============================================================================
   Table Styling
   ============================================================================ */
.table {
    border-radius: 0.5rem;
    overflow: hidden;
}

    .table thead th {
        font-weight: 600;
        border-bottom: 2px solid #dee2e6;
        padding: 1rem;
    }

    .table tbody td {
        padding: 1rem;
        vertical-align: middle;
    }

/* ============================================================================
   Responsive Typography
   ============================================================================ */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
}

/* ============================================================================
   Animations
   ============================================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================================================
   Utility Classes
   ============================================================================ */
.rounded-3 {
    border-radius: 0.75rem !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Bootstrap 5 opacity utility classes */
.bg-opacity-10 {
    --bs-bg-opacity: 0.1;
}

/* ============================================================================
   Custom Scrollbar (WebKit browsers only)
   ============================================================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* ============================================================================
   Print Styles
   ============================================================================ */
@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
}
