:root {
    --finco-bg: #f4f6fa;
    --finco-surface: #ffffff;
    --finco-primary: #0056da;
    --finco-primary-hover: #0045b3;
    --finco-accent: #10b981; /* fresh green */
    --finco-text: #111827;
    --finco-text-muted: #6b7280;
    --finco-border: #e5e7eb;
    --finco-radius: 20px;
    --finco-font: 'Manrope', sans-serif;
    --finco-font-display: 'Sora', sans-serif;
    --finco-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background: var(--finco-bg);
    color: var(--finco-text);
    font-family: var(--finco-font);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Background graphics */
body::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,86,218,0.06), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}
body::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.06), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.fz-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.fc-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--finco-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.fc-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.fc-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--finco-text);
}
.fc-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--finco-primary);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: var(--finco-font-display);
    font-weight: 800;
    font-size: 26px;
    color: #fff;
    box-shadow: 0 8px 16px rgba(0,86,218,0.2);
}
.fc-logo-text {
    font-family: var(--finco-font-display);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
}

/* Hero Section */
.fc-hero {
    padding: 60px 0 80px;
    text-align: center;
}
.fc-hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.fc-hero-content {
    flex: 1;
    text-align: left;
}
.fc-hero-calc-wrapper {
    flex: 1;
    max-width: 480px;
    width: 100%;
}
.fc-badge {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(16,185,129,0.1);
    color: var(--finco-accent);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.fc-title {
    font-family: var(--finco-font-display);
    font-size: clamp(40px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 24px;
    color: var(--finco-text);
}
.fc-title span {
    color: var(--finco-primary);
}
.fc-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--finco-text-muted);
    margin: 0 0 40px;
    max-width: 500px;
}

/* Calculator Block */
.fc-calculator {
    background: var(--finco-surface);
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--finco-shadow);
    border: 1px solid #fff;
}
.fc-calc-display {
    text-align: center;
    margin-bottom: 40px;
}
.fc-calc-amount {
    font-family: var(--finco-font-display);
    font-size: 52px;
    font-weight: 800;
    color: var(--finco-text);
    line-height: 1;
}
.fc-calc-amount span {
    font-size: 24px;
    color: var(--finco-text-muted);
}
.fc-button {
    display: block;
    width: 100%;
    padding: 20px;
    border-radius: 16px;
    background: var(--finco-primary);
    color: #fff;
    font-family: var(--finco-font-display);
    font-weight: 800;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 32px;
    box-shadow: 0 12px 24px rgba(0,86,218,0.25);
}
.fc-button:hover {
    transform: translateY(-2px);
    background: var(--finco-primary-hover);
    box-shadow: 0 16px 32px rgba(0,86,218,0.3);
}

/* Mobile specific */
@media (max-width: 900px) {
    .fc-hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .fc-hero-content {
        text-align: center;
    }
    .fc-subtitle {
        margin: 0 auto 24px;
        font-size: 15px;
    }
    .fc-hero {
        padding: 24px 0 40px;
    }
    .fc-title {
        font-size: clamp(32px, 8vw, 44px);
        margin-bottom: 16px;
    }
    .fc-badge {
        margin-bottom: 16px;
    }
    .fc-benefits-list {
        justify-content: center;
        margin-bottom: 24px !important;
    }
}

@media (max-width: 768px) {
    .fc-calculator {
        padding: 24px 20px;
        border-radius: 24px;
    }
    .fc-calc-amount {
        font-size: 38px;
    }
    .fc-button {
        padding: 16px;
        font-size: 16px;
        margin-top: 24px;
    }
}

/* IonRangeSlider Theme Overrides */
.irs--round .irs-line { background: #eef2f6; border-radius: 8px; }
.irs--round .irs-bar { background: var(--finco-primary); }
.irs--round .irs-handle { border: 4px solid #fff; background: var(--finco-primary); box-shadow: 0 4px 12px rgba(0,86,218,0.3); width: 26px; height: 26px; top: 29px; }
.irs--round .irs-handle:hover { background: var(--finco-primary-hover); }

/* Form Styles */
.fc-card {
    background: var(--finco-surface);
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--finco-shadow);
    border: 1px solid #fff;
    max-width: 500px;
    margin: 0 auto;
}
.fc-input {
    width: 100%;
    background: #f8fafc;
    border: 2px solid var(--finco-border);
    border-radius: 16px;
    padding: 18px;
    color: var(--finco-text);
    font-family: var(--finco-font);
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.fc-input:focus {
    border-color: var(--finco-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,86,218,0.1);
}
.fc-error {
    color: #e11d48;
    font-size: 13px;
    margin-top: 8px;
    display: block;
}

/* Benefits section */
.fc-benefits {
    padding: 80px 0;
}
.fc-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}
.fc-benefit-card {
    background: var(--finco-surface);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid #fff;
    box-shadow: var(--finco-shadow);
}
.fc-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0,86,218,0.1);
    color: var(--finco-primary);
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 24px;
}
.fc-benefit-title {
    font-family: var(--finco-font-display);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}
.fc-benefit-text {
    font-size: 15px;
    color: var(--finco-text-muted);
}

/* Offers Grid for Offerwall */
.fc-section-title {
    font-family: var(--finco-font-display);
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin: 40px 0 40px;
}
.fc-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.fc-offer-card {
    background: var(--finco-surface);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--finco-shadow);
    border: 1px solid #fff;
    text-decoration: none;
    color: var(--finco-text);
}
.fc-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: var(--finco-primary);
}
.fc-offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fc-offer-logo {
    height: 32px;
    max-width: 140px;
    object-fit: contain;
}
.fc-offer-badge {
    background: rgba(16,185,129,0.1);
    color: var(--finco-accent);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}
.fc-offer-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: var(--finco-bg);
    border-radius: 16px;
    padding: 16px;
}
.fc-feature {
    display: flex;
    flex-direction: column;
}
.fc-feature-label {
    font-size: 12px;
    color: var(--finco-text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.fc-feature-value {
    font-size: 18px;
    font-weight: 800;
    font-family: var(--finco-font-display);
}
.fc-offer-btn {
    text-align: center;
    padding: 16px;
    background: var(--finco-bg);
    border-radius: 12px;
    font-weight: 800;
    color: var(--finco-primary);
    transition: all 0.2s;
    font-family: var(--finco-font-display);
}
.fc-offer-card:hover .fc-offer-btn {
    background: var(--finco-primary);
    color: #fff;
}
