/* ========== COMPONENT STYLES ========== */
/* Buttons, forms, hero sections, banners, and reusable components */

/* ========== Buttons ========== */
.btn {
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-family);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,.15);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 6px 15px;
    font-size: 0.875rem;
}

/* ========== Forms ========== */
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}

.form-range {
    width: 100%;
    height: 6px;
    background: #dee2e6;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.form-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ========== Hero Section ========== */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    border-radius: 15px;
    margin-bottom: 2rem;
    padding: 3rem 2rem;
    text-align: center;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: white;
}

.hero-section .lead {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-section p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    opacity: 0.9;
}


/* ========== Shop Banner ========== */
.shop-banner {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
}

.shop-banner h2 {
    color: white;
    margin-bottom: 1rem;
}

.shop-banner p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* ========== Tool Cards ========== */
.tool-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    min-height: 200px;
}

.tool-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}

.tool-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tool-card h4, .tool-card h5 {
    color: #495057;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin: 0;
}

/* ========== Feature Boxes ========== */
.feature-box {
    transition: transform 0.3s ease;
    text-align: center;
    padding: 1.5rem;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    margin-bottom: 1rem;
}

.feature-box h5 {
    color: #495057;
    margin: 1rem 0;
}

.feature-box p {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* ========== Step Numbers ========== */
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-box {
    text-align: center;
    padding: 1rem;
}

.step-box h5 {
    margin: 1rem 0 0.5rem;
    color: #495057;
}

.step-box p {
    color: var(--secondary-color);
    margin: 0;
}

/* ========== Statistics Section ========== */
.statistics-section {
    text-align: center;
    padding: 2rem 0;
}

.statistics-section h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.statistics-section p {
    font-size: 1rem;
    color: var(--secondary-color);
    margin: 0;
}

/* ========== CTA Section ========== */
.cta-section {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* ========== Footer ========== */
footer {
    margin-top: auto;
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0 1rem;
}

footer h5 {
    color: white;
    margin-bottom: 1rem;
}

footer p, footer li {
    color: rgba(255,255,255,0.9);
}

footer a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.8;
    color: white;
}

.social-links a {
    transition: transform 0.3s;
    margin: 0 0.5rem;
}

.social-links a:hover {
    transform: scale(1.2);
}