/* Custom Styles for Lx1go Landing Page */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

/* General Styles */
body {
    padding-top: 56px; /* Height of fixed navbar */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-image-placeholder {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.hero-image-placeholder:hover {
    transform: translateY(-5px);
}

/* Feature Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.card:hover .feature-icon {
    transform: scale(1.1);
}

/* Step Numbers */
.step-number {
    font-family: Georgia, serif;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    transition: transform 0.3s ease;
}

.step-number:hover {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    box-shadow: 0 0.25rem 0.5rem rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
}

/* Pricing Card */
.card.border-primary {
    border-width: 2px !important;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0b5ed7 100%) !important;
}

/* Footer */
footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Section Spacing */
section {
    position: relative;
}

section .container {
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 56px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

/* Icon Hover Effects */
.bi:not(.navbar-brand .bi) {
    transition: all 0.3s ease;
}

section:not(#contact) .text-center > i:hover {
    transform: scale(1.2);
}

/* Link Smoothness */
a {
    transition: all 0.3s ease;
}

/* Custom Check Icons */
.bi-check-circle-fill {
    font-size: 1rem;
}

/* User Manual */
.manual-nav {
    position: sticky;
    top: 76px;
}

.manual-nav a {
    color: var(--secondary-color);
    font-size: 0.925rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.manual-nav a:hover {
    background-color: #f1f3f5;
    color: var(--primary-color);
}

.manual-nav a.active {
    background-color: var(--primary-color);
    color: #fff;
}

/* Anchor offset so headings clear the fixed navbar when linked directly */
.manual-content h1,
.manual-content h2,
.manual-content h3 {
    scroll-margin-top: 76px;
}

.manual-content h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.manual-content h2 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.manual-content h3 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.manual-content p,
.manual-content li {
    line-height: 1.7;
}

.manual-content ul,
.manual-content ol {
    margin-bottom: 1.25rem;
}

.manual-content li {
    margin-bottom: 0.5rem;
}

.manual-content code {
    background-color: #f1f3f5;
    color: #d63384;
    padding: 0.15rem 0.35rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
}
