/* --- PREMIUM FINTECH AESTHETIC (FINAL V2) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-body: #f8fafc;
    --primary-dark: #0f172a;
    --primary: #334155;
    --accent: #0d9488;
    --accent-glow: rgba(13, 148, 136, 0.3);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }

/* --- HEADER (Non-Sticky) --- */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    
    /* Changed from sticky to relative per your request */
    position: relative; 
    
    z-index: 1000;
    padding: 16px 0;
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 24px; font-weight: 800; color: var(--primary-dark); letter-spacing: -0.5px; }
.logo strong { color: var(--accent); }
nav ul { display: flex; gap: 32px; align-items: center; }
nav a { font-size: 15px; font-weight: 600; color: var(--text-main); }
nav a:hover { color: var(--accent); }

/* --- HERO SECTION --- */
.hero {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: var(--white);
    padding: 140px 20px 200px; /* Padding for ticker overlap */
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero h1 { font-size: 56px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 24px; line-height: 1.1; background: linear-gradient(to right, #ffffff, #cbd5e1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 20px; color: #94a3b8; max-width: 700px; margin: 0 auto 40px; }

/* --- BUTTONS --- */
.btn-primary {
    background: var(--primary-dark);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: inline-block;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 15px -3px var(--accent-glow); }

/* --- INFINITE TICKER --- */
.ticker-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Force Full Width */
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 0;
    position: relative;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-top: -80px; /* Pulls up over Hero */
}
.ticker-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.ticker-item { display: flex; align-items: center; gap: 12px; padding: 0 50px; border-right: 1px solid #f1f5f9; }
.ticker-label { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.ticker-value { font-size: 18px; font-weight: 800; color: var(--primary-dark); }
.ticker-arrow { font-size: 12px; padding: 4px 8px; border-radius: 6px; font-weight: 700; }
.up { color: #10b981; background: #ecfdf5; }
.down { color: #ef4444; background: #fef2f2; }
.neutral { color: #64748b; background: #f1f5f9; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-wrapper:hover .ticker-track { animation-play-state: paused; }

/* --- GRID & CARDS --- */
.blog-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin: 40px 0 80px; }
.blog-card { background: var(--white); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid #f1f5f9; transition: var(--transition); display: flex; flex-direction: column; height: 100%; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.blog-card h2 { font-size: 22px; font-weight: 700; margin: 12px 0; color: var(--primary-dark); line-height: 1.3; }
.blog-card p { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; flex-grow: 1; }
.read-more { font-weight: 700; font-size: 14px; color: var(--accent); text-transform: uppercase; }

/* --- FORMS --- */
.calculator-box, form { background: var(--white); padding: 50px; border-radius: var(--radius); box-shadow: var(--shadow-card); max-width: 600px; margin: 60px auto; }
input, textarea { width: 100%; padding: 16px; margin: 8px 0 24px; border: 2px solid #e2e8f0; border-radius: 12px; background: #f8fafc; font-size: 16px; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }

/* --- FOOTER --- */
footer { background: var(--primary-dark); color: #94a3b8; padding: 80px 0 30px; margin-top: 100px; }
footer h3 { color: var(--white); margin-bottom: 20px; }
footer a { display: block; margin-bottom: 12px; transition: var(--transition); }
footer a:hover { color: var(--accent); transform: translateX(5px); }

/* --- MOBILE SPECIFIC --- */
@media (max-width: 768px) {
    .hero { padding: 100px 20px 140px; }
    .hero h1 { font-size: 36px; }
    header .container { flex-direction: column; gap: 15px; }
    nav ul { gap: 15px; font-size: 14px; flex-wrap: wrap; justify-content: center; }
    .blog-list { grid-template-columns: 1fr; gap: 24px; }
}