/*
Theme: FinVui
Colors: Salmon (#FA8072) + SeaGreen (#2E8B57)
Font: Nunito
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { font-family: 'Nunito', sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; color: #555; background: #fff; overflow-x: hidden; font-size: 16px; line-height: 1.7; }
a { color: #2E8B57; text-decoration: none; transition: all .3s; }
a:hover { color: #236B43; }
img { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { color: #2d3436; font-weight: 800; margin: 0 0 .5em; line-height: 1.3; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
ul, ol { padding: 0 0 0 1.5em; margin: 0 0 1em; }

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.header { width: 100%; z-index: 100; position: sticky; top: 0; }
.header-wrapper { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.header-left { flex-shrink: 0; }
.header-left .logo a { display: inline-block; }
.header-left .logo img { max-height: 44px; width: auto; }
.header-right { display: flex; align-items: center; gap: 20px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list li { margin: 0; }
.nav-list a { display: block; padding: 8px 16px; font-size: .9rem; font-weight: 700; color: #2d3436; border-radius: 25px; transition: all .3s; text-transform: uppercase; letter-spacing: .03em; }
.nav-list a:hover { background: linear-gradient(135deg, #FA8072, #2E8B57); color: #fff; }
.nav-list li.active a { background: linear-gradient(135deg, #FA8072, #2E8B57); color: #fff; }
.hamburger { display: none; flex-direction: column; cursor: pointer; padding: 5px; }
.hamburger span { width: 25px; height: 3px; background: #2d3436; margin: 3px 0; border-radius: 3px; transition: all .3s; }

/* ===== HERO SECTION ===== */
.hero-section { background: linear-gradient(135deg, #fff5f3 0%, #f0fdf4 100%); padding: 60px 0 0; position: relative; overflow: hidden; }
.hero-container { display: flex; align-items: center; gap: 50px; }
.hero-image-col { flex: 0 0 45%; }
.hero-image-wrapper { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(250,128,114,.25); }
.hero-image { width: 100%; display: block; }
.hero-text-col { flex: 1; }
.hero-title { font-size: 2.5rem; font-weight: 900; color: #2d3436; margin-bottom: 15px; line-height: 1.2; }
.hero-desc { font-size: 1.1rem; color: #666; line-height: 1.8; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 14px 35px; font-size: 1rem; font-weight: 800; text-align: center; border-radius: 25px; transition: all .3s; cursor: pointer; border: none; text-decoration: none; letter-spacing: .02em; text-transform: uppercase; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: linear-gradient(135deg, #FA8072, #2E8B57); color: #fff; box-shadow: 0 6px 20px rgba(250,128,114,.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(250,128,114,.5); color: #fff; }
.btn-outline { background: transparent; color: #2E8B57; border: 2px solid #2E8B57; }
.btn-outline:hover { background: #2E8B57; color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 18px 50px; font-size: 1.1rem; }

/* ===== WAVE DIVIDERS ===== */
.wave-divider { position: relative; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { position: relative; display: block; width: calc(100% + 1.3px); height: 60px; }
.wave-divider.wave-bottom { margin-top: 30px; }
.wave-divider.wave-top { margin-bottom: -2px; }
.wave-divider.wave-mid { margin: 0; }

/* ===== SECTION ===== */
.section { padding: 80px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-label { display: inline-block; font-size: .8rem; font-weight: 800; color: #FA8072; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 10px; }
.section-title { font-size: 2rem; font-weight: 900; color: #2d3436; }

/* ===== FEATURES SECTION ===== */
.features-section { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.feature-card { background: #fff; border-radius: 15px; padding: 35px 25px; box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: all .3s; text-align: center; border: 1px solid #f0f0f0; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(250,128,114,.15); }
.feature-icon { margin-bottom: 20px; }
.feature-title { font-size: 1.1rem; font-weight: 800; color: #2d3436; margin-bottom: 10px; }
.feature-card p { font-size: .95rem; color: #666; line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.how-section { background: linear-gradient(135deg, #f0fdf4 0%, #fff5f3 100%); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: #fff; border-radius: 15px; padding: 30px 20px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,.05); transition: all .3s; }
.step-card:hover { transform: translateY(-5px); box-shadow: 0 10px 35px rgba(46,139,87,.15); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #FA8072, #2E8B57); color: #fff; font-size: 1.2rem; font-weight: 900; margin-bottom: 15px; }
.step-title { font-size: 1rem; font-weight: 800; color: #2d3436; margin-bottom: 8px; }
.step-card p { font-size: .9rem; color: #666; line-height: 1.6; }

/* ===== WHO CAN BORROW ===== */
.who-section { background: linear-gradient(135deg, #fff5f3 0%, #f0fdf4 100%); }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.who-card { background: #fff; border-radius: 15px; padding: 40px 25px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: all .3s; }
.who-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(46,139,87,.12); }
.who-icon { margin-bottom: 20px; }
.who-card h3 { font-size: 1.1rem; font-weight: 800; color: #2d3436; margin-bottom: 10px; }
.who-card p { font-size: .95rem; color: #666; line-height: 1.7; }

/* ===== LOAN TERMS ===== */
.terms-section { background: #fff; }
.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.term-card { background: #fff; border-radius: 15px; padding: 35px 25px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: all .3s; border: 1px solid #f0f0f0; }
.term-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(46,139,87,.12); }
.term-card.highlight { background: linear-gradient(135deg, #FA8072, #2E8B57); color: #fff; border: none; }
.term-card.highlight .term-label { color: rgba(255,255,255,.85); }
.term-card.highlight .term-value { color: #fff; }
.term-card.highlight .term-desc { color: rgba(255,255,255,.75); }
.term-label { display: block; font-size: .85rem; font-weight: 700; color: #FA8072; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.term-value { display: block; font-size: 1.5rem; font-weight: 900; color: #2d3436; margin-bottom: 5px; }
.term-desc { display: block; font-size: .9rem; color: #888; }
.terms-example { text-align: center; max-width: 750px; margin: 30px auto 0; }
.terms-example p { font-size: .95rem; color: #555; line-height: 1.7; }
.terms-example .terms-note { font-size: .85rem; color: #999; font-style: italic; }

/* ===== CONTENT SECTION ===== */
.content-section { background: linear-gradient(135deg, #f0fdf4 0%, #fff5f3 100%); }
.content-body { max-width: 800px; margin: 0 auto; }
.content-body h3 { color: #2d3436; font-weight: 800; margin: 35px 0 12px; font-size: 1.3rem; }
.content-body h3:first-child { margin-top: 0; }
.content-body p { font-size: 1rem; color: #555; line-height: 1.85; margin-bottom: 1em; }
.content-body ul { margin: 15px 0; }
.content-body ul li { margin-bottom: 10px; font-size: .95rem; color: #555; line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section { background: linear-gradient(135deg, #fff5f3 0%, #f0fdf4 100%); padding-bottom: 100px; }
.cta-box { text-align: center; background: #fff; border-radius: 20px; padding: 60px 40px; box-shadow: 0 10px 50px rgba(250,128,114,.15); border: 2px solid rgba(250,128,114,.1); }
.cta-title { font-size: 2rem; font-weight: 900; color: #2d3436; margin-bottom: 15px; }
.cta-desc { font-size: 1.1rem; color: #666; margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== FOOTER ===== */
.footer-wrapper { background: #fff; position: relative; }
.footer-content { padding: 60px 20px 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-heading { font-size: .85rem; font-weight: 800; color: #FA8072; letter-spacing: .1em; margin-bottom: 15px; text-transform: uppercase; }
.footer-text p { font-size: .9rem; color: #555; line-height: 1.8; }
.social-icons { display: flex; gap: 10px; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #FA8072, #2E8B57); color: #fff; transition: all .3s; }
.social-icon:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(250,128,114,.4); color: #fff; }
.footer-bottom { border-top: 1px solid #eee; padding: 20px; text-align: center; }
.footer-bottom p { font-size: .85rem; color: #999; margin: 0; }

/* ===== PAGE CONTENT ===== */
.page-wrapper { padding: 40px 0; }
.page-title { font-size: 1.8rem; margin-bottom: 25px; color: #2d3436; }
.entry-content { font-size: 1rem; line-height: 1.85; color: #555; }
.entry-content h1, .entry-content h2, .entry-content h3 { color: #2d3436; margin-top: 30px; }
.entry-content ul li, .entry-content ol li { margin-bottom: 8px; }

/* ===== BLOG ===== */
.archive-title { font-size: 1.8rem; margin-bottom: 30px; color: #2d3436; }
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post-card { background: #fff; border-radius: 15px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,.06); transition: all .3s; height: 100%; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(250,128,114,.1); }
.post-card-title { font-size: 1.15rem; margin-bottom: 8px; }
.post-card-title a { color: #2d3436; }
.post-card-title a:hover { color: #FA8072; }
.post-card-meta { font-size: .85rem; color: #999; margin-bottom: 12px; }
.post-card-excerpt { font-size: .9rem; color: #555; line-height: 1.7; margin-bottom: 12px; }
.read-more { font-size: .85rem; font-weight: 700; color: #2E8B57; }
.read-more:hover { color: #FA8072; }

/* ===== SINGLE POST ===== */
.single-post .post-title { font-size: 1.8rem; margin-bottom: 10px; }
.post-meta { font-size: .85rem; color: #999; margin-bottom: 25px; }
.post-content { font-size: 1rem; line-height: 1.9; color: #555; }
.post-content p { margin-bottom: 1.2em; }
.post-content h2 { margin-top: 35px; }
.post-content h3 { margin-top: 25px; }

/* ===== FAQ ===== */
.rank-math-block { padding: 20px 0; }
.rank-math-block h2 { color: #2d3436; margin-bottom: 25px; }
.rank-math-list-item { background: #fff; border-radius: 15px; padding: 20px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.05); border: 1px solid #f0f0f0; }
.rank-math-question { color: #2d3436; font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; cursor: pointer; }
.rank-math-answer p { color: #555; font-size: .95rem; line-height: 1.7; }

/* ===== PAGINATION ===== */
.pagination { text-align: center; padding: 30px 0; }
.pagination a, .pagination span { display: inline-block; padding: 8px 16px; margin: 0 3px; border-radius: 25px; font-size: .9rem; font-weight: 700; }
.pagination a { background: #f0f0f0; color: #555; }
.pagination a:hover { background: linear-gradient(135deg, #FA8072, #2E8B57); color: #fff; }
.pagination span.current { background: linear-gradient(135deg, #FA8072, #2E8B57); color: #fff; }

/* ===== MOBILE MENU ===== */
@media (max-width: 849px) {
    .hamburger { display: flex; }
    .nav-main { position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background: #fff; flex-direction: column; padding: 80px 25px 20px; box-shadow: -2px 0 20px rgba(0,0,0,.1); transition: right .3s ease; z-index: 999; }
    .nav-main.open { right: 0; }
    .nav-list { flex-direction: column; width: 100%; }
    .nav-list li { width: 100%; }
    .nav-list a { width: 100%; padding: 12px 0; border-bottom: 1px solid #f0f0f0; border-radius: 0; }
    .nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.4); z-index: 998; display: none; }
    .nav-overlay.show { display: block; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 849px) {
    .hero-container { flex-direction: column-reverse; gap: 30px; }
    .hero-image-col { flex: 0 0 100%; }
    .hero-text-col { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-title { font-size: 1.8rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .who-grid { grid-template-columns: repeat(2, 1fr); }
    .terms-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .section-title { font-size: 1.5rem; }
}

@media (max-width: 549px) {
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .who-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.5rem; }
    .hero-desc { font-size: 1rem; }
    .btn { padding: 12px 25px; font-size: .9rem; }
    .btn-lg { padding: 15px 35px; }
}
