/**
 * PolFun Box - Style CSS
 */

:root {
    --primary: #1e6fe8;
    --primary-dark: #1559c2;
    --secondary: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --dark: #0b1220;
    --light: #f8f9fa;
}

/* Typography */
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, rgba(30,111,232,0.95), rgba(12,35,70,0.95)),
                url('../images/banner.jpg') center/cover no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

@media (min-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Sections */
.section {
    padding: 5rem 0;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
    font-size: 1.5rem;
}

/* Step Cards */
.step-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: relative;
    height: 100%;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Download Badges */
.download-badge {
    transition: transform 0.3s ease;
}

.download-badge:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--dark);
    color: #dfe8ff;
    padding: 2rem 0;
}

footer a {
    color: #dfe8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

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

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

/* Navbar */
.navbar-brand {
    color: var(--primary) !important;
}

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

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

/* Modal */
.modal-header {
    background: var(--primary);
    color: #fff;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

/* Forms */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(30, 111, 232, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 3rem 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}

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

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

.feature-card, .step-card {
    animation: fadeInUp 0.6s ease-out;
}
