/* FinLy Styles */

/* Hero banner styling - Financial Green Theme */
.finly-hero-banner {
    /* Gradient from vibrant green to a deeper forest green */
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #4caf50; /* Highlighting the accent color */
}

.finly-hero-banner h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.finly-hero-banner .lead {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Card hover effects */
.finly-feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}

.finly-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-top: 3px solid #4caf50;
}

/* Screenshot gallery styling */
.screenshot-card {
    border: none;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.screenshot-card img {
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 100%;
    height: auto;
}

.screenshot-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Price card styling */
.price-card {
    border: 2px solid #4caf50;
    transition: all 0.3s ease;
}

.price-card:hover {
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
    transform: translateY(-5px);
}

/* Feature icons */
.feature-icon {
    font-size: 3rem;
    color: #2e7d32;
    margin-bottom: 1rem;
}

/* Button hover effects */
.btn-finly-primary {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-finly-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

/* Text highlights */
.text-primary {
    color: #2e7d32 !important;
}

.btn-outline-primary {
    color: #2e7d32;
    border-color: #2e7d32;
}

.btn-outline-primary:hover {
    background-color: #2e7d32;
    color: #fff;
}

/* Homepage prose: a continuous reading column, independent of the card layouts. */
.finly-prose-page { background: #faf9f5; color: #172329; }
.finly-prose { max-width: 76ch; margin-inline: auto; }
.finly-prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 1.25rem; }
.finly-prose p { line-height: 1.8; margin-bottom: 1.4rem; }
.finly-prose a:not(.btn) { color: #244e69; text-decoration: underline; text-underline-offset: .2em; }
.finly-prose a:focus-visible { outline: 3px solid #ffc107 !important; outline-offset: 3px !important; box-shadow: 0 0 0 2px #172329; }
