/* 
 * Finance Legacy Hub - 2026 Modern Theme
 * Fonts: Plus Jakarta Sans + Inter
 * Colors: Arctic Blue Palette
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    --primary: #0EA5E9;       /* Arctic Blue */
    --primary-light: #38BDF8;
    --accent: #14B8A6;        /* Teal Accent */
    --bg-light: #F0F9FF;      /* Ice White */
    --dark: #0C4A6E;          /* Deep Navy */
    --text-main: #334155;
    --white: #ffffff;
    --shadow: 0 10px 40px -10px rgba(14, 165, 233, 0.15);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); background: var(--bg-light); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--dark); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Utilities */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--white); box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(14, 165, 233, 0.6); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; position: relative; display: inline-block; }
.section-subtitle { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; display: block; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Navigation */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: var(--transition); backdrop-filter: blur(10px); }
.navbar.scrolled { background: rgba(255, 255, 255, 0.9); padding: 15px 0; box-shadow: 0 2px 20px rgba(0,0,0,0.05); }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--dark); display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 40%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
.hero-content p { font-size: 1.1rem; margin-bottom: 30px; color: #64748b; max-width: 500px; }
.hero-visual { position: relative; }
.hero-card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; z-index: 2; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Stats Section */
.stats-section { background: var(--dark); color: var(--white); padding: 80px 0; position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 3rem; color: var(--primary-light); margin-bottom: 5px; }
.stat-item p { opacity: 0.8; font-size: 0.9rem; }

/* Features & Services Grid */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--white); padding: 40px 30px; border-radius: var(--radius); transition: var(--transition); border: 1px solid rgba(14, 165, 233, 0.1); position: relative; overflow: hidden; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--primary); }
.card-icon { width: 60px; height: 60px; background: var(--bg-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; font-size: 1.3rem; }

/* Process Section */
.process-step { display: flex; gap: 20px; margin-bottom: 40px; align-items: flex-start; }
.step-num { min-width: 50px; height: 50px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }

/* FAQ Section */
.faq-item { background: var(--white); margin-bottom: 15px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(0,0,0,0.05); }
.faq-question { padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 25px; color: #64748b; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-item.active .faq-question { color: var(--primary); }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-control { width: 100%; padding: 15px 20px; border: 2px solid #e2e8f0; border-radius: 12px; font-family: 'Inter', sans-serif; transition: var(--transition); background: var(--white); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Footer */
footer { background: var(--dark); color: var(--white); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: var(--white); margin-bottom: 25px; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { opacity: 0.7; font-size: 0.95rem; }
.footer-col ul li a:hover { opacity: 1; color: var(--primary-light); padding-left: 5px; }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 0.9rem; opacity: 0.6; }

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 30px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: var(--white); flex-direction: column; justify-content: center; padding: 40px; transition: var(--transition); box-shadow: -10px 0 30px rgba(0,0,0,0.1); }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; z-index: 1001; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .copyright { flex-direction: column; text-align: center; }
}