/* Linkora - Global Styles */

:root {
    --linkora-primary: #0d6efd;
    --linkora-dark: #1a1a2e;
    --linkora-light: #f8f9fa;
    --linkora-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --linkora-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --linkora-radius: 0.75rem;
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #fafbfc;
    color: #1a1a2e;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Typography */
.fw-800 { font-weight: 800 !important; }

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4f8 50%, #f0f0ff 100%);
    min-height: 80vh;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-card {
    animation: floatUp 0.8s ease-out;
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
}

/* Cards */
.card {
    border-radius: var(--linkora-radius);
    transition: all 0.2s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--linkora-shadow-lg);
}

.card-body {
    border-radius: var(--linkora-radius);
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--linkora-primary);
    border-color: var(--linkora-primary);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Form Controls */
.form-control, .form-select {
    border-radius: 0.5rem;
    border: 1.5px solid #dee2e6;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--linkora-primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.form-control-lg {
    padding: 0.75rem 1rem;
}

/* Feature Icons */
.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
}

/* Badges */
.badge {
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Tables */
.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
    border-bottom-width: 1px;
}

.table td {
    vertical-align: middle;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.05);
    color: var(--linkora-primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Progress bars */
.progress {
    border-radius: 1rem;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Shadow variants */
.shadow-sm {
    box-shadow: var(--linkora-shadow) !important;
}

/* Animations */
@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }

    .display-3 {
        font-size: 2.2rem;
    }

    .display-4 {
        font-size: 1.8rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .hero-card {
        max-width: 320px !important;
    }

    .navbar-nav {
        padding-top: 1rem;
    }

    .d-flex.gap-3.flex-wrap {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* Footer */
footer {
    margin-top: auto;
}

footer .text-muted {
    color: #9ca3af !important;
}

footer a.text-muted,
footer a.text-decoration-none {
    color: #9ca3af !important;
}

footer a:hover {
    color: #fff !important;
}

.footer-links li a,
.footer-links li span {
    color: #9ca3af !important;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links li a:hover {
    color: #fff !important;
}

/* Toast */
.toast {
    z-index: 9999;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Print styles */
@media print {
    .navbar, footer, .btn, .toast {
        display: none !important;
    }
}
