/* Landing Page Styles for SILA ERP */

:root {
    --primary-color: #003366;
    --secondary-color: #004080;
    --success-color: #00ac69;
    --dark-color: #212832;
    --light-color: #f2f6fc;
}

/* General Styles */
.landing-page {
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #003366 !important;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image {
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-card {
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: var(--primary-color);
    color: white;
}

.feature-card h4 {
    color: white;
}

.feature-card .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--secondary-color);
}

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

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

.feature-card .text-primary {
    color: white !important;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
}

.pricing-card {
    background: var(--primary-color);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    border: 2px solid transparent;
    color: white;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: var(--secondary-color);
}

.pricing-card.featured {
    border-color: white;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.badge-popular {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: white;
}

.pricing-header .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.pricing-price {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.pricing-price .price {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.pricing-price .period {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: white;
}

.pricing-features li.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

.pricing-features i {
    margin-right: 0.75rem;
    width: 20px;
}

.pricing-card .btn {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
}

.pricing-card .btn-outline-primary {
    border-color: white;
    color: white;
}

.pricing-card .btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
}

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

.pricing-card .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
}

.benefit-item {
    animation: fadeInUp 0.6s ease;
}

.benefit-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 51, 102, 0.1);
    border-radius: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

/* Footer */
.footer {
    margin-top: auto;
}

.footer a:hover {
    color: #4d94ff !important;
}

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

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .pricing-section,
    .features-section,
    .benefits-section,
    .contact-section {
        padding: 60px 0;
    }

    .hero-section {
        padding: 80px 0 40px;
    }

    .pricing-price .price {
        font-size: 2.5rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }
}

/* Button Enhancements */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #002244;
    border-color: #002244;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Scroll to top animation */
html {
    scroll-behavior: smooth;
}

/* Loading animation for icons */
.feature-icon i,
.benefit-icon i {
    display: inline-block;
}
