/* CashIt Finance - High Conversion Theme (A/B Variant) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #2563eb; /* Trust Blue */
    --primary-hover: #1d4ed8;
    --secondary: #f97316; /* Action Orange */
    --secondary-hover: #ea580c;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
    --font: 'Plus Jakarta Sans', sans-serif;
    --container: 1140px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { background-color: var(--bg-main); color: var(--text-dark); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }

/* Header - Floating & Clean */
header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; padding: 1rem 0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
.logo-icon { width: 32px; height: 32px; background: var(--secondary); color: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--secondary); color: #fff; padding: 1rem 2rem; border-radius: 50px; font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: all 0.3s; text-transform: uppercase; letter-spacing: 0.05em; }
.btn:hover { background: var(--secondary-hover); transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.4); }
.btn-primary { background: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4); }

/* Hero - Split Layout */
.hero { background: var(--bg-alt); padding: 5rem 0 7rem; position: relative; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; color: var(--bg-dark); }
.hero-text h1 span { color: var(--primary); }
.hero-text p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; font-weight: 500; }
.trust-badges { display: flex; gap: 1rem; margin-top: 3rem; align-items: center; }
.trust-badge { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); background: #fff; padding: 0.5rem 1rem; border-radius: 50px; border: 1px solid var(--border); }

/* Calculator Widget - Floating */
.calc-widget { background: #fff; padding: 2.5rem; border-radius: 24px; box-shadow: var(--shadow); position: relative; border: 1px solid var(--border); }
.calc-header { margin-bottom: 2rem; text-align: center; }
.calc-header h3 { font-size: 1.5rem; color: var(--bg-dark); }
.input-group { margin-bottom: 1.5rem; position: relative; }
.input-group label { display: block; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.5rem; font-weight: 600; }
.input-wrapper { display: flex; align-items: center; background: var(--bg-alt); border: 2px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.3s; }
.input-wrapper:focus-within { border-color: var(--primary); }
.input-wrapper input { flex: 1; background: transparent; border: none; color: var(--text-dark); padding: 1rem; font-size: 1.25rem; font-weight: 700; outline: none; width: 100%; }
.currency-selector { padding: 1rem; background: transparent; border: none; border-left: 2px solid var(--border); font-weight: 700; color: var(--bg-dark); outline: none; cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 2rem; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 0.7rem center; background-size: 1em; }
.rate-display { text-align: center; margin: 1.5rem 0; font-weight: 600; color: var(--primary); background: var(--bg-alt); padding: 0.5rem; border-radius: 8px; }

/* Features - Value Proposition */
.features { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; text-align: center; }
.feature-icon { width: 64px; height: 64px; background: var(--bg-alt); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 800; margin: 0 auto 1.5rem; }
.feature-item h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.feature-item p { color: var(--text-muted); }

/* Section Titles */
.section-header { text-align: center; margin-bottom: 4rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* Blog Cards - Clean Style */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.blog-img { width: 100%; height: 220px; object-fit: cover; border-radius: 0; }
.blog-content { padding: 1.5rem; }
.blog-tag { color: var(--secondary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; display: inline-block; background: rgba(249, 115, 22, 0.1); padding: 0.2rem 0.6rem; border-radius: 4px; }
.blog-title { font-size: 1.2rem; margin-bottom: 1rem; line-height: 1.4; }
.blog-excerpt { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.read-more { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem; }
.read-more:hover { gap: 0.8rem; }

/* Article Layout */
.post-header { padding: 4rem 0 2rem; text-align: center; max-width: 800px; margin: 0 auto; }
.post-title { font-size: 3rem; margin-bottom: 1.5rem; line-height: 1.2; color: var(--bg-dark); }
.post-meta { color: var(--text-muted); font-size: 1rem; font-weight: 600; }
.post-hero { width: 100%; max-height: 450px; object-fit: cover; margin-bottom: 3rem; border-radius: 24px; box-shadow: var(--shadow); }
.post-body { max-width: 800px; margin: 0 auto 5rem; font-size: 1.15rem; line-height: 1.8; color: #334155; }
.post-body h2 { font-size: 2rem; margin: 3rem 0 1.5rem; color: var(--bg-dark); }
.post-body h3 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.post-body p { margin-bottom: 1.5rem; }
.post-body ul { margin: 0 0 1.5rem 2rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body blockquote { border-left: 4px solid var(--secondary); padding: 1.5rem; margin: 2rem 0; background: var(--bg-alt); font-style: italic; border-radius: 0 var(--radius) var(--radius) 0; font-weight: 500; }

/* FAQ - Minimal */
.faq-item { border-bottom: 1px solid var(--border); margin-bottom: 1rem; padding-bottom: 1rem; }
.faq-btn { width: 100%; text-align: left; padding: 1rem 0; background: transparent; border: none; color: var(--bg-dark); font-size: 1.1rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--font); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-muted); }
.faq-item.active .faq-content { max-height: 500px; padding-top: 1rem; }
.faq-icon { transition: transform 0.3s ease; color: var(--primary); }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* Footer */
footer { background: var(--bg-dark); color: #fff; padding: 5rem 0 2rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo { color: #fff; font-size: 1.8rem; margin-bottom: 1.5rem; display: inline-block; }
.footer-logo .logo-icon { background: var(--primary); }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 1.5rem; color: #fff; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 1rem; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: #fff; }
.footer-bottom { text-align: center; color: #64748b; padding-top: 2rem; border-top: 1px solid #334155; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero { padding: 3rem 0; text-align: center; }
    .trust-badges { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-text h1 { font-size: 2.2rem; }
    .post-title { font-size: 2.2rem; }
}
